refactor: fallback locale + feat: custom locale
This commit is contained in:
parent
863aa46a7b
commit
9ed076e00d
3 changed files with 18 additions and 12 deletions
|
@ -3,7 +3,7 @@
|
|||
prefix: "§8[§6Nicko§8] "
|
||||
|
||||
bungeecord:
|
||||
# Enables Bungeecord support, switching through servers will keep player's skins.
|
||||
# Enables Bungeecord support, switching through servers will transfer player's disguise.
|
||||
# Accepted values: false (Disabled), true (Enabled)
|
||||
enabled: false
|
||||
redis:
|
||||
|
@ -13,10 +13,16 @@ bungeecord:
|
|||
ttl: -1
|
||||
|
||||
# Localisation:
|
||||
# By default, Nicko tries to get the locale from the player's preferences.
|
||||
# If that fails, the locale fallback is the one provided by this option.
|
||||
# Accepted values: fr (French), en (English), custom (Custom language file).
|
||||
locale: "en"
|
||||
locale:
|
||||
# By default, Nicko tries to get the locale from the player's preferences.
|
||||
# If that fails, the locale fallback is the one provided by this option.
|
||||
# Accepted values: fr (French), en (English), custom (Custom language file).
|
||||
fallback: "en"
|
||||
# Nicko will copy the English locale as "custom.yml"
|
||||
# and will use the translations in that file when "Server Custom"
|
||||
# is selected as the player's locale/default locale.
|
||||
use_custom_locale: false
|
||||
|
||||
|
||||
storage:
|
||||
# Indicates wherever the data will be stored
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue