Update language files with new strings and fix some formatting

This commit is contained in:
William278 committed 2021-03-27 12:48:56 +00:00
1 parent 668e02d2b4
commit 3ff179ef76
8 files changed
+44 -11

No files matched your search

@@ -94,7 +94,7 @@ public class SettingHandler {
// Send Confirm button
player.spigot().sendMessage(new ComponentBuilder()
.append(new TextComponent(MessageManager.getRawMessage("option_selection_prompt")), ComponentBuilder.FormatRetention.NONE)
.append(new MineDown(MessageManager.getRawMessage("option_selection_prompt")).toComponent(), ComponentBuilder.FormatRetention.NONE)
.append(deletionConfirmationButton("del" + deletionType), ComponentBuilder.FormatRetention.NONE).create());
}
@@ -52,9 +52,7 @@ public class TeleportRequestHandler {
public static void sendTpAcceptDenyButtons(Player p) {
// Send the "Accept" or "Decline" response buttons to the player who has received a request
// Options text
TextComponent options = new TextComponent(MessageManager.getRawMessage("option_selection_prompt"));
options.setColor(ChatColor.GRAY);
BaseComponent[] options = new MineDown(MessageManager.getRawMessage("option_selection_prompt")).toComponent();
BaseComponent[] divider = new MineDown(MessageManager.getRawMessage("list_item_divider")).urlDetection(false).toComponent();
// Build the components together
+8 -1
View File
@@ -116,4 +116,11 @@ tpa_accept_button_tooltip: 'Akzeptiere die Teleport Anfrage (/tpaccept)'
tpa_decline_button: '[Ablehnen]'
tpa_decline_button_tooltip: 'Lehne die Teleport Anfrage ab (/tpdeny)'
home_default_description: '%1%''s home'
warp_default_description: 'A publicly accessible warp'
warp_default_description: 'A publicly accessible warp'
delete_all_homes_confirm: '&4Warning: &cAre you sure you wish to delete &lall&r&c of your homes?'
delete_all_warps_confirm: '&4Warning: &cAre you sure you wish to delete &lall&r&c the server warps?'
delete_all_irreversible_warning: '&7Once you press Confirm, it will not be possible to recover them.'
delete_confirmation_button_tooltip: 'Click to confirm deletion. This cannot be undone.'
delete_confirmation_button: '&4[Confirm]'
delete_all_homes_success: '&aSuccessfully deleted all &l%1%&r&a of your home(s).'
delete_all_warps_success: '&aSuccessfully deleted all &l%1%&r&a server warp(s).'
+2 -2
View File
@@ -119,8 +119,8 @@ home_default_description: '%1%''s home'
warp_default_description: 'A publicly accessible warp'
delete_all_homes_confirm: '&4Warning: &cAre you sure you wish to delete &lall&r&c of your homes?'
delete_all_warps_confirm: '&4Warning: &cAre you sure you wish to delete &lall&r&c the server warps?'
delete_all_irreversible_warning: '&cOnce you press Confirm, it will not be possible to recover them.'
delete_all_irreversible_warning: '&7Once you press Confirm, it will not be possible to recover them.'
delete_confirmation_button_tooltip: 'Click to confirm deletion. This cannot be undone.'
delete_confirmation_button: '&4[Confirm]'
delete_all_homes_success: '&aSuccessfully deleted &l%1%&r&a of your home(s).'
delete_all_homes_success: '&aSuccessfully deleted all &l%1%&r&a of your home(s).'
delete_all_warps_success: '&aSuccessfully deleted all &l%1%&r&a server warp(s).'
+8 -1
View File
@@ -116,4 +116,11 @@ edit_home_make_public_button_tooltip: 'Rendi la tua home pubblica'
edit_home_make_private_button: '[Rendila Privata]'
edit_home_make_private_button_tooltip: 'Rendi la tua home privata'
home_default_description: 'Home di %1%'
warp_default_description: 'Clicca per andare al warp'
warp_default_description: 'Clicca per andare al warp'
delete_all_homes_confirm: '&4Warning: &cAre you sure you wish to delete &lall&r&c of your homes?'
delete_all_warps_confirm: '&4Warning: &cAre you sure you wish to delete &lall&r&c the server warps?'
delete_all_irreversible_warning: '&7Once you press Confirm, it will not be possible to recover them.'
delete_confirmation_button_tooltip: 'Click to confirm deletion. This cannot be undone.'
delete_confirmation_button: '&4[Confirm]'
delete_all_homes_success: '&aSuccessfully deleted all &l%1%&r&a of your home(s).'
delete_all_warps_success: '&aSuccessfully deleted all &l%1%&r&a server warp(s).'
+8 -1
View File
@@ -116,4 +116,11 @@ tpa_accept_button_tooltip: 'Akzeptiere die Teleport Anfrage (/tpaccept)'
tpa_decline_button: '[Ablehnen]'
tpa_decline_button_tooltip: 'Lehne die Teleport Anfrage ab (/tpdeny)'
home_default_description: '%1%''s home'
warp_default_description: 'A publicly accessible warp'
warp_default_description: 'A publicly accessible warp'
delete_all_homes_confirm: '&4Warning: &cAre you sure you wish to delete &lall&r&c of your homes?'
delete_all_warps_confirm: '&4Warning: &cAre you sure you wish to delete &lall&r&c the server warps?'
delete_all_irreversible_warning: '&7Once you press Confirm, it will not be possible to recover them.'
delete_confirmation_button_tooltip: 'Click to confirm deletion. This cannot be undone.'
delete_confirmation_button: '&4[Confirm]'
delete_all_homes_success: '&aSuccessfully deleted all &l%1%&r&a of your home(s).'
delete_all_warps_success: '&aSuccessfully deleted all &l%1%&r&a server warp(s).'
+8 -1
View File
@@ -116,4 +116,11 @@ edit_home_make_public_button_tooltip: 'Открыть свой дом откры
edit_home_make_private_button: '[Сделать приватным]'
edit_home_make_private_button_tooltip: 'Сделать свой дом приватным'
home_default_description: '%1%''s home'
warp_default_description: 'A publicly accessible warp'
warp_default_description: 'A publicly accessible warp'
delete_all_homes_confirm: '&4Warning: &cAre you sure you wish to delete &lall&r&c of your homes?'
delete_all_warps_confirm: '&4Warning: &cAre you sure you wish to delete &lall&r&c the server warps?'
delete_all_irreversible_warning: '&7Once you press Confirm, it will not be possible to recover them.'
delete_confirmation_button_tooltip: 'Click to confirm deletion. This cannot be undone.'
delete_confirmation_button: '&4[Confirm]'
delete_all_homes_success: '&aSuccessfully deleted all &l%1%&r&a of your home(s).'
delete_all_warps_success: '&aSuccessfully deleted all &l%1%&r&a server warp(s).'
+8 -1
View File
@@ -116,4 +116,11 @@ edit_home_make_public_button_tooltip: 'Open your home to the public'
edit_home_make_private_button: '[Make Private]'
edit_home_make_private_button_tooltip: 'Make your home private'
home_default_description: '%1%''s home'
warp_default_description: 'A publicly accessible warp'
warp_default_description: 'A publicly accessible warp'
delete_all_homes_confirm: '&4Warning: &cAre you sure you wish to delete &lall&r&c of your homes?'
delete_all_warps_confirm: '&4Warning: &cAre you sure you wish to delete &lall&r&c the server warps?'
delete_all_irreversible_warning: '&7Once you press Confirm, it will not be possible to recover them.'
delete_confirmation_button_tooltip: 'Click to confirm deletion. This cannot be undone.'
delete_confirmation_button: '&4[Confirm]'
delete_all_homes_success: '&aSuccessfully deleted all &l%1%&r&a of your home(s).'
delete_all_warps_success: '&aSuccessfully deleted all &l%1%&r&a server warp(s).'