aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authornea <nea@nea.moe>2023-06-03 01:37:03 +0200
committernea <nea@nea.moe>2023-06-03 01:37:03 +0200
commit06a8ace53c3c1fcce02e9a9d085b82acb8cecb71 (patch)
treec937e899eb5478876cfaa5a832686fd1ce6c7f74 /src/main
parentf2eb8c4dc898336f1ee44e62e18b4a7406464736 (diff)
downloadFirmament-06a8ace53c3c1fcce02e9a9d085b82acb8cecb71.tar.gz
Firmament-06a8ace53c3c1fcce02e9a9d085b82acb8cecb71.tar.bz2
Firmament-06a8ace53c3c1fcce02e9a9d085b82acb8cecb71.zip
Fix translation
Diffstat (limited to 'src/main')
-rw-r--r--src/main/kotlin/moe/nea/firmament/gui/profileviewer/ProfileViewer.kt2
-rw-r--r--src/main/resources/assets/firmament/lang/en_us.json4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/gui/profileviewer/ProfileViewer.kt b/src/main/kotlin/moe/nea/firmament/gui/profileviewer/ProfileViewer.kt
index 98e9489..6b70e6c 100644
--- a/src/main/kotlin/moe/nea/firmament/gui/profileviewer/ProfileViewer.kt
+++ b/src/main/kotlin/moe/nea/firmament/gui/profileviewer/ProfileViewer.kt
@@ -49,7 +49,7 @@ class ProfileViewer(
val names = mapOf(uuid to (Routes.getPlayerNameForUUID(uuid) ?: name))
val data = Routes.getAccountData(uuid)
if (data == null) {
- source.sendError(Text.translatable("firmament.pv.nohypixel", name))
+ source.sendError(Text.translatable("firmament.pv.noprofile", name))
return@launch
}
val accountData = mapOf(data.uuid to data)
diff --git a/src/main/resources/assets/firmament/lang/en_us.json b/src/main/resources/assets/firmament/lang/en_us.json
index 91bca24..2641173 100644
--- a/src/main/resources/assets/firmament/lang/en_us.json
+++ b/src/main/resources/assets/firmament/lang/en_us.json
@@ -54,5 +54,7 @@
"firmament.pv.skills.social": "Social",
"firmament.pv.skills.enchanting": "Enchanting",
"firmament.pv.skills.total": "Total Exp: %s",
- "firmament.pv.lookingup": "Looking up %s"
+ "firmament.pv.lookingup": "Looking up %s",
+ "firmament.pv.noprofile": "%s has no SkyBlock profiles",
+ "firmament.pv.noplayer": "%s is not a Minecraft player"
}