mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-03 06:28:49 +00:00
Update language files with new strings and fix some formatting
This commit is contained in:
1 parent
668e02d2b4
commit
3ff179ef76
8 files changed
+39
-6
No files matched your search
@@ -94,7 +94,7 @@ public class SettingHandler {
|
|||||||
|
|
||||||
// Send Confirm button
|
// Send Confirm button
|
||||||
player.spigot().sendMessage(new ComponentBuilder()
|
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());
|
.append(deletionConfirmationButton("del" + deletionType), ComponentBuilder.FormatRetention.NONE).create());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -52,9 +52,7 @@ public class TeleportRequestHandler {
|
|||||||
public static void sendTpAcceptDenyButtons(Player p) {
|
public static void sendTpAcceptDenyButtons(Player p) {
|
||||||
// Send the "Accept" or "Decline" response buttons to the player who has received a request
|
// Send the "Accept" or "Decline" response buttons to the player who has received a request
|
||||||
// Options text
|
// Options text
|
||||||
TextComponent options = new TextComponent(MessageManager.getRawMessage("option_selection_prompt"));
|
BaseComponent[] options = new MineDown(MessageManager.getRawMessage("option_selection_prompt")).toComponent();
|
||||||
options.setColor(ChatColor.GRAY);
|
|
||||||
|
|
||||||
BaseComponent[] divider = new MineDown(MessageManager.getRawMessage("list_item_divider")).urlDetection(false).toComponent();
|
BaseComponent[] divider = new MineDown(MessageManager.getRawMessage("list_item_divider")).urlDetection(false).toComponent();
|
||||||
|
|
||||||
// Build the components together
|
// Build the components together
|
||||||
|
|||||||
@@ -117,3 +117,10 @@ tpa_decline_button: '[Ablehnen]'
|
|||||||
tpa_decline_button_tooltip: 'Lehne die Teleport Anfrage ab (/tpdeny)'
|
tpa_decline_button_tooltip: 'Lehne die Teleport Anfrage ab (/tpdeny)'
|
||||||
home_default_description: '%1%''s home'
|
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).'
|
||||||
@@ -119,8 +119,8 @@ 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_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_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_tooltip: 'Click to confirm deletion. This cannot be undone.'
|
||||||
delete_confirmation_button: '&4[Confirm]'
|
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).'
|
delete_all_warps_success: '&aSuccessfully deleted all &l%1%&r&a server warp(s).'
|
||||||
@@ -117,3 +117,10 @@ edit_home_make_private_button: '[Rendila Privata]'
|
|||||||
edit_home_make_private_button_tooltip: 'Rendi la tua home privata'
|
edit_home_make_private_button_tooltip: 'Rendi la tua home privata'
|
||||||
home_default_description: 'Home di %1%'
|
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).'
|
||||||
@@ -117,3 +117,10 @@ tpa_decline_button: '[Ablehnen]'
|
|||||||
tpa_decline_button_tooltip: 'Lehne die Teleport Anfrage ab (/tpdeny)'
|
tpa_decline_button_tooltip: 'Lehne die Teleport Anfrage ab (/tpdeny)'
|
||||||
home_default_description: '%1%''s home'
|
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).'
|
||||||
@@ -117,3 +117,10 @@ edit_home_make_private_button: '[Сделать приватным]'
|
|||||||
edit_home_make_private_button_tooltip: 'Сделать свой дом приватным'
|
edit_home_make_private_button_tooltip: 'Сделать свой дом приватным'
|
||||||
home_default_description: '%1%''s home'
|
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).'
|
||||||
@@ -117,3 +117,10 @@ edit_home_make_private_button: '[Make Private]'
|
|||||||
edit_home_make_private_button_tooltip: 'Make your home private'
|
edit_home_make_private_button_tooltip: 'Make your home private'
|
||||||
home_default_description: '%1%''s home'
|
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).'
|
||||||
Reference in new issue
Block a user