28 Commits

Author SHA1 Message Date
EthanBlazkowicz
6e6d9dbf17 Added "Add Game" button function (#33)
* All games will be linked

* feat: Add 'Add Game' button to Settings tab

- Added 'Add Game' button to Games to Watch section in Settings
- Implemented logic to add custom games via search input
- Fixed alignment issue with games filter search bar
- Added English translations for new UI elements

* fix PR 33 review issues

---------

Co-authored-by: ethanblazkowicz <wow990922@outlook.com>
Co-authored-by: LeonSparta <46887992+LeonSparta@users.noreply.github.com>
Co-authored-by: Fengqing Liu <fq_aaron@hotmail.com>
2026-04-30 11:41:01 +10:00
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]
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
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
DevilXD
240ba23b0c Remove channel points handling 2025-05-01 17:06:18 +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
别烦
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
deee8abf61 Change inventory filters to show all campaigns when all of them are selected 2023-10-29 22:36:12 +01:00
别烦
33d521dffd Update Chinese translation (#141) 2023-02-20 16:59:45 +01:00
DevilXD
751178c04c Add a print for a watching message in the output window 2022-12-15 11:36:46 +01:00
DevilXD
83ffea013b Implement the translation for a campaign's game display 2022-12-06 07:39:10 +01:00
DevilXD
94efa44f96 Add a missing Chinese translation line 2022-11-30 18:40:58 +01:00
DevilXD
e4088699c5 Update Chinese translation 2022-11-28 19:56:06 +01:00
DevilXD
b977c507cf Update translations files 2022-11-28 14:48:34 +01:00
DevilXD
d308fad51c Remove the counter from the fetching campaigns step 2022-11-22 09:02:20 +01:00
Goldentube
418b2505f6 Correct some of the Chinese translations
Co-authored and approved by: 别烦 <52779408+Suz1e@users.noreply.github.com>
2022-09-20 19:20:42 +02:00
DevilXD
e0dc371824 Rename a translation key 2022-08-20 22:14:38 +02:00
DevilXD
5b1089e3cc Add the terminated status in the gui 2022-08-19 10:18:41 +02:00
DevilXD
05466364d1 Implement the translation feature 2022-08-18 22:28:30 +02:00