Added translations for wine to yad

This commit is contained in:
2024-10-19 22:56:14 +05:00
parent 2a3c3abe17
commit aa12191d7e
5 changed files with 30 additions and 18 deletions

View File

@ -1065,9 +1065,9 @@ EOF
}
init_wine_ver () {
if [[ "${PW_WINE_VER}" == "USE_SYSTEM_WINE" ]]
if [[ "${PW_WINE_VER}" == "${translations[USE_SYSTEM_WINE]}" ]]
then export PW_WINE_USE="USE_SYSTEM_WINE"
elif [[ "${PW_WINE_VER}" == "GET-OTHER-WINE" ]]
elif [[ "${PW_WINE_VER}" == "${translations[GET-OTHER-WINE]}" ]]
then gui_proton_downloader
elif [[ -n "${PW_WINE_VER}" ]]
then export PW_WINE_USE="$PW_WINE_VER"