fixed locales bug, drop old function
This commit is contained in:
parent
ba3146aa94
commit
cdce88b823
@ -41,14 +41,6 @@ change_locale () {
|
||||
LANGUAGE=$(<"${PORT_WINE_TMP_PATH}/PortProton_loc")
|
||||
fi
|
||||
|
||||
if [[ "$LANGUAGE" == "RUS" ]] ; then
|
||||
LANGUAGE=ru
|
||||
echo "ru" > "${PORT_WINE_TMP_PATH}/PortProton_loc"
|
||||
elif [[ "$LANGUAGE" == "ENG" ]] ; then
|
||||
LANGUAGE=en
|
||||
echo "en" > "${PORT_WINE_TMP_PATH}/PortProton_loc"
|
||||
fi
|
||||
|
||||
if [[ ! -z "${LANGUAGE}" ]] \
|
||||
&& [[ ! -f "${PORT_WINE_TMP_PATH}/PortProton_loc" ]]
|
||||
then
|
||||
@ -74,18 +66,16 @@ change_locale () {
|
||||
then LANGUAGE=${SET_LANG}
|
||||
else exit 1
|
||||
fi
|
||||
|
||||
|
||||
fi
|
||||
export LANGUAGE
|
||||
|
||||
case "$LANGUAGE" in
|
||||
ru)
|
||||
export LC_ALL=ru_RU.UTF-8
|
||||
check_start_from_steam && export LC_ALL=ru_RU.UTF-8
|
||||
export FULL_LN="russian"
|
||||
;;
|
||||
es)
|
||||
export LC_ALL=es_ES.UTF-8
|
||||
check_start_from_steam && export LC_ALL=es_ES.UTF-8
|
||||
export FULL_LN="spanish"
|
||||
;;
|
||||
*)
|
||||
|
BIN
data_from_portwine/themes/classic/loading_es.gif
Normal file
BIN
data_from_portwine/themes/classic/loading_es.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 322 KiB |
BIN
data_from_portwine/themes/classic/unpacking_es.gif
Normal file
BIN
data_from_portwine/themes/classic/unpacking_es.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 342 KiB |
BIN
data_from_portwine/themes/classic/update_prefix_es.gif
Normal file
BIN
data_from_portwine/themes/classic/update_prefix_es.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 359 KiB |
@ -13,5 +13,3 @@ window>box>box>grid {padding: 0px 5px 5px 0px} /*комбобоксы в зап
|
||||
window>box>label {background: @theme_selected_bg_color; color: @theme_text_color; margin:3px 0px 3px 0px; padding: 5px} /*текст запуска ярлыка*/
|
||||
|
||||
window>box>box>label {background: @theme_selected_bg_color; color: @theme_text_color; margin:3px 0px 0px 0px; padding: 5px} /*текст при создании ярлыка и в настройках*/
|
||||
|
||||
/*window>box>grid>switch>slider {min-width: 10px; min-height: 10px; margin: 5px;} /*размер слайдеров в настройках*/
|
||||
|
Loading…
Reference in New Issue
Block a user