Commit 4fc1cbcd authored by Mikhail Tergoev's avatar Mikhail Tergoev

fix changlelog for ES locale

parent d12a7632
......@@ -1297,7 +1297,7 @@ pw_port_update () {
return 1
fi
fi
local PW_CHANGELOG_FILE="changelog_${LANGUAGE}"
[[ "$LANGUAGE" == ru ]] && local PW_CHANGELOG_FILE="changelog_ru" || local PW_CHANGELOG_FILE="changelog_en"
[[ ! -f "${PORT_WINE_TMP_PATH}/scripts_update_notifier" ]] && echo "1" > "${PORT_WINE_TMP_PATH}/scripts_update_notifier"
read "scripts_update_not" < "${PORT_WINE_TMP_PATH}/scripts_update_notifier"
if [[ "${scripts_update_not}" == "1" ]] ; then
......@@ -2748,7 +2748,7 @@ pw_stop_progress_bar_cover_block () {
export -f pw_stop_progress_bar_cover_block
open_changelog () {
local PW_CHANGELOG_FILE="changelog_${LANGUAGE}"
[[ "$LANGUAGE" == ru ]] && local PW_CHANGELOG_FILE="changelog_ru" || local PW_CHANGELOG_FILE="changelog_en"
"${pw_yad_v13_0}" --title="$(eval_gettext "CHANGELOG")" --no-buttons --text-align=center \
--text-info --show-uri --wrap --width=1200 --height=700 --uri-color=red \
--window-icon="$PW_GUI_ICON_PATH/portproton.svg" \
......
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