Commit Graph

75 Commits

Author SHA1 Message Date
Fengqing Liu
8d2f253da0 translation update (#24)
* update agent instructions

* - update translations
- add id to translation anchors to ensure correct update
2025-12-15 09:43:43 +11:00
github-actions[bot]
d2bc97c250 full translation for all by Claude 2025-10-27 23:16:19 +11:00
github-actions[bot]
d61eabbfdf remove unused structure 2025-10-27 22:57:10 +11:00
github-actions[bot]
84e82c0072 fix general settings translation 2025-10-27 21:16:05 +11:00
Fengqing Liu
46291e83d8 Update CLAUDE.md with comprehensive translation system documentation
This commit documents the current state of the translation system architecture
and consolidates the recent i18n refactoring work.

Documentation updates:
- Add detailed Translation System section describing architecture
- Document all 19 supported languages with native names
- Include TypedDict schema structure and usage examples
- Update project structure to show lang/ directory
- Expand Key Files section with i18n/ package details
- Document language persistence and dynamic switching

Translation system changes:
- Migrate English translations from hardcoded to lang/English.json
- Add English.json as single source of truth for fallback translations
- Update all language files with comprehensive GUI translations
- Refactor translator.py to load English from JSON file
- Add language_name and english_name fields to all translations

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-24 21:48:30 +11:00
Fengqing Liu
3dbd4e6c1f Add native translations for Games to Watch settings
Replaced English placeholders with proper translations in all 18 non-English language files:
- Chinese (简体中文, 繁體中文)
- Japanese (日本語)
- Russian (Русский)
- Ukrainian (Українська)
- German (Deutsch)
- Spanish (Español)
- French (Français)
- Portuguese (Português)
- Italian (Italiano)
- Polish (Polski)
- Romanian (Română)
- Dutch (Nederlandse)
- Danish (Dansk)
- Indonesian
- Czech (Čeština)
- Turkish (Türkçe)
- Arabic (العربية)

All settings UI strings now properly translated:
- games_to_watch, games_help, search_games
- select_all, deselect_all
- selected_games, available_games
- no_games_selected, no_games_match, all_games_selected
- actions, connection_quality, minimum_refresh

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-24 12:25:35 +11:00
Fengqing Liu
522299c920 Clean up translation files and add comprehensive web GUI translations
- Remove unused translation keys from all language files:
  - Removed chrome login flow keys (no longer used)
  - Removed GUI channel headings (table structure changed)
  - Removed GUI inventory filter section (filtering not in web GUI)
  - Removed GUI settings proxy field (moved to general section)
  - Cleaned up other deprecated keys

- Add new translation keys for web GUI:
  - OAuth login prompts (oauth_prompt, oauth_activate, oauth_confirm)
  - Progress indicators (no_drop, return_to_auto, manual_mode_info)
  - Channel empty states (no_channels, no_channels_for_games, channel_count)
  - Inventory empty state (no_campaigns, claimed_drops)
  - Settings UI (games selector, search, drag-and-drop hints)
  - Help section content (about, features, important_notes)
  - Header elements (title, language selector, mode indicators)

- Update app.py /api/translations endpoint to use translation keys instead of hardcoded English strings
- Update translator.py TypedDict definitions to match new structure
- Fix i18n __init__.py exports to remove ChromeMessages, GUIChannelHeadings, GUIInvFilter and add GUIHeader

All 19 language files updated consistently. Non-English languages use English text as placeholders for new keys.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-24 11:15:02 +11:00
Fengqing Liu
f57675b592 remove "priority" 2025-10-19 17:23:24 +11:00
Fengqing Liu
490065821a remove "autostart" 2025-10-19 17:18:10 +11:00
Fengqing Liu
a321da91f8 remove "tray" 2025-10-19 17:15:28 +11:00
kWAY
2737936739 Implement dark mode theme (#744)
Co-authored-by: DevilXD <4180725+DevilXD@users.noreply.github.com>
2025-08-27 17:19:32 +02:00
Dmitriy
56a7fd4fb2 Update Ukrainian and Russian translations (#757)
Co-authored-by: DevilXD <4180725+DevilXD@users.noreply.github.com>
2025-08-22 23:40:06 +02:00
Calvineries
822107ffde Update French translation (#729)
Co-authored-by: DevilXD <4180725+DevilXD@users.noreply.github.com>
2025-07-17 17:26:29 +02:00
DevilXD
240ba23b0c Remove channel points handling 2025-05-01 17:06:18 +02:00
DragoPrime
1047a8d781 Added Romanian translation (#679) 2025-03-02 23:11:15 +01:00
KampL3X.
cbd2437d1d Update Traditional Chinese translation (繁體中文.json) (#629) 2024-11-21 15:51:53 +01:00
KampL3X.
775e32d756 Update Traditional Chinese translation (繁體中文.json) (#622)
Update the text usage to better align with the habits of Traditional Chinese users.
2024-11-18 08:10:26 +01:00
Patriot99
5dcbdbc71a Update Polski.json (#610)
Co-authored-by: DevilXD <4180725+DevilXD@users.noreply.github.com>
2024-11-11 12:30:29 +01:00
Joof
a428c725ac Update Spanish translation (#597)
• Added translation for "Priority mode".
• Minor fixes.
2024-10-29 22:40:32 +01:00
Patriot99
eae23e367f Update Polish translation (#592)
Co-authored-by: DevilXD <4180725+DevilXD@users.noreply.github.com>
2024-10-26 22:09:28 +02:00
DevilXD
9ee872f475 Fix Simplified Chinese JSON formatting 2024-10-24 08:34:06 +02:00
张明浩
051c1816c0 Fix missing new line in Simplified Chinese translation (#585) 2024-10-24 06:53:56 +02:00
别烦
1228ab0911 Update Simplified Chinese translation (#582) 2024-10-23 15:51:00 +02:00
ShimadaNanaki
3f496f82fb Added Japanese Translation (#539) 2024-08-16 21:11:39 +02:00
Patriot99
5409325f75 Update Polish translation (#530)
Co-authored-by: DevilXD <4180725+DevilXD@users.noreply.github.com>
2024-08-04 17:30:43 +02:00
Kjerne
36867dca97 Update Dansk.json
Fixed with a comma
2024-01-01 11:10:53 +01:00
Eriza Zehezkiel Gracia
475b4893d1 Adding Indonesian language 2023-12-30 10:05:17 +01:00
DevilXD
6e0b4613fc Rename Danish.json to Dansk.json 2023-12-14 18:49:22 +01:00
Kjerne
2135f3ce35 Rename Danish to Danish.json
json xD
2023-12-14 18:49:22 +01:00
Kjerne
2a9da55632 Create Danish
Added Danish Translation
2023-12-14 18:49:22 +01:00
Patriot99
e5f4ea1261 Spelling mistake fix 2023-12-09 12:49:39 +01:00
Patriot99
ded18b8b54 Better login panel in Polski.json 2023-12-07 22:16:56 +01:00
Dmytro Zozulia
9a6a420835 Update Українська.json
Improved and adapted the translation made earlier
2023-11-26 21:48:57 +01:00
DevilXD
21198e0d9c Added Dutch language
Co-authored by: <1772909+lmdpocus@users.noreply.github.com>
2023-11-03 11:07:03 +01:00
别烦
d78044555f Update 简体中文.json 2023-10-31 09:35:26 +01:00
DevilXD
88fe455e3f Add English translation name keys 2023-10-29 22:47:28 +01:00
DevilXD
6976243726 Fix broken Turkish translation keys 2023-10-29 22:41:08 +01:00
DevilXD
4bc084ac38 Stylistical Polish translation correction 2023-10-29 22:39:16 +01:00
DevilXD
bc8d26f350 Reindent with 4 spaces 2023-10-29 22:37:48 +01:00
DevilXD
deee8abf61 Change inventory filters to show all campaigns when all of them are selected 2023-10-29 22:36:12 +01:00
Rodolfo Ortega
6b9aabb252 Improve the Portuguese translation (#266)
Co-authored-by: Guilherme Silva <626206+guihkx@users.noreply.github.com>
2023-09-12 20:38:08 +02:00
Calvineries
2d6c8add36 Fixes for the French translation (#287) 2023-08-29 21:11:40 +02:00
Bamboozul
ed253a4b1e Added Arabic Translation (#274) 2023-08-15 20:31:57 +02:00
casungo
510fb9583d Created Italian translation (#240) 2023-06-28 20:24:08 +02:00
DevilXD
7e7c6129a5 Added Ukrainian translation (#230) 2023-06-17 22:36:35 +02:00
Patriot99
9c8e9a6bd2 Update Polski.json (#185) 2023-05-07 10:18:00 +02:00
Patriot99
2579301e52 Added Polish translation (#178)
Co-authored-by: DevilXD <DevilXD@users.noreply.github.com>
2023-04-23 08:40:56 +02:00
Ricky103403
a19ecebd7b Added Traditional Chinese translation (#120) 2023-04-16 09:58:30 +02:00
Konstantin Nikulin
6e15ff60ab Russian translation improvements (#144) 2023-02-21 23:22:34 +01:00
Joof
ffcfd7bf1c Added translation for tray notifications option (#142) 2023-02-21 07:17:28 +01:00