From 935a3fc1352dc998011b1295a635e87366ef352d Mon Sep 17 00:00:00 2001 From: okx-code Date: Tue, 24 Nov 2020 23:32:13 +0000 Subject: [PATCH] Add ranksgui to new locales --- src/main/resources/locale/es.yml | 223 +++++++++++++++++-------------- src/main/resources/locale/it.yml | 18 +++ 2 files changed, 138 insertions(+), 103 deletions(-) diff --git a/src/main/resources/locale/es.yml b/src/main/resources/locale/es.yml index f7b5331..ae90554 100644 --- a/src/main/resources/locale/es.yml +++ b/src/main/resources/locale/es.yml @@ -1,104 +1,121 @@ -# the messages in this section can be customised for each rankup in rankups.yml. -rankup: - requirements-not-met: "&cNo satisfaces los requisitos para seguir al siguiente rango." - no-rankup: "&eEstas en el último rango." - # set to an empty string, ie: success-public: "" - # to hide that message. - success-public: "&a{PLAYER} &eha subido de rango a: &d{RANK}" - success-private: "" - # used for the text confirmation - confirmation: |- - &eEstas seguro de que quires subir de rango a &a{RANK}&e? - &eEscribe /rankup para confirmar. - # used for the GUI confirmation - title: "Subir de rango a {RANK}" - - must-prestige: "&cTienes que prestigiar para seguir subiendo de rango!" - - gui: - rows: 1 - title: "Subir de rango a {RANK}" - rankup: - material: EMERALD_BLOCK - # index can be separated by spaces to show in multiple groups - # for example: 0-3 9-12 18-21 - # you can also just use a single number instead of a range. - index: 0-3 - name: '&a&lConfirmar' - # lore is optional - lore: '&6Subir de rango a {RANK}' - cancel: - material: REDSTONE_BLOCK - index: 5-8 - name: '&c&lCancelar' - fill: - name: ' ' - # if you are using a 1.8-1.12 and you want to change this - # you can use MATERIAL:data, for example STAINED_GLASS_PANE:8 - # this works for both the rankup and cancel blocks as well - material: BLACK_STAINED_GLASS_PANE - - # you can (and probably should) you override these in rankups.yml - # to show the specific requirements for each rank. - # however if you are just using money or don't need to change the message per rank, you can use any combination of: - # {MONEY} {MONEY_NEEDED} {PERCENT_DONE } {PERCENT_LEFT } {AMOUNT } {AMOUNT_NEEDED } - # {MONEY} and {MONEY_NEEDED} are different from {AMOUNT money} and {AMOUNT_NEEDED money} in that they use a different format. - # here is an example of showing the requirements for just money: - #list: - # complete: "&7{OLD_RANK} &8\xbb &7{RANK} &efor &7${MONEY}" - # current: "&c{OLD_RANK} &e\xbb &c{RANK} &efor &a${MONEY} &e{PERCENT_DONE money}%" - # incomplete: "&r{OLD_RANK} &e\xbb &r{RANK} &efor &a${MONEY}" - list: - complete: "&7{OLD_RANK} &8\xbb &7{RANK}" - current: "&c{OLD_RANK} &e\xbb &c{RANK}" - incomplete: "&r{OLD_RANK} &e\xbb &r{RANK}" - # an empty string disables the header/footer - header: "" - footer: "" - # sent when a player tries to rankup when they are on cooldown - cooldown: - singular: "&cTienes que esperar {SECONDS_LEFT} segundo más para subir de rango otra vez." - plural: "&cTienes que esperar {SECONDS_LEFT} segundos más para subir de rango otra vez." -# prestige messages can also be customised -prestige: - requirements-not-met: "&cNecesitas {MONEY} más plata para prestigiar." - no-prestige: "&eYa estás en el prestigio más alto." - - success-public: "&a{PLAYER} &eha prestigiado a: &d{RANK}" - success-private: "" - - confirmation: |- - &eEstás seguro de que quieres prestigiar a &a{RANK}&e? - &eEscribe &c/prestige &otra vez para confirmar. - - gui: - title: "Prestigiar a {RANK}" - rankup: - material: GOLD_BLOCK - index: 0-3 - name: '&a&lConfirmar' - lore: '&6Prestigiar a &b{RANK}' - cancel: - material: REDSTONE_BLOCK - index: 5-8 - name: '&c&lCancelar' - fill: - name: ' ' - # if you are using a 1.8-1.12 and you want to change this - # you can use MATERIAL:data, for example STAINED_GLASS_PANE:8 - # this works for both the rankup and cancel blocks as well - material: BLACK_STAINED_GLASS_PANE - - list: - complete: "&7{OLD_RANK} &8\xbb &7{RANK}" - current: "&c{OLD_RANK} &e\xbb &c{RANK}" - incomplete: "&r{OLD_RANK} &e\xbb &r{RANK}" - header: "" - footer: "" - cooldown: - singular: "&cTienes que esperar {SECONDS_LEFT} segundo más para prestigiar otra vez." - plural: "&cTienes que esperar {SECONDS_LEFT} segundos más para prestigiar otra vez." - -not-high-enough: "&cNo puedes prestigiar a tu rango!" -not-in-ladder: "&cPerdón, pero no hemos podido encontrar rangos en los grupos que perteneces. Usa /ranks para ver los rangos." +# the messages in this section can be customised for each rankup in rankups.yml. +rankup: + requirements-not-met: "&cNo satisfaces los requisitos para seguir al siguiente rango." + no-rankup: "&eEstas en el último rango." + # set to an empty string, ie: success-public: "" + # to hide that message. + success-public: "&a{PLAYER} &eha subido de rango a: &d{RANK}" + success-private: "" + # used for the text confirmation + confirmation: |- + &eEstas seguro de que quires subir de rango a &a{RANK}&e? + &eEscribe /rankup para confirmar. + # used for the GUI confirmation + title: "Subir de rango a {RANK}" + + must-prestige: "&cTienes que prestigiar para seguir subiendo de rango!" + + gui: + rows: 1 + title: "Subir de rango a {RANK}" + rankup: + material: EMERALD_BLOCK + # index can be separated by spaces to show in multiple groups + # for example: 0-3 9-12 18-21 + # you can also just use a single number instead of a range. + index: 0-3 + name: '&a&lConfirmar' + # lore is optional + lore: '&6Subir de rango a {RANK}' + cancel: + material: REDSTONE_BLOCK + index: 5-8 + name: '&c&lCancelar' + fill: + name: ' ' + # if you are using a 1.8-1.12 and you want to change this + # you can use MATERIAL:data, for example STAINED_GLASS_PANE:8 + # this works for both the rankup and cancel blocks as well + material: BLACK_STAINED_GLASS_PANE + + ranksgui: + title: "Ranks" + rows: 3 + offset: 10 + width: 7 + complete: + material: GREEN_STAINED_GLASS_PANE + name: "&aRank &7{RANK} &a(completed)" + current: + material: ORANGE_STAINED_GLASS_PANE + name: "&dRankup to &7{RANK}" + incomplete: + material: RED_STAINED_GLASS_PANE + name: "&cRank &7{RANK} &c(requires rankup)" + fill: + material: BLACK_STAINED_GLASS_PANE + name: ' ' + # you can (and probably should) you override these in rankups.yml + # to show the specific requirements for each rank. + # however if you are just using money or don't need to change the message per rank, you can use any combination of: + # {MONEY} {MONEY_NEEDED} {PERCENT_DONE } {PERCENT_LEFT } {AMOUNT } {AMOUNT_NEEDED } + # {MONEY} and {MONEY_NEEDED} are different from {AMOUNT money} and {AMOUNT_NEEDED money} in that they use a different format. + # here is an example of showing the requirements for just money: + #list: + # complete: "&7{OLD_RANK} &8\xbb &7{RANK} &efor &7${MONEY}" + # current: "&c{OLD_RANK} &e\xbb &c{RANK} &efor &a${MONEY} &e{PERCENT_DONE money}%" + # incomplete: "&r{OLD_RANK} &e\xbb &r{RANK} &efor &a${MONEY}" + list: + complete: "&7{OLD_RANK} &8\xbb &7{RANK}" + current: "&c{OLD_RANK} &e\xbb &c{RANK}" + incomplete: "&r{OLD_RANK} &e\xbb &r{RANK}" + # an empty string disables the header/footer + header: "" + footer: "" + # sent when a player tries to rankup when they are on cooldown + cooldown: + singular: "&cTienes que esperar {SECONDS_LEFT} segundo más para subir de rango otra vez." + plural: "&cTienes que esperar {SECONDS_LEFT} segundos más para subir de rango otra vez." +# prestige messages can also be customised +prestige: + requirements-not-met: "&cNecesitas {MONEY} más plata para prestigiar." + no-prestige: "&eYa estás en el prestigio más alto." + + success-public: "&a{PLAYER} &eha prestigiado a: &d{RANK}" + success-private: "" + + confirmation: |- + &eEstás seguro de que quieres prestigiar a &a{RANK}&e? + &eEscribe &c/prestige &otra vez para confirmar. + + gui: + title: "Prestigiar a {RANK}" + rankup: + material: GOLD_BLOCK + index: 0-3 + name: '&a&lConfirmar' + lore: '&6Prestigiar a &b{RANK}' + cancel: + material: REDSTONE_BLOCK + index: 5-8 + name: '&c&lCancelar' + fill: + name: ' ' + # if you are using a 1.8-1.12 and you want to change this + # you can use MATERIAL:data, for example STAINED_GLASS_PANE:8 + # this works for both the rankup and cancel blocks as well + material: BLACK_STAINED_GLASS_PANE + + list: + complete: "&7{OLD_RANK} &8\xbb &7{RANK}" + current: "&c{OLD_RANK} &e\xbb &c{RANK}" + incomplete: "&r{OLD_RANK} &e\xbb &r{RANK}" + header: "" + footer: "" + cooldown: + singular: "&cTienes que esperar {SECONDS_LEFT} segundo más para prestigiar otra vez." + plural: "&cTienes que esperar {SECONDS_LEFT} segundos más para prestigiar otra vez." + +not-high-enough: "&cNo puedes prestigiar a tu rango!" +not-in-ladder: "&cPerdón, pero no hemos podido encontrar rangos en los grupos que perteneces. Usa /ranks para ver los rangos." invalid-rankup: "&cInvalid rankup defined in config, please check console. &cRango invalido definido en la configuración, verifica que todo esta correcto y chequea la consola." \ No newline at end of file diff --git a/src/main/resources/locale/it.yml b/src/main/resources/locale/it.yml index bbb6976..97e8432 100644 --- a/src/main/resources/locale/it.yml +++ b/src/main/resources/locale/it.yml @@ -36,6 +36,24 @@ rankup: # funziona per i bloccchi rankup e cancel material: BLACK_STAINED_GLASS_PANE + ranksgui: + title: "Ranks" + rows: 3 + offset: 10 + width: 7 + complete: + material: GREEN_STAINED_GLASS_PANE + name: "&aRank &7{RANK} &a(completed)" + current: + material: ORANGE_STAINED_GLASS_PANE + name: "&dRankup to &7{RANK}" + incomplete: + material: RED_STAINED_GLASS_PANE + name: "&cRank &7{RANK} &c(requires rankup)" + fill: + material: BLACK_STAINED_GLASS_PANE + name: ' ' + # potresti e dovresti configurare questi in rankup.yml # per visualizzare i requisiti di ogni rank # ma se stai usando solo i soldi e non ti serve modificare il mesaggio puoi usapre questi