Added translation support for server orders.

This commit is contained in:
Matthias Mailänder
2021-12-18 20:12:28 +01:00
committed by teinarss
parent ee95d2591f
commit 0260884369
19 changed files with 834 additions and 149 deletions

View File

@@ -142,6 +142,9 @@ ChromeLayout:
cnc|chrome/editor.yaml
common|chrome/text-notifications.yaml
Translations:
common|languages/en.ftl
Voices:
cnc|audio/voices.yaml

View File

@@ -0,0 +1,86 @@
## Server Orders
custom-rules = This map contains custom rules. Game experience may change.
bots-disabled = Bots have been disabled on this map.
two-humans-required = This server requires at least two human players to start a match.
unknown-server-command = Unknown server command: { $command }
only-only-host-start-game = Only the host can start the game.
no-start-until-required-slots-full = Unable to start the game until required slots are full.
insufficient-enabled-spawnPoints = Unable to start the game until more spawn points are enabled.
malformed-command = Malformed { $command } command
chat-disabled =
{ $remaining ->
[one] Chat is disabled. Please try again in { $remaining } second.
*[other] Chat is disabled. Please try again in { $remaining } seconds.
}
state-unchanged-ready = Cannot change state when marked as ready.
invalid-faction-selected = Invalid faction selected: { $faction }
supported-factions = Supported values: { $factions }
state-unchanged-game-started = Cannot change state when game started. ({ $command })
requires-host = Only the host can do that.
invalid-bot-slot = Can't add bots to a slot with another client.
invalid-bot-type = Invalid bot type.
only-host-change-map = Only the host can change the map.
lobby-disconnected = { $player } has left.
player-disconnected =
{ $team ->
[0] { $player } has disconnected.
*[other] { $player } (Team { $team }) has disconnected.
}
observer-disconnected = { $player } (Spectator) has disconnected.
unknown-map = Map was not found on server.
searching-map = Searching for map on the Resource Center...
only-host-change-configuration = Only the host can change the configuration.
changed-map = { $player } changed the map to { $map }
value-changed = { $player } changed { $name } to { $value }.
you-were-kicked = You have been kicked from the server.
kicked = { $admin } kicked { $player } from the server.
temp-ban = { $admin } temporarily banned { $player } from the server.
only-host-transfer-admin = Only admins can transfer admin to another player.
only-host-move-spectators = Only the host can move players to spectators.
empty-slot = No-one in that slot.
move-spectators = { $admin } moved { $player } to spectators.
nick = { $player } is now known as { $name }.
player-dropped = A player has been dropped after timing out.
connection-problems = { $player } is experiencing connection problems.
timeout = { $player } has been dropped after timing out.
timeout-in =
{ $timeout ->
[one] { $player } will be dropped in { $timeout } second.
*[other] { $player } will be dropped in { $timeout } seconds.
}
error-game-started = The game has already started.
requires-password = Server requires a password.
incorrect-password = Incorrect password.
incompatible-mod = Server is running an incompatible mod.
incompatible-version = Server is running an incompatible version.
incompatible-protocol = Server is running an incompatible protocol.
banned = You have been banned from the server.
temp-banned = You have been temporarily banned from the server.
full = The game is full.
joined = { $player } has joined the game.
new-admin = { $player } is now the admin.
option-locked = { $option } cannot be changed.
invalid-configuration-command = Invalid configuration command.
admin-option = Only the host can set that option.
number-teams = Number of teams could not be parsed: { $raw }
admin-kick = Only the host can kick players.
kick-none = No-one in that slot.
no-kick-game-started = Only spectators can be kicked after the game has started.
admin-clear-spawn = Only admins can clear spawn points.
spawn-occupied = You cannot occupy the same spawn point as another player.
spawn-locked = The spawn point is locked to another player slot.
admin-lobby-info = Only the host can set lobby info.
invalid-lobby-info = Invalid lobby info sent.
player-color-terrain = Color was adjusted to be less similar to the terrain.
player-color-player = Color was adjusted to be less similar to another player.
invalid-player-color = Unable to determine a valid player color. A random color has been selected.
invalid-error-code = Failed to parse error message.
master-server-connected = Master server communication established.
master-server-error = "Master server communication failed."
game-offline = Game has not been advertised online.
no-port-forward = Server port is not accessible from the internet.
blacklisted-title = Server name contains a blacklisted word.
requires-forum-account = Server requires players to have an OpenRA forum account.
no-permission = You do not have permission to join this server.
slot-closed = Your slot was closed by the host.

View File

@@ -121,6 +121,9 @@ ChromeLayout:
common|chrome/gamesave-loading.yaml
common|chrome/text-notifications.yaml
Translations:
common|languages/en.ftl
Weapons:
d2k|weapons/debris.yaml
d2k|weapons/smallguns.yaml

View File

@@ -138,6 +138,9 @@ ChromeLayout:
common|chrome/playerprofile.yaml
common|chrome/text-notifications.yaml
Translations:
common|languages/en.ftl
Weapons:
ra|weapons/explosions.yaml
ra|weapons/ballistics.yaml
@@ -155,9 +158,6 @@ Notifications:
Music:
ra|audio/music.yaml
Translations:
ra|languages/english.yaml
Hotkeys:
common|hotkeys/game.yaml
common|hotkeys/observer.yaml

View File

@@ -183,6 +183,9 @@ ChromeLayout:
common|chrome/editor.yaml
common|chrome/text-notifications.yaml
Translations:
common|languages/en.ftl
Voices:
ts|audio/voices.yaml