forked from CastroFidel/PortWINE
		
	fix changlelog for ES locale
This commit is contained in:
		| @@ -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" \ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user