Extract translation strings.

This commit is contained in:
Matthias Mailänder
2022-04-18 16:31:42 +02:00
committed by Pavel Penev
parent 99033ab016
commit 6c81590b20
2 changed files with 9 additions and 1 deletions

View File

@@ -144,6 +144,9 @@ namespace OpenRA.Server
[TranslationReference]
static readonly string YouWereKicked = "you-were-kicked";
[TranslationReference]
public static readonly string GameStarted = "game-started";
public ServerState State
{
get => internalState;
@@ -1283,7 +1286,7 @@ namespace OpenRA.Server
{
lock (LobbyInfo)
{
WriteLineWithTimeStamp("Game started");
WriteLineWithTimeStamp(ModData.Translation.GetFormattedMessage(GameStarted));
// Drop any players who are not ready
foreach (var c in Conns.Where(c => !c.Validated || GetClient(c).IsInvalid).ToArray())

View File

@@ -84,3 +84,8 @@ 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.
## Server
game-started = Game started