@@ -27,11 +27,12 @@ class Language(val version: String, val name: String = "en_US") {
2727 it[" USAGE" ] = " usage"
2828 it[" EVALUATED" ] = " evaluated"
2929 }
30+ it[" HOOKED-PLUGIN" ] = " Hook to the plugin &e{plugin_name} &7successfully, now you can use the relevant functions of this plugin!"
3031 it[" COMMAND-NEXUS" ] = YamlConfiguration ().also {
3132 it[" TIPS" ] = YamlConfiguration ().also {
32- it[" ONLY-CONSOLE" ] = " This command can only be executed on the console."
33- it[" ONLY-PLAYER" ] = " This command can only be executed by the player."
34- it[" NO-PERMISSION" ] = " You do not have permission to execute the command."
33+ it[" ONLY-CONSOLE" ] = " &cThis command can only be executed on the console."
34+ it[" ONLY-PLAYER" ] = " &cThis command can only be executed by the player."
35+ it[" NO-PERMISSION" ] = " &cYou do not have permission to execute the command."
3536 it[" UNKNOWN-USAGE" ] = " &cUsage &e{usage_error} &cis incorrect, you may want to use &e{usage_guess}&c."
3637 }
3738 it[" HELPER" ] = YamlConfiguration ().also {
@@ -41,6 +42,12 @@ class Language(val version: String, val name: String = "en_US") {
4142 it[" PLAYER-IS-OFFLINE" ] = " &7Player &a{player_name} &7is not online"
4243 }
4344 it[" COMMANDS" ] = YamlConfiguration ().also {
45+ it[" MIGRATE" ] = YamlConfiguration ().also {
46+ it[" DESCRIPTION" ] = " Migrate from other plugins."
47+
48+ it[" UNKNOWN-ACTION" ] = " No action found {action_name}"
49+ }
50+
4451 it[" EXPANSION" ] = YamlConfiguration ().also {
4552 it[" NOT-FOUND-NAME-OR-SIGN" ] = " Cannot find the extension name or sign &c{expansion_name}&7! Please check the name."
4653 it[" LOADED-EXPANSIONS" ] = " Currently available extensions: &6{expansions}"
@@ -123,6 +130,7 @@ class Language(val version: String, val name: String = "en_US") {
123130 it[" BUKKIT" ] = YamlConfiguration ().also {
124131 it[" SOUNDS" ] = YamlConfiguration ().also {
125132 it[" DESCRIPTION" ] = " Play Sound to the player."
133+ it[" NOT-FOUND-SOUND" ] = " Sound {sound_name} not found."
126134 }
127135 }
128136 }
@@ -155,7 +163,7 @@ class Language(val version: String, val name: String = "en_US") {
155163 it[" SCRIPT-TYPE-NOT-SUPPORTED" ] = " The script file extension is not supported!"
156164 it[" SCRIPT-FILE-NAME-CANNOT-SPACES" ] = " File name cannot contain spaces!"
157165 }
158- it[" SCRIPT-FAILED-LOAD-BY-PROCESS-RESULT" ] = " An error occurred while loading script {file_name}, reason:&8{reason}"
166+ it[" SCRIPT-FAILED-LOAD-BY-PROCESS-RESULT" ] = " An error occurred while loading script &3 {file_name}&7 , reason: &8{reason}"
159167 }
160168 it[" LOADED-COUNTS-PROCESS-SUCCESS" ] = " Loaded &b{total} &7{id}, &a{success} &7successes.&8({millisecond}ms)"
161169 it[" LOADED-COUNTS-PROCESS-SUCCESS-HAS-FAILED" ] = " Loaded &b{total} &7{id}, &a{success} &7successes, &c{fail} &7failures.&8({millisecond}ms)"
0 commit comments