From e42faf933b3287cd226b8c7f604440eac340449d Mon Sep 17 00:00:00 2001 From: lokka30 Date: Sun, 2 Feb 2025 10:01:46 +0800 Subject: [PATCH] translations: fix prefix and no-entries strings --- .../bukkit/config/translations/TranslationHandlerImpl.kt | 4 ++-- plugin-bukkit/src/main/resources/translations.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugin-bukkit/src/main/kotlin/io/github/arcaneplugins/polyconomy/plugin/bukkit/config/translations/TranslationHandlerImpl.kt b/plugin-bukkit/src/main/kotlin/io/github/arcaneplugins/polyconomy/plugin/bukkit/config/translations/TranslationHandlerImpl.kt index 80f4811..b753015 100644 --- a/plugin-bukkit/src/main/kotlin/io/github/arcaneplugins/polyconomy/plugin/bukkit/config/translations/TranslationHandlerImpl.kt +++ b/plugin-bukkit/src/main/kotlin/io/github/arcaneplugins/polyconomy/plugin/bukkit/config/translations/TranslationHandlerImpl.kt @@ -95,7 +95,7 @@ class TranslationHandlerImpl( listOf("&7, &f")) val prefix = TranslationImpl(this, arrayOf("prefix"), - listOf("&b&lPolyconomy:&7 ")) + listOf("&b&lPolyconomy:&7")) private val commandGenericErrorCommandFailure = TranslationImpl(this, arrayOf("command", "generic", "error", "command-failure"), listOf("err^")) @@ -119,7 +119,7 @@ class TranslationHandlerImpl( listOf("&8&m+-----+&b Balance Top &8(&7Page &f%page%&8 - &f%currency%&8) &m+-----+&r")) val commandBalancetopNoEntriesOnPage = TranslationImpl(this, arrayOf("command", "balancetop", "no-entries-on-page"), - listOf("&7&iThere are no entries to display on this page.")) + listOf("&7##There are no entries to display on this page.##")) val commandBalancetopEntry = TranslationImpl(this, arrayOf("command", "balancetop", "entry"), listOf("&8 %rank%.&f %target-name%&7: &f%balance%")) diff --git a/plugin-bukkit/src/main/resources/translations.yml b/plugin-bukkit/src/main/resources/translations.yml index 02b8678..f5d39fb 100644 --- a/plugin-bukkit/src/main/resources/translations.yml +++ b/plugin-bukkit/src/main/resources/translations.yml @@ -3,7 +3,7 @@ # | (_) | \/ (_ (_) | | (_) | | | \/ # / / -prefix: "&b&lPC:&7 " +prefix: "&b&lPolyconomy:&7" list-separator: "&7, &f" @@ -35,7 +35,7 @@ command: header: - "&8&m+-----+&b Balance Top &8(&7Page &f%page%&8 - &f%currency%&8) &m+-----+&r" no-entries-on-page: - - "&7&iThere are no entries to display on this page." + - "&7##There are no entries to display on this page.##" entry: - "&8 %rank%.&f %target-name%&7: &f%balance%" pay: