rockthevote_extended: Add translations file

This commit is contained in:
xen 2023-02-15 13:57:05 +02:00
parent e7df77bc8c
commit ec961cfa58
2 changed files with 73 additions and 1 deletions

View File

@ -75,7 +75,7 @@ bool g_InChange = false;
public void OnPluginStart()
{
LoadTranslations("common.phrases");
LoadTranslations("rockthevote.phrases");
LoadTranslations("rockthevote_extended.phrases");
LoadTranslations("basevotes.phrases");
g_Cvar_Steam_Needed = CreateConVar("sm_rtv_steam_needed", "0.65", "Percentage of Steam players added to rockthevote calculation (Def 65%)", 0, true, 0.05, true, 1.0);

View File

@ -0,0 +1,72 @@
"Phrases"
{
"Rock The Vote"
{
"en" "Rock The Vote:"
}
"RTV Not Allowed"
{
"en" "Rock the Vote is not allowed yet."
}
"RTV Started"
{
"en" "Rock the Vote has already started."
}
"RTV Ended"
{
"en" "RTV has already ended, you cannot start it again or nominate maps."
}
"Already Voted"
{
"#format" "{1:d},{2:d}"
"en" "You have already voted to Rock the Vote. ({1} votes, {2} required)"
}
"Minimal Players Not Met"
{
"en" "The minimal number of players required has not been met."
}
"RTV Requested"
{
"#format" "{1:s},{2:d},{3:d}"
"en" "{1} wants to rock the vote. ({2} votes, {3} required)"
}
"RTV Vote Ready"
{
"en" "Rocking the Vote!"
}
"Don't Change"
{
"en" "Keep Current Map"
}
"Selected Map"
{
"#format" "{1:s},{2:s}"
"en" "{1} has selected {2}"
}
"No Votes"
{
"en" "No votes received for Rock the Vote, keeping current map."
}
"Current Map Stays"
{
"en" "Current map continues! Rock the Vote has spoken!"
}
"Changing Maps"
{
"#format" "{1:s}"
"en" "Changing map to {1}! Rock the Vote has spoken!"
}
}