diff --git a/gui.py b/gui.py index 54c3807..f12f776 100644 --- a/gui.py +++ b/gui.py @@ -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) diff --git a/lang/Deutsch.json b/lang/Deutsch.json index 42bd4eb..d265ed6 100644 --- a/lang/Deutsch.json +++ b/lang/Deutsch.json @@ -82,6 +82,7 @@ "progress": { "name": "Kampagnen-Fortschritt", "drop": "Drop:", + "game": "Spiel:", "campaign": "Kampagne:", "remaining": "{time} verbleibend", "drop_progress": "Fortschritt:", diff --git a/lang/Español.json b/lang/Español.json index 044c980..0ddfa91 100644 --- a/lang/Español.json +++ b/lang/Español.json @@ -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 @@ } } } - diff --git a/lang/Čeština.json b/lang/Čeština.json index bbc1926..ca78319 100644 --- a/lang/Čeština.json +++ b/lang/Čeština.json @@ -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:" }, diff --git a/lang/简体中文.json b/lang/简体中文.json index 6bb9782..b88c5a0 100644 --- a/lang/简体中文.json +++ b/lang/简体中文.json @@ -82,6 +82,7 @@ "progress": { "name": "掉宝活动进度", "drop": "掉宝奖励:", + "game": "游戏:", "remaining": "剩余 {time}", "campaign": "掉宝活动名称:", "drop_progress": "掉宝进度:", diff --git a/translate.py b/translate.py index 5d8fded..dd8a35c 100644 --- a/translate.py +++ b/translate.py @@ -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:",