Fix language
This commit is contained in:
parent
7d4d4f2c86
commit
0b0be7ec4e
@ -38,11 +38,11 @@ deflink="/home/${USER}/PortWINE/${portname}"
|
|||||||
########################################################################
|
########################################################################
|
||||||
SET_LANG=`zenity --title "Install $portname" --text "Select the installation language \nВыберите язык установки" --list --radiolist \
|
SET_LANG=`zenity --title "Install $portname" --text "Select the installation language \nВыберите язык установки" --list --radiolist \
|
||||||
--column="Set (Выбор)" --column "Language (Язык):" \
|
--column="Set (Выбор)" --column "Language (Язык):" \
|
||||||
TRUE "Русский" \
|
TRUE "Russian" \
|
||||||
FALSE "English" ` 2> /dev/null
|
FALSE "English" ` 2> /dev/null
|
||||||
if [ $? -eq 1 ];then exit 1; fi
|
if [ $? -eq 1 ];then exit 1; fi
|
||||||
case $SET_LANG in
|
case $SET_LANG in
|
||||||
"Русский")
|
"Russian")
|
||||||
INFO_TEXT="Вы запустили установщик PortWINE ${gamename} версии ${port_ver}. \n\nЭто не коммерческий продукт и развивается исключительно за идею и Ваши пожертвования. \nВсе права сторонего програмного обеспечения принадлежат их владельцам! \nПродолжая установку вы автоматически соглашаетесь с данными условиями." ;;
|
INFO_TEXT="Вы запустили установщик PortWINE ${gamename} версии ${port_ver}. \n\nЭто не коммерческий продукт и развивается исключительно за идею и Ваши пожертвования. \nВсе права сторонего програмного обеспечения принадлежат их владельцам! \nПродолжая установку вы автоматически соглашаетесь с данными условиями." ;;
|
||||||
"English")
|
"English")
|
||||||
INFO_TEXT="You run the installer PortWINE ${gamename} v. ${port_ver}. \n\nThis is not a commercial product and developed exclusively for the idea and donate. \nAll rights to third-party software belong to their respective owners! \nContinuing the installation of you agree to these terms." ;;
|
INFO_TEXT="You run the installer PortWINE ${gamename} v. ${port_ver}. \n\nThis is not a commercial product and developed exclusively for the idea and donate. \nAll rights to third-party software belong to their respective owners! \nContinuing the installation of you agree to these terms." ;;
|
||||||
@ -51,7 +51,7 @@ esac
|
|||||||
if [ $? -eq 1 ];then echo "error" && exit 1; fi
|
if [ $? -eq 1 ];then echo "error" && exit 1; fi
|
||||||
########################################################################
|
########################################################################
|
||||||
case $SET_LANG in
|
case $SET_LANG in
|
||||||
"Русский")
|
"Russian")
|
||||||
inst1=`zenity --title "Install ${portname}" --text "Выберите путь для установки (обновления) порта,\nили оставьте его по умолчанию." --list --radiolist --width=350 --height=220 \
|
inst1=`zenity --title "Install ${portname}" --text "Выберите путь для установки (обновления) порта,\nили оставьте его по умолчанию." --list --radiolist --width=350 --height=220 \
|
||||||
--column="Выбор" --column "Путь:" \
|
--column="Выбор" --column "Путь:" \
|
||||||
TRUE "${deflink}" \
|
TRUE "${deflink}" \
|
||||||
|
Loading…
Reference in New Issue
Block a user