Implement the translation for a campaign's game display
This commit is contained in:
1 parent
a33c93aa83
commit
83ffea013b
6 files changed
+11
-14
No files matched your search
@@ -541,18 +541,10 @@ class CampaignProgress:
|
|||||||
game_campaign.grid(column=0, row=0, columnspan=2, sticky="nsew")
|
game_campaign.grid(column=0, row=0, columnspan=2, sticky="nsew")
|
||||||
game_campaign.columnconfigure(0, weight=1)
|
game_campaign.columnconfigure(0, weight=1)
|
||||||
game_campaign.columnconfigure(1, weight=1)
|
game_campaign.columnconfigure(1, weight=1)
|
||||||
ttk.Label(
|
ttk.Label(game_campaign, text=_("gui", "progress", "game")).grid(column=0, row=0)
|
||||||
game_campaign, text="Game:"
|
ttk.Label(game_campaign, textvariable=self._vars["campaign"]["game"]).grid(column=0, row=1)
|
||||||
).grid(column=0, row=0)
|
ttk.Label(game_campaign, text=_("gui", "progress", "campaign")).grid(column=1, row=0)
|
||||||
ttk.Label(
|
ttk.Label(game_campaign, textvariable=self._vars["campaign"]["name"]).grid(column=1, row=1)
|
||||||
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(
|
ttk.Label(
|
||||||
frame, text=_("gui", "progress", "campaign_progress")
|
frame, text=_("gui", "progress", "campaign_progress")
|
||||||
).grid(column=0, row=2, rowspan=2)
|
).grid(column=0, row=2, rowspan=2)
|
||||||
|
|||||||
@@ -82,6 +82,7 @@
|
|||||||
"progress": {
|
"progress": {
|
||||||
"name": "Kampagnen-Fortschritt",
|
"name": "Kampagnen-Fortschritt",
|
||||||
"drop": "Drop:",
|
"drop": "Drop:",
|
||||||
|
"game": "Spiel:",
|
||||||
"campaign": "Kampagne:",
|
"campaign": "Kampagne:",
|
||||||
"remaining": "{time} verbleibend",
|
"remaining": "{time} verbleibend",
|
||||||
"drop_progress": "Fortschritt:",
|
"drop_progress": "Fortschritt:",
|
||||||
|
|||||||
+1
-1
@@ -82,6 +82,7 @@
|
|||||||
"progress": {
|
"progress": {
|
||||||
"name": "Progreso de la Campaña",
|
"name": "Progreso de la Campaña",
|
||||||
"drop": "Drop:",
|
"drop": "Drop:",
|
||||||
|
"game": "Juego:",
|
||||||
"campaign": "Campaña:",
|
"campaign": "Campaña:",
|
||||||
"remaining": "{time} restante",
|
"remaining": "{time} restante",
|
||||||
"drop_progress": "Progreso:",
|
"drop_progress": "Progreso:",
|
||||||
@@ -157,4 +158,3 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
+2
-1
@@ -75,8 +75,9 @@
|
|||||||
"progress": {
|
"progress": {
|
||||||
"name": "Průběh Dropu",
|
"name": "Průběh Dropu",
|
||||||
"drop": "Drop Odměny:",
|
"drop": "Drop Odměny:",
|
||||||
"remaining": "Zbývá {time}",
|
"game": "Hra:",
|
||||||
"campaign": "Kampaň:",
|
"campaign": "Kampaň:",
|
||||||
|
"remaining": "Zbývá {time}",
|
||||||
"drop_progress": "Průběh dropu:",
|
"drop_progress": "Průběh dropu:",
|
||||||
"campaign_progress": "Průběh kampaňe:"
|
"campaign_progress": "Průběh kampaňe:"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -82,6 +82,7 @@
|
|||||||
"progress": {
|
"progress": {
|
||||||
"name": "掉宝活动进度",
|
"name": "掉宝活动进度",
|
||||||
"drop": "掉宝奖励:",
|
"drop": "掉宝奖励:",
|
||||||
|
"game": "游戏:",
|
||||||
"remaining": "剩余 {time}",
|
"remaining": "剩余 {time}",
|
||||||
"campaign": "掉宝活动名称:",
|
"campaign": "掉宝活动名称:",
|
||||||
"drop_progress": "掉宝进度:",
|
"drop_progress": "掉宝进度:",
|
||||||
|
|||||||
@@ -102,6 +102,7 @@ class GUIWebsocket(TypedDict):
|
|||||||
class GUIProgress(TypedDict):
|
class GUIProgress(TypedDict):
|
||||||
name: str
|
name: str
|
||||||
drop: str
|
drop: str
|
||||||
|
game: str
|
||||||
campaign: str
|
campaign: str
|
||||||
remaining: str
|
remaining: str
|
||||||
drop_progress: str
|
drop_progress: str
|
||||||
@@ -303,6 +304,7 @@ default_translation: Translation = {
|
|||||||
"progress": {
|
"progress": {
|
||||||
"name": "Campaign Progress",
|
"name": "Campaign Progress",
|
||||||
"drop": "Drop:",
|
"drop": "Drop:",
|
||||||
|
"game": "Game:",
|
||||||
"campaign": "Campaign:",
|
"campaign": "Campaign:",
|
||||||
"remaining": "{time} remaining",
|
"remaining": "{time} remaining",
|
||||||
"drop_progress": "Progress:",
|
"drop_progress": "Progress:",
|
||||||
|
|||||||
Reference in new issue
Block a user