feat: more prune

This commit is contained in:
tresabhi committed 2025-01-19 12:46:57 -06:00
1 parent d6a1357a82
commit 0506e361b2
9 files changed
+1238 -1432

No files matched your search

File diff suppressed because it is too large. Load diff
+23 -23
View File
@@ -178,29 +178,6 @@
"composite_stats": {}
},
"default": {
"test": {},
"common": {
"units": {},
"gun_types": {},
"shells": {},
"player_count_period": {},
"branches": {},
"locales": {},
"wn8_percentile": {},
"bkni_percentile": {},
"nations": {},
"nations_adjectives": {},
"tank_class_short": {},
"tank_class_short_plural_lowercase": {},
"tank_class_medium": {},
"tree_type": {},
"regions": {
"normal": {},
"short": {}
},
"leagues": {},
"composite_stats": {}
},
"bot": {
"common": {
"errors": {},
@@ -357,6 +334,29 @@
}
}
},
"common": {
"units": {},
"gun_types": {},
"shells": {},
"player_count_period": {},
"branches": {},
"locales": {},
"wn8_percentile": {},
"bkni_percentile": {},
"nations": {},
"nations_adjectives": {},
"tank_class_short": {},
"tank_class_short_plural_lowercase": {},
"tank_class_medium": {},
"tree_type": {},
"regions": {
"normal": {},
"short": {}
},
"leagues": {},
"composite_stats": {}
},
"test": {},
"website": {
"settings": {},
"common": {
+23 -23
View File
@@ -178,29 +178,6 @@
"composite_stats": {}
},
"default": {
"test": {},
"common": {
"units": {},
"gun_types": {},
"shells": {},
"player_count_period": {},
"branches": {},
"locales": {},
"wn8_percentile": {},
"bkni_percentile": {},
"nations": {},
"nations_adjectives": {},
"tank_class_short": {},
"tank_class_short_plural_lowercase": {},
"tank_class_medium": {},
"tree_type": {},
"regions": {
"normal": {},
"short": {}
},
"leagues": {},
"composite_stats": {}
},
"bot": {
"common": {
"errors": {},
@@ -357,6 +334,29 @@
}
}
},
"common": {
"units": {},
"gun_types": {},
"shells": {},
"player_count_period": {},
"branches": {},
"locales": {},
"wn8_percentile": {},
"bkni_percentile": {},
"nations": {},
"nations_adjectives": {},
"tank_class_short": {},
"tank_class_short_plural_lowercase": {},
"tank_class_medium": {},
"tree_type": {},
"regions": {
"normal": {},
"short": {}
},
"leagues": {},
"composite_stats": {}
},
"test": {},
"website": {
"settings": {},
"common": {
+34 -46
View File
@@ -60,9 +60,7 @@
"starting_tank": {}
},
"body": {},
"errors": {
"tanks_not_on_line": "# %s i %s nie znajdują się w tej samej linii\n\nUpewnij się, że `starting-tank` i `target-tank` znajdują się na tej samej linii drzewa technicznego."
}
"errors": {}
},
"about": {
"subcommands": {
@@ -90,9 +88,7 @@
},
"inactive": {
"options": {
"threshold": {
"description": "Liczba dni nieaktywnych (domyślnie: %s dni)"
}
"threshold": {}
},
"body": {}
},
@@ -126,9 +122,7 @@
},
"search_players": {
"options": {
"limit": {
"description": "Maksymalna liczba wyników gracza (domyślnie: %s)"
}
"limit": {}
},
"body": {}
},
@@ -207,34 +201,6 @@
}
},
"default": {
"test": {},
"common": {
"units": {},
"gun_types": {},
"shells": {},
"player_count_period": {},
"branches": {},
"locales": {},
"wn8_percentile": {},
"bkni_percentile": {},
"nations": {},
"nations_adjectives": {},
"tank_class_short": {},
"tank_class_short_plural_lowercase": {},
"tank_class_medium": {
"0": "Lekki"
},
"tree_type": {},
"regions": {
"normal": {},
"short": {}
},
"leagues": {},
"composite_stats": {
"cumulative_spotted": "Suma wykryć",
"cumulative_xp": "Łączne PD"
}
},
"bot": {
"common": {
"errors": {
@@ -296,9 +262,7 @@
"starting_tank": {}
},
"body": {},
"errors": {
"tanks_not_on_line": "# %s i %s nie znajdują się w tej samej linii\n\nUpewnij się, że `starting-tank` i `target-tank` znajdują się na tej samej linii drzewa technicznego."
}
"errors": {}
},
"about": {
"subcommands": {
@@ -326,9 +290,7 @@
},
"inactive": {
"options": {
"threshold": {
"description": "Liczba dni nieaktywnych (domyślnie: %s dni)"
}
"threshold": {}
},
"body": {}
},
@@ -362,9 +324,7 @@
},
"search_players": {
"options": {
"limit": {
"description": "Maksymalna liczba wyników gracza (domyślnie: %s)"
}
"limit": {}
},
"body": {}
},
@@ -415,6 +375,34 @@
}
}
},
"common": {
"units": {},
"gun_types": {},
"shells": {},
"player_count_period": {},
"branches": {},
"locales": {},
"wn8_percentile": {},
"bkni_percentile": {},
"nations": {},
"nations_adjectives": {},
"tank_class_short": {},
"tank_class_short_plural_lowercase": {},
"tank_class_medium": {
"0": "Lekki"
},
"tree_type": {},
"regions": {
"normal": {},
"short": {}
},
"leagues": {},
"composite_stats": {
"cumulative_spotted": "Suma wykryć",
"cumulative_xp": "Łączne PD"
}
},
"test": {},
"website": {
"settings": {},
"common": {
+144 -144
View File
@@ -304,150 +304,6 @@
}
},
"default": {
"test": {},
"common": {
"units": {},
"gun_types": {},
"shells": {},
"player_count_period": {
"d_120": "Últimos 120 dias",
"d_90": "Últimos 90 dias",
"d_60": "Últimos 60 dias",
"d_30": "Último mês",
"d_7": "Última semana",
"d_1": "Ontem"
},
"branches": {},
"locales": {
"en": "Inglês",
"es": "Espanhol",
"pt": "Português",
"ru": "Russo",
"uk": "Ucraniano",
"zh": "Chinês",
"ja": "Japonês",
"fr": "Francês",
"pl": "Polaco"
},
"wn8_percentile": {
"0": "Muito ruim",
"1": "Ruim",
"2": "Abaixo da média",
"3": "Na média",
"4": "Acima da média",
"5": "Bom",
"6": "Muito bom",
"7": "Ótimo",
"8": "Excelente"
},
"bkni_percentile": {
"2": "Muito ruim",
"3": "Ruim",
"4": "Abaixo da média",
"5": "Na média",
"6": "Acima da média",
"7": "Bom",
"8": "Muito bom",
"10": "Super Unicum"
},
"nations": {
"ussr": "U.R.S.S.",
"germany": "Alemanha",
"usa": "E.U.A.",
"uk": "Reino Unido",
"france": "França",
"japan": "Japão",
"european": "Nação Europeia",
"other": "Nação Híbrida"
},
"nations_adjectives": {
"ussr": "União soviética",
"germany": "Alemão",
"usa": "E.U.A.",
"china": "Chinês",
"uk": "Britânico",
"france": "Francês",
"japan": "Japonês",
"european": "Europeu",
"other": "Híbrido"
},
"tank_class_short": {
"0": "Leve",
"1": "Médio",
"2": "Pesado",
"3": "Caça-tanques",
"-1": "Não reconhecido"
},
"tank_class_short_plural_lowercase": {
"0": "leves",
"1": "médios",
"2": "pesados",
"3": "Caça-tanques"
},
"tank_class_medium": {
"0": "Leve",
"1": "Médio",
"2": "Pesado",
"3": "Caça-tanque",
"-1": "não reconhecido"
},
"tree_type": {
"0": "Arvore Tecnológica",
"2": "Colecionador",
"-1": "não reconhecido"
},
"regions": {
"normal": {
"com": "América do Norte",
"eu": "Europa",
"asia": "Asia-Pacífico"
},
"short": {}
},
"leagues": {
"diamond": "Diamante",
"platinum": "Platina",
"gold": "Ouro",
"silver": "Prata"
},
"composite_stats": {
"normalized_damage_dealt": "Dano",
"normalized_damage_received": "Dano recebido",
"normalized_deaths": "Taxa de mortes",
"normalized_frags": "Abates",
"normalized_hits": "Acertos",
"normalized_losses": "Taxa de derrota",
"normalized_misses": "Tiros errados",
"normalized_shots": "Disparos",
"normalized_spotted": "Detecções",
"normalized_survived_battles": "Taxa de sobrevivência",
"normalized_win_and_survived": "Taxa de sobrevivência em vitórias",
"normalized_wins": "Taxa de vitória",
"normalized_xp": "EXP",
"normalized_battle_life_time": "Tempo em batalha",
"cumulative_accuracy": "Precisão",
"cumulative_battles": "Batalhas",
"cumulative_capture_points": "Total de pontos de captura",
"cumulative_damage_dealt": "Dano total",
"cumulative_damage_ratio": "Razão entre dano dado e recebido",
"cumulative_damage_received": "Dano total recebido",
"cumulative_deaths": "Total de mortes",
"cumulative_dropped_capture_points": "Total de pontos de captura perdidos",
"cumulative_frags": "Total de abates",
"cumulative_hits": "Total de acertos",
"cumulative_inaccuracy": "Imprecisão",
"cumulative_kills_to_death_ratio": "Razão entre abates e mortes",
"cumulative_losses": "Derrotas",
"cumulative_misses": "Total de tiros errados",
"cumulative_shots": "Total de disparos",
"cumulative_spotted": "Total de detecções",
"cumulative_survived_battles": "Batalhas sobrevividas",
"cumulative_win_and_survived": "Batalhas ganhas e sobrevividas",
"cumulative_wins": "Vitórias",
"cumulative_xp": "XP total",
"cumulative_battle_life_time": "Tempo de batalha total"
}
},
"bot": {
"common": {
"errors": {
@@ -609,6 +465,150 @@
}
}
},
"common": {
"units": {},
"gun_types": {},
"shells": {},
"player_count_period": {
"d_120": "Últimos 120 dias",
"d_90": "Últimos 90 dias",
"d_60": "Últimos 60 dias",
"d_30": "Último mês",
"d_7": "Última semana",
"d_1": "Ontem"
},
"branches": {},
"locales": {
"en": "Inglês",
"es": "Espanhol",
"pt": "Português",
"ru": "Russo",
"uk": "Ucraniano",
"zh": "Chinês",
"ja": "Japonês",
"fr": "Francês",
"pl": "Polaco"
},
"wn8_percentile": {
"0": "Muito ruim",
"1": "Ruim",
"2": "Abaixo da média",
"3": "Na média",
"4": "Acima da média",
"5": "Bom",
"6": "Muito bom",
"7": "Ótimo",
"8": "Excelente"
},
"bkni_percentile": {
"2": "Muito ruim",
"3": "Ruim",
"4": "Abaixo da média",
"5": "Na média",
"6": "Acima da média",
"7": "Bom",
"8": "Muito bom",
"10": "Super Unicum"
},
"nations": {
"ussr": "U.R.S.S.",
"germany": "Alemanha",
"usa": "E.U.A.",
"uk": "Reino Unido",
"france": "França",
"japan": "Japão",
"european": "Nação Europeia",
"other": "Nação Híbrida"
},
"nations_adjectives": {
"ussr": "União soviética",
"germany": "Alemão",
"usa": "E.U.A.",
"china": "Chinês",
"uk": "Britânico",
"france": "Francês",
"japan": "Japonês",
"european": "Europeu",
"other": "Híbrido"
},
"tank_class_short": {
"0": "Leve",
"1": "Médio",
"2": "Pesado",
"3": "Caça-tanques",
"-1": "Não reconhecido"
},
"tank_class_short_plural_lowercase": {
"0": "leves",
"1": "médios",
"2": "pesados",
"3": "Caça-tanques"
},
"tank_class_medium": {
"0": "Leve",
"1": "Médio",
"2": "Pesado",
"3": "Caça-tanque",
"-1": "não reconhecido"
},
"tree_type": {
"0": "Arvore Tecnológica",
"2": "Colecionador",
"-1": "não reconhecido"
},
"regions": {
"normal": {
"com": "América do Norte",
"eu": "Europa",
"asia": "Asia-Pacífico"
},
"short": {}
},
"leagues": {
"diamond": "Diamante",
"platinum": "Platina",
"gold": "Ouro",
"silver": "Prata"
},
"composite_stats": {
"normalized_damage_dealt": "Dano",
"normalized_damage_received": "Dano recebido",
"normalized_deaths": "Taxa de mortes",
"normalized_frags": "Abates",
"normalized_hits": "Acertos",
"normalized_losses": "Taxa de derrota",
"normalized_misses": "Tiros errados",
"normalized_shots": "Disparos",
"normalized_spotted": "Detecções",
"normalized_survived_battles": "Taxa de sobrevivência",
"normalized_win_and_survived": "Taxa de sobrevivência em vitórias",
"normalized_wins": "Taxa de vitória",
"normalized_xp": "EXP",
"normalized_battle_life_time": "Tempo em batalha",
"cumulative_accuracy": "Precisão",
"cumulative_battles": "Batalhas",
"cumulative_capture_points": "Total de pontos de captura",
"cumulative_damage_dealt": "Dano total",
"cumulative_damage_ratio": "Razão entre dano dado e recebido",
"cumulative_damage_received": "Dano total recebido",
"cumulative_deaths": "Total de mortes",
"cumulative_dropped_capture_points": "Total de pontos de captura perdidos",
"cumulative_frags": "Total de abates",
"cumulative_hits": "Total de acertos",
"cumulative_inaccuracy": "Imprecisão",
"cumulative_kills_to_death_ratio": "Razão entre abates e mortes",
"cumulative_losses": "Derrotas",
"cumulative_misses": "Total de tiros errados",
"cumulative_shots": "Total de disparos",
"cumulative_spotted": "Total de detecções",
"cumulative_survived_battles": "Batalhas sobrevividas",
"cumulative_win_and_survived": "Batalhas ganhas e sobrevividas",
"cumulative_wins": "Vitórias",
"cumulative_xp": "XP total",
"cumulative_battle_life_time": "Tempo de batalha total"
}
},
"test": {},
"website": {
"settings": {},
"common": {
File diff suppressed because it is too large. Load diff
+23 -23
View File
@@ -178,29 +178,6 @@
"composite_stats": {}
},
"default": {
"test": {},
"common": {
"units": {},
"gun_types": {},
"shells": {},
"player_count_period": {},
"branches": {},
"locales": {},
"wn8_percentile": {},
"bkni_percentile": {},
"nations": {},
"nations_adjectives": {},
"tank_class_short": {},
"tank_class_short_plural_lowercase": {},
"tank_class_medium": {},
"tree_type": {},
"regions": {
"normal": {},
"short": {}
},
"leagues": {},
"composite_stats": {}
},
"bot": {
"common": {
"errors": {},
@@ -357,6 +334,29 @@
}
}
},
"common": {
"units": {},
"gun_types": {},
"shells": {},
"player_count_period": {},
"branches": {},
"locales": {},
"wn8_percentile": {},
"bkni_percentile": {},
"nations": {},
"nations_adjectives": {},
"tank_class_short": {},
"tank_class_short_plural_lowercase": {},
"tank_class_medium": {},
"tree_type": {},
"regions": {
"normal": {},
"short": {}
},
"leagues": {},
"composite_stats": {}
},
"test": {},
"website": {
"settings": {},
"common": {
+127 -135
View File
@@ -2,11 +2,7 @@
"bot": {
"common": {
"errors": {
"clan_not_found": "# 找不到军团\n找不到\"%s\"。请尝试从搜索结果中选择一个军团。",
"player_not_found": "# 找不到用户\n无法找到用户 \"%s\"。 尝试从搜索结果中挑选用户,输入一个有效的用户名或使用 \"/link\" 命令。",
"player_not_linked": "# 使用 `/link` 来开始\n我不知道你是谁,但你今天可以告诉我!",
"tank_name_not_found": "# 坦克找不到\n无法找到名为 \"%s \"的坦克。",
"tank_id_not_found": "# 坦克找不到\n无法找到ID \"%s\"的坦克。 试着输入坦克的名称而不是数字。",
"no_tank_stats": "# 没有这个坦克的数据\n这个玩家没有数据。你可能找错人了。",
"uncaught_error": "# BlitzKit 崩溃了!\n非常抱歉。请加入[官方Discord](https://discord.gg/nDt7AjGJQH),以方便帮助你的问题。",
"preview": "# 此命令处于预览\n\n您只能在[官方Discord服务器](https://discord.gg/nDt7AjGJQH)访问此命令。该命令将很快可用。",
@@ -313,141 +309,10 @@
}
},
"default": {
"test": {},
"common": {
"units": {},
"gun_types": {},
"shells": {},
"player_count_period": {},
"branches": {},
"locales": {},
"wn8_percentile": {
"0": "非常差",
"1": "差",
"2": "较差",
"3": "平均",
"4": "高于平均",
"5": "好",
"6": "非常好",
"7": "很好"
},
"bkni_percentile": {
"3": "差",
"4": "较差",
"5": "平均",
"6": "高于平均",
"7": "好",
"8": "非常好"
},
"nations": {
"ussr": "苏联 (S系)",
"germany": "德国 (D系)",
"usa": "美国 (M系)",
"china": "中国 (C系)",
"uk": "英国 (Y系)",
"france": "法国 (F系)",
"japan": "日本 (R系)",
"european": "欧盟 (E系)",
"other": "X系"
},
"nations_adjectives": {
"ussr": "苏联 (S系)",
"germany": "德国 (D系)",
"usa": "美国 (M系)",
"china": "中国 (C系)",
"uk": "英国 (Y系)",
"france": "法国 (F系)",
"japan": "日本 (R系)",
"european": "欧盟 (E系)",
"other": "X系"
},
"tank_class_short": {
"0": "轻型坦克",
"1": "中型坦克",
"2": "重型坦克",
"3": "坦克歼击车",
"-1": "无法识别"
},
"tank_class_short_plural_lowercase": {
"0": "轻型坦克",
"1": "中型坦克",
"2": "重型坦克",
"3": "坦克歼击车"
},
"tank_class_medium": {
"0": "轻型坦克",
"3": "坦克歼击车",
"-1": "无法识别"
},
"tree_type": {
"0": "科技树",
"1": "加值",
"2": "收藏"
},
"regions": {
"normal": {
"com": "北美",
"eu": "欧洲",
"asia": "亚太"
},
"short": {
"com": "北美",
"eu": "欧洲"
}
},
"leagues": {
"diamond": "钻石",
"platinum": "白金",
"gold": "黃金",
"silver": "白银",
"bronze": "青铜"
},
"composite_stats": {
"normalized_damage_dealt": "伤害",
"normalized_damage_received": "受到的伤害",
"normalized_deaths": "阵亡率",
"normalized_frags": "击杀数",
"normalized_hits": "命中数",
"normalized_losses": "战败率",
"normalized_misses": "未命中数",
"normalized_shots": "开火次数",
"normalized_spotted": "点亮次数",
"normalized_survived_battles": "存活率",
"normalized_win_and_survived": "胜利并存活率",
"normalized_wins": "胜率",
"normalized_xp": "经验值",
"normalized_battle_life_time": "战斗时间",
"cumulative_accuracy": "命中率",
"cumulative_battles": "战斗场次",
"cumulative_capture_points": "总占领点数",
"cumulative_damage_dealt": "总伤害",
"cumulative_damage_ratio": "伤害比率",
"cumulative_damage_received": "总承受伤害",
"cumulative_deaths": "总阵亡数",
"cumulative_dropped_capture_points": "总阻止的占领点数",
"cumulative_frags": "总击杀数",
"cumulative_hits": "总命中数",
"cumulative_inaccuracy": "未命中率",
"cumulative_kills_to_death_ratio": "战损比",
"cumulative_losses": "失败",
"cumulative_misses": "总射击失误数",
"cumulative_shots": "总射击数",
"cumulative_spotted": "场均发现敌人",
"cumulative_survived_battles": "幸存场次",
"cumulative_win_and_survived": "胜利和幸存场次",
"cumulative_wins": "胜利",
"cumulative_xp": "总经验",
"cumulative_battle_life_time": "总战斗时间"
}
},
"bot": {
"common": {
"errors": {
"clan_not_found": "# 找不到军团\n找不到\"%s\"。请尝试从搜索结果中选择一个军团。",
"player_not_found": "# 找不到用户\n无法找到用户 \"%s\"。 尝试从搜索结果中挑选用户,输入一个有效的用户名或使用 \"/link\" 命令。",
"player_not_linked": "# 使用 `/link` 来开始\n我不知道你是谁,但你今天可以告诉我!",
"tank_name_not_found": "# 坦克找不到\n无法找到名为 \"%s \"的坦克。",
"tank_id_not_found": "# 坦克找不到\n无法找到ID \"%s\"的坦克。 试着输入坦克的名称而不是数字。",
"no_tank_stats": "# 没有这个坦克的数据\n这个玩家没有数据。你可能找错人了。",
"uncaught_error": "# BlitzKit 崩溃了!\n非常抱歉。请加入[官方Discord](https://discord.gg/nDt7AjGJQH),以方便帮助你的问题。",
"preview": "# 此命令处于预览\n\n您只能在[官方Discord服务器](https://discord.gg/nDt7AjGJQH)访问此命令。该命令将很快可用。",
@@ -627,6 +492,133 @@
}
}
},
"common": {
"units": {},
"gun_types": {},
"shells": {},
"player_count_period": {},
"branches": {},
"locales": {},
"wn8_percentile": {
"0": "非常差",
"1": "差",
"2": "较差",
"3": "平均",
"4": "高于平均",
"5": "好",
"6": "非常好",
"7": "很好"
},
"bkni_percentile": {
"3": "差",
"4": "较差",
"5": "平均",
"6": "高于平均",
"7": "好",
"8": "非常好"
},
"nations": {
"ussr": "苏联 (S系)",
"germany": "德国 (D系)",
"usa": "美国 (M系)",
"china": "中国 (C系)",
"uk": "英国 (Y系)",
"france": "法国 (F系)",
"japan": "日本 (R系)",
"european": "欧盟 (E系)",
"other": "X系"
},
"nations_adjectives": {
"ussr": "苏联 (S系)",
"germany": "德国 (D系)",
"usa": "美国 (M系)",
"china": "中国 (C系)",
"uk": "英国 (Y系)",
"france": "法国 (F系)",
"japan": "日本 (R系)",
"european": "欧盟 (E系)",
"other": "X系"
},
"tank_class_short": {
"0": "轻型坦克",
"1": "中型坦克",
"2": "重型坦克",
"3": "坦克歼击车",
"-1": "无法识别"
},
"tank_class_short_plural_lowercase": {
"0": "轻型坦克",
"1": "中型坦克",
"2": "重型坦克",
"3": "坦克歼击车"
},
"tank_class_medium": {
"0": "轻型坦克",
"3": "坦克歼击车",
"-1": "无法识别"
},
"tree_type": {
"0": "科技树",
"1": "加值",
"2": "收藏"
},
"regions": {
"normal": {
"com": "北美",
"eu": "欧洲",
"asia": "亚太"
},
"short": {
"com": "北美",
"eu": "欧洲"
}
},
"leagues": {
"diamond": "钻石",
"platinum": "白金",
"gold": "黃金",
"silver": "白银",
"bronze": "青铜"
},
"composite_stats": {
"normalized_damage_dealt": "伤害",
"normalized_damage_received": "受到的伤害",
"normalized_deaths": "阵亡率",
"normalized_frags": "击杀数",
"normalized_hits": "命中数",
"normalized_losses": "战败率",
"normalized_misses": "未命中数",
"normalized_shots": "开火次数",
"normalized_spotted": "点亮次数",
"normalized_survived_battles": "存活率",
"normalized_win_and_survived": "胜利并存活率",
"normalized_wins": "胜率",
"normalized_xp": "经验值",
"normalized_battle_life_time": "战斗时间",
"cumulative_accuracy": "命中率",
"cumulative_battles": "战斗场次",
"cumulative_capture_points": "总占领点数",
"cumulative_damage_dealt": "总伤害",
"cumulative_damage_ratio": "伤害比率",
"cumulative_damage_received": "总承受伤害",
"cumulative_deaths": "总阵亡数",
"cumulative_dropped_capture_points": "总阻止的占领点数",
"cumulative_frags": "总击杀数",
"cumulative_hits": "总命中数",
"cumulative_inaccuracy": "未命中率",
"cumulative_kills_to_death_ratio": "战损比",
"cumulative_losses": "失败",
"cumulative_misses": "总射击失误数",
"cumulative_shots": "总射击数",
"cumulative_spotted": "场均发现敌人",
"cumulative_survived_battles": "幸存场次",
"cumulative_win_and_survived": "胜利和幸存场次",
"cumulative_wins": "胜利",
"cumulative_xp": "总经验",
"cumulative_battle_life_time": "总战斗时间"
}
},
"test": {},
"website": {
"settings": {},
"common": {
+5 -1
View File
@@ -19,9 +19,13 @@ function prune(defaultStrings: TranslationTree, strings: TranslationTree) {
if (typeof defaultStrings[key] === typeof strings[key]) {
if (typeof strings[key] === 'string') {
if (
// are equivalent regardless of %s flavor
(defaultStrings[key] as string).replaceAll(/%s\d/g, '%s') ===
(strings[key] as string).replaceAll(/%s\d/g, '%s') ||
strings[key] === ''
// string is empty
strings[key] === '' ||
// string has old flavor of %s
strings[key].match(/%s([^\d]|$)/g) !== null
) {
delete strings[key];
}