mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-13 21:17:02 +00:00
Reduce redundant toggle strings to stay within Crowdin limits (#2219)
## Description: Purpose: to reduce redundant strings and avoid exceeding Crowdin’s text limit. - Replaced _enabled/_disabled text with shared ..._desc in SettingsModal.ts. <img width="432" height="645" alt="スクリーンショット 2025-10-17 21 38 47" src="https://github.com/user-attachments/assets/10942de4-1b2c-4df4-8811-95190463a2ab" /> ## Please complete the following: - [x] I have added screenshots for all UI updates - [x] I process any text displayed to the user through translateText() and I've added it to the en.json file - [x] I have added relevant tests to the test directory - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced ## Please put your Discord username so you can be contacted if a bug or regression is found: Aotumuri Co-authored-by: Evan <evanpelle@gmail.com>
This commit is contained in:
@@ -296,33 +296,21 @@
|
||||
"tab_keybinds": "Keybinds",
|
||||
"dark_mode_label": "Dark Mode",
|
||||
"dark_mode_desc": "Toggle the site’s appearance between light and dark themes",
|
||||
"dark_mode_enabled": "Dark mode enabled",
|
||||
"light_mode_enabled": "Light mode enabled",
|
||||
"emojis_label": "Emojis",
|
||||
"emojis_visible": "Emojis are visible",
|
||||
"emojis_hidden": "Emojis are hidden",
|
||||
"emojis_desc": "Toggle whether emojis are shown in game",
|
||||
"alert_frame_label": "Alert Frame",
|
||||
"alert_frame_desc": "Toggle the alert frame. When enabled, the frame will be displayed when you are betrayed.",
|
||||
"special_effects_label": "Special effects",
|
||||
"special_effects_desc": "Toggle special effects. Deactivate to improve performances",
|
||||
"special_effects_enabled": "Special effects enabled",
|
||||
"special_effects_disabled": "Special effects disabled",
|
||||
"structure_sprites_label": "Structure Sprites",
|
||||
"structure_sprites_desc": "Toggle structure sprites",
|
||||
"structure_sprites_enabled": "Structure Sprites enabled",
|
||||
"structure_sprites_disabled": "Structure Sprites disabled",
|
||||
"anonymous_names_label": "Hidden Names",
|
||||
"anonymous_names_desc": "Hide real player names with random ones on your screen.",
|
||||
"anonymous_names_enabled": "Anonymous names enabled",
|
||||
"lobby_id_visibility_label": "Hidden Lobby IDs",
|
||||
"lobby_id_visibility_desc": "Hide Lobby ID in private lobby creation",
|
||||
"real_names_shown": "Real names shown",
|
||||
"left_click_label": "Left Click to Open Menu",
|
||||
"left_click_desc": "When ON, left-click opens menu and sword button attacks. When OFF, left-click attacks directly.",
|
||||
"left_click_menu": "Left Click Menu",
|
||||
"left_click_opens_menu": "Left click opens menu",
|
||||
"right_click_opens_menu": "Right click opens menu",
|
||||
"attack_ratio_label": "⚔️ Attack Ratio",
|
||||
"attack_ratio_desc": "What percentage of your troops to send in an attack (1–100%)",
|
||||
"troop_ratio_desc": "Adjust the balance between troops (for combat) and workers (for gold production) (1–100%)",
|
||||
@@ -330,8 +318,6 @@
|
||||
"territory_patterns_desc": "Choose whether to display territory pattern designs in game",
|
||||
"performance_overlay_label": "Performance Overlay",
|
||||
"performance_overlay_desc": "Toggle the performance overlay. When enabled, the performance overlay will be displayed. Press shift-D during game to toggle.",
|
||||
"performance_overlay_enabled": "Performance overlay enabled",
|
||||
"performance_overlay_disabled": "Performance overlay disabled",
|
||||
"easter_writing_speed_label": "Writing Speed Multiplier",
|
||||
"easter_writing_speed_desc": "Adjust how fast you pretend to code (x1–x100)",
|
||||
"easter_bug_count_label": "Bug Count",
|
||||
@@ -389,8 +375,6 @@
|
||||
"on": "On",
|
||||
"off": "Off",
|
||||
"toggle_terrain": "Toggle Terrain",
|
||||
"terrain_enabled": "Terrain view enabled",
|
||||
"terrain_disabled": "Terrain view disabled",
|
||||
"exit_game_label": "Exit Game",
|
||||
"exit_game_info": "Return to main menu",
|
||||
"background_music_volume": "Background Music Volume",
|
||||
|
||||
Reference in New Issue
Block a user