From 5ea8932ac4753450d0ff391830a490f5ba7d92c8 Mon Sep 17 00:00:00 2001 From: mohammed jasem alaajel Date: Thu, 28 Sep 2023 15:00:14 +0400 Subject: [PATCH] lang file changes --- RedisBungee-API/src/main/resources/lang.yml | 26 +++++++++++---------- 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/RedisBungee-API/src/main/resources/lang.yml b/RedisBungee-API/src/main/resources/lang.yml index 824f49a..5154beb 100644 --- a/RedisBungee-API/src/main/resources/lang.yml +++ b/RedisBungee-API/src/main/resources/lang.yml @@ -1,6 +1,8 @@ # this config file is for messages / Languages # Note 1: use MiniMessage format https://docs.advntr.dev/minimessage/format.html for colors etc... Legacy chat color is not supported. -# Mote 2: Language codes that are used is ISO 639-1, here is full list https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes +# note 2: Language codes used in minecraft from the minecraft wiki +# Locale Code -> In-game +# https://minecraft.wiki/w/Language # example: @@ -8,18 +10,18 @@ # lets assume we want to add arabic language. # errors: # logged-in-other-location: -# en: "You logged in from another location!" -# ar: "لقد اتصلت من مكان اخر" +# en_us: "You logged in from another location!" +# ar_sa: "لقد اتصلت من مكان اخر" # Prefix if ever used. redis-bungee-prefix: "[RedisBungee]" # en is English, Which is the default language used when a language for a message isn't defined. -# Warning: if en or set default language wasn't defined in the config for all messages, plugin will not load. +# Warning: IF THE set default language wasn't defined in the config for all messages, plugin will not load. # set the default language -default-language: en +default-language: en_us # send language based on client sent settings # https://minecraft.fandom.com/wiki/Language @@ -30,23 +32,23 @@ use-client-language: true # messages messages: logged-in-other-location: - en: "You logged in from another location!" + en_us: "You logged in from another location!" already-logged-in: - en: "You are already logged in!" + en_us: "You are already logged in!" server-not-found: - en: "unable to connect you to the last server, because server %s was not found." + en_us: "unable to connect you to the last server, because server %s was not found." server-found: - en: "Connecting you to %s..." + en_us: "Connecting you to %s..." # commands common messages: commands-common: player-not-found: - en: "Player not found." + en_US: "Player not found." player-not-specified: - en: "You must specify a player name." + en_us: "You must specify a player name." command-not-specified: - en: "You must specify a command to be run." + en_us: "You must specify a command to be run." # commands commands: