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
-5
View File
@@ -80,11 +80,6 @@
"zho" "有其他管理員正在使用投票功能"
}
"Please select a map"
{
"zho" "請選擇地圖"
}
"Start the Vote"
{
"zho" "發起投票"
-20
View File
@@ -210,26 +210,6 @@
"zho" "所指定的玩家尚未完全進入遊戲."
}
"Played Sound"
{
"zho" "已给玩家 '{1}' 播放聲音"
}
"Slapped player"
{
"zho" "已掌摑玩家 '{1}'"
}
"Slayed player"
{
"zho" "已處死玩家 '{1}' "
}
"Kicked player"
{
"zho" "已踢出玩家 '{1}'"
}
"Cannot participate in vote"
{
"zho" "你不能參與此次投票"
-5
View File
@@ -1,10 +1,5 @@
"Phrases"
{
"Next Map"
{
"zho" "下一幅地圖: {1}"
}
"Map History"
{
"zho" "地圖紀錄"
@@ -40,9 +40,4 @@
"zho" "玩家改名"
}
"Dead Player Rename"
{
"zho" "{1} 將會在下一局被改名."
}
}
+5
View File
@@ -125,4 +125,9 @@
"zho" "已踢 {1} (理由: {2})"
}
"Please select a map"
{
"zho" "請選擇地圖"
}
}
-35
View File
@@ -30,16 +30,6 @@
"zho" "並未得到所需玩家人數."
}
"Map Already In Vote"
{
"zho" "地圖 '{1}' 已在 Rock the Vote 列表之中."
}
"Map Inserted"
{
"zho" "地圖 '{1}' 加進了 Rock the Vote."
}
"RTV Requested"
{
"zho" "{1} 想要 Rock the Vote. (現有 {2} 票, 至少需要 {3} 票) "
@@ -55,16 +45,6 @@
"zho" "保留現在的地圖"
}
"Already Nominated"
{
"zho" "你已提名了一幅地圖"
}
"Max Nominations"
{
"zho" "提名數目已達至上限."
}
"Selected Map"
{
"zho" "{1} 揀選了 {2} "
@@ -85,19 +65,4 @@
"zho" "正更變地圖為 {1}! Rock the Vote 已有結果!"
}
"Map Already Nominated"
{
"zho" "你所揀選的地圖已被提名."
}
"Map Nominated"
{
"zho" "{1} 已將 {2} 提名至 Rock the Vote."
}
"Nominate Title"
{
"zho" "提名地圖:"
}
}