Skip to content

Commit

Permalink
translations: fix prefix and no-entries strings
Browse files Browse the repository at this point in the history
  • Loading branch information
lokka30 committed Feb 2, 2025
1 parent 20580b7 commit e42faf9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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^"))
Expand All @@ -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%"))
Expand Down
4 changes: 2 additions & 2 deletions plugin-bukkit/src/main/resources/translations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# | (_) | \/ (_ (_) | | (_) | | | \/
# / /

prefix: "&b&lPC:&7 "
prefix: "&b&lPolyconomy:&7"

list-separator: "&7, &f"

Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit e42faf9

Please sign in to comment.