Fix translation

This commit is contained in:
nea
2023-06-03 01:37:03 +02:00
parent f2eb8c4dc8
commit 06a8ace53c
2 changed files with 4 additions and 2 deletions

View File

@@ -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)

View File

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