Skip to content

Commit 781edcd

Browse files
committed
fix translation of template string
1 parent 0f4b5da commit 781edcd

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

resources/lang/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@
214214
"game_settings": "Game Settings",
215215
"map": "Map",
216216
"map_size": "Map Size",
217-
"difficulty": "Difficulty",
217+
"difficulty": "Difficulty: ",
218218
"bots": "Bots",
219219
"game_mode": "Game Mode",
220220
"teams": "Teams",

src/client/components/LobbyCard.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,9 @@ export class LobbyCard extends LitElement {
175175
</div>
176176
${this.showDifficulty
177177
? html`<div class="text-md font-medium text-blue-100 mt-1">
178-
${translateText("private_lobby.difficulty")}:
179-
${this.formatDifficulty()}
178+
${translateText(
179+
"private_lobby.difficulty",
180+
)}${this.formatDifficulty()}
180181
</div>`
181182
: ""}
182183
</div>

0 commit comments

Comments
 (0)