Fix translation
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user