mirror of
https://gitlab.com/JKANetwork/JKArch.git
synced 2026-02-15 01:31:32 +01:00
changes
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
#!/bin/bash
|
||||
#Translation function for the script. Loaded by source translations.sh and used by $(T "Text") returing a 'echo "Translated text"'
|
||||
#For adding a language you have to add "id") echo "Translated to id language" , putting in id your language (pr, en,it, es,...)
|
||||
#The * represents "en" language, and is the standard output if it's not translated. ( "*)" == ' "en") ' ) English is the "universal" language.
|
||||
#If translation of *) is echo "$1" it means trat is equal to the case (as case is writed in abreviated English, but sometimes is the same)
|
||||
# Translation function for the script. Loaded by source translations.sh and used by $(T "Text") returing a 'echo "Translated text"'
|
||||
# For adding a language you have to add "id") echo "Translated to id language" , putting in id your language (pr, en,it, es,...)
|
||||
# Example: "es") echo "Traduccion de un texto";;
|
||||
# The * represents "en" language, and is the standard output if it's not translated. ( "*)" == ' "en") ' ) English is the "universal" language.
|
||||
# If translation of *) is echo "$1" it means trat is equal to the case (as case is writed in abreviated English, but sometimes is the same)
|
||||
|
||||
function T {
|
||||
case "$1" in
|
||||
|
||||
Reference in New Issue
Block a user