Make nominations map selection menu title translatable (#2597)

* Make nominations map selection menu title translatable

* Add the new Select Title to Chinese translations
This commit is contained in:
Eric Zhang
2026-11-01 18:02:35 +00:00
committed by GitHub
parent 3240285ed2
commit c98574c426
3 changed files with 12 additions and 2 deletions
+1 -1
View File
@@ -232,7 +232,7 @@ public Action Command_Nominate(int client, int args)
// Display results to the client and end
Menu menu = new Menu(MenuHandler_MapSelect, MENU_ACTIONS_DEFAULT|MenuAction_DrawItem|MenuAction_DisplayItem);
menu.SetTitle("Select map");
menu.SetTitle("%T", "Select Title", client);
for (int i = 0; i < results.Length; i++)
{
+5
View File
@@ -40,6 +40,11 @@
"chi" "预订地图:"
}
"Select Title"
{
"chi" "选择地图"
}
"Can't Nominate Current Map"
{
"chi" "您所选的图正在游玩, 无法预订"
+6 -1
View File
@@ -44,6 +44,11 @@
"en" "Nominate Map:"
}
"Select Title"
{
"en" "Select map"
}
"Can't Nominate Current Map"
{
"en" "The map you chose is the current map and cannot be nominated"
@@ -74,4 +79,4 @@
"#format" "{1:s}"
"en" "Map '{1}' is not in the nominations pool."
}
}
}