Cleanup the translation files (#1962)

* Remove obsolete slapslay.phrases.txt

That plugin isn't in the stock arsenal since forever.

* Remove "Dead Player Rename" phrase

Unused since #313

* Remove nominations phrases from rockthevote

Those phrases were moved to their own nominations.phrases.txt

* Remove "Next Map" phrase from nextmap.phrases.txt

It was moved to basetriggers.phrases.txt

* Remove unused phrases from common.phrases.txt

Only "Slapped Player" was moved to funvotes.phrases.txt

* Delete empty phrase files

* Fix workflow python version selection

3.10 would select Python 3.1 and fail

* Deduplicate "Please select a map" phrase

Only keep it in the plugin.basecommands.txt file and remove it from the basevotes.phrases.txt.

Both plugins using the phrase load the basecommands phrases.

* Allow manual triggering of translations action

* Actually use the nextmap phrases

They were never referenced in the plugin. The "ago" phrase doesn't work the way it is and needs more rethinking.
This commit is contained in:
peace-maker
2023-03-30 01:13:40 +02:00
committed by GitHub
parent 48150e0c7a
commit 008fbf78a5
234 changed files with 86 additions and 2649 deletions
+3 -3
View File
@@ -191,11 +191,11 @@ public Action Command_MapHistory(int client, int args)
int lastMapStartTime = g_CurrentMapStartTime;
PrintToConsole(client, "Map History:\n");
PrintToConsole(client, "Map : Started : Played Time : Reason for ending");
PrintToConsole(client, "%t:\n", "Map History");
PrintToConsole(client, "%t : %t : %t : %t", "Map", "Started", "Played Time", "Reason");
GetCurrentMap(mapName, sizeof(mapName));
PrintToConsole(client, "%02i. %s (Current Map)", 0, mapName);
PrintToConsole(client, "%02i. %s (%t)", 0, mapName, "Current Map");
for (int i=0; i<mapCount; i++)
{