traduzir menu de duel
This commit is contained in:
parent
eac3b90900
commit
98181f71e0
|
@ -109,7 +109,7 @@ public class DuelMenu extends Menu {
|
|||
)
|
||||
.toUpdatingButton((player1, clickType) -> {
|
||||
if (this.kit == null) {
|
||||
player.sendMessage(CC.RED + "You must select a kit before switching to the arena inventory");
|
||||
player.sendMessage(CC.RED + "Voce deve selecionar o kit antes de selecionar a arena");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -118,22 +118,22 @@ public class DuelMenu extends Menu {
|
|||
);
|
||||
|
||||
buttonMap.put(50, new ItemBuilder(Material.INK_SACK)
|
||||
.setDisplayName(CC.GOLD + CC.BOLD + "Confirm Duel")
|
||||
.setDisplayName(CC.GOLD + CC.BOLD + "Confirmar Duel")
|
||||
.addLore(
|
||||
CC.GRAY + "Confirm your settings and send",
|
||||
CC.GRAY + "the duel to out.",
|
||||
CC.GRAY + "Confirmar suas configuraçoes e mandar",
|
||||
CC.GRAY + "o duel para ele.",
|
||||
"",
|
||||
(this.arena == null || this.kit == null ? CC.RED + "[Cannot send duel right now]" : CC.YELLOW + "[Click to send duel to player]")
|
||||
(this.arena == null || this.kit == null ? CC.RED + "[Selecione antes!]" : CC.YELLOW + "[Clique para mandar o duelo]")
|
||||
)
|
||||
.setDurability(this.arena == null || this.kit == null ? 8 : 10)
|
||||
.toButton((player1, clickType) -> {
|
||||
if (this.arena == null) {
|
||||
player.sendMessage(CC.RED + "You must select an arena before confirming the duel.");
|
||||
player.sendMessage(CC.RED + "Voce deve selecionar uma arena antes de confirmar o duel.");
|
||||
return;
|
||||
}
|
||||
|
||||
if (this.kit == null) {
|
||||
player.sendMessage(CC.RED + "You must select a kit before confirming the duel.");
|
||||
player.sendMessage(CC.RED + "Voce deve selecionar um kit antes de confirmar o duel.");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -194,11 +194,11 @@ public class DuelMenu extends Menu {
|
|||
final List<String> lore = new ArrayList<>();
|
||||
|
||||
if (arena != null && arena.getName().equals(newArena.getName())) {
|
||||
lore.add(CC.GRAY + "You have this arena selected.");
|
||||
lore.add(CC.GRAY + "Voce tem essa arena selecionada.");
|
||||
lore.add(" ");
|
||||
}
|
||||
|
||||
lore.add(CC.YELLOW + "[Click to duel with this arena]");
|
||||
lore.add(CC.YELLOW + "[Clique para duelar com essa arena]");
|
||||
|
||||
final ItemBuilder itemBuilder = new ItemBuilder(this.newArena.getIcon() == null ? Material.PAPER : this.newArena.getIcon())
|
||||
.setDisplayName(Color.MAIN_COLOR + CC.BOLD + this.newArena.getName())
|
||||
|
@ -233,11 +233,11 @@ public class DuelMenu extends Menu {
|
|||
final List<String> lore = new ArrayList<>();
|
||||
|
||||
if (kit != null && kit.getName().equals(queue.getName())) {
|
||||
lore.add(CC.GRAY + "You have this kit selected.");
|
||||
lore.add(CC.GRAY + "Voce tem esse kit selecionado.");
|
||||
lore.add(" ");
|
||||
}
|
||||
|
||||
lore.add(CC.YELLOW + "[Click to duel with this kit]");
|
||||
lore.add(CC.YELLOW + "[Clique para mandar com esse kit!]");
|
||||
|
||||
final ItemBuilder itemBuilder = new ItemBuilder(this.queue.getIcon().clone())
|
||||
.setDisplayName(Color.MAIN_COLOR + CC.BOLD + this.queue.getName())
|
||||
|
|
Loading…
Reference in New Issue