mirror of
https://gitlab.com/JKANetwork/JKArch.git
synced 2026-02-15 17:51:33 +01:00
changes
This commit is contained in:
@@ -1,8 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#Translation function for the script. Loaded by source translations.sh and used by $(T "Text") returing a 'echo "Translated text"'
|
# 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,...)
|
# 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.
|
# Example: "es") echo "Traduccion de un texto";;
|
||||||
#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)
|
# 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 {
|
function T {
|
||||||
case "$1" in
|
case "$1" in
|
||||||
|
|||||||
Reference in New Issue
Block a user