mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 18:56:45 +00:00
fix
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user