Merge branch 'Htylol-fix-locales'

This commit is contained in:
Mikhail Tergoev 2024-06-24 19:23:54 +03:00
commit 2707902993
5 changed files with 2 additions and 14 deletions

@ -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"
;;
*)

Binary file not shown.

After

Width:  |  Height:  |  Size: 322 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 342 KiB

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;} /*размер слайдеров в настройках*/