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 @@
"chi" "地图投票正被调用"
}
"Please select a map"
{
"chi" "请选择地图"
}
"Start the Vote"
{
"chi" "开始投票"
-20
View File
@@ -210,26 +210,6 @@
"chi" "指定玩家尚未完全进入游戏."
}
"Played Sound"
{
"chi" "已播放声音给玩家 '{1}'"
}
"Slapped player"
{
"chi" "已拍打玩家 '{1}'"
}
"Slayed player"
{
"chi" "已处死玩家 '{1}'"
}
"Kicked player"
{
"chi" "已踢出玩家 '{1}'"
}
"Cannot participate in vote"
{
"chi" "您无法参与该项投票."
-5
View File
@@ -1,10 +1,5 @@
"Phrases"
{
"Next Map"
{
"chi" "下一幅地图: {1}"
}
"Map History"
{
"chi" "地图历史纪录"
@@ -40,9 +40,4 @@
"chi" "玩家更名"
}
"Dead Player Rename"
{
"chi" "{1} 将会在下局被改名"
}
}
+5
View File
@@ -125,4 +125,9 @@
"chi" "踢出 {1} (理由: {2})"
}
"Please select a map"
{
"chi" "请选择地图"
}
}
-35
View File
@@ -30,16 +30,6 @@
"chi" "未达所需人数下限."
}
"Map Already In Vote"
{
"chi" "地图 '{1}' 已在 RTV (滚动投票)列表中."
}
"Map Inserted"
{
"chi" "地图 '{1}' 加入了 RTV (滚动投票)."
}
"RTV Requested"
{
"chi" "{1} 要滚动投票. ({2} 票同意, 至少需要 {3} 票)"
@@ -55,16 +45,6 @@
"chi" "继续运行当前地图"
}
"Already Nominated"
{
"chi" "您已经提名过一张地图"
}
"Max Nominations"
{
"chi" "已达最大预订数"
}
"Selected Map"
{
"chi" "{1} 选了 {2}"
@@ -85,19 +65,4 @@
"chi" "更换地图为 {1}! 滚动投票已显示!"
}
"Map Already Nominated"
{
"chi" "您所选的地图已有人预订."
}
"Map Nominated"
{
"chi" "{1} 预订了地图 {2} 加入滚动投票."
}
"Nominate Title"
{
"chi" "预订地图:"
}
}
-28
View File
@@ -1,28 +0,0 @@
"Phrases"
{
"Slap player"
{
"chi" "拍打玩家"
}
"Slap damage"
{
"chi" "拍打伤害值"
}
"Slay player"
{
"chi" "处死玩家"
}
"Slapped target"
{
"chi" "拍打了 {1}."
}
"Slayed target"
{
"chi" "处死了 {1}."
}
}