Scripts version 2272

This commit is contained in:
Mikhail Tergoev
2024-04-04 21:31:03 +03:00
parent 2972d02f70
commit 71cbcb7b65
7 changed files with 112 additions and 94 deletions

View File

@ -14,8 +14,8 @@ else
if [[ "${update_loc}" == "RUS" || "${update_loc}" == "ENG" ]] && [[ -f "${PORT_WINE_TMP_PATH}/${portname}_loc" ]] ; then
echo ""
else
[[ ! -f "${pw_yad_v12_3}" ]] && pw_yad_v12_3="yad"
SET_LANG=$("$pw_yad_v12_3" --title "LAUNGUAGE" --text "Select the language:" --list --radiolist \
[[ ! -f "${pw_yad_v13_0}" ]] && pw_yad_v13_0="yad"
SET_LANG=$("${pw_yad_v13_0}" --title "LAUNGUAGE" --text "Select the language:" --list --radiolist \
--column="Set:" --column "Choose language:" TRUE "RUS" FALSE "ENG" \
--window-icon "$PW_GUI_ICON_PATH/portproton.svg" --width=300 --height=150)
SET_LANG="$(echo $SET_LANG | awk -F'|' '{print $2}')"