Fix home lists formatting, finally. (Update home_list_item string)

This commit is contained in:
William committed 2021-10-03 00:14:23 +01:00
1 parent 15efffa881
commit 1334e1a1ae
6 files changed
+6 -6

No files matched your search

@@ -67,7 +67,7 @@ public class HomeListCommand extends CommandBase {
ArrayList<String> homeList = new ArrayList<>();
for (Home home : homes) {
homeList.add(MessageManager.getRawMessage("home_list_item", home.getName(), MineDown.escape(home.getDescription())
homeList.add(MessageManager.getRawMessage("home_list_item", home.getName(), home.getOwnerUsername(), MineDown.escape(home.getDescription())
.replace("]", "\\]")
.replace("[", "\\[")
.replace("(", "\\(")
+1 -1
View File
@@ -90,7 +90,7 @@ error_console_only: '[Error:](#ff3300) [That command can only be run from the se
error_tp_invalid_world: '[Error:](#ff3300) [Please specify a valid server world.](#ff7e5e)'
error_rtp_randomization_timeout: '[Error:](#ff3300) [Failed to find a safe random location to teleport you.](#ff7e5e)'
list_item_divider: ' [•](gray) '
home_list_item: '[[%1%]](show_text=&7%2% run_command=/huskhomes:edithome %2%.%1%)'
home_list_item: '[[%1%]](show_text=&7%3% run_command=/huskhomes:edithome %2%.%1%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%2%: &7%3% run_command=/huskhomes:phome %2%.%1%)'
warp_list_item: '[[%1%]](show_text=&7%2% run_command=/huskhomes:warp %1%)'
home_default_description: '%1%''s home'
+1 -1
View File
@@ -88,7 +88,7 @@ error_console_only: '[Errore:](#ff3300) [Quel comando può essere eseguito solo
error_tp_invalid_world: '[Errore:](#ff3300) [Per favore, specifica un mondo valido nel server.](#ff7e5e)'
error_rtp_randomization_timeout: '[Errore:](#ff3300) [Non sono riuscito a trovare una posizione sicura, riprova.](#ff7e5e)'
list_item_divider: ' [•](gray) '
home_list_item: '[[%1%]](show_text=&7%2% run_command=/huskhomes:edithome %2%.%1%)'
home_list_item: '[[%1%]](show_text=&7%3% run_command=/huskhomes:edithome %2%.%1%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%2%: &7%3% run_command=/huskhomes:phome %2%.%1%)'
warp_list_item: '[[%1%]](show_text=&7%2% run_command=/huskhomes:warp %1%)'
home_default_description: 'Home di %1%'
+1 -1
View File
@@ -88,7 +88,7 @@ error_console_only: '[error:](#ff3300) [To polecenie możesz wykonać tylko z ko
error_tp_invalid_world: '[error:](#ff3300) [Podałeś niepoprwawny świat.](#ff7e5e)'
error_rtp_randomization_timeout: '[error:](#ff3300) [Nie mogę znaleśc bezpiecznej lokalizacji dla Ciebie.](#ff7e5e)'
list_item_divider: ' [•](gray) '
home_list_item: '[[%1%]](show_text=&7%2% run_command=/huskhomes:edithome %2%.%1%)'
home_list_item: '[[%1%]](show_text=&7%3% run_command=/huskhomes:edithome %2%.%1%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%2%: &7%3% run_command=/huskhomes:phome %2%.%1%)'
warp_list_item: '[[%1%]](show_text=&7%2% run_command=/huskhomes:warp %1%)'
home_default_description: 'Dom %1%'
+1 -1
View File
@@ -88,7 +88,7 @@ error_console_only: '[错误:](#ff3300) [该命令只能从服务器控制台运
error_tp_invalid_world: '[错误:](#ff3300) [请指定有效的服务器世界.](#ff7e5e)'
error_rtp_randomization_timeout: '[错误:](#ff3300) [找不到安全的随机位置传送你.](#ff7e5e)'
list_item_divider: ' [•](gray) '
home_list_item: '[[%1%]](show_text=&7%2% run_command=/huskhomes:edithome %2%.%1%)'
home_list_item: '[[%1%]](show_text=&7%3% run_command=/huskhomes:edithome %2%.%1%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%2%: &7%3% run_command=/huskhomes:phome %2%.%1%)'
warp_list_item: '[[%1%]](show_text=&7%2% run_command=/huskhomes:warp %1%)'
home_default_description: '%1% 的家'
+1 -1
View File
@@ -87,7 +87,7 @@ error_console_only: '[錯誤:](#ff3300) [該命令只能從伺服器控制台運
error_tp_invalid_world: '[錯誤:](#ff3300) [請指定有效的伺服器世界.](#ff7e5e)'
error_rtp_randomization_timeout: '[錯誤:](#ff3300) [找不到安全的隨機位置傳送你.](#ff7e5e)'
list_item_divider: ' [•](gray) '
home_list_item: '[[%1%]](show_text=&7%2% run_command=/huskhomes:edithome %2%.%1%)'
home_list_item: '[[%1%]](show_text=&7%3% run_command=/huskhomes:edithome %2%.%1%)'
public_home_list_item: '[[%1%]](show_text=&#00fb9a&%2%: &7%3% run_command=/huskhomes:phome %2%.%1%)'
warp_list_item: '[[%1%]](show_text=&7%2% run_command=/huskhomes:warp %1%)'
home_default_description: '%1% 的家'