From dbd45939314758ee7ed12c6b662864773f2445f8 Mon Sep 17 00:00:00 2001 From: EpicKnarvik97 Date: Tue, 7 Jun 2022 13:47:44 +0200 Subject: [PATCH] Displays the SIGN_INFO text as a multi-line YAML value --- src/main/resources/strings.yml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/src/main/resources/strings.yml b/src/main/resources/strings.yml index 6cd4970..c719e8e 100644 --- a/src/main/resources/strings.yml +++ b/src/main/resources/strings.yml @@ -32,7 +32,14 @@ en: INTERACT_PERMISSION_MISSING: "&7You do not have the necessary permissions required to use permission signs" CREATION_REQUEST_CANCELLED: "&7Your last permission sign creation request has been cancelled" RELOAD_SUCCESSFUL: "&7The plugin has been successfully reloaded" - SIGN_INFO: "&f---- &4Permission Sign&f ----\n&f| &bName: &7{Name}\n&f| &bPermission(s): &7{Permissions}\n&f| &bCost: &7{Cost}\n&f| &bDuration: &7{Duration}\n&f| &7Right-click the sign while sneaking to buy the permission(s)\n&f-------------------------" + SIGN_INFO: | + &f---- &4Permission Sign&f ---- + &f| &bName: &7{Name} + &f| &bPermission(s): &7{Permissions} + &f| &bCost: &7{Cost} + &f| &bDuration: &7{Duration} + &f| &7Right-click the sign while sneaking to buy the permission(s) + &f------------------------- SIGN_INFO_PERMISSION_FORMAT: "\n&f| &7- {permission}" nb-no: PREFIX: "[Tilgangsrettighetsskilt]" @@ -68,5 +75,12 @@ nb-no: INTERACT_PERMISSION_MISSING: "&7Du har ikke de nødvendige tilgangsrettighetene for å bruke tilgangsrettighetsskilt" CREATION_REQUEST_CANCELLED: "&7Din siste tilgangsrettighetsskiltsforespørsel har blitt kansellert" RELOAD_SUCCESSFUL: "&7Plugin-modulen har blitt lastet inn på nytt" - SIGN_INFO: "&f---- &4Tilgangsrettighetsskilt&f ----\n&f| &bNavn: &7{Name}\n&f| &bTilgangsrettighet(er): &7{Permissions}\n&f| &bKostnad: &7{Cost}\n&f| &bVarighet: &7{Duration}\n&f| &7Høyreklikk skiltet mens du sniker for å kjøpe tilgangsrettighet(en/ene)\n&f-------------------------" + SIGN_INFO: | + &f---- &4Tilgangsrettighetsskilt&f ---- + &f| &bNavn: &7{Name} + &f| &bTilgangsrettighet(er): &7{Permissions} + &f| &bKostnad: &7{Cost} + &f| &bVarighet: &7{Duration} + &f| &7Høyreklikk skiltet mens du sniker for å kjøpe tilgangsrettighet(en/ene) + &f------------------------- SIGN_INFO_PERMISSION_FORMAT: "\n&f| &7- {permission}" \ No newline at end of file