This commit is contained in:
Aotumuri
2026-03-29 17:18:27 +09:00
parent a5c2d4f52f
commit 3c4d1f9c23
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -242,7 +242,7 @@
"enter_email_address": "Please enter an email address",
"personal_player_id": "Personal Player ID:"
},
"achivements": {
"achievements": {
"win_no_nukes": "Win Without Nukes",
"win_no_nukes_desc": "Win a free-for-all match without launching any nukes."
},
@@ -95,13 +95,13 @@ export class PlayerAchievements extends LitElement {
}
private resolveTitle(achievementKey: string): string {
const translationKey = `achivements.${achievementKey}`;
const translationKey = `achievements.${achievementKey}`;
const translated = translateText(translationKey);
return translated === translationKey ? achievementKey : translated;
}
private resolveDescription(achievementKey: string): string | null {
const translationKey = `achivements.${achievementKey}_desc`;
const translationKey = `achievements.${achievementKey}_desc`;
const translated = translateText(translationKey);
return translated === translationKey ? null : translated;
}