move sample text into shavit-chat.phrases.txt

This commit is contained in:
rtldg 2021-03-02 22:20:27 +00:00
parent 720ddeed1d
commit 25f07e70e1
2 changed files with 6 additions and 2 deletions

View File

@ -979,7 +979,7 @@ void PreviewChat(int client, int rank)
FormatChat(client, sCMessage, MAXLENGTH_CMESSAGE);
char sSampleText[MAXLENGTH_MESSAGE];
FormatEx(sSampleText, MAXLENGTH_MESSAGE, "%sThe quick brown fox jumps over the lazy dog", sCMessage);
FormatEx(sSampleText, MAXLENGTH_MESSAGE, "%s%T", sCMessage, "ChatRanksMenu_SampleText", client);
char sColon[MAXLENGTH_CMESSAGE];
gCV_Colon.GetString(sColon, MAXLENGTH_CMESSAGE);

View File

@ -97,4 +97,8 @@
"#format" "{1:.1f},{2:c},{3:.1f},{4:c}"
"en" "Between top {1}{2} and {3}{4}"
}
}
"ChatRanksMenu_SampleText"
{
"en" "The quick brown fox jumps over the lazy dog"
}
}