Translation rewrite

This commit is contained in:
2024-11-29 03:26:36 +01:00
parent fb11a9e832
commit 95f39450e9
5 changed files with 8 additions and 8 deletions

View File

@ -1,7 +1,7 @@
# --- HeroGames - Copyright (c) HeroHost team (code provided by HeroChris). ---
tellraw @s [{"text":"» ","color":"gray"},{"fallback":"Welcome ","translate":"hhost.minigame.initialize.welcome_01","color":"white"},{"selector":"@s","color":"yellow"},{"fallback":" to the ","translate":"hhost.minigame.initialize.welcome_02","color":"white"},{"text":"H","color":"#fa6a52"},{"text":"e","color":"#fc7551"},{"text":"r","color":"#fd8051"},{"text":"o","color":"#fe8a52"},{"text":"H","color":"#ff9454"},{"text":"o","color":"#ff9e56"},{"text":"s","color":"#ffa85a"},{"text":"t","color":"#ffb15e"},{"fallback":" server!","translate":"hhost.minigame.initialize.welcome_03","color":"white"}]
tellraw @a[tag=hc.initialized] [{"text":"» ","color":"gray"},{"fallback":"Everyone, give ","translate":"hhost.minigame.initialize.wish_welcome_01","color":"white"},{"selector":"@s","color":"yellow"},{"fallback":" a warm welcome!","translate":"hhost.minigame.initialize.wish_welcome_02","color":"white"}]
tellraw @s [{"text":"» ","color":"gray"},{"translate":"hhost.minigame.welcome","fallback":"Welcome %s to the %s server!","with":[{"selector":"@s","color":"yellow"},{"text":"H","color":"#fa6a52","extra":[{"text":"e","color":"#fc7551"},{"text":"r","color":"#fd8051"},{"text":"o","color":"#fe8a52"},{"text":"H","color":"#ff9454"},{"text":"o","color":"#ff9e56"},{"text":"s","color":"#ffa85a"},{"text":"t","color":"#ffb15e"}]}],"color":"white"}]
tellraw @a[tag=hc.initialized] [{"text":"» ","color":"gray"},{"translate":"hhost.minigame.wish_welcome","fallback":"Everyone, give %s a warm welcome!","with":[{"selector":"@s","color":"yellow"}],"color":"white"}]
execute at @s run playsound minecraft:entity.chicken.egg master @s ~ ~ ~ 0.6 0.7
# tp player

View File

@ -1,7 +1,7 @@
# --- HeroGames - Copyright (c) HeroHost team (code provided by HeroChris). ---
tellraw @s [{"text":"» ","color":"gray"},{"fallback":"Welcome back ","translate":"hhost.minigame.reconnect.welcome_back_01","color":"white"},{"selector":"@s","color":"yellow"},{"fallback":" to the ","translate":"hhost.minigame.reconnect.welcome_back_02","color":"white"},{"text":"H","color":"#fa6a52"},{"text":"e","color":"#fc7551"},{"text":"r","color":"#fd8051"},{"text":"o","color":"#fe8a52"},{"text":"H","color":"#ff9454"},{"text":"o","color":"#ff9e56"},{"text":"s","color":"#ffa85a"},{"text":"t","color":"#ffb15e"},{"fallback":" server!","translate":"hhost.minigame.reconnect.welcome_back_03","color":"white"}]
tellraw @s[tag=hc.debug] [{"text":"» ","color":"red"},{"fallback":"You are still in debug mode, click ","translate":"hhost.minigame.reconnect.debug_01","color":"white"},{"fallback":"here","translate":"hhost.minigame.reconnect.debug_02","color":"red","clickEvent":{"action":"run_command","value":"/tag @s remove hc.debug"},"hoverEvent": {"action": "show_text","value": {"fallback":"You need to be an operator to use this.","translate":"hhost.minigame.reconnect.debug_hover","color": "#fc2003"}}},{"fallback":" to disable it.","translate":"hhost.minigame.reconnect.debug_03","color":"white"}]
tellraw @s [{"text":"» ","color":"gray"},{"translate":"hhost.minigame.welcome_back","fallback":"Welcome back %s to the %s server!","with":[{"selector":"@s","color":"yellow"},{"text":"H","color":"#fa6a52","extra":[{"text":"e","color":"#fc7551"},{"text":"r","color":"#fd8051"},{"text":"o","color":"#fe8a52"},{"text":"H","color":"#ff9454"},{"text":"o","color":"#ff9e56"},{"text":"s","color":"#ffa85a"},{"text":"t","color":"#ffb15e"}]}],"color":"white"}]
tellraw @s[tag=hc.debug] [{"text":"» ","color":"red"},{"translate":"hhost.minigame.debug_warning","fallback":"You are still in debug mode, click %s to disable it.","with":[{"translate":"hhost.minigame.here","fallback":"here","color":"red","clickEvent":{"action":"run_command","value":"/tag @s remove hc.debug"},"hoverEvent":{"action":"show_text","contents":[{"translate":"hhost.minigame.operator_warning","fallback":"You need to be an operator to use this.","color":"red"}]}}],"color":"white"}]
execute at @s run playsound minecraft:entity.chicken.egg master @s ~ ~ ~ 0.6 0.7
# tp player