Extract translation strings.
This commit is contained in:
committed by
Pavel Penev
parent
99033ab016
commit
6c81590b20
@@ -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())
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user