Added russian readme

This commit is contained in:
Boria138
2023-10-14 22:35:05 +06:00
parent c8f27c86da
commit d5c9b94854
4 changed files with 213 additions and 3 deletions

View File

@@ -34,6 +34,8 @@ if [[ "${update_loc}" == "RUS" ]] ; then
export loc_gui_download_other_wine="Скачать другую версию wine"
export loc_gui_create_pfx_backup="Сделать бэкап префикса"
export loc_create_pfx_backup_path="РЕЗЕРВНОЕ КОПИРОВАНИЕ ПРЕФИКСА В..."
export loc_gui_wine_uninstaller="Удаление программм"
export loc_gui_wine_cfg="Настройка префикса"
export loc_gui_wine_file="Файловый менеджер"
@@ -302,6 +304,8 @@ elif [[ "${update_loc}" == "ENG" ]] ; then
export loc_gui_download_other_wine="Get other Wine"
export loc_gui_create_pfx_backup="Create prefix backup"
export loc_create_pfx_backup_path="BACKUP PREFIX TO..."
export loc_gui_wine_uninstaller="Uninstaller"
export loc_gui_wine_cfg="Prefix configuration"
export loc_gui_wine_file="File manager"

View File

@@ -389,13 +389,13 @@ pw_start_cont_xterm () {
}
pw_create_prefix_backup () {
if [[ ! -f "${PORT_WINE_TMP_PATH}/pfx_backup" ]]; then
if [[ ! -f "${PORT_WINE_TMP_PATH}/pfx_backup_info" ]]; then
zenity_info "$PW_PFX_BACKUP_INFO"
echo "1" > "${PORT_WINE_TMP_PATH}/pfx_backup"
echo "1" > "${PORT_WINE_TMP_PATH}/pfx_backup_info"
fi
cd "$HOME"
PW_PREFIX_TO_BACKUP=$("${pw_yad_v12_3}" --file --directory --borders=3 --width=650 --height=500 --auto-close \
--window-icon="$PW_GUI_ICON_PATH/port_proton.png" --title "BACKUP PREFIX TO..." 2>/dev/null )
--window-icon="$PW_GUI_ICON_PATH/port_proton.png" --title "$loc_create_pfx_backup_path" 2>/dev/null )
YAD_STATUS="$?"
if [[ "$YAD_STATUS" == "1" || "$YAD_STATUS" == "252" ]] ; then exit 0 ; fi
if [[ ! -z "$(grep "/${PW_PREFIX_NAME}/" "${PORT_WINE_PATH}"/*.desktop )" ]] ; then