Implement the translation for a campaign's game display

This commit is contained in:
DevilXD committed 2022-12-06 07:39:10 +01:00
1 parent a33c93aa83
commit 83ffea013b
6 files changed
+11 -14

No files matched your search

+4 -12
View File
@@ -541,18 +541,10 @@ class CampaignProgress:
game_campaign.grid(column=0, row=0, columnspan=2, sticky="nsew")
game_campaign.columnconfigure(0, weight=1)
game_campaign.columnconfigure(1, weight=1)
ttk.Label(
game_campaign, text="Game:"
).grid(column=0, row=0)
ttk.Label(
game_campaign, textvariable=self._vars["campaign"]["game"]
).grid(column=0, row=1)
ttk.Label(
game_campaign, text=_("gui", "progress", "campaign")
).grid(column=1, row=0)
ttk.Label(
game_campaign, textvariable=self._vars["campaign"]["name"]
).grid(column=1, row=1)
ttk.Label(game_campaign, text=_("gui", "progress", "game")).grid(column=0, row=0)
ttk.Label(game_campaign, textvariable=self._vars["campaign"]["game"]).grid(column=0, row=1)
ttk.Label(game_campaign, text=_("gui", "progress", "campaign")).grid(column=1, row=0)
ttk.Label(game_campaign, textvariable=self._vars["campaign"]["name"]).grid(column=1, row=1)
ttk.Label(
frame, text=_("gui", "progress", "campaign_progress")
).grid(column=0, row=2, rowspan=2)
+1
View File
@@ -82,6 +82,7 @@
"progress": {
"name": "Kampagnen-Fortschritt",
"drop": "Drop:",
"game": "Spiel:",
"campaign": "Kampagne:",
"remaining": "{time} verbleibend",
"drop_progress": "Fortschritt:",
+1 -1
View File
@@ -82,6 +82,7 @@
"progress": {
"name": "Progreso de la Campaña",
"drop": "Drop:",
"game": "Juego:",
"campaign": "Campaña:",
"remaining": "{time} restante",
"drop_progress": "Progreso:",
@@ -157,4 +158,3 @@
}
}
}
+2 -1
View File
@@ -75,8 +75,9 @@
"progress": {
"name": "Průběh Dropu",
"drop": "Drop Odměny:",
"remaining": "Zbývá {time}",
"game": "Hra:",
"campaign": "Kampaň:",
"remaining": "Zbývá {time}",
"drop_progress": "Průběh dropu:",
"campaign_progress": "Průběh kampaňe:"
},
+1
View File
@@ -82,6 +82,7 @@
"progress": {
"name": "掉宝活动进度",
"drop": "掉宝奖励:",
"game": "游戏:",
"remaining": "剩余 {time}",
"campaign": "掉宝活动名称:",
"drop_progress": "掉宝进度:",
+2
View File
@@ -102,6 +102,7 @@ class GUIWebsocket(TypedDict):
class GUIProgress(TypedDict):
name: str
drop: str
game: str
campaign: str
remaining: str
drop_progress: str
@@ -303,6 +304,7 @@ default_translation: Translation = {
"progress": {
"name": "Campaign Progress",
"drop": "Drop:",
"game": "Game:",
"campaign": "Campaign:",
"remaining": "{time} remaining",
"drop_progress": "Progress:",