Commit cdce88b8 authored by Vladislav's avatar Vladislav

fixed locales bug, drop old function

parent ba3146aa
......@@ -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"
;;
*)
......
......@@ -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;} /*размер слайдеров в настройках*/
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment