mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 09:50:43 +00:00
52f64db6d3
## Description: Fixes a number of ESLint violations. Although I have tested these changes through the local dev server, I don't have a high confidence that the testing is sufficient, as I am new to this codebase. This change would benefit from heightened scrutiny. ## Please complete the following: - [x] I have added screenshots for all UI updates - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced - [x] I understand that submitting code with bugs that could have been caught through manual testing blocks releases and new features for all contributors ## Please put your Discord username so you can be contacted if a bug or regression is found: fake.neo --------- Co-authored-by: Scott Anderson <662325+scottanderson@users.noreply.github.com>
170 lines
8.4 KiB
JSON
170 lines
8.4 KiB
JSON
{
|
|
"main": {
|
|
"title": "OpenFront (ALPHA)",
|
|
"join_discord": "Join the Discord!",
|
|
"create_lobby": "Create Lobby",
|
|
"join_lobby": "Join Lobby",
|
|
"single_player": "Single Player",
|
|
"instructions": "Instructions",
|
|
"how_to_play": "How to Play",
|
|
"wiki": "Wiki"
|
|
},
|
|
"help_modal": {
|
|
"hotkeys": "Hotkeys",
|
|
"table_key": "Key",
|
|
"table_action": "Action",
|
|
"action_alt_view": "Alternate view (terrain/countries)",
|
|
"action_attack_altclick": "Attack (when left click is set to open menu)",
|
|
"action_build": "Open build menu",
|
|
"action_center": "Center camera on player",
|
|
"action_zoom": "Zoom out/in",
|
|
"action_move_camera": "Move camera",
|
|
"action_ratio_change": "Decrease/Increase attack ratio",
|
|
"action_reset_gfx": "Reset graphics",
|
|
"ui_section": "Game UI",
|
|
"ui_leaderboard": "Leaderboard",
|
|
"ui_leaderboard_desc": "Shows the top players of the game and their names, % owned land and gold.",
|
|
"ui_control": "Control panel",
|
|
"ui_control_desc": "The control panel contains the following elements:",
|
|
"ui_pop": "Pop - The amount of units you have, your max population and the rate at which you gain them.",
|
|
"ui_gold": "Gold - The amount of gold you have and the rate at which you gain it.",
|
|
"ui_troops_workers": "Troops and Workers - The amount of allocated troops and workers. Troops are used to attack or defend against attacks. Workers are used to generate gold. You can adjust the number of troops and workers using the slider.",
|
|
"ui_attack_ratio": "Attack ratio - The amount of troops that will be used when you attack. You can adjust the attack ratio using the slider.",
|
|
"ui_options": "Options",
|
|
"ui_options_desc": "The following elements can be found inside:",
|
|
"option_pause": "Pause/Unpause the game - Only available in single player mode.",
|
|
"option_timer": "Timer - Time passed since the start of the game.",
|
|
"option_exit": "Exit button.",
|
|
"option_settings": "Settings - Open the settings menu. Inside you can toggle the Alternate View, Dark Mode, Emojis and action on left click.",
|
|
"radial_title": "Radial menu",
|
|
"radial_desc": "Right clicking (or touch on mobile) opens the radial menu. From there you can:",
|
|
"radial_build": "Open the build menu.",
|
|
"radial_info": "Open the Info menu.",
|
|
"radial_boat": "Send a boat to attack at the selected location (only available if you have access to water).",
|
|
"radial_close": "Close the menu.",
|
|
"info_title": "Info menu",
|
|
"info_enemy_desc": "Contains information such for the selected player name, gold, troops, and if the player is a traitor.Traitor is a player who betrayed and attacked a player who was in an alliance with them. The icons below represent the following interactions:",
|
|
"info_target": "Place a target mark on the player, marking it for all allies, used to coordinate attacks.",
|
|
"info_alliance": "Send an alliance request to the player. Allies can share resources and troops, but can't attack each other.",
|
|
"info_emoji": "Send an emoji to the player.",
|
|
"info_ally_panel": "Ally info panel",
|
|
"info_ally_desc": "When you ally with a player, the following new icons become available:",
|
|
"ally_betray": "Betray your ally, ending the alliance. You will now have a permanent icon stuck next to your name. Bots are less likely to ally with you and players will think twice before doing so.",
|
|
"ally_donate": "Donate some of your troops to your ally. Used when they're low on troops and are being attacked, or when they need that extra power to crush an enemy.",
|
|
"build_menu_title": "Build menu",
|
|
"build_name": "Name",
|
|
"build_icon": "Icon",
|
|
"build_desc": "Description",
|
|
"build_city": "City",
|
|
"build_city_desc": "Increases your max population. Useful when you can't expand your territory or you're about to hit your population limit.",
|
|
"build_defense": "Defense Post",
|
|
"build_defense_desc": "Increases defenses around nearby borders. Attacks from enemies are slower and have more casualties.",
|
|
"build_port": "Port",
|
|
"build_port_desc": "Automatically sends trade ships between ports of your country and other countries (except if you clicked \"stop trade\" on them or they clicked \"stop trade on you\"), giving gold to both sides. Allows building Battleships. Can only be built near water.",
|
|
"build_warship": "Warship",
|
|
"build_warship_desc": "Patrols in an area, capturing trade ships and destroying enemy Warships and Boats. Spawns from the nearest Port and patrols the area you first clicked to build it.",
|
|
"build_silo": "Missile Silo",
|
|
"build_silo_desc": "Allows launching missiles.",
|
|
"build_sam": "SAM Launcher",
|
|
"build_sam_desc": "Has a 75% chance to intercept enemy missiles in its 100 pixel range. The SAM has a 7.5 second cooldown and cannot intercept MIRVs.",
|
|
"build_atom": "Atom Bomb",
|
|
"build_atom_desc": "Small explosive bomb that destroys territory, buildings, ships and boats. Spawns from the nearest Missile Silo and lands in the area you first clicked to build it.",
|
|
"build_hydrogen": "Hydrogen Bomb",
|
|
"build_hydrogen_desc": "Large explosive bomb. Spawns from the nearest Missile Silo and lands in the area you first clicked to build it.",
|
|
"build_mirv": "MIRV",
|
|
"build_mirv_desc": "The most powerful bomb in the game. Splits up into smaller bombs that will cover a huge range of territory. Only damages the player that you first clicked on to build it. Spawns from the nearest Missile Silo and lands in the area you first clicked to build it.",
|
|
"player_icons": "Player icons",
|
|
"icon_desc": "Examples of some of the ingame icons you will encounter and what they mean:",
|
|
"icon_crown": "Crown - This is the number 1 player in the leaderboard",
|
|
"icon_traitor": "Crossed swords - Traitor. This player attacked an ally.",
|
|
"icon_ally": "Handshake - Ally. This player is your ally.",
|
|
"info_enemy_panel": "Enemy info panel"
|
|
},
|
|
"single_modal": {
|
|
"title": "Single Player",
|
|
"map": "Map",
|
|
"difficulty": "Difficulty",
|
|
"allow_alliances": "Allow alliances",
|
|
"options_title": "Options",
|
|
"bots": "Bots: ",
|
|
"bots_disabled": "Disabled",
|
|
"disable_nations": "Disable Nations",
|
|
"instant_build": "Instant build",
|
|
"infinite_gold": "Infinite gold",
|
|
"infinite_troops": "Infinite troops",
|
|
"disable_nukes": "Disable Nukes",
|
|
"start": "Start Game"
|
|
},
|
|
"map": {
|
|
"world": "World",
|
|
"europe": "Europe",
|
|
"mena": "MENA",
|
|
"northamerica": "North America",
|
|
"oceania": "Oceania",
|
|
"blacksea": "Black Sea",
|
|
"africa": "Africa",
|
|
"asia": "Asia",
|
|
"mars": "Mars",
|
|
"southamerica": "South America",
|
|
"britannia": "Britannia",
|
|
"gatewaytotheatlantic": "Gateway to the Atlantic",
|
|
"australia": "Australia",
|
|
"random": "Random",
|
|
"iceland": "Iceland",
|
|
"pangaea": "Pangaea",
|
|
"japan": "Japan and Neighbors",
|
|
"twoseas": "Between Two Seas",
|
|
"knownworld": "Known World"
|
|
},
|
|
"private_lobby": {
|
|
"title": "Join Private Lobby",
|
|
"enter_id": "Enter Lobby ID",
|
|
"player": "Player",
|
|
"players": "Players",
|
|
"join_lobby": "Join Lobby",
|
|
"checking": "Checking lobby...",
|
|
"not_found": "Lobby not found. Please check the ID and try again.",
|
|
"error": "An error occurred. Please try again.",
|
|
"joined_waiting": "Joined successfully! Waiting for game to start..."
|
|
},
|
|
"public_lobby": {
|
|
"join": "Join next Game",
|
|
"waiting": "players waiting"
|
|
},
|
|
"username": {
|
|
"enter_username": "Enter your username",
|
|
"not_string": "Username must be a string.",
|
|
"too_short": "Username must be at least {min} characters long.",
|
|
"too_long": "Username must not exceed {max} characters.",
|
|
"invalid_chars": "Username can only contain letters, numbers, spaces, underscores, and [square brackets]."
|
|
},
|
|
"host_modal": {
|
|
"title": "Private Lobby",
|
|
"map": "Map",
|
|
"difficulty": "Difficulty",
|
|
"mode": "Mode",
|
|
"options_title": "Options",
|
|
"bots": "Bots: ",
|
|
"bots_disabled": "Disabled",
|
|
"disable_nations": "Disable Nations",
|
|
"instant_build": "Instant build",
|
|
"infinite_gold": "Infinite gold",
|
|
"infinite_troops": "Infinite troops",
|
|
"disable_nukes": "Disable Nukes",
|
|
"player": "Player",
|
|
"players": "Players",
|
|
"waiting": "Waiting for players...",
|
|
"start": "Start Game"
|
|
},
|
|
"difficulty": {
|
|
"Relaxed": "Relaxed",
|
|
"Balanced": "Balanced",
|
|
"Intense": "Intense",
|
|
"Impossible": "Impossible"
|
|
},
|
|
"game_mode": {
|
|
"ffa": "Free for All",
|
|
"teams": "Teams"
|
|
}
|
|
}
|