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)