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
@@ -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;
}