From e9423fb8bda987174af90537301dfb6eeb8c5b00 Mon Sep 17 00:00:00 2001 From: Boria138 Date: Sun, 21 Apr 2024 17:17:39 +0500 Subject: [PATCH] Added pot files for translate --- .../{changelog_eng => changelog_en} | 0 .../{changelog_rus => changelog_ru} | 0 data_from_portwine/locales/PortProton.pot | 1621 +++++++++++++++++ data_from_portwine/scripts/functions_helper | 435 +++-- data_from_portwine/scripts/lang | 876 --------- data_from_portwine/scripts/setup.sh | 4 +- data_from_portwine/scripts/start.sh | 128 +- .../{loading_ENG.gif => loading_en.gif} | Bin .../{loading_RUS.gif => loading_ru.gif} | Bin .../{unpacking_ENG.gif => unpacking_en.gif} | Bin .../{unpacking_RUS.gif => unpacking_ru.gif} | Bin ...te_prefix_ENG.gif => update_prefix_en.gif} | Bin ...te_prefix_RUS.gif => update_prefix_ru.gif} | Bin 13 files changed, 2020 insertions(+), 1044 deletions(-) rename data_from_portwine/{changelog_eng => changelog_en} (100%) rename data_from_portwine/{changelog_rus => changelog_ru} (100%) create mode 100644 data_from_portwine/locales/PortProton.pot delete mode 100755 data_from_portwine/scripts/lang rename data_from_portwine/themes/classic/{loading_ENG.gif => loading_en.gif} (100%) rename data_from_portwine/themes/classic/{loading_RUS.gif => loading_ru.gif} (100%) rename data_from_portwine/themes/classic/{unpacking_ENG.gif => unpacking_en.gif} (100%) rename data_from_portwine/themes/classic/{unpacking_RUS.gif => unpacking_ru.gif} (100%) rename data_from_portwine/themes/classic/{update_prefix_ENG.gif => update_prefix_en.gif} (100%) rename data_from_portwine/themes/classic/{update_prefix_RUS.gif => update_prefix_ru.gif} (100%) diff --git a/data_from_portwine/changelog_eng b/data_from_portwine/changelog_en similarity index 100% rename from data_from_portwine/changelog_eng rename to data_from_portwine/changelog_en diff --git a/data_from_portwine/changelog_rus b/data_from_portwine/changelog_ru similarity index 100% rename from data_from_portwine/changelog_rus rename to data_from_portwine/changelog_ru diff --git a/data_from_portwine/locales/PortProton.pot b/data_from_portwine/locales/PortProton.pot new file mode 100644 index 0000000..d9905c7 --- /dev/null +++ b/data_from_portwine/locales/PortProton.pot @@ -0,0 +1,1621 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "Project-Id-Version: PACKAGE VERSION\n" + "Report-Msgid-Bugs-To: \n" + "POT-Creation-Date: 2024-04-21 17:10+0500\n" + "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" + "Last-Translator: FULL NAME \n" + "Language-Team: LANGUAGE \n" + "Language: \n" + "MIME-Version: 1.0\n" + "Content-Type: text/plain; charset=UTF-8\n" + "Content-Transfer-Encoding: 8bit\n" + +#: data_from_portwine/scripts/start.sh:185 +#, sh-format +msgid "A running PortProton session was detected.\\nDo you want to end the " + "previous session?" +msgstr "" + +#: data_from_portwine/scripts/start.sh:313 +#: data_from_portwine/scripts/start.sh:314 +#: data_from_portwine/scripts/start.sh:315 +#: data_from_portwine/scripts/start.sh:316 +#: data_from_portwine/scripts/start.sh:542 +#, sh-format +msgid "OPENGL (For video cards without VULKAN)" +msgstr "" + +#: data_from_portwine/scripts/start.sh:313 +#: data_from_portwine/scripts/start.sh:314 +#: data_from_portwine/scripts/start.sh:315 +#: data_from_portwine/scripts/start.sh:316 +#: data_from_portwine/scripts/start.sh:545 +#, sh-format +msgid "GALLIUM_NINE (DX9 for MESA)" +msgstr "" + +#: data_from_portwine/scripts/start.sh:320 +#, sh-format +msgid "PortProton database file was found for" +msgstr "" + +#: data_from_portwine/scripts/start.sh:357 +#: data_from_portwine/scripts/functions_helper:3246 +#: data_from_portwine/scripts/functions_helper:3258 +#, sh-format +msgid "CREATE SHORTCUT" +msgstr "" + +#: data_from_portwine/scripts/start.sh:357 +#, sh-format +msgid "Create shortcut for select file..." +msgstr "" + +#: data_from_portwine/scripts/start.sh:359 +#: data_from_portwine/scripts/functions_helper:3360 +#, sh-format +msgid "DELETE SHORTCUT" +msgstr "" + +#: data_from_portwine/scripts/start.sh:359 +#, sh-format +msgid "Delete shortcut for select file..." +msgstr "" + +#: data_from_portwine/scripts/start.sh:369 +#, sh-format +msgid "VKBASALT" +msgstr "" + +#: data_from_portwine/scripts/start.sh:369 +#: data_from_portwine/scripts/functions_helper:2543 +#, sh-format +msgid "Enable vkBasalt by default to improve graphics in games running on " + "Vulkan. (The HOME hotkey disables vkbasalt)" +msgstr "" + +#: data_from_portwine/scripts/start.sh:370 +#, sh-format +msgid "MANGOHUD" +msgstr "" + +#: data_from_portwine/scripts/start.sh:370 +#, sh-format +msgid "Enable Mangohud by default (R_SHIFT + F12 keyboard shortcuts disable " + "Mangohud)" +msgstr "" + +#: data_from_portwine/scripts/start.sh:371 +#, sh-format +msgid "EDIT DB" +msgstr "" + +#: data_from_portwine/scripts/start.sh:371 +#, sh-format +msgid "Edit database file for" +msgstr "" + +#: data_from_portwine/scripts/start.sh:373 +#, sh-format +msgid "DEBUG" +msgstr "" + +#: data_from_portwine/scripts/start.sh:373 +#, sh-format +msgid "Launch with the creation of a .log file at the root PortProton" +msgstr "" + +#: data_from_portwine/scripts/start.sh:374 +#, sh-format +msgid "LAUNCH" +msgstr "" + +#: data_from_portwine/scripts/start.sh:374 +#, sh-format +msgid "Run file ..." +msgstr "" + +#: data_from_portwine/scripts/start.sh:397 +#, sh-format +msgid "Create shortcut..." +msgstr "" + +#: data_from_portwine/scripts/start.sh:414 +#, sh-format +msgid "REINSTALL PortProton" +msgstr "" + +#: data_from_portwine/scripts/start.sh:415 +#, sh-format +msgid "REMOVE PortProton" +msgstr "" + +#: data_from_portwine/scripts/start.sh:416 +#, sh-format +msgid "UPDATE PortProton" +msgstr "" + +#: data_from_portwine/scripts/start.sh:417 +#: data_from_portwine/scripts/functions_helper:2461 +#: data_from_portwine/scripts/functions_helper:2507 +#, sh-format +msgid "CHANGELOG" +msgstr "" + +#: data_from_portwine/scripts/start.sh:418 +#, sh-format +msgid "CHANGE LANGUAGE" +msgstr "" + +#: data_from_portwine/scripts/start.sh:419 +#, sh-format +msgid "EDIT USER.CONF" +msgstr "" + +#: data_from_portwine/scripts/start.sh:420 +#, sh-format +msgid "SCRIPTS FROM BACKUP" +msgstr "" + +#: data_from_portwine/scripts/start.sh:422 +#, sh-format +msgid "CREDITS" +msgstr "" + +#: data_from_portwine/scripts/start.sh:428 +#, sh-format +msgid "Create prefix backup" +msgstr "" + +#: data_from_portwine/scripts/start.sh:429 +#, sh-format +msgid "Run winetricks to install additional libraries to the selected prefix" +msgstr "" + +#: data_from_portwine/scripts/start.sh:430 +#, sh-format +msgid "Clear prefix" +msgstr "" + +#: data_from_portwine/scripts/start.sh:430 +#, sh-format +msgid "Clear the prefix to fix problems" +msgstr "" + +#: data_from_portwine/scripts/start.sh:431 +#, sh-format +msgid "Get other Wine" +msgstr "" + +#: data_from_portwine/scripts/start.sh:431 +#, sh-format +msgid "Open the menu to download other versions of WINE or PROTON" +msgstr "" + +#: data_from_portwine/scripts/start.sh:432 +#, sh-format +msgid "Uninstaller" +msgstr "" + +#: data_from_portwine/scripts/start.sh:432 +#, sh-format +msgid "Run the program uninstaller built into wine" +msgstr "" + +#: data_from_portwine/scripts/start.sh:433 +#, sh-format +msgid "Prefix Manager" +msgstr "" + +#: data_from_portwine/scripts/start.sh:433 +#, sh-format +msgid "Run winecfg to edit the settings of the selected prefix" +msgstr "" + +#: data_from_portwine/scripts/start.sh:434 +#, sh-format +msgid "File Manager" +msgstr "" + +#: data_from_portwine/scripts/start.sh:434 +#, sh-format +msgid "Run wine file manager" +msgstr "" + +#: data_from_portwine/scripts/start.sh:435 +#, sh-format +msgid "CMD" +msgstr "" + +#: data_from_portwine/scripts/start.sh:435 +#, sh-format +msgid "Run wine cmd" +msgstr "" + +#: data_from_portwine/scripts/start.sh:436 +#, sh-format +msgid "REGEDIT" +msgstr "" + +#: data_from_portwine/scripts/start.sh:436 +#, sh-format +msgid "Run wine regedit" +msgstr "" + +#: data_from_portwine/scripts/start.sh:439 +#, sh-format +msgid "Emulator for Nintendo game consoles with high compatibility" +msgstr "" + +#: data_from_portwine/scripts/start.sh:440 +#, sh-format +msgid "Multi-arcade emulator that allows you to play old arcade games" +msgstr "" + +#: data_from_portwine/scripts/start.sh:441 +#, sh-format +msgid "Multi-platform frontend for emulators with extensive settings" +msgstr "" + +#: data_from_portwine/scripts/start.sh:442 +#, sh-format +msgid "Emulator for the PlayStation Portable (PSP) game console" +msgstr "" + +#: data_from_portwine/scripts/start.sh:443 +#, sh-format +msgid "Emulator for the Nintendo 3DS game console" +msgstr "" + +#: data_from_portwine/scripts/start.sh:444 +#, sh-format +msgid "Emulator for the Wii U game console" +msgstr "" + +#: data_from_portwine/scripts/start.sh:445 +#, sh-format +msgid "Emulator for the PlayStation 1 game console with high compatibility" +msgstr "" + +#: data_from_portwine/scripts/start.sh:446 +#, sh-format +msgid "Emulator for the Nintendo 64 game console" +msgstr "" + +#: data_from_portwine/scripts/start.sh:447 +#, sh-format +msgid "Emulator for the Game Boy Advance game console" +msgstr "" + +#: data_from_portwine/scripts/start.sh:448 +#, sh-format +msgid "Emulator for the Sega Saturn game console" +msgstr "" + +#: data_from_portwine/scripts/start.sh:449 +#, sh-format +msgid "Emulator for the Xbox 360 game console" +msgstr "" + +#: data_from_portwine/scripts/start.sh:450 +#, sh-format +msgid "Emulator for the Nintendo Entertainment System (NES or Dendy) game " + "console" +msgstr "" + +#: data_from_portwine/scripts/start.sh:451 +#, sh-format +msgid "Emulator for the Xbox game console" +msgstr "" + +#: data_from_portwine/scripts/start.sh:452 +#, sh-format +msgid "Emulator for the Sega Dreamcast game console" +msgstr "" + +#: data_from_portwine/scripts/start.sh:502 +#: data_from_portwine/scripts/start.sh:515 +#, sh-format +msgid "Autoinstalls" +msgstr "" + +#: data_from_portwine/scripts/start.sh:503 +#: data_from_portwine/scripts/start.sh:516 +#, sh-format +msgid "Emulators" +msgstr "" + +#: data_from_portwine/scripts/start.sh:504 +#: data_from_portwine/scripts/start.sh:517 +#, sh-format +msgid "Wine Settings" +msgstr "" + +#: data_from_portwine/scripts/start.sh:505 +#: data_from_portwine/scripts/start.sh:518 +#, sh-format +msgid "PortProton Settings" +msgstr "" + +#: data_from_portwine/scripts/start.sh:506 +#: data_from_portwine/scripts/start.sh:514 +#, sh-format +msgid "Installed" +msgstr "" + +#: data_from_portwine/scripts/setup.sh:48 +#, sh-format +msgid "PortProton installed by script has been detected. Do you want to " + "transfer all the data from it to the new flatpak version of " + "PortProton?" +msgstr "" + +#: data_from_portwine/scripts/setup.sh:95 +#, sh-format +msgid "PortProton has been moved to flatpak. You can now remove the old " + "directory:" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:384 +#, sh-format +msgid "Do you really want to reinstall PortProton?\\nFor this, an internet " + "connection will be required." +msgstr "" + +#: data_from_portwine/scripts/functions_helper:1131 +#, sh-format +msgid "More than one DB file found for the application being launched." + "\\nSelect the required one, or delete the extra DB file before the " + "next run.\\n" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:1228 +#: data_from_portwine/scripts/functions_helper:1238 +#: data_from_portwine/scripts/functions_helper:1244 +#: data_from_portwine/scripts/functions_helper:1248 +#, sh-format +msgid "UPDATING NOW" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:1235 +#, sh-format +msgid "EXIT" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:1236 +#: data_from_portwine/scripts/functions_helper:1242 +#: data_from_portwine/scripts/functions_helper:1274 +#, sh-format +msgid "DO NOT REMIND ME" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:1237 +#: data_from_portwine/scripts/functions_helper:1243 +#: data_from_portwine/scripts/functions_helper:1272 +#, sh-format +msgid "REMIND ME LATER" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:1421 +#, sh-format +msgid "Choose the .exe file for which you need to create a shortcut and " + "click OK.\\n" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:1923 +#, sh-format +msgid "d3dadapter9.so.1.0.0 - Not found in the system.\\nInstall the " + "missing package: d3dadapter9" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2322 +#, sh-format +msgid "You will need to check internet connection,and\\npress Repeat for " + "repeat download" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2322 +#: data_from_portwine/scripts/functions_helper:3356 +#, sh-format +msgid "Error" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2325 +#, sh-format +msgid "SKIP" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2326 +#, sh-format +msgid "REPEAT" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2335 +#: data_from_portwine/scripts/functions_helper:3238 +#: data_from_portwine/scripts/functions_helper:3250 +#, sh-format +msgid "Choices" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2338 +#: data_from_portwine/scripts/functions_helper:2819 +#: data_from_portwine/scripts/functions_helper:3361 +#: data_from_portwine/scripts/functions_helper:3432 +#, sh-format +msgid "CANCEL" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2339 +#: data_from_portwine/scripts/functions_helper:2820 +#: data_from_portwine/scripts/functions_helper:3433 +#, sh-format +msgid "OK" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2370 +#: data_from_portwine/scripts/functions_helper:2375 +#, sh-format +msgid "TERMINAL" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2370 +#: data_from_portwine/scripts/functions_helper:2375 +#, sh-format +msgid "LOGO" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2505 +#, sh-format +msgid "WINEFILE" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2506 +#, sh-format +msgid "TASKMGR" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2508 +#, sh-format +msgid "FORCE EXIT" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2544 +#, sh-format +msgid "Do not use in-process synchronization primitives based on eventfd. " + "(It is recommended not to change the value.)" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2545 +#, sh-format +msgid "Do not use futex-based in-process synchronization primitives. " + "(Automatically disabled on systems without FUTEX_WAIT_MULTIPLE " + "support) (It is recommended not to change the value)" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2546 +#, sh-format +msgid "Enable vkd3d support - Ray Tracing" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2547 +#, sh-format +msgid "Required for video playback in some games so that it is not " + "distorted (usually colored pink)" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2548 +#, sh-format +msgid "Disable asynchronous calls for VULKAN and DXVK modes" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2549 +#, sh-format +msgid "Enable DLSS on supported NVIDIA graphics cards" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2550 +#, sh-format +msgid "Forced use of older versions of OpenGL" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2551 +#, sh-format +msgid "Disguise all features used for NVIDIA graphics cards" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2552 +#, sh-format +msgid "Forced activation of vertical sync" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2553 +#, sh-format +msgid "Enable the application to run in the WINE virtual desktop" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2554 +#, sh-format +msgid "Run the application in the terminal" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2555 +#, sh-format +msgid "Include a delay in releasing some memory to bypass errors associated " + "with using the application after the memory is released" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2556 +#, sh-format +msgid "A very dangerous way to hack the memory write timer in ntdll. This " + "improves the performance of some very specific games. (It is " + "recommended not to change the value.)" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2557 +#, sh-format +msgid "Disable the window for selecting startup modes and WINE versions" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2558 +#, sh-format +msgid "Use Gstreamer to output clips in games (WMF support)" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2559 +#, sh-format +msgid "Increases RAM usage limits for 32-bit applications from two to four " + "gigabytes" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2560 +#, sh-format +msgid "Use container launch mode (It is recommended not to change the value)" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2561 +#, sh-format +msgid "Using FPS and system load monitoring (Turns on and off by the key " + "combination - right Shift + F12)" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2562 +#, sh-format +msgid "Using automatic system optimization to improve performance in games " + "(provided the gamemode package is installed on the system)" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2563 +#, sh-format +msgid "Forced use of built-in DXGI library (in rare cases it solves " + "problems with DX12 games)" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2564 +#, sh-format +msgid "Forced use of MANGOHUD system settings (GOverlay, etc.)" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2565 +#, sh-format +msgid "Forced use of VKBASALT system settings (GOverlay, etc.)" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2566 +#, sh-format +msgid "Enable forced use of third-party DirectX libraries" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2567 +#, sh-format +msgid "Change the version of WINDOWS 10 to WINDOWS 7 in the prefix" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2568 +#, sh-format +msgid "Use WINE shader caching (disable only if there are microfreezes in " + "the game)" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2569 +#, sh-format +msgid "Works while using any version of ProtonGE in full screen mode at a " + "resolution below the standard screen" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2570 +#, sh-format +msgid "Enable DLSS translator in FSR 2 in DirectX 12 games (CyberFSR2)" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2571 +#, sh-format +msgid "Enable DLSS translator in FSR 3 in DirectX 12 games (Experimental " + "project dlssg-to-fsr3)" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2572 +#, sh-format +msgid "Enable Easy Anti-Cheat and BattlEye Anti-Cheat runtimes (required if " + "game used this anti-cheats)" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2573 +#, sh-format +msgid "Reduce pulseaudio latency to fix intermittent sound" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2574 +#, sh-format +msgid "Forced use of the us layout (useful for games in which the control " + "works correctly only on the us layout)" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2575 +#, sh-format +msgid "Remember the screen resolution when starting the game and return it " + "when closing (useful for games that change the screen resolution " + "when closing)" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2576 +#, sh-format +msgid "Use system mangohud, vkBasalt, obs-vkcapture and other applications " + "using vulkan layers" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2577 +#, sh-format +msgid "Enable the ability to write to OBS Studio using obs-vkcapture " + "(ATTENTION: the forced use of system mangohud, vkBasalt, obs-" + "vkcapture and other applications using vulkan layers will be enabled)" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2578 +#, sh-format +msgid "Use the zink driver (OpenGL on top of Vulkan), allows you to use " + "vkBasalt in OpenGL games (ATTENTION: vulkan support is required, " + "wined3d (opengl) is used instead of dxvk, suitable for games on " + "OpenGL and older versions of DirectX, artifacts are possible on " + "newer versions of DirectX)" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2579 +#, sh-format +msgid "Disable desktop compositing (effects). It often improves performance." +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2580 +#, sh-format +msgid "\n" + "Super + F : Toggle fullscreen\n" + "Super + N : Toggle nearest neighbour filtering\n" + "Super + U : Toggle FSR upscaling\n" + "Super + Y : Toggle NIS upscaling\n" + "Super + I : Increase FSR sharpness by 1\n" + "Super + O : Decrease FSR sharpness by 1\n" + "Super + S : Take screenshot (currently goes to /tmp/" + "gamescope_DATE.png)\n" + "Super + G : Toggle keyboard grab\n" + "Super + C : Update clipboard" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2616 +#, sh-format +msgid "Change the version of WINDOWS emulation" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2616 +#, sh-format +msgid "Changing the WINDOWS emulation version may be required to run " + "older games. WINDOWS versions below 10 do not support new " + "games with DirectX 12" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2617 +#, sh-format +msgid "AUTOINSTALL WITH WINETRICKS" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2617 +#, sh-format +msgid "Automatically install with WINETRICKS additional libraries " + "required to run the game/program. List of libraries separated by " + "spaces" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2618 +#, sh-format +msgid "Forced to use/disable libraries" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2618 +#, sh-format +msgid "Forced to use/disable the library only for the given application. " + "(There are examples in the drop-down list)" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2620 +#, sh-format +msgid "ADD ARGUMENTS FOR .EXE FILE" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2620 +#, sh-format +msgid "Adding an argument after the .exe file, just like you would " + "add an argument in a shortcut on a WINDOWS system" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2622 +#, sh-format +msgid "Limit the use of processor cores" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2622 +#, sh-format +msgid "Limiting the number of CPU cores is useful for Unity games (It is " + "recommended to set the value equal to 8)" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2623 +#, sh-format +msgid "Choose a graphics card to run the game (in user.conf)" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2623 +#, sh-format +msgid "Select which video card will be used to run the game (used for all " + "running games and programs in PortProton)" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2624 +#, sh-format +msgid "Add arguments for GAMESCOPE:" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2624 +#, sh-format +msgid "\n" + "-W, -H: set the resolution used by gamescope. Resizing the " + "gamescope window will update these settings. Ignored in embedded " + "mode. If -H is specified but -W isn't, a 16:9 aspect ratio is " + "assumed. Defaults to 1280×720.\n" + "-w, -h: set the resolution used by the game. If -h is " + "specified but -w isn't, a 16:9 aspect ratio is assumed. Defaults to " + "the values specified in -W and -H.\n" + "-r: set a frame-rate limit for the game. Specified in frames " + "per second. Defaults to unlimited.\n" + "-o: set a frame-rate limit for the game when unfocused. " + "Specified in frames per second. Defaults to unlimited.\n" + "-F fsr: use AMD FidelityFX™ Super Resolution 1.0 for " + "upscaling.\n" + "-F nis: use NVIDIA Image Scaling v1.0.3 for upscaling.\n" + "-S integer: use integer scaling.\n" + "-S stretch: use stretch scaling, the game will fill the " + "window. (e.g. 4:3 to 16:9).\n" + "-b: create a border-less window.\n" + "-f: create a full-screen window." +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2635 +#, sh-format +msgid "Forcibly select the OpenGL version for the game" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2635 +#, sh-format +msgid "You can select the required OpenGL version, some games require a " + "forced Compatibility Profile (COMPAT). (Examples are in the drop-" + "down list)" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2639 +#, sh-format +msgid "Change settings in database file for" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2639 +#, sh-format +msgid "NOTE: To display help for each item, simply hover your mouse " + "over the text" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2641 +#: data_from_portwine/scripts/functions_helper:3017 +#: data_from_portwine/scripts/functions_helper:3167 +#, sh-format +msgid "CANCEL THE CHANGES" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2641 +#: data_from_portwine/scripts/functions_helper:3017 +#: data_from_portwine/scripts/functions_helper:3167 +#, sh-format +msgid "Cancel the current changes and return to the previous menu." +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2642 +#, sh-format +msgid "RESET SETTINGS" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2642 +#, sh-format +msgid "Restore default settings." +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2643 +#, sh-format +msgid "OPEN THE SETTINGS FILE" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2643 +#, sh-format +msgid "Open the .ppdb settings file in a system text editor to view " + "and change variables manually." +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2644 +#: data_from_portwine/scripts/functions_helper:3019 +#: data_from_portwine/scripts/functions_helper:3169 +#, sh-format +msgid "SAVE CHANGES" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2644 +#: data_from_portwine/scripts/functions_helper:3019 +#: data_from_portwine/scripts/functions_helper:3169 +#, sh-format +msgid "Save the current changes, and go to the previous menu." +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2727 +#, sh-format +msgid "Check new version WINE" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2772 +#, sh-format +msgid "Error: check wine." +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2802 +#: data_from_portwine/scripts/functions_helper:2804 +#: data_from_portwine/scripts/functions_helper:2806 +#: data_from_portwine/scripts/functions_helper:2808 +#, sh-format +msgid "Select WINE for download:" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2810 +#, sh-format +msgid "Select installed WINE for delete:" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2818 +#, sh-format +msgid "INSTALLED" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2927 +#, sh-format +msgid "Simulation of an old 3dfx graphics accelerator (adds horizontal " + "stripes)" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2928 +#, sh-format +msgid "Sharpness increase, can be used with CAS" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2929 +#, sh-format +msgid "Adds glow from bright light sources in the game" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2930 +#, sh-format +msgid "Cropping the image from the top and bottom (like in a movie =)" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2931 +#, sh-format +msgid "Strong sharpening of texture edges" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2932 +#, sh-format +msgid "Adds chromatic aberration to an image" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2933 +#, sh-format +msgid "Sharpening textures with slight modifications of image contrast " + "(similar in effect to CAS)" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2934 +#, sh-format +msgid "Adding cool colors" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2935 +#, sh-format +msgid "Increasing color saturation. Increasing color saturation" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2936 +#, sh-format +msgid "Add fake HDR" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2937 +#, sh-format +msgid "Adding the film grain effect" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2938 +#, sh-format +msgid "Increases the contrast of the image without affecting the bright and " + "dark areas, so that the detail in shadows and sky is not lost" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2939 +#, sh-format +msgid "Reducing noise by blurring the image" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2940 +#, sh-format +msgid "Reducing the bit depth of color" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2941 +#, sh-format +msgid "Strong blurring of objects in motion" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2942 +#, sh-format +msgid "Sharpening (recommended for cartoon games)" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2943 +#, sh-format +msgid "Adding cold colors" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2944 +#, sh-format +msgid "Alternative antialiasing option (less effect, but with less " + "consumption of GPU resources, relative to the standard SMAA)" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2945 +#, sh-format +msgid "Slight blur effect on bright objects (such as flames)" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2946 +#, sh-format +msgid "Glitch effect" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2947 +#, sh-format +msgid "Another method of sharpening using highpass frequencies" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2948 +#, sh-format +msgid "Smoothing of nearby pixels with the drawing of missing parts (in " + "normal games the picture is blurred)" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2949 +#, sh-format +msgid "Advanced HSL shift (for each shade)" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2951 +#, sh-format +msgid "Increases contrast, but some detail in shadows or highlights may be " + "lost" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2952 +#, sh-format +msgid "Same as Levels, but with less loss of detail" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2953 +#, sh-format +msgid "Gamma correction by individual color channels: red, green and blue" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2954 +#, sh-format +msgid "Increases depth of field (greatly affects FPS)" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2955 +#, sh-format +msgid "Enhances image sharpness for improved detail" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2956 +#, sh-format +msgid "Image color correction" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2957 +#, sh-format +msgid "Same as Bloom, but more natural" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2958 +#, sh-format +msgid "Converts the image into monochrome" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2959 +#, sh-format +msgid "Extended version of the LUT (Hollywood loot is pre-installed)" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2960 +#, sh-format +msgid "SSAO algorithm (Greatly affects FPS)" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2961 +#, sh-format +msgid "Night vision effect" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2962 +#, sh-format +msgid "Makes the picture look like old photos" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2963 +#, sh-format +msgid "Fisheye effect (suitable for VR)" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2964 +#, sh-format +msgid "Add God rays (also called 3D light rays) effect" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2965 +#, sh-format +msgid "The prismatic lens effect" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2966 +#, sh-format +msgid "Creates the illusion of depth in textures" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2967 +#, sh-format +msgid "Adds a sepia effect like in old photos" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2968 +#, sh-format +msgid "Splits the image into raw and processed output for comparison" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2969 +#, sh-format +msgid "Reducing object detail without blurring contrast contours" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2970 +#, sh-format +msgid "Makes the picture look like films from the 1930s" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2971 +#, sh-format +msgid "The updated version of Technicolor, gives a different picture by " + "changing colors more aggressively" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2972 +#, sh-format +msgid "Blur on the edges of the screen to create a Tilt Shift effect" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2973 +#, sh-format +msgid "Changes the saturation of the picture" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2974 +#, sh-format +msgid "Reduces the amount of noise" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2975 +#, sh-format +msgid "Automatically switches effects depending on the visibility of the UI" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2976 +#, sh-format +msgid "Saturates faded colors without touching the bright ones" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2977 +#, sh-format +msgid "Adds a vignette to the image" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2978 +#, sh-format +msgid "An effect for adjusting the aspect ratio (for games that do not " + "support widescreen monitors)" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2979 +#, sh-format +msgid "Part of the overall ReShade shader . It uses a mask with gradients " + "from black to white to determine where the effects will be applied" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2980 +#, sh-format +msgid "Allows you to add new elements to the 3d space inside the game and " + "apply custom textures" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:2981 +#, sh-format +msgid "Adds a Bloom effect" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3007 +#, sh-format +msgid "vkBasalt settings for adding effects to games running under Vulkan. " + "(The HOME key disables vkbasalt)\\nNOTE: To display " + "help for each item, simply hover over the text\\n" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3012 +#, sh-format +msgid "AMD FidelityFX - CAS is designed to dramatically improve texture " + "sharpness without additional modification settings for games, with " + "minimal loss of performance. (For older games it is recommended to " + "set value = 100)" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3018 +#, sh-format +msgid "DISABLE VKBASALT" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3018 +#, sh-format +msgid "Disable vkBasalt and go to the previous menu." +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3072 +#, sh-format +msgid "Show if the application is 32- or 64-bit" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3073 +#, sh-format +msgid "Display current battery percent and energy consumption" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3074 +#, sh-format +msgid "Display battery icon instead of percent" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3075 +#, sh-format +msgid "Display remaining time for battery option" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3076 +#, sh-format +msgid "Display wattage for the battery option" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3077 +#, sh-format +msgid "Change the display of core_load from numbers to vertical bars" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3078 +#, sh-format +msgid "Display load & frequency per core" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3079 +#, sh-format +msgid "Show the CPUs current MHz" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3080 +#, sh-format +msgid "Display CPU draw in watts" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3081 +#, sh-format +msgid "Display current CPU temperature" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3082 +#, sh-format +msgid "Display wirless device battery icon." +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3083 +#, sh-format +msgid "Display a short version of the used engine (e.g. OGL instead of " + "OpenGL)" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3084 +#, sh-format +msgid "Display OpenGL or vulkan and vulkan-based render engines version" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3085 +#, sh-format +msgid "Display current exec name" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3086 +#, sh-format +msgid "Enables frame capture analysis" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3087 +#, sh-format +msgid "Takes a list of decimal values or the value avg, e.g avg,0.001" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3088 +#, sh-format +msgid "Display frame count" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3089 +#, sh-format +msgid "Enable most of the toggleable parameters (currently excludes " + "histogram)" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3090 +#, sh-format +msgid "Show if GameMode is on" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3091 +#, sh-format +msgid "Display GPU core frequency" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3092 +#, sh-format +msgid "GPU fan in rpm on AMD, FAN in percent on NVIDIA" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3093 +#: data_from_portwine/scripts/functions_helper:3095 +#: data_from_portwine/scripts/functions_helper:3098 +#, sh-format +msgid "Display current GPU temperature" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3094 +#, sh-format +msgid "Display GPU memory frequency" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3096 +#, sh-format +msgid "Display GPU name from pci.ids" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3097 +#, sh-format +msgid "Display GPU draw in watts" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3099 +#, sh-format +msgid "Display GPU voltage (only works on AMD GPUs)" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3100 +#, sh-format +msgid "Change FPS graph to histogram" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3101 +#, sh-format +msgid "Display Mangohud in a horizontal position" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3102 +#, sh-format +msgid "Stretches the background to the screens width in horizontal mode" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3103 +#, sh-format +msgid "Display compact version of MangoHud" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3104 +#, sh-format +msgid "Remove margins around MangoHud" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3105 +#, sh-format +msgid "Show non-cached IO read, in MiB/s" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3106 +#, sh-format +msgid "Show non-cached IO write, in MiB/s" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3107 +#, sh-format +msgid "Hide the HUD by default" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3108 +#, sh-format +msgid "Use primary font size for smaller text like units" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3109 +#, sh-format +msgid "Displays process memory usage: resident procmem (resident) also " + "toggles others off if disabled" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3110 +#, sh-format +msgid "Displays process memory usage: shared" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3111 +#, sh-format +msgid "Displays process memory usage: virtual" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3112 +#, sh-format +msgid "Display system RAM usage" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3113 +#, sh-format +msgid "Display the current resolution" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3114 +#, sh-format +msgid "Display the current FPS limit" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3115 +#, sh-format +msgid "Display swap space usage next to system RAM usage" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3116 +#, sh-format +msgid "Show temperature in Fahrenheit" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3117 +#, sh-format +msgid "Show if GPU is throttling based on Power, current, temp or \"other" + "\" (Only shows if throttling is currently happening). Currently " + "disabled by default for Nvidia as it causes lag on 3000 series" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3118 +#, sh-format +msgid "Same as throttling_status but displays throttling in the frametime " + "graph and only power and temp throttling" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3119 +#, sh-format +msgid "Display local time" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3120 +#, sh-format +msgid "Show current MangoHud version" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3121 +#, sh-format +msgid "Show if vkBasalt is on" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3122 +#, sh-format +msgid "Display system VRAM usage" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3123 +#, sh-format +msgid "Display used Vulkan driver (radv/amdgpu-pro/amdvlk)" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3124 +#, sh-format +msgid "Display frametime next to FPS text" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3125 +#, sh-format +msgid "Show current Wine or Proton version in use" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3157 +#, sh-format +msgid "MangoHud settings (Keys R_SHIFT + F12 disable " + "MangoHud)\\nnote: To display help for each item, just hover " + "the mouse cursor over the text.\\n" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3162 +#, sh-format +msgid "MANGOHUD FPS LIMIT" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3162 +#, sh-format +msgid "Enabling FPS limits using MANGOHUD built into PortProton" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3168 +#, sh-format +msgid "DISABLE MANGOHUD" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3168 +#, sh-format +msgid "Disable MangoHud and go to the previous menu." +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3241 +#: data_from_portwine/scripts/functions_helper:3253 +#, sh-format +msgid "The shortcut will be created in the PortProton directory." +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3243 +#: data_from_portwine/scripts/functions_helper:3255 +#, sh-format +msgid "Add shortcut to MENU -> GAMES" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3244 +#: data_from_portwine/scripts/functions_helper:3256 +#, sh-format +msgid "Add shortcut to Desktop" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3245 +#: data_from_portwine/scripts/functions_helper:3257 +#, sh-format +msgid "Add shortcut to STEAM library" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3254 +#, sh-format +msgid "Name" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3323 +#, sh-format +msgid "For adding shortcut to STEAM, needed restart.\\n\\nRestart STEAM now?" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3375 +#, sh-format +msgid "Starting prefix manager:" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3418 +#, sh-format +msgid "Select components to install in prefix:" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3418 +#: data_from_portwine/scripts/functions_helper:3422 +#, sh-format +msgid "using wine:" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3422 +#, sh-format +msgid "Select fonts to install in prefix:" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3426 +#, sh-format +msgid "Change config for prefix:" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3431 +#, sh-format +msgid "PREFIX MANAGER" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3435 +#, sh-format +msgid "DLLS" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3436 +#, sh-format +msgid "FONTS" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3437 +#, sh-format +msgid "SETTINGS" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3483 +#, sh-format +msgid "Attention working version of vulkan not detected!\\nIt is " + "recommended to run games in OpenGL (low performance possible)!" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3485 +#, sh-format +msgid "PortProton was launched in creation mode PortProton.log and it is " + "successfully stored in the root directory of the port" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3486 +#, sh-format +msgid "To diagnose the problem, copy ALL of the log to discord server: " + "https://discord.gg/FTaheP99wE" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3633 +#, sh-format +msgid "Please wait! After finishing the PortProton, click STOP." +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3653 +#, sh-format +msgid "BACKUP PREFIX TO..." +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3761 +#, sh-format +msgid "Do you want to clear prefix in PortProton?" +msgstr "" + +#: data_from_portwine/scripts/functions_helper:3772 +#, sh-format +msgid "Do you really want to remove PortProton?" +msgstr "" diff --git a/data_from_portwine/scripts/functions_helper b/data_from_portwine/scripts/functions_helper index 2daca4d..abdddcf 100755 --- a/data_from_portwine/scripts/functions_helper +++ b/data_from_portwine/scripts/functions_helper @@ -36,6 +36,37 @@ print_var () { } export -f print_var +change_locale () { + if [[ -f "${PORT_WINE_TMP_PATH}/PortProton_loc" ]] ; then + LANGUAGE=$(cat "${PORT_WINE_TMP_PATH}/PortProton_loc") + fi + + if [[ -z "${LANG}" ]] ; then + export LANG=C + LANGUAGE="en" + else + if [[ "${LANGUAGE}" == "ru" || "${LANGUAGE}" == "en" ]] \ + && [[ -f "${PORT_WINE_TMP_PATH}/PortProton_loc" ]] ; then + echo "" + else + [[ ! -f "${pw_yad_v13_0}" ]] && pw_yad_v13_0="yad" + SET_LANG=$("${pw_yad_v13_0}" --title "LAUNGUAGE" --text "Select the language:" --list --radiolist \ + --column="Set:" --column "Choose language:" TRUE "ru" FALSE "en" \ + --window-icon "$PW_GUI_ICON_PATH/portproton.svg" --width=300 --height=150) + SET_LANG="$(echo "${SET_LANG}" | awk -F'|' '{print $2}')" + echo "${SET_LANG}" > "${PORT_WINE_TMP_PATH}/PortProton_loc" + if [[ ! -z "${SET_LANG}" ]] + then LANGUAGE=${SET_LANG} + else exit 1 + fi + fi + fi + export $LANGUAGE +} + +export -f change_locale + + check_variables () { [[ -z ${!1} ]] && export $1="$2" ;} try_copy_file () { @@ -267,7 +298,7 @@ export -f check_flatpak unpack_tar_zst () { set -o pipefail unset PW_ZSTD_PORT - pw_start_progress_bar_cover_block "${COVERS_PATH}/unpacking_${update_loc}.gif" + pw_start_progress_bar_cover_block "${COVERS_PATH}/unpacking_${LANGUAGE}.gif" if command -v zstd &>/dev/null ; then tar -I zstd -xhf "$1" -C "$2" pw_stop_progress_bar_cover_block @@ -284,7 +315,7 @@ unpack_tar_xz () { tar -Jxhf "$1" -C "$2" && return 0 || return 1 else set -o pipefail - pw_start_progress_bar_cover_block "${COVERS_PATH}/unpacking_${update_loc}.gif" + pw_start_progress_bar_cover_block "${COVERS_PATH}/unpacking_${LANGUAGE}.gif" tar -Jxhf "$1" -C "$2" pw_stop_progress_bar_cover_block [ "${PIPESTATUS[0]}" != 0 ] && print_error "File $1 unpacking error." && return 1 || return 0 @@ -293,7 +324,7 @@ unpack_tar_xz () { unpack_tar_gz () { set -o pipefail - pw_start_progress_bar_cover_block "${COVERS_PATH}/unpacking_${update_loc}.gif" + pw_start_progress_bar_cover_block "${COVERS_PATH}/unpacking_${LANGUAGE}.gif" tar -xhzf "$1" -C "$2" pw_stop_progress_bar_cover_block [ "${PIPESTATUS[0]}" != 0 ] && print_error "File $1 unpacking error." && return 1 || return 0 @@ -301,7 +332,7 @@ unpack_tar_gz () { unpack_tar () { set -o pipefail - pw_start_progress_bar_cover_block "${COVERS_PATH}/unpacking_${update_loc}.gif" + pw_start_progress_bar_cover_block "${COVERS_PATH}/unpacking_${LANGUAGE}.gif" tar -xhf "$1" -C "$2" pw_stop_progress_bar_cover_block [ "${PIPESTATUS[0]}" != 0 ] && print_error "File $1 unpacking error." && return 1 || return 0 @@ -352,7 +383,7 @@ pw_reinstall_pp () { echo "" exit 1 fi - elif ! yad_question "${port_reinstall}" + elif ! yad_question "$(eval_gettext "Do you really want to reinstall PortProton?\nFor this, an internet connection will be required.")" then exit 1 fi pw_clear_pfx @@ -369,6 +400,29 @@ pw_reinstall_pp () { exit 0 } +generate_pot () { + LANGUAGES_LIST=(ru) + for lang in "${LANGUAGES_LIST[@]}" + do + echo "${lang}" + mkdir -p "${PORT_WINE_PATH}/data/locales/${lang}/LC_MESSAGES/" + LANG_PO="${PORT_WINE_PATH}/data/locales/"${lang}"/LC_MESSAGES/PortProton.po" + LANG_MO="${PORT_WINE_PATH}/data/locales/"${lang}"/LC_MESSAGES/PortProton.mo" + TEMPLATE_POT="${PORT_WINE_PATH}/locales/PortProton.pot" + xgettext --from-code=UTF-8 --language shell -i "${PORT_WINE_PATH}/data/scripts/start.sh" "${PORT_WINE_PATH}/data/scripts/setup.sh" "${PORT_WINE_PATH}/data/scripts/functions_helper" -o $TEMPLATE_POT + if [ -f "$LANG_PO" ]; then + echo "update $LANG_PO file" + msgmerge --update $LANG_PO $TEMPLATE_POT + else + echo "create $LANG_PO file" + msginit --input=$TEMPLATE_POT --locale="${lang}" --output=$LANG_PO + fi + msgfmt --output-file=$LANG_MO $LANG_PO + done +} + +export -f generate_pot + check_user_conf () { if [ ! -f "${USER_CONF}" ]; then echo "#!/usr/bin/env bash" > "${USER_CONF}" @@ -457,7 +511,7 @@ init_wine_ver () { if check_symlink "${WINEDIR}/share/wine/${mono_gecko_chk}" ; then print_info "${WINEDIR}/share/wine/${mono_gecko_chk} is symlink. OK." elif [[ -d "${WINEDIR}/share/wine/${mono_gecko_chk}" ]] ; then - pw_start_progress_bar_cover_block "${COVERS_PATH}/loading_${update_loc}.gif" + pw_start_progress_bar_cover_block "${COVERS_PATH}/loading_${LANGUAGE}.gif" try_copy_dir "${WINEDIR}/share/wine/${mono_gecko_chk}" "${PORT_WINE_TMP_PATH}" try_remove_dir "${WINEDIR}/share/wine/${mono_gecko_chk}" try_force_link_dir "${PORT_WINE_TMP_PATH}/${mono_gecko_chk}" "${WINEDIR}"/share/wine/ @@ -1099,7 +1153,7 @@ pw_init_db () { fi done PORTWINE_DB_FILE="${PORT_SCRIPTS_PATH}/portwine_db"/$("${pw_yad_v13_0}" --text-align=center \ - --text "${PW_SELECTION_DB_LOC}" --borders="${YAD_BORDERS}" --form \ + --text "$(eval_gettext "More than one DB file found for the application being launched.\nSelect the required one, or delete the extra DB file before the next run.\n")" --borders="${YAD_BORDERS}" --form \ --title "Database file selection..." --window-icon="$PW_GUI_ICON_PATH/portproton.svg" --form --separator="" \ --field="DB FILE: :CB" "${ADD_CB_DBFILE}" 2>/dev/null) if [[ "$?" == "1" || "$?" == "252" ]] ; then exit 0 ; fi @@ -1181,6 +1235,7 @@ pw_port_update () { return 1 fi fi + local PW_CHANGELOG_FILE="changelog_${LANGUAGE}" [[ ! -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 @@ -1195,27 +1250,27 @@ pw_port_update () { else local pw_yad_v13_0="not_found" fi if [[ "${pw_yad_v13_0}" == "not_found" ]] ; then - xcsd="${scripts_upd4}" + xcsd="$(eval_gettext "UPDATING NOW")" else curl -s --list-only "${URL_FOR_CHANGELOG}/${PW_CHANGELOG_FILE}" | tee "${PORT_WINE_TMP_PATH}/curent_var_ver" CHANGLOG_NEWS=$(cat "${PORT_WINE_TMP_PATH}/curent_var_ver" | sed "/Scripts version ${scripts_install_ver}/,$ d" | sed '1,/---/ d' ) xcsd=$("${pw_yad_v13_0}" --title "${scripts_upd2} v.${scripts_current_ver}" --window-icon="$PW_GUI_ICON_PATH/portproton.svg" \ --form --separator='%%%' --width=1200 --height=600 \ --field=":TXT" "${CHANGLOG_NEWS}" \ - --button="${scripts_upd3}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"":252 \ - --button="${scripts_upd6}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"":16 \ - --button="${scripts_upd5}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"":18 \ - --button="${scripts_upd4}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"":20 2>/dev/null) + --button="$(eval_gettext "EXIT")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"":252 \ + --button="$(eval_gettext "DO NOT REMIND ME")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"":16 \ + --button="$(eval_gettext "REMIND ME LATER")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"":18 \ + --button="$(eval_gettext "UPDATING NOW")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"":20 2>/dev/null) YAD_STATUS="$?" case "${YAD_STATUS}" in 1|252) exit 0 ;; - 16) xcsd="${scripts_upd6}" ;; - 18) xcsd="${scripts_upd5}" ;; - 20) xcsd="${scripts_upd4}" ;; + 16) xcsd="$(eval_gettext "DO NOT REMIND ME")" ;; + 18) xcsd="$(eval_gettext "REMIND ME LATER")" ;; + 20) xcsd="$(eval_gettext "UPDATING NOW")" ;; esac fi case $xcsd in - "${scripts_upd4}") + "$(eval_gettext "UPDATING NOW")") echo "######################################################" print_info "Update scripts..." try_remove_file "${PORT_WINE_TMP_PATH}/PortWINE-master.tar.gz" @@ -1239,9 +1294,9 @@ pw_port_update () { else yad_error_download && pw_port_update || exit 1 fi ;; - "${scripts_upd5}") + "$(eval_gettext "REMIND ME LATER")") echo " " ;; - "${scripts_upd6}") + "$(eval_gettext "DO NOT REMIND ME")") echo "0" > "${PORT_WINE_TMP_PATH}/scripts_update_notifier" ;; esac fi @@ -1388,7 +1443,7 @@ pw_find_exe () { OrigIFS="$IFS" && IFS=% PW_SET_FIND_EXE="$("${pw_yad_v13_0}" --height="300" --width="1000" --list \ --text-align=center --window-icon="$PW_GUI_ICON_PATH/portproton.svg" --title "Create shortcut for..." \ - --text="\n${loc_gui_create_shortcut_for_exe}" --column="path to .exe file:" ${FIND_TO_GUI} 2>/dev/null)" + --text="\n$(eval_gettext "Choose the .exe file for which you need to create a shortcut and click OK.\n")" --column="path to .exe file:" ${FIND_TO_GUI} 2>/dev/null)" YAD_STATUS="$?" print_var YAD_STATUS if [[ "$YAD_STATUS" == "1" || "$YAD_STATUS" == "252" ]] ; then @@ -1890,7 +1945,7 @@ start_portwine () { print_info "D3D_MODULE_PATH=${D3D_MODULE_PATH}" else pw_stop_progress_bar - yad_error "d3dadapter9.so.1.0.0 - ${loc_find_d3dadapter9_error}" + yad_error "$(eval_gettext "d3dadapter9.so.1.0.0 - Not found in the system.\nInstall the missing package: d3dadapter9")" stop_portwine fi else @@ -2070,7 +2125,7 @@ start_portwine () { pw_tray_icon sleep 0.5 if [[ "${PW_CHECK_AUTOINSTAL}" != "1" ]] ; then - pw_start_progress_bar_cover "${COVERS_PATH}/loading_${update_loc}.gif" + pw_start_progress_bar_cover "${COVERS_PATH}/loading_${LANGUAGE}.gif" fi fi add_in_start_portwine @@ -2289,11 +2344,11 @@ yad_error_download () { local pw_yad_v13_0="yad" command -v "${pw_yad_v13_0}" &>/dev/null || fatal "yad not found" fi - "${pw_yad_v13_0}" --text "$loc_gui_error_download" --width=400 --borders=15 --title "$loc_gui_error" \ + "${pw_yad_v13_0}" --text "$(eval_gettext "You will need to check internet connection,and\npress Repeat for repeat download")" --width=400 --borders=15 --title "$(eval_gettext "Error")" \ --window-icon="$PW_GUI_ICON_PATH/portproton.svg" --image="$PW_GUI_ICON_PATH/download.svg" \ --no-wrap --center --text-align=center \ - --button="$loc_skip"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png":1 \ - --button="$loc_repeat"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png":0 2>/dev/null + --button="$(eval_gettext "SKIP")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png":1 \ + --button="$(eval_gettext "REPEAT")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png":0 2>/dev/null [[ "$?" != 0 ]] && return 1 || return 0 } @@ -2302,11 +2357,11 @@ yad_question () { local pw_yad_v13_0="yad" command -v "${pw_yad_v13_0}" &>/dev/null || fatal "yad not found" fi - "${pw_yad_v13_0}" --text "${1}" --width=400 --borders=15 --title "${inst_set}." \ + "${pw_yad_v13_0}" --text "${1}" --width=400 --borders=15 --title "$(eval_gettext "Choices")" \ --window-icon="$PW_GUI_ICON_PATH/portproton.svg" --image="$PW_GUI_ICON_PATH/question.svg" \ --no-wrap --center --text-align=center \ - --button="$loc_cancel"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png":1 \ - --button="OK"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png":0 2>/dev/null + --button="$(eval_gettext "CANCEL")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png":1 \ + --button="$(eval_gettext "OK")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png":0 2>/dev/null [[ "$?" != 0 ]] && return 1 || return 0 } @@ -2337,12 +2392,12 @@ pw_start_progress_bar_cover_block () { pw_update_pfx_cover_gui () { if [[ "$1" == "winetricks" ]] ; then - TAB_PLACE="--tab=$loc_gui_terminal!$PW_GUI_ICON_PATH/$TAB_SIZE.png --tab=$loc_gui_logo!$PW_GUI_ICON_PATH/$TAB_SIZE.png" + TAB_PLACE="--tab=$(eval_gettext "TERMINAL")!$PW_GUI_ICON_PATH/$TAB_SIZE.png --tab=$(eval_gettext "LOGO")!$PW_GUI_ICON_PATH/$TAB_SIZE.png" TAB_N1=2 TAB_N2=1 YAD_UNDECORATED="" else - TAB_PLACE="--tab=$loc_gui_logo!$PW_GUI_ICON_PATH/$TAB_SIZE.png --tab=$loc_gui_terminal!$PW_GUI_ICON_PATH/$TAB_SIZE.png" + TAB_PLACE="--tab=$(eval_gettext "LOGO")!$PW_GUI_ICON_PATH/$TAB_SIZE.png --tab=$(eval_gettext "TERMINAL")!$PW_GUI_ICON_PATH/$TAB_SIZE.png" TAB_N1=1 TAB_N2=2 YAD_UNDECORATED="--undecorated --center" @@ -2350,7 +2405,7 @@ pw_update_pfx_cover_gui () { if ! check_start_from_steam && ! pgrep -a yad | grep "yad_v13_0 --notebook --key=$PW_KEY_PROGRESS_BAR_UP" &>/dev/null ; then PW_KEY_PROGRESS_BAR_UP=$RANDOM - PW_GIF_FILE="${COVERS_PATH}/update_prefix_${update_loc}.gif" + PW_GIF_FILE="${COVERS_PATH}/update_prefix_${LANGUAGE}.gif" PW_GIF_SIZE_X=$(file "${PW_GIF_FILE}" | awk '{print $7 + 20}') PW_GIF_SIZE_Y=$(file "${PW_GIF_FILE}" | awk '{print $9 + 60}') echo "UPDATE PREFIX..." > "${PORT_WINE_TMP_PATH}/update_pfx_log" @@ -2427,7 +2482,8 @@ pw_stop_progress_bar_cover_block () { export -f pw_stop_progress_bar_cover_block open_changelog () { - "${pw_yad_v13_0}" --title="$loc_gui_changelog" --no-buttons --text-align=center \ + local PW_CHANGELOG_FILE="changelog_${LANGUAGE}" + "${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" \ --filename="${PORT_WINE_PATH}/data/${PW_CHANGELOG_FILE}" &>/dev/null @@ -2471,10 +2527,10 @@ pw_tray_icon () { --command="bash -c tray_icon_click" \ --tooltip="PortProton" \ --icon-size=32 --menu="| \ - ${loc_tray_winefile}!bash -c pw_tray_winefile!"$PW_GUI_ICON_PATH/wine_file.svg"|| \ - ${loc_tray_tascmng}!bash -c pw_tray_taskmgr!"$PW_GUI_ICON_PATH/wine_system.svg"|| \ - ${loc_tray_cangelog}!bash -c open_changelog!"$PW_GUI_ICON_PATH/history.svg"|| \ - ${loc_tray_force_exit} !bash -c tray_icon_click_exit!"$PW_GUI_ICON_PATH/close.svg"||" 2>/dev/null & + $(eval_gettext "WINEFILE")!bash -c pw_tray_winefile!"$PW_GUI_ICON_PATH/wine_file.svg"|| \ + $(eval_gettext "TASKMGR")!bash -c pw_tray_taskmgr!"$PW_GUI_ICON_PATH/wine_system.svg"|| \ + $(eval_gettext "CHANGELOG")!bash -c open_changelog!"$PW_GUI_ICON_PATH/history.svg"|| \ + $(eval_gettext "FORCE EXIT") !bash -c tray_icon_click_exit!"$PW_GUI_ICON_PATH/close.svg"||" 2>/dev/null & return 0 } @@ -2508,6 +2564,55 @@ pw_gui_for_edit_db () { fi unset ADD_CHK_BOX_EDIT_DB + + local ENABLE_VKBASALT_INFO=$(eval_gettext 'Enable vkBasalt by default to improve graphics in games running on Vulkan. (The HOME hotkey disables vkbasalt)') + local PW_NO_ESYNC_INFO=$(eval_gettext 'Do not use in-process synchronization primitives based on eventfd. (It is recommended not to change the value.)') + local PW_NO_FSYNC_INFO=$(eval_gettext 'Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems without FUTEX_WAIT_MULTIPLE support) (It is recommended not to change the value)') + local PW_USE_RAY_TRACING_INFO=$(eval_gettext 'Enable vkd3d support - Ray Tracing') + local PW_FIX_VIDEO_IN_GAME_INFO=$(eval_gettext 'Required for video playback in some games so that it is not distorted (usually colored pink)') + local PW_VULKAN_NO_ASYNC_INFO=$(eval_gettext 'Disable asynchronous calls for VULKAN and DXVK modes') + local PW_USE_NVAPI_AND_DLSS_INFO=$(eval_gettext 'Enable DLSS on supported NVIDIA graphics cards') + local PW_OLD_GL_STRING_INFO=$(eval_gettext 'Forced use of older versions of OpenGL') + local PW_HIDE_NVIDIA_GPU_INFO=$(eval_gettext 'Disguise all features used for NVIDIA graphics cards') + local PW_FORCE_USE_VSYNC_INFO=$(eval_gettext 'Forced activation of vertical sync') + local PW_VIRTUAL_DESKTOP_INFO=$(eval_gettext 'Enable the application to run in the WINE virtual desktop') + local PW_USE_TERMINAL_INFO=$(eval_gettext 'Run the application in the terminal') + local PW_HEAP_DELAY_FREE_INFO=$(eval_gettext 'Include a delay in releasing some memory to bypass errors associated with using the application after the memory is released') + local PW_NO_WRITE_WATCH_INFO=$(eval_gettext 'A very dangerous way to hack the memory write timer in ntdll. This improves the performance of some very specific games. (It is recommended not to change the value.)') + local PW_GUI_DISABLED_CS_INFO=$(eval_gettext 'Disable the window for selecting startup modes and WINE versions') + local PW_USE_GSTREAMER_INFO=$(eval_gettext 'Use Gstreamer to output clips in games (WMF support)') + local PW_FORCE_LARGE_ADDRESS_AWARE_INFO=$(eval_gettext 'Increases RAM usage limits for 32-bit applications from two to four gigabytes') + local PW_USE_RUNTIME_INFO=$(eval_gettext 'Use container launch mode (It is recommended not to change the value)') + local PW_MANGOHUD_INFO=$(eval_gettext 'Using FPS and system load monitoring (Turns on and off by the key combination - right Shift + F12)') + local PW_USE_GAMEMODE_INFO=$(eval_gettext 'Using automatic system optimization to improve performance in games (provided the gamemode package is installed on the system)') + local PW_USE_WINE_DXGI_INFO=$(eval_gettext 'Forced use of built-in DXGI library (in rare cases it solves problems with DX12 games)') + local PW_MANGOHUD_USER_CONF_INFO=$(eval_gettext 'Forced use of MANGOHUD system settings (GOverlay, etc.)') + local PW_VKBASALT_USER_CONF_INFO=$(eval_gettext 'Forced use of VKBASALT system settings (GOverlay, etc.)') + local PW_USE_D3D_EXTRAS_INFO=$(eval_gettext 'Enable forced use of third-party DirectX libraries') + local PW_USE_WINDOWS_7_INFO=$(eval_gettext 'Change the version of WINDOWS 10 to WINDOWS 7 in the prefix') + local PW_USE_SHADER_CACHE_INFO=$(eval_gettext 'Use WINE shader caching (disable only if there are microfreezes in the game)') + local PW_WINE_FULLSCREEN_FSR_INFO=$(eval_gettext 'Works while using any version of ProtonGE in full screen mode at a resolution below the standard screen') + local PW_USE_FAKE_DLSS_INFO=$(eval_gettext 'Enable DLSS translator in FSR 2 in DirectX 12 games (CyberFSR2)') + local PW_USE_FAKE_DLSS_3_INFO=$(eval_gettext 'Enable DLSS translator in FSR 3 in DirectX 12 games (Experimental project dlssg-to-fsr3)') + local PW_USE_EAC_AND_BE_INFO=$(eval_gettext 'Enable Easy Anti-Cheat and BattlEye Anti-Cheat runtimes (required if game used this anti-cheats)') + local PW_REDUCE_PULSE_LATENCY_INFO=$(eval_gettext 'Reduce pulseaudio latency to fix intermittent sound') + local PW_USE_US_LAYOUT_INFO=$(eval_gettext 'Forced use of the us layout (useful for games in which the control works correctly only on the us layout)') + local PW_RESTORE_RESOLUTION_INFO=$(eval_gettext 'Remember the screen resolution when starting the game and return it when closing (useful for games that change the screen resolution when closing)') + local PW_USE_SYSTEM_VK_LAYERS_INFO=$(eval_gettext 'Use system mangohud, vkBasalt, obs-vkcapture and other applications using vulkan layers') + local PW_USE_OBS_VKCAPTURE_INFO=$(eval_gettext 'Enable the ability to write to OBS Studio using obs-vkcapture (ATTENTION: the forced use of system mangohud, vkBasalt, obs-vkcapture and other applications using vulkan layers will be enabled)') + local PW_USE_GALLIUM_ZINK_INFO=$(eval_gettext 'Use the zink driver (OpenGL on top of Vulkan), allows you to use vkBasalt in OpenGL games (ATTENTION: vulkan support is required, wined3d (opengl) is used instead of dxvk, suitable for games on OpenGL and older versions of DirectX, artifacts are possible on newer versions of DirectX)') + local PW_DISABLE_COMPOSITING_INFO=$(eval_gettext 'Disable desktop compositing (effects). It often improves performance.') + local PW_USE_GAMESCOPE_INFO=$(eval_gettext " +Super + F : Toggle fullscreen +Super + N : Toggle nearest neighbour filtering +Super + U : Toggle FSR upscaling +Super + Y : Toggle NIS upscaling +Super + I : Increase FSR sharpness by 1 +Super + O : Decrease FSR sharpness by 1 +Super + S : Take screenshot (currently goes to /tmp/gamescope_DATE.png) +Super + G : Toggle keyboard grab +Super + C : Update clipboard") + edit_db_field_add () { for int_to_boole in $@ ; do if [ "${!int_to_boole}" == "1" ] @@ -2533,25 +2638,35 @@ pw_gui_for_edit_db () { esac "${pw_yad_v13_0}" --plug=$KEY_EDIT_DB_GUI --tabnum="2" --form --separator="%" --columns=1 --scroll \ - --field="${loc_gui_ver_windows}!${loc_gui_ver_windows_help} :CB" "${ADD_WINVER_EDIT_DB}" \ - --field="${loc_gui_aut_winetricks}!${loc_gui_aut_winetricks_help} :CBE" "${PW_DLL_INSTALL}!vcrun2019 corefonts lucida" \ - --field="${loc_gui_winedllover}!${loc_gui_winedllover_help} :CBE" "${WINEDLLOVERRIDES}!libglesv2=!d3dx9_36,d3dx9_42=n,b;mfc120=b,n" \ + --field="$(eval_gettext "Change the version of WINDOWS emulation")!$(eval_gettext "Changing the WINDOWS emulation version may be required to run older games. WINDOWS versions below 10 do not support new games with DirectX 12") :CB" "${ADD_WINVER_EDIT_DB}" \ + --field="$(eval_gettext "AUTOINSTALL WITH WINETRICKS")!$(eval_gettext "Automatically install with WINETRICKS additional libraries required to run the game/program. List of libraries separated by spaces") :CBE" "${PW_DLL_INSTALL}!vcrun2019 corefonts lucida" \ + --field="$(eval_gettext "Forced to use/disable libraries")!$(eval_gettext "Forced to use/disable the library only for the given application. (There are examples in the drop-down list)") :CBE" "${WINEDLLOVERRIDES}!libglesv2=!d3dx9_36,d3dx9_42=n,b;mfc120=b,n" \ --field=":LBL" "" \ - --field="${loc_gui_arg_exe}!${loc_gui_arg_exe_help} :CBE" "\\${LAUNCH_PARAMETERS[@]}!-dx11 -skipintro 1" \ + --field="$(eval_gettext "ADD ARGUMENTS FOR .EXE FILE")!$(eval_gettext "Adding an argument after the .exe file, just like you would add an argument in a shortcut on a WINDOWS system") :CBE" "\\${LAUNCH_PARAMETERS[@]}!-dx11 -skipintro 1" \ --field=":LBL" "" \ - --field="${loc_gui_cpu_limit}!${loc_gui_cpu_limit_help} :CB" "${CPU_LIMIT_VAR}!disabled!${GET_LOGICAL_CORE}" \ - --field="${loc_gui_gpu_select}!${loc_gui_gpu_select_help} :CB" "${GPU_VAR}!disabled!${GET_GPU_NAMES}" \ - --field="${loc_gui_arg_gamescope}!${loc_gui_arg_gamescope_help} :CBE" "\\${GAMESCOPE_ARGS}!-r 60 -F fsr!" \ - --field="${loc_gui_opengl_version}!${loc_gui_opengl_version_help} :CB" "${PW_MESA_GL_VERSION_OVERRIDE}!disabled!4.6COMPAT!4.6!4.5COMPAT!4.5!3.3COMPAT!3.3" \ + --field="$(eval_gettext "Limit the use of processor cores")!$(eval_gettext "Limiting the number of CPU cores is useful for Unity games (It is recommended to set the value equal to 8)") :CB" "${CPU_LIMIT_VAR}!disabled!${GET_LOGICAL_CORE}" \ + --field="$(eval_gettext "Choose a graphics card to run the game (in user.conf)")!$(eval_gettext "Select which video card will be used to run the game (used for all running games and programs in PortProton)") :CB" "${GPU_VAR}!disabled!${GET_GPU_NAMES}" \ + --field="$(eval_gettext "Add arguments for GAMESCOPE:")!$(eval_gettext " +-W, -H: set the resolution used by gamescope. Resizing the gamescope window will update these settings. Ignored in embedded mode. If -H is specified but -W isn't, a 16:9 aspect ratio is assumed. Defaults to 1280×720. +-w, -h: set the resolution used by the game. If -h is specified but -w isn't, a 16:9 aspect ratio is assumed. Defaults to the values specified in -W and -H. +-r: set a frame-rate limit for the game. Specified in frames per second. Defaults to unlimited. +-o: set a frame-rate limit for the game when unfocused. Specified in frames per second. Defaults to unlimited. +-F fsr: use AMD FidelityFX™ Super Resolution 1.0 for upscaling. +-F nis: use NVIDIA Image Scaling v1.0.3 for upscaling. +-S integer: use integer scaling. +-S stretch: use stretch scaling, the game will fill the window. (e.g. 4:3 to 16:9). +-b: create a border-less window. +-f: create a full-screen window.") :CBE" "\\${GAMESCOPE_ARGS}!-r 60 -F fsr!" \ + --field="$(eval_gettext "Forcibly select the OpenGL version for the game")!$(eval_gettext "You can select the required OpenGL version, some games require a forced Compatibility Profile (COMPAT). (Examples are in the drop-down list)") :CB" "${PW_MESA_GL_VERSION_OVERRIDE}!disabled!4.6COMPAT!4.6!4.5COMPAT!4.5!3.3COMPAT!3.3" \ 2>/dev/null 1> "${PORT_WINE_TMP_PATH}/tmp_output_yad_fps_limit" 2>/dev/null & "${pw_yad_v13_0}" --paned --key="$KEY_EDIT_DB_GUI" --title "EDIT_DB" --text-align=center --height="750" \ - --text "${loc_gui_edit_db} ${PORTWINE_DB}\n ${loc_gui_edit_db_help}" --separator=" " \ + --text "$(eval_gettext "Change settings in database file for") ${PORTWINE_DB}\n $(eval_gettext "NOTE: To display help for each item, simply hover your mouse over the text")" --separator=" " \ --window-icon="$PW_GUI_ICON_PATH/portproton.svg" \ - --button="${loc_gui_cancel}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${loc_gui_cancel_help}":1 \ - --button="${loc_gui_reset_db}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${loc_gui_reset_db_help}":2 \ - --button="${loc_gui_open_db}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${loc_gui_open_db_help}":150 \ - --button="${loc_gui_save_changes}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${loc_gui_save_changes_help}":0 2>/dev/null + --button="$(eval_gettext "CANCEL THE CHANGES")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(eval_gettext "Cancel the current changes and return to the previous menu.")":1 \ + --button="$(eval_gettext "RESET SETTINGS")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(eval_gettext "Restore default settings.")":2 \ + --button="$(eval_gettext "OPEN THE SETTINGS FILE")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(eval_gettext "Open the .ppdb settings file in a system text editor to view and change variables manually.")":150 \ + --button="$(eval_gettext "SAVE CHANGES")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(eval_gettext "Save the current changes, and go to the previous menu.")":0 2>/dev/null YAD_STATUS="$?" export SKIP_CHECK_UPDATES=1 case "$YAD_STATUS" in @@ -2634,7 +2749,7 @@ gui_proton_downloader () { if [[ "$1" == "silent" ]] && [[ -d "${PORT_WINE_PATH}/data/dist/${PW_WINE_USE}" ]] ; then return 0 fi - pw_start_progress_bar_block "$loc_gui_check_new_wine" + pw_start_progress_bar_block "$(eval_gettext "Check new version WINE")" # PROTON_GE export PROTON_GE_GIT=($(curl -s "https://api.github.com/repos/GloriousEggroll/proton-ge-custom/releases" | grep "browser_download_url.*\.tar\.gz" | cut -d \" -f 4)) try_remove_file "${PORT_WINE_TMP_PATH}/tmp_proton_ge_git" @@ -2679,7 +2794,7 @@ gui_proton_downloader () { fi pw_stop_progress_bar if [[ -z "${PROTON_PW_GIT}" ]] ; then - yad_error "$loc_gui_check_new_wine_error" + yad_error "$(eval_gettext "Error: check wine.")" export SKIP_CHECK_UPDATES=1 /usr/bin/env bash -c ${pw_full_command_line[*]} & exit 0 @@ -2709,15 +2824,15 @@ gui_proton_downloader () { try_remove_file "${PORT_WINE_TMP_PATH}/tmp_installed_wine_set" `"${pw_yad_v13_0}" --plug=$KEY_WINE --tabnum=1 --list --separator="" --listen \ - --column "$loc_gui_set_new_wine" < "${PORT_WINE_TMP_PATH}/tmp_proton_pw_git" 1> "${PORT_WINE_TMP_PATH}/tmp_proton_pw_set" 2>/dev/null` & + --column "$(eval_gettext "Select WINE for download:")" < "${PORT_WINE_TMP_PATH}/tmp_proton_pw_git" 1> "${PORT_WINE_TMP_PATH}/tmp_proton_pw_set" 2>/dev/null` & `"${pw_yad_v13_0}" --plug=$KEY_WINE --tabnum=2 --list --separator="" --listen \ - --column "$loc_gui_set_new_wine" < "${PORT_WINE_TMP_PATH}/tmp_wine_kron4ek_git" 1> "${PORT_WINE_TMP_PATH}/tmp_kron4ek_set" 2>/dev/null` & + --column "$(eval_gettext "Select WINE for download:")" < "${PORT_WINE_TMP_PATH}/tmp_wine_kron4ek_git" 1> "${PORT_WINE_TMP_PATH}/tmp_kron4ek_set" 2>/dev/null` & `"${pw_yad_v13_0}" --plug=$KEY_WINE --tabnum=3 --list --separator="" --listen \ - --column "$loc_gui_set_new_wine" < "${PORT_WINE_TMP_PATH}/tmp_proton_ge_git" 1> "${PORT_WINE_TMP_PATH}/tmp_proton_set" 2>/dev/null` & + --column "$(eval_gettext "Select WINE for download:")" < "${PORT_WINE_TMP_PATH}/tmp_proton_ge_git" 1> "${PORT_WINE_TMP_PATH}/tmp_proton_set" 2>/dev/null` & `"${pw_yad_v13_0}" --plug=$KEY_WINE --tabnum=4 --list --separator="" --listen \ - --column "$loc_gui_set_new_wine" < "${PORT_WINE_TMP_PATH}/tmp_wine_ge_custom_git" 1> "${PORT_WINE_TMP_PATH}/tmp_ge_custom_set" 2>/dev/null` & + --column "$(eval_gettext "Select WINE for download:")" < "${PORT_WINE_TMP_PATH}/tmp_wine_ge_custom_git" 1> "${PORT_WINE_TMP_PATH}/tmp_ge_custom_set" 2>/dev/null` & `"${pw_yad_v13_0}" --plug=$KEY_WINE --tabnum=5 --list --separator="" --listen \ - --column "$loc_gui_del_wine" < "${PORT_WINE_TMP_PATH}/tmp_installed_wine" 1> "${PORT_WINE_TMP_PATH}/tmp_installed_wine_set" 2>/dev/null` & + --column "$(eval_gettext "Select installed WINE for delete:")" < "${PORT_WINE_TMP_PATH}/tmp_installed_wine" 1> "${PORT_WINE_TMP_PATH}/tmp_installed_wine_set" 2>/dev/null` & `"${pw_yad_v13_0}" --key=$KEY_WINE --notebook --width=500 --height=600 --text-align=center --no-button \ --window-icon="$PW_GUI_ICON_PATH/portproton.svg" --title "WINE MANAGER" --separator="" --expand \ --tab-pos=top \ @@ -2725,9 +2840,9 @@ gui_proton_downloader () { --tab="WINE-KRON4EK"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \ --tab="PROTON-GE"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \ --tab="WINE-GE-CUSTOM"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \ - --tab="$loc_gui_installed_wine"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \ - --button="$loc_cancel"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"":1 \ - --button="OK"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"":0 2>/dev/null` + --tab="$(eval_gettext "INSTALLED")"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \ + --button="$(eval_gettext "CANCEL")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"":1 \ + --button=$(eval_gettext "OK")!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"":0 2>/dev/null` YAD_WINE_STATUS="$?" if [[ "$YAD_WINE_STATUS" == "1" || "$YAD_WINE_STATUS" == "252" ]] ; then export SKIP_CHECK_UPDATES=1 @@ -2833,6 +2948,63 @@ gui_vkBasalt () { FILE_VKBASALT_CONF="${PORT_WINE_PATH}/data/vkBasalt.conf" LIST_FX=($(grep -E '.fx$|.fxh$' "${FILE_VKBASALT_CONF}" | awk '{print $1}')) GET_FX_IN_FILE=(`echo ${PW_VKBASALT_EFFECTS} | sed s/"cas:"// | sed s/":"/" "/g`) + + local PW_3DFX_INFO=$(eval_gettext 'Simulation of an old 3dfx graphics accelerator (adds horizontal stripes)') + local PW_AdaptiveSharpen_INFO=$(eval_gettext 'Sharpness increase, can be used with CAS') + local PW_Bloom_INFO=$(eval_gettext 'Adds glow from bright light sources in the game') + local PW_Border_INFO=$(eval_gettext 'Cropping the image from the top and bottom (like in a movie =)') + local PW_Cartoon_INFO=$(eval_gettext 'Strong sharpening of texture edges') + local PW_ChromaticAberration_INFO=$(eval_gettext 'Adds chromatic aberration to an image') + local PW_Clarity_INFO=$(eval_gettext 'Sharpening textures with slight modifications of image contrast (similar in effect to CAS)') + local PW_ColorMatrix_INFO=$(eval_gettext 'Adding cool colors') + local PW_Colourfulness_INFO=$(eval_gettext 'Increasing color saturation. Increasing color saturation') + local PW_FakeHDR_INFO=$(eval_gettext 'Add fake HDR') + local PW_FilmGrain2_INFO=$(eval_gettext 'Adding the film grain effect') + local PW_Curves_INFO=$(eval_gettext 'Increases the contrast of the image without affecting the bright and dark areas, so that the detail in shadows and sky is not lost') + local PW_Denoise_INFO=$(eval_gettext 'Reducing noise by blurring the image') + local PW_Emphasize_INFO=$(eval_gettext 'Reducing the bit depth of color') + local PW_FakeMotionBlur_INFO=$(eval_gettext 'Strong blurring of objects in motion') + local PW_FilmicAnamorphSharpen_INFO=$(eval_gettext 'Sharpening (recommended for cartoon games)') + local PW_FilmicPass_INFO=$(eval_gettext 'Adding cold colors') + local PW_SMAA_INFO=$(eval_gettext 'Alternative antialiasing option (less effect, but with less consumption of GPU resources, relative to the standard SMAA)') + local PW_GaussianBlur_INFO=$(eval_gettext 'Slight blur effect on bright objects (such as flames)') + local PW_Glitch_INFO=$(eval_gettext 'Glitch effect') + local PW_HighPassSharpen_INFO=$(eval_gettext 'Another method of sharpening using highpass frequencies') + local PW_HQ4X_INFO=$(eval_gettext 'Smoothing of nearby pixels with the drawing of missing parts (in normal games the picture is blurred)') + local PW_HSLShift_INFO=$(eval_gettext 'Advanced HSL shift (for each shade)') + local PW_Layer_INFO=$(eval_gettext "Image overlay on the game (the image is in the $PORT_WINE_TMP_PATH/libs_v$PW_LIBS_VER/pressure-vessel/reshade/textures folder)") + local PW_Levels_INFO=$(eval_gettext 'Increases contrast, but some detail in shadows or highlights may be lost') + local PW_LevelsPlus_INFO=$(eval_gettext 'Same as Levels, but with less loss of detail') + local PW_LiftGammaGain_INFO=$(eval_gettext 'Gamma correction by individual color channels: red, green and blue') + local PW_LightDoF_INFO=$(eval_gettext 'Increases depth of field (greatly affects FPS)') + local PW_LumaSharpen_INFO=$(eval_gettext 'Enhances image sharpness for improved detail') + local PW_LUT_INFO=$(eval_gettext 'Image color correction') + local PW_MagicBloom_INFO=$(eval_gettext 'Same as Bloom, but more natural') + local PW_Monochrome_INFO=$(eval_gettext 'Converts the image into monochrome') + local PW_MultiLUT_INFO=$(eval_gettext 'Extended version of the LUT (Hollywood loot is pre-installed)') + local PW_MXAO_INFO=$(eval_gettext 'SSAO algorithm (Greatly affects FPS)') + local PW_NightVision_INFO=$(eval_gettext 'Night vision effect') + local PW_Nostalgia_INFO=$(eval_gettext 'Makes the picture look like old photos') + local PW_PerfectPerspective_INFO=$(eval_gettext 'Fisheye effect (suitable for VR)') + local PW_PPFX_Godrays_INFO=$(eval_gettext 'Add God rays (also called 3D light rays) effect') + local PW_Prism_INFO=$(eval_gettext 'The prismatic lens effect') + local PW_ReflectiveBumpMapping_INFO=$(eval_gettext 'Creates the illusion of depth in textures') + local PW_Sepia_INFO=$(eval_gettext 'Adds a sepia effect like in old photos') + local PW_Splitscreen_INFO=$(eval_gettext 'Splits the image into raw and processed output for comparison') + local PW_SurfaceBlur_INFO=$(eval_gettext 'Reducing object detail without blurring contrast contours') + local PW_Technicolor_INFO=$(eval_gettext 'Makes the picture look like films from the 1930s') + local PW_Technicolor2_INFO=$(eval_gettext 'The updated version of Technicolor, gives a different picture by changing colors more aggressively') + local PW_TiltShift_INFO=$(eval_gettext 'Blur on the edges of the screen to create a Tilt Shift effect') + local PW_Tonemap_INFO=$(eval_gettext 'Changes the saturation of the picture') + local PW_TriDither_INFO=$(eval_gettext 'Reduces the amount of noise') + local PW_UIDetect_INFO=$(eval_gettext 'Automatically switches effects depending on the visibility of the UI') + local PW_Vibrance_INFO=$(eval_gettext 'Saturates faded colors without touching the bright ones') + local PW_Vignette_INFO=$(eval_gettext 'Adds a vignette to the image') + local PW_AspectRatio_INFO=$(eval_gettext 'An effect for adjusting the aspect ratio (for games that do not support widescreen monitors)') + local PW_UIMask_INFO=$(eval_gettext 'Part of the overall ReShade shader . It uses a mask with gradients from black to white to determine where the effects will be applied') + local PW_StageDepth_INFO=$(eval_gettext 'Allows you to add new elements to the 3d space inside the game and apply custom textures') + local PW_PPFX_Bloom_INFO=$(eval_gettext 'Adds a Bloom effect') + unset ADD_GUI_FX GUI_FX_RESULT for add_list_fx in ${LIST_FX[@]} ; do PW_VKBASALT_GUI_HELP="PW_${add_list_fx}_INFO" @@ -2857,19 +3029,19 @@ gui_vkBasalt () { export old_IFS=$IFS export IFS="%" "${pw_yad_v13_0}" --plug=$KEY_FX_GUI --tabnum="1" --form --columns=4 --separator=" " \ - --text-align=center --text="$loc_gui_vkbasalt_top" \ + --text-align=center --text="$(eval_gettext "vkBasalt settings for adding effects to games running under Vulkan. (The HOME key disables vkbasalt)\nNOTE: To display help for each item, simply hover over the text\n")" \ ${ADD_GUI_FX} 1> "${PORT_WINE_TMP_PATH}/tmp_yad_basalt_set" 2>/dev/null & export IFS="${old_IFS}" "${pw_yad_v13_0}" --plug=$KEY_FX_GUI --tabnum="2" --separator=" " --form \ - --field="AMD FidelityFX - Contrast Adaptive Sharpening"!"$loc_gui_ffx_cas":SCL "${VKBASALT_FFX_CAS_GUI}" \ + --field="AMD FidelityFX - Contrast Adaptive Sharpening"!"$(eval_gettext "AMD FidelityFX - CAS is designed to dramatically improve texture sharpness without additional modification settings for games, with minimal loss of performance. (For older games it is recommended to set value = 100)")":SCL "${VKBASALT_FFX_CAS_GUI}" \ 1> "${PORT_WINE_TMP_PATH}/tmp_yad_cas_set" 2>/dev/null & "${pw_yad_v13_0}" --paned --key="$KEY_FX_GUI" --height="625" --title="vkBasalt" --center \ --separator=" " --window-icon="$PW_GUI_ICON_PATH/portproton.svg" \ - --button="$loc_gui_cancel"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$loc_gui_cancel_help":1 \ - --button="$loc_gui_disabled_vkbas"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$loc_gui_disabled_vkbas_help":180 \ - --button="$loc_gui_save_changes"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$loc_gui_save_changes_help":182 2>/dev/null + --button="$(eval_gettext "CANCEL THE CHANGES")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(eval_gettext "Cancel the current changes and return to the previous menu.")":1 \ + --button="$(eval_gettext "DISABLE VKBASALT")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(eval_gettext "Disable vkBasalt and go to the previous menu.")":180 \ + --button="$(eval_gettext "SAVE CHANGES")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(eval_gettext "Save the current changes, and go to the previous menu.")":182 2>/dev/null YAD_VKBASALT_STATUS="$?" case "${YAD_VKBASALT_STATUS}" in 1|252) @@ -2922,6 +3094,61 @@ gui_MangoHud () { time version vkbasalt vram vulkan_driver wine ) + local PW_MH_arch_INFO=$(eval_gettext 'Show if the application is 32- or 64-bit') + local PW_MH_battery_INFO=$(eval_gettext 'Display current battery percent and energy consumption') + local PW_MH_battery_icon_INFO=$(eval_gettext 'Display battery icon instead of percent') + local PW_MH_battery_time_INFO=$(eval_gettext 'Display remaining time for battery option') + local PW_MH_battery_watt_INFO=$(eval_gettext 'Display wattage for the battery option') + local PW_MH_core_bars_INFO=$(eval_gettext 'Change the display of core_load from numbers to vertical bars') + local PW_MH_core_load_INFO=$(eval_gettext 'Display load & frequency per core') + local PW_MH_cpu_mhz_INFO=$(eval_gettext 'Show the CPUs current MHz') + local PW_MH_cpu_power_INFO=$(eval_gettext 'Display CPU draw in watts') + local PW_MH_cpu_temp_INFO=$(eval_gettext 'Display current CPU temperature') + local PW_MH_device_battery_icon_INFO=$(eval_gettext 'Display wirless device battery icon.') + local PW_MH_engine_short_names_INFO=$(eval_gettext 'Display a short version of the used engine (e.g. OGL instead of OpenGL)') + local PW_MH_engine_version_INFO=$(eval_gettext 'Display OpenGL or vulkan and vulkan-based render engines version') + local PW_MH_exec_name_INFO=$(eval_gettext 'Display current exec name') + local PW_MH_fcat_INFO=$(eval_gettext 'Enables frame capture analysis') + local PW_MH_fps_metrics_INFO=$(eval_gettext 'Takes a list of decimal values or the value avg, e.g avg,0.001') + local PW_MH_frame_count_INFO=$(eval_gettext 'Display frame count') + local PW_MH_full_INFO=$(eval_gettext 'Enable most of the toggleable parameters (currently excludes histogram)') + local PW_MH_gamemode_INFO=$(eval_gettext 'Show if GameMode is on') + local PW_MH_gpu_core_clock_INFO=$(eval_gettext 'Display GPU core frequency') + local PW_MH_gpu_fan_INFO=$(eval_gettext 'GPU fan in rpm on AMD, FAN in percent on NVIDIA') + local PW_MH_gpu_junction_temp_INFO=$(eval_gettext 'Display current GPU temperature') + local PW_MH_gpu_mem_clock_INFO=$(eval_gettext 'Display GPU memory frequency') + local PW_MH_gpu_mem_temp_INFO=$(eval_gettext 'Display current GPU temperature') + local PW_MH_gpu_name_INFO=$(eval_gettext 'Display GPU name from pci.ids') + local PW_MH_gpu_power_INFO=$(eval_gettext 'Display GPU draw in watts') + local PW_MH_gpu_temp_INFO=$(eval_gettext 'Display current GPU temperature') + local PW_MH_gpu_voltage_INFO=$(eval_gettext 'Display GPU voltage (only works on AMD GPUs)') + local PW_MH_histogram_INFO=$(eval_gettext 'Change FPS graph to histogram') + local PW_MH_horizontal_INFO=$(eval_gettext 'Display Mangohud in a horizontal position') + local PW_MH_horizontal_stretch_INFO=$(eval_gettext 'Stretches the background to the screens width in horizontal mode') + local PW_MH_hud_compact_INFO=$(eval_gettext 'Display compact version of MangoHud') + local PW_MH_hud_no_margin_INFO=$(eval_gettext 'Remove margins around MangoHud') + local PW_MH_io_read_INFO=$(eval_gettext 'Show non-cached IO read, in MiB/s') + local PW_MH_io_write_INFO=$(eval_gettext 'Show non-cached IO write, in MiB/s') + local PW_MH_no_display_INFO=$(eval_gettext 'Hide the HUD by default') + local PW_MH_no_small_font_INFO=$(eval_gettext 'Use primary font size for smaller text like units') + local PW_MH_procmem_INFO=$(eval_gettext 'Displays process memory usage: resident procmem (resident) also toggles others off if disabled') + local PW_MH_procmem_shared_INFO=$(eval_gettext 'Displays process memory usage: shared') + local PW_MH_procmem_virt_INFO=$(eval_gettext 'Displays process memory usage: virtual') + local PW_MH_ram_INFO=$(eval_gettext 'Display system RAM usage') + local PW_MH_resolution_INFO=$(eval_gettext 'Display the current resolution') + local PW_MH_show_fps_limit_INFO=$(eval_gettext 'Display the current FPS limit') + local PW_MH_swap_INFO=$(eval_gettext 'Display swap space usage next to system RAM usage') + local PW_MH_temp_fahrenheit_INFO=$(eval_gettext 'Show temperature in Fahrenheit') + local PW_MH_throttling_status_INFO=$(eval_gettext 'Show if GPU is throttling based on Power, current, temp or "other" (Only shows if throttling is currently happening). Currently disabled by default for Nvidia as it causes lag on 3000 series') + local PW_MH_throttling_status_graph_INFO=$(eval_gettext 'Same as throttling_status but displays throttling in the frametime graph and only power and temp throttling') + local PW_MH_time_INFO=$(eval_gettext 'Display local time') + local PW_MH_version_INFO=$(eval_gettext 'Show current MangoHud version') + local PW_MH_vkbasalt_INFO=$(eval_gettext 'Show if vkBasalt is on') + local PW_MH_vram_INFO=$(eval_gettext 'Display system VRAM usage') + local PW_MH_vulkan_driver_INFO=$(eval_gettext 'Display used Vulkan driver (radv/amdgpu-pro/amdvlk)') + local PW_MH_frametime=$(eval_gettext 'Display frametime next to FPS text') + local PW_MH_wine_INFO=$(eval_gettext 'Show current Wine or Proton version in use') + unset ADD_GUI_MH GUI_MH_RESULT GET_REFRESH_RATE="30!45!60!75!120!144!165!240" @@ -2952,19 +3179,19 @@ gui_MangoHud () { export old_IFS=$IFS export IFS="%" "${pw_yad_v13_0}" --plug=$KEY_MH_GUI --tabnum="1" --form --columns=4 --separator=" " \ - --text-align=center --text="$loc_gui_mh_top" \ + --text-align=center --text="$(eval_gettext "MangoHud settings (Keys R_SHIFT + F12 disable MangoHud)\nnote: To display help for each item, just hover the mouse cursor over the text.\n")" \ ${ADD_GUI_MH} 1> "${PORT_WINE_TMP_PATH}/tmp_yad_mh_set" 2>/dev/null & export IFS="${old_IFS}" "${pw_yad_v13_0}" --plug=$KEY_MH_GUI --tabnum="2" --separator=" " --form \ - --field="${loc_gui_mango_fps}!${loc_gui_mango_fps_help} :CB" "${FPS_LIMIT_VAR}!disabled!${GET_REFRESH_RATE}" \ + --field="$(eval_gettext "MANGOHUD FPS LIMIT")!$(eval_gettext "Enabling FPS limits using MANGOHUD built into PortProton") :CB" "${FPS_LIMIT_VAR}!disabled!${GET_REFRESH_RATE}" \ 1> "${PORT_WINE_TMP_PATH}/tmp_yad_mh_fps_limit" 2>/dev/null & "${pw_yad_v13_0}" --paned --key="$KEY_MH_GUI" --height="575" --title="MangoHud" --center \ --separator=" " --window-icon="$PW_GUI_ICON_PATH/portproton.svg" \ - --button="$loc_gui_cancel"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$loc_gui_cancel_help":1 \ - --button="$loc_gui_disabled_mh"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$loc_gui_disabled_mh_help":182 \ - --button="$loc_gui_save_changes"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$loc_gui_save_changes_help":184 2>/dev/null + --button="$(eval_gettext "CANCEL THE CHANGES")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(eval_gettext "Cancel the current changes and return to the previous menu.")":1 \ + --button="$(eval_gettext "DISABLE MANGOHUD")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(eval_gettext "Disable MangoHud and go to the previous menu.")":182 \ + --button="$(eval_gettext "SAVE CHANGES")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(eval_gettext "Save the current changes, and go to the previous menu.")":184 2>/dev/null YAD_MANGOHUD_STATUS="$?" case "${YAD_MANGOHUD_STATUS}" in @@ -3033,27 +3260,27 @@ portwine_create_shortcut () { if [[ "$1" == "block_name" ]] ; then export name_desktop="${PORTPROTON_NAME}" - OUTPUT=$("${pw_yad}" --title="${inst_set}." --form \ + OUTPUT=$("${pw_yad}" --title="$(eval_gettext "Choices")" --form \ --window-icon "$PW_GUI_ICON_PATH/portproton.svg" \ --image "${PORT_WINE_PATH}/data/img/${PORTPROTON_NAME}.png" \ - --field="${sc_info}":LBL "" \ + --field="$(eval_gettext "The shortcut will be created in the PortProton directory.")":LBL "" \ --field=" ${name_desktop}":LBL "" \ - --field=" ${sc_menu_desktop}":CHK "TRUE" \ - --field=" ${sc_desktop_desktop}":CHK "TRUE" \ - --field=" ${sc_add_in_steam}":CHK "FALSE" \ - --button="$loc_gui_create_shortcut"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png":0) + --field=" $(eval_gettext "Add shortcut to MENU -> GAMES")":CHK "TRUE" \ + --field=" $(eval_gettext "Add shortcut to Desktop")":CHK "TRUE" \ + --field=" $(eval_gettext "Add shortcut to STEAM library")":CHK "FALSE" \ + --button="$(eval_gettext "CREATE SHORTCUT")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png":0) PW_YAD_OUT=$? else export name_desktop="${PORTPROTON_NAME}" - OUTPUT=$("${pw_yad}" --title="${inst_set}." --form \ + OUTPUT=$("${pw_yad}" --title="$(eval_gettext "Choices")" --form \ --window-icon "$PW_GUI_ICON_PATH/portproton.svg" \ --image "${PORT_WINE_PATH}/data/img/${PORTPROTON_NAME}.png" \ - --field="${sc_info}":LBL "" \ - --field="${sc_name}:" "${name_desktop}" \ - --field=" ${sc_menu_desktop}":CHK "TRUE" \ - --field=" ${sc_desktop_desktop}":CHK "TRUE" \ - --field=" ${sc_add_in_steam}":CHK "FALSE" \ - --button="$loc_gui_create_shortcut"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png":0) + --field="$(eval_gettext "The shortcut will be created in the PortProton directory.")":LBL "" \ + --field="$(eval_gettext "Name")" "${name_desktop}" \ + --field=" $(eval_gettext "Add shortcut to MENU -> GAMES")":CHK "TRUE" \ + --field=" $(eval_gettext "Add shortcut to Desktop")":CHK "TRUE" \ + --field=" $(eval_gettext "Add shortcut to STEAM library")":CHK "FALSE" \ + --button="$(eval_gettext "CREATE SHORTCUT")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png":0) PW_YAD_OUT=$? fi @@ -3118,7 +3345,7 @@ portwine_create_shortcut () { "${PORT_SCRIPTS_PATH}/add_in_steam.sh" done if [[ "${PW_SKIP_RESTART_STEAM}" != 1 ]] && pgrep -i steam &>/dev/null ; then - if yad_question "$sc_restert_steam" ; then + if yad_question "$(eval_gettext "For adding shortcut to STEAM, needed restart.\n\nRestart STEAM now?")" ; then pw_start_progress_bar_block "Restarting STEAM... Please wait." kill -s SIGTERM $(pgrep -a steam) &>/dev/null while pgrep -i steam &>/dev/null ; do @@ -3151,12 +3378,12 @@ portwine_delete_shortcut () { } portwine_missing_shortcut () { - "${pw_yad}" --title="${loc_gui_error}." --form \ + "${pw_yad}" --title="$(eval_gettext "Error")" --form \ --window-icon "$PW_GUI_ICON_PATH/portproton.svg" \ --image "$PW_GUI_ICON_PATH/error.svg" \ - --text "$loc_gui_missing_shortcut" \ - --button="$loc_gui_delete_shortcut"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png":0 \ - --button="$loc_cancel"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png":1 + --text "$(eval_gettext "\nCould not find the file:\n${portwine_exe}\n\nATTENTION:\nIf you forgot to mount the disk with the running application, click CANCEL!")" \ + --button="$(eval_gettext "DELETE SHORTCUT")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png":0 \ + --button="$(eval_gettext "CANCEL")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png":1 if [ $? -eq "0" ] ; then portwine_delete_shortcut fi @@ -3170,7 +3397,7 @@ pw_prefix_manager () { touch "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/winetricks.log" fi - pw_start_progress_bar_block "$loc_start_pfx_manager $PW_PREFIX_NAME" + pw_start_progress_bar_block "$(eval_gettext "Starting prefix manager:") $PW_PREFIX_NAME" "${PORT_WINE_TMP_PATH}/winetricks" dlls list | awk -F'(' '{print $1}' 1> "${PORT_WINE_TMP_PATH}/dll_list" "${PORT_WINE_TMP_PATH}/winetricks" fonts list | awk -F'(' '{print $1}' 1> "${PORT_WINE_TMP_PATH}/fonts_list" "${PORT_WINE_TMP_PATH}/winetricks" settings list | awk -F'(' '{print $1}' 1> "${PORT_WINE_TMP_PATH}/settings_list" @@ -3213,26 +3440,26 @@ pw_prefix_manager () { KEY_EDIT_MANAGER_GUI=$RANDOM "${pw_yad_v13_0}" --plug=$KEY_EDIT_MANAGER_GUI --tabnum=1 --list --checklist \ - --text="${loc_prefix_manager_comp} \"${PW_PREFIX_NAME}\", ${loc_prefix_manager_wine} \"${PW_WINE_USE}\"" \ + --text="$(eval_gettext 'Select components to install in prefix:') \"${PW_PREFIX_NAME}\", $(eval_gettext 'using wine:') \"${PW_WINE_USE}\"" \ --column=set --column=dll --column=info < "${PORT_WINE_TMP_PATH}/dll_list_tmp" 1>> "${PORT_WINE_TMP_PATH}/to_winetricks" 2>/dev/null & "${pw_yad_v13_0}" --plug=$KEY_EDIT_MANAGER_GUI --tabnum=2 --list --checklist \ - --text="${loc_prefix_manager_font} \"${PW_PREFIX_NAME}\", ${loc_prefix_manager_wine} \"${PW_WINE_USE}\"" \ + --text="$(eval_gettext 'Select fonts to install in prefix:') \"${PW_PREFIX_NAME}\", $(eval_gettext 'using wine:') \"${PW_WINE_USE}\"" \ --column=set --column=dll --column=info < "${PORT_WINE_TMP_PATH}/fonts_list_tmp" 1>> "${PORT_WINE_TMP_PATH}/to_winetricks" 2>/dev/null & "${pw_yad_v13_0}" --plug=$KEY_EDIT_MANAGER_GUI --tabnum=3 --list --checklist \ - --text="${loc_prefix_manager_conf} \"${PW_PREFIX_NAME}\"" \ + --text="$(eval_gettext 'Change config for prefix:') \"${PW_PREFIX_NAME}\"" \ --column=set --column=dll --column=info < "${PORT_WINE_TMP_PATH}/settings_list_tmp" 1>> "${PORT_WINE_TMP_PATH}/to_winetricks" 2>/dev/null & "${pw_yad_v13_0}" --key=$KEY_EDIT_MANAGER_GUI --notebook \ --width=900 --height=800 --expand \ - --window-icon="$PW_GUI_ICON_PATH/portproton.svg" --title "$loc_pm" \ - --button="$loc_cancel"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"":1 \ - --button="OK"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"":0 \ + --window-icon="$PW_GUI_ICON_PATH/portproton.svg" --title "$(eval_gettext 'PREFIX MANAGER')" \ + --button="$(eval_gettext "CANCEL")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"":1 \ + --button="$(eval_gettext "OK")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"":0 \ --tab-pos=bottom \ - --tab="$loc_pm_dlls"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \ - --tab="$loc_pm_fonts"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \ - --tab="$loc_pm_settings"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" 2>/dev/null + --tab="$(eval_gettext 'DLLS')"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \ + --tab="$(eval_gettext 'FONTS')"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \ + --tab="$(eval_gettext 'SETTINGS')"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" 2>/dev/null YAD_STATUS="$?" if [[ "$YAD_STATUS" == "1" || "$YAD_STATUS" == "252" ]] ; then print_info "Nothing to do. Restarting PortProton..." @@ -3278,10 +3505,10 @@ portwine_start_debug () { kill_portwine export PW_LOG=1 if [[ -z "$VULKAN_DRIVER_NAME" ]] || [[ "$VULKAN_DRIVER_NAME" == "llvmpipe" ]] ; then - yad_info "Attention working version of vulkan not detected!\nIt is recommended to run games in OpenGL (low performance possible)!" + yad_info "$(eval_gettext "Attention working version of vulkan not detected!\nIt is recommended to run games in OpenGL (low performance possible)!")" fi - echo "${port_deb1}" > "${PORT_WINE_PATH}/PortProton.log" - echo "${port_deb2}" >> "${PORT_WINE_PATH}/PortProton.log" + echo "$(eval_gettext "PortProton was launched in creation mode PortProton.log and it is successfully stored in the root directory of the port")" > "${PORT_WINE_PATH}/PortProton.log" + echo "$(eval_gettext "To diagnose the problem, copy ALL of the log to discord server: https://discord.gg/FTaheP99wE")" >> "${PORT_WINE_PATH}/PortProton.log" echo "-------------------------------------------------------------" >> "${PORT_WINE_PATH}/PortProton.log" echo "PortWINE version:" >> "${PORT_WINE_PATH}/PortProton.log" read install_ver < "${PORT_WINE_TMP_PATH}/PortProton_ver" @@ -3305,7 +3532,7 @@ portwine_start_debug () { echo $(ldd --version | grep -m1 ldd | awk '{print $NF}') >> "${PORT_WINE_PATH}/PortProton.log" echo "--------------------------------------------------------" >> "${PORT_WINE_PATH}/PortProton.log" if [[ "${PW_VULKAN_USE}" = "0" ]] ; then - echo "PW_VULKAN_USE=${PW_VULKAN_USE} - DX9-11 to ${loc_gui_open_gl}" >> "${PORT_WINE_PATH}/PortProton.log" + echo "PW_VULKAN_USE=${PW_VULKAN_USE} - DX9-11 to OPENGL" >> "${PORT_WINE_PATH}/PortProton.log" elif [[ "${PW_VULKAN_USE}" = "1" ]] ; then echo "PW_VULKAN_USE=${PW_VULKAN_USE} - DXVK v.${DXVK_STABLE_VER} and VKD3D-PROTON v.${VKD3D_STABLE_VER}" >> "${PORT_WINE_PATH}/PortProton.log" elif [[ "${PW_VULKAN_USE}" = "2" ]] ; then @@ -3428,7 +3655,7 @@ portwine_start_debug () { PW_TIMER=1 fi done < "${PORT_WINE_PATH}/PortProton.log" | "${pw_yad_v13_0}" --text-info --tail --button="STOP"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png":0 --title="DEBUG" \ - --skip-taskbar --width=800 --height=400 --text "${port_debug}" --window-icon="$PW_GUI_ICON_PATH/portproton.svg" 2>/dev/null && + --skip-taskbar --width=800 --height=400 --text "$(eval_gettext "Please wait! After finishing the PortProton, click STOP.")" --window-icon="$PW_GUI_ICON_PATH/portproton.svg" 2>/dev/null && kill_portwine sed -i '/.fx$/d' "${PORT_WINE_PATH}/PortProton.log" sed -i '/HACK_does_openvr_work/d' "${PORT_WINE_PATH}/PortProton.log" @@ -3448,7 +3675,7 @@ portwine_start_debug () { pw_create_prefix_backup () { cd "$HOME" PW_PREFIX_TO_BACKUP=$("${pw_yad_v13_0}" --file --directory --width=650 --height=500 --auto-close \ - --window-icon="$PW_GUI_ICON_PATH/portproton.svg" --title "$loc_create_pfx_backup_path" 2>/dev/null ) + --window-icon="$PW_GUI_ICON_PATH/portproton.svg" --title "$(eval_gettext "BACKUP PREFIX TO...")" 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 @@ -3556,7 +3783,7 @@ run_desktop_b_click () { export -f run_desktop_b_click gui_clear_pfx () { - if yad_question "${port_clear_pfx}" ; then + if yad_question "$(eval_gettext "Do you want to clear prefix in PortProton?")" ; then pw_clear_pfx print_info "Restarting PP after clearing prefix..." export SKIP_CHECK_UPDATES=1 @@ -3567,7 +3794,7 @@ gui_clear_pfx () { export -f gui_clear_pfx gui_rm_portproton () { - if yad_question "${port_del2}" ; then + if yad_question "$(eval_gettext "Do you really want to remove PortProton?")" ; then rm -fr "${PORT_WINE_PATH}" rm -fr "${PORT_WINE_TMP_PATH}" rm -fr "${HOME}/PortWINE" diff --git a/data_from_portwine/scripts/lang b/data_from_portwine/scripts/lang deleted file mode 100755 index 599162f..0000000 --- a/data_from_portwine/scripts/lang +++ /dev/null @@ -1,876 +0,0 @@ -#!/usr/bin/env bash -# Author: linux-gaming.ru -# Helped in translation: ConTI1NuEsZZZ and Boria138 - -unset update_loc -if [[ -f "${PORT_WINE_TMP_PATH}/PortProton_loc" ]] ; then - update_loc=$(cat "${PORT_WINE_TMP_PATH}/PortProton_loc") -fi - -if [[ -z "${LANG}" ]] ; then - export LANG=C - update_loc="ENG" -else - if [[ "${update_loc}" == "RUS" || "${update_loc}" == "ENG" ]] \ - && [[ -f "${PORT_WINE_TMP_PATH}/PortProton_loc" ]] ; then - echo "" - else - [[ ! -f "${pw_yad_v13_0}" ]] && pw_yad_v13_0="yad" - SET_LANG=$("${pw_yad_v13_0}" --title "LAUNGUAGE" --text "Select the language:" --list --radiolist \ - --column="Set:" --column "Choose language:" TRUE "RUS" FALSE "ENG" \ - --window-icon "$PW_GUI_ICON_PATH/portproton.svg" --width=300 --height=150) - SET_LANG="$(echo "${SET_LANG}" | awk -F'|' '{print $2}')" - echo "${SET_LANG}" > "${PORT_WINE_TMP_PATH}/PortProton_loc" - if [[ ! -z "${SET_LANG}" ]] - then update_loc=${SET_LANG} - else exit 1 - fi - fi -fi -export update_loc - -if [[ "${update_loc}" == "RUS" ]] ; then - # check_flatpak && export LANG=ru_RU.UTF-8 - - export loc_gui_pw_reinstall_pp="Переустановить PortProton" - export loc_gui_rm_pp="Удалить PortProton" - export loc_gui_upd_pp="Проверить обновления" - export loc_gui_changelog="История изменений" - export loc_gui_change_loc="Сменить язык интерфейса" - export loc_gui_edit_usc="Редактировать USER.CONF" - export loc_gui_scripts_fb="Откатить версию скриптов" - export loc_gui_credits="Авторы и спасибы =)" - - export loc_gui_clear_pfx="Очистить префикс" - 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="Файловый менеджер" - export loc_gui_wine_cmd="Командная строка" - export loc_gui_wine_reg="Редактор реестра" - - export loc_tray_winefile="Файловый менеджер WINE" - export loc_tray_tascmng="Диспетчер задач WINE" - export loc_tray_cangelog="История изменений" - export loc_tray_force_exit="Завершить работу PortProton" - - export loc_mg_autoinstall="АВТОУСТАНОВКА" - export loc_mg_emulators="ЭМУЛЯТОРЫ" - export loc_mg_wine_settings="НАСТРОЙКИ WINE" - export loc_mg_portproton_settings="НАСТРОЙКИ PORTPROTON" - export loc_mg_installed="УСТАНОВЛЕННЫЕ" - - export PW_CHANGELOG_FILE="changelog_rus" - export PW_SELECTION_DB_LOC="Найдено более одного DB файла для запускаемого приложения.\nВыберите необходимый, или перед следующим запуском удалите лишний DB файл.\n" - - export inst_set="Выбор" - export inst_set_top="Установка PortProton" - export sc_info="Ярлык будет создан в каталоге PortProton." - export sc_name="Название" - export sc_menu_desktop="Добавить ярлык в МЕНЮ -> Игры" - export sc_desktop_desktop="Добавить ярлык на Рабочий стол" - export sc_add_in_steam="Добавить ярлык в библиотеку STEAM" - export sc_restert_steam="Для добавления ярлыка в STEAM, необходим перезапуск.\n\nПерезапустить STEAM?" - - export inst_succ="Установка завершена успешно!" - - export port_upd1="Обновление PortProton" - export port_upd2="На сайте linux-gaming.ru вышло обновление для PortProton\n" - export port_upd3="Действие:" - export port_upd4="Перейти на сайт" - export port_upd5="Напомнить позже" - export port_upd6="Больше не напоминать" - - export scripts_upd1="Обновление скриптов" - export scripts_upd2="Доступно обновление скриптов для PortProton" - export scripts_upd3="ВЫХОД" - export scripts_upd4="ОБНОВИТЬ СЕЙЧАС" - export scripts_upd5="НАПОМНИТЬ ПОЗЖЕ" - export scripts_upd6="НЕ НАПОМИНАТЬ" - - export port_clear_pfx="Вы действительно хотите очистить префикс PortProton?" - - export port_del1="Удаление PortProton" - export port_del2="Вы действительно хотите полностью удалить PortProton?" - - export port_reinstall="Вы действительно хотите переустановить PortProton?\nДля этого будет необходимо интернет соединение." - - export port_deb1="PortWINE был запущен в режиме создания PortProton.log и он успешно сохранен в корне каталога порта" - export port_deb2="Для диагностики проблемы, скопируйте ВЕСЬ лог в соответствующий канал у нас на сервере дискорда: https://discord.gg/FTaheP99wE" - - export port_start1="Запуск PortProton" - export port_start2="В каком режиме вы хотите запустить PortProton?" - export port_start3="Режим:" - export port_start4="Обычный" - export port_start5="Отдельной X-сессии" - export port_start6="Создать ЛОГ-файл" - export port_start7="Запустить winetricks" - export port_start8="DXVK" - - export port_debug="Не торопитесь! После окончания работы PortProton, нажмите STOP." - - export loc_create_shortcut_from_gui="Создать ярлык..." - export loc_create_shortcut="Создать ярлык для запускаемого файла." - export loc_delete_shortcut="Удалить ярлык для запускаемого файла." - export loc_debug="Запуск c созданием .log файла в корне PortProton" - export loc_launch="Запустить файл..." - export loc_winecfg="Запустить winecfg для редактирования настроек выбранного префикса" - export loc_winefile="Запустить файловый менеждер встроенный в wine" - export loc_winecmd="Запустить командную строку wine" - export loc_winereg="Запустить редактор реестра выбранного префикса" - export loc_wineuninstaller="Запустить средство удаление программ встроенное в wine" - export loc_winetricks="Запустить префикс менеджер для установки доп. библиотек в выбранный префикс" - export loc_edit_db="Изменить файл настроек для" - export loc_download_other_wine="Открыть меню для скачивания других версий WINE-PROTON" - export loc_downloading="Скачивание" - - export loc_clear_pfx="Очистить префикс для исправления проблем" - - export loc_gui_dll_new_pfx="Установить рекомендованные библиотеки в новый префикс: " - - export loc_gui_portproton_lock='Обнаружена запущенная сессия PortProton.\nХотите завершить предыдущую сессию?' - - export ENABLE_VKBASALT_INFO='Включить vkBasalt по умолчанию для улучшение графики в играх работающих под Vulkan. (Горячая клавиша HOME отключает vkbasalt)' - export PW_NO_ESYNC_INFO='Не использовать примитивы внутрипроцессной синхронизации на основе eventfd. (Рекомендуется не изменять значение)' - export PW_NO_FSYNC_INFO='Не использовать примитивы внутрипроцессной синхронизации на основе фьютексов. (Автоматически отключается в системах без FUTEX_WAIT_MULTIPLE поддержки) (Рекомендуется не изменять значение)' - export PW_USE_RAY_TRACING_INFO='Включить поддержку vkd3d - Ray Tracing' - export PW_FIX_VIDEO_IN_GAME_INFO='Требуется для воспроизведения видео в некоторых играх, чтобы оно не было искажено (обычно окрашено в розовый цвет)' - export PW_VULKAN_NO_ASYNC_INFO='Выключить асинхронные вызовы для режимов VULKAN и DXVK' - export PW_USE_NVAPI_AND_DLSS_INFO='Включить DLSS на поддерживаемых видеокартах NVIDIA' - export PW_OLD_GL_STRING_INFO='Принудительное использование старых версий OpenGL' - export PW_HIDE_NVIDIA_GPU_INFO='Замаскировать все функции используемые для видеокарт NVIDIA' - export PW_FORCE_USE_VSYNC_INFO='Принудительное включение вертикальной синхронизации' - export PW_VIRTUAL_DESKTOP_INFO='Включить запуск приложение в виртуальном рабочем столе WINE' - export PW_USE_TERMINAL_INFO='Запускать приложение в терминале' - export PW_HEAP_DELAY_FREE_INFO='Включить задержку освобождения некоторой памяти, чтобы обойти ошибки, связанные с использованием приложения после освобождения памяти.' - export PW_NO_WRITE_WATCH_INFO='Очень опасный способ взлома таймера записи в памяти в ntdll. Это улучшает производительность некоторых очень специфических игр. (Рекомендуется не изменять значение)' - export PW_GUI_DISABLED_CS_INFO='Отключить окно выбора режимов запуска и версии WINE' - export PW_USE_GSTREAMER_INFO='Использовать Gstreamer для вывода роликов в играх (поддержка WMF)' - export PW_FORCE_LARGE_ADDRESS_AWARE_INFO='Увеличивает ограничения на использование оперативной памяти для 32 битных приложений с двух до четырёх гигабайт' - export PW_USE_RUNTIME_INFO='Использовать контейнерный режим запуска (Рекомендуется не изменять значение)' - export PW_MANGOHUD_INFO='Использование мониторинга FPS и нагрузки системы (Включается и выключается сочитанием клавиш - правый Shift + F12)' - export PW_USE_GAMEMODE_INFO='Использование автоматической оптимизации системы для увеличения производительности в играх (при условии установленного пакета gamemode в системе)' - export PW_USE_WINE_DXGI_INFO='Принудительное использование встроенной библиотеки DXGI (в редких случаях решает проблемы с запуском игр под DX12)' - export PW_MANGOHUD_USER_CONF_INFO='Принудительное использование системных настроек MANGOHUD (GOverlay и т.п.)' - export PW_VKBASALT_USER_CONF_INFO='Принудительное использование системных настроек VKBASALT (GOverlay и т.п.)' - export PW_USE_D3D_EXTRAS_INFO='Включить принудительное использование сторонних библиотек DirectX' - export PW_USE_WINDOWS_7_INFO='Изменить версию WINDOWS 10 на WINDOWS 7 в префиксе' - export PW_USE_SHADER_CACHE_INFO='Использовать кеширование шейдеров средствами WINE (отключать только при наличии микрофризов в игре)' - export PW_WINE_FULLSCREEN_FSR_INFO='Работает во время использования любой версии ProtonGE в полноэкранном режиме при разрешении ниже стандартного для экрана' - export PW_USE_FAKE_DLSS_INFO='Включить транслятор DLSS в FSR 2 в играх DirectX 12 (проект CyberFSR2)' - export PW_USE_FAKE_DLSS_3_INFO='Включить транслятор DLSS в FSR 3 в играх DirectX 12 (Эксперементальный проект dlssg-to-fsr3)' - export PW_USE_EAC_AND_BE_INFO='Включить Easy Anti-Cheat and BattlEye Anti-Cheat (требуется если игра использует какой-то из этих античитов)' - export PW_REDUCE_PULSE_LATENCY_INFO='Уменьшить задержку pulseaudio для исправления прерывистого звука' - export PW_USE_US_LAYOUT_INFO='Принудительное использование английской раскладки (полезно для игр в которых управление верно работает исключительно на английской раскладке)' - export PW_RESTORE_RESOLUTION_INFO='Запомнить разрешение экрана при запуске игры и вернуть при закрытие (полезно для игр которые при закрытие меняют разрешение экрана)' - export PW_USE_SYSTEM_VK_LAYERS_INFO='Использовать системные mangohud, vkBasalt, obs-vkcapture и прочие приложения использующие vulkan layers' - export PW_USE_OBS_VKCAPTURE_INFO='Включить возможность записи в OBS Studio с помощью obs-vkcapture (ВНИМАНИЕ: будет включено принудительное использование системных mangohud, vkBasalt, obs-vkcapture и прочих приложений использующих vulkan layers)' - export PW_USE_GALLIUM_ZINK_INFO='Использовать драйвер zink (OpenGL поверх Vulkan), позволяет использовать vkBasalt в играх на OpenGL (ВНИМАНИЕ: необходима поддержка vulkan, используется wined3d (opengl) вместо dxvk, подходит для игр на OpenGL и старых версий DirectX, на более новых версиях DirectX возможны артефакты)' - export PW_DISABLE_COMPOSITING_INFO='Отключить композитинг (эффекты) рабочего стола. Зачастую улучшает производительность.' - - export PW_3DFX_INFO='Имитация старого графического ускорителя 3dfx (добавляет горизонтальные полосы)' - export PW_AdaptiveSharpen_INFO='Увеличение резкости, можно использовать совместно с CAS' - export PW_Bloom_INFO='Добавляет свечения от ярких источников света в игре' - export PW_Border_INFO='Обрезка изображения сверху и снизу (как в кино =)' - export PW_Cartoon_INFO='Сильное увеличение резкости краев текстур' - export PW_ChromaticAberration_INFO='Добавляет хроматические аберрации к изображению' - export PW_Clarity_INFO='Увеличение резкости текстур с небольшими модификациями контраста изображения (похож по эффекту на CAS)' - export PW_ColorMatrix_INFO='Добавление холодных цветов' - export PW_Colourfulness_INFO='Увеличение насыщенности цветов' - export PW_FakeHDR_INFO='Расширение динамического диапазона цветов' - export PW_FilmGrain2_INFO='Добавление эффекта зерна кинопленки' - export PW_Curves_INFO='Увеличивает контрастность изображения, при этом не трогая яркие и тёмные участки, чтобы не пропала детализация в тенях и небе' - export PW_Denoise_INFO='Уменьшение шумов за счет смазывания изображения' - export PW_Emphasize_INFO='Уменьшение разрядности цветопередачи' - export PW_FakeMotionBlur_INFO='Сильное размытие объектов в движении' - export PW_FilmicAnamorphSharpen_INFO='Увеличение резкости (рекомендую для мультяшных игр)' - export PW_FilmicPass_INFO='Добавление холодных цветов' - export PW_SMAA_INFO='Альтернативный вариант сглаживания (меньший эффект, но с меньшим потреблением ресурсов GPU, относительно стандартного SMAA)' - export PW_GaussianBlur_INFO='Небольшой эффект размытия ярких объектов (например пламя)' - export PW_Glitch_INFO='Эффект глючной картинки' - export PW_HighPassSharpen_INFO='Повышения резкости с использованием высокочастотных частот' - export PW_HQ4X_INFO='Сглаживание близлежащих пикселей с дорисовкой недостающих частей (в обычных играх картинка размывается)' - export PW_HSLShift_INFO='Усовершенствованный сдвиг HSL (для каждого оттенка)' - export PW_Layer_INFO="Наложение изображения на игру (изображение лежит в папке $PORT_WINE_TMP_PATH/libs_v$PW_LIBS_VER/pressure-vessel/reshade/textures)" - export PW_Levels_INFO='Увеличивает контрастность, но некоторые детали в тенях или бликах могут быть потеряны' - export PW_LevelsPlus_INFO='Тоже что и Levels, но с меньшей потерей деталей' - export PW_LiftGammaGain_INFO='Коррекция гаммы по отдельным цветовым каналам: красному, зелёному и синему' - export PW_LightDoF_INFO='Увеличивает глубину резкости (сильно влияет на FPS)' - export PW_LumaSharpen_INFO='Повышает резкость изображения для улучшения деталей' - export PW_LUT_INFO='Цветокорекция изображения' - export PW_MagicBloom_INFO='Тоже самое что Bloom, но более естественный' - export PW_Monochrome_INFO='Преобразует изображение в черно-белое' - export PW_MultiLUT_INFO='Расширенная версия LUT (предустановлен лут Hollywood)' - export PW_MXAO_INFO='Алгоритм SSAO (сильно влияет на FPS)' - export PW_NightVision_INFO='Эффект ночного зрения' - export PW_Nostalgia_INFO='Делает картинку похожей на старые фотографии' - export PW_PerfectPerspective_INFO='Эффект рыбьего глаза (подходит для VR)' - export PW_PPFX_Godrays_INFO='Объёмное рассеяние света' - export PW_Prism_INFO='Эффект призматической линзы' - export PW_ReflectiveBumpMapping_INFO='Создаёт иллюзию глубины текстур' - export PW_Sepia_INFO='Добавляет эффект сепии со старых фотографий' - export PW_Splitscreen_INFO='Разделяет изображение на необработанное и обработанный вывод для сравнения' - export PW_SurfaceBlur_INFO='Снижение детализации объектов без размытия контрастных контуров' - export PW_Technicolor_INFO='Делает картинку похожей на фильмы 1930 годов' - export PW_Technicolor2_INFO='Обновлённая версия Technicolor, даёт иную картинку, агрессивнее меняя цвета' - export PW_TiltShift_INFO='Размытие по краям экрана для создания эффекта миниатюры' - export PW_Tonemap_INFO='Изменяет насыщенность картинки' - export PW_TriDither_INFO='Уменьшает количество шумов' - export PW_UIDetect_INFO='Автоматически переключает эффекты в зависимости от видимости UI' - export PW_Vibrance_INFO='Насыщает блеклые цвета, не трогая яркие' - export PW_Vignette_INFO='Добавляет к изображению виньетку' - export PW_AspectRatio_INFO='Эффект для настройки соотношения сторон (для игр которые не поддерживают широкоформатные мониторы)' - export PW_UIMask_INFO='Часть общего шейдера ReShade . Он использует маску с градиентами от черного к белому, чтобы определить, где будут применены эффекты' - export PW_StageDepth_INFO='Позволяет добавлять новые элементы в 3d-пространство внутри игры и применять пользовательские текстуры' - export PW_PPFX_Bloom_INFO='Добавляет Bloom эффект' - - export ENABLE_MANGOHUD_INFO='Включите MangoHud по умолчанию (горячие клавиши R_SHIFT + F12 отключают MangoHud).' - export PW_MH_arch_INFO='Показывает, является ли приложение 32-разрядным или 64-разрядным' - export PW_MH_battery_INFO='Display current battery percent and energy consumption' - export PW_MH_battery_icon_INFO='Отображение текущего процента заряда батареи и энергопотребления' - export PW_MH_battery_time_INFO='Отображение оставшегося времени работы от аккумулятора' - export PW_MH_battery_watt_INFO='Отображать мощность для опции батареи' - export PW_MH_core_bars_INFO='Измените отображение core_load с цифр на вертикальные полосы' - export PW_MH_core_load_INFO='Отображать нагрузку и частоту на ядро' - export PW_MH_cpu_mhz_INFO='Показывает текущую частоту процессора в МГц' - export PW_MH_cpu_power_INFO='Отображать потребляемую процессором мощность в ваттах' - export PW_MH_cpu_temp_INFO='Отображение текущей температуры процессора' - export PW_MH_device_battery_icon_INFO='Отобразите значок батареи беспроводного устройства.' - export PW_MH_engine_short_names_INFO='Отобразите краткую версию используемого движка (например, OGL вместо OpenGL).' - export PW_MH_engine_version_INFO='Отображать версию OpenGL или vulkan и движков рендеринга на основе vulkan' - export PW_MH_exec_name_INFO='Отображать текущее имя исполняемого файла' - export PW_MH_fcat_INFO='Позволяет анализировать захват кадра' - export PW_MH_fps_metrics_INFO='Принимает список десятичных значений или значение avg, например avg,0,001' - export PW_MH_frame_count_INFO='Показывать FPS' - export PW_MH_full_INFO='Включите большинство переключаемых параметров (в настоящее время исключается гистограмма)' - export PW_MH_gamemode_INFO='Отображает активность gamemode' - export PW_MH_gpu_core_clock_INFO='Отображение частоты ядра графического процессора' - export PW_MH_gpu_fan_INFO='Скорость врашение кулеров графического процессора' - export PW_MH_gpu_junction_temp_INFO='Отображение текущей температуры графического процессора' - export PW_MH_gpu_mem_clock_INFO='Отображение частоты памяти графического процессора' - export PW_MH_gpu_mem_temp_INFO='Отображение текущей температуры графического процессора' - export PW_MH_gpu_name_INFO='Отобразить имя графического процессора из pci.ids' - export PW_MH_gpu_power_INFO='Отображение потребляемой мощности графического процессора в ваттах' - export PW_MH_gpu_temp_INFO='Отображение текущей температуры графического процессора' - export PW_MH_gpu_voltage_INFO='Отображение напряжения на графическом процессоре (работает только на графических процессорах AMD' - export PW_MH_histogram_INFO='Измените график FPS на гистограмму' - export PW_MH_horizontal_INFO='Отображение Mangohud в горизонтальном положении' - export PW_MH_horizontal_stretch_INFO='Растягивает фон до ширины экрана в горизонтальном режиме' - export PW_MH_hud_compact_INFO='Отображать компактную версию MangoHud' - export PW_MH_hud_no_margin_INFO='Удалите отступы вокруг MangoHud' - export PW_MH_io_read_INFO='Показать некэшированное чтение IO, в МБ/с' - export PW_MH_io_write_INFO='Показать некэшированные записи, в МБ/с' - export PW_MH_no_display_INFO='Скрыть MangoHud по умолчанию' - export PW_MH_no_small_font_INFO='Используйте основной размер шрифта для мелкого текста, например, единиц измерения' - export PW_MH_procmem_INFO='Отображает использование памяти процесса: resident, а также включает другие, если они отключены' - export PW_MH_procmem_shared_INFO='Отображает использование памяти процесса: shared' - export PW_MH_procmem_virt_INFO='Отображает использование памяти процесса: virtual' - export PW_MH_ram_INFO='Отображение использования оперативной памяти системы' - export PW_MH_resolution_INFO='Отображение текущего разрешения экрана' - export PW_MH_show_fps_limit_INFO='Отображение текущего ограничения FPS' - export PW_MH_swap_INFO='Отображение использования пространства для свопа рядом с использованием системной оперативной памяти' - export PW_MH_temp_fahrenheit_INFO='Показывать температуру в градусах Фаренгейта' - export PW_MH_throttling_status_INFO='Показывает, сбрасывает ли GPU мощность, ток, температуру или "другое" (показывает только, если сбрасывание происходит в данный момент). В настоящее время отключено по умолчанию для Nvidia, так как вызывает задержки на 3000-й серии.' - export PW_MH_throttling_status_graph_INFO='То же, что и throttling_status, но отображает throttling на графике времени кадра и только throttling мощности и температуры.' - export PW_MH_time_INFO='Отоброжение времени' - export PW_MH_version_INFO='Показать текущую версию MangoHud' - export PW_MH_vkbasalt_INFO='Показать включён ли vkBasalt' - export PW_MH_vram_INFO='Отображение использования VRAM' - export PW_MH_vulkan_driver_INFO='Отображает используемый драйвер vulkan (radv/amdgpu-pro/amdvlk)' - export PW_MH_frametime='Отображение времени кадра рядом FPS' - export PW_MH_wine_INFO='Показать используемую версию Wine или Proton' - - export PW_PFX_BACKUP_INFO="Внимание! Не передавайте резевную копию третьим лицам, есть риск потери аккаунтов" - export PW_PFX_BACKUP_SUCCESS="Успешно создана резервная копия префикса:" - export PW_PFX_BACKUP_ERROR="Произошла ошибка во время создания резервной копии префикса:" - - export loc_find_d3dadapter9_error="Не найден в системе.\nУстановите недостающий пакет: d3dadapter9" - - export loc_gui_create_shortcut_for_exe="Выберите .exe файл для которого необходимо создать ярлык и нажмите ОК.\n" - - export loc_gui_error='Ошибка.' - export loc_gui_error_download="Проверьте интернет соединение и\nнажмите Repeat для повторной попытки скачивания" - export loc_gui_settings="Пожалуйста подождите." - export loc_gui_sett_info="Обновление конфигурации PortProton..." - export loc_gui_edit_db="Изменение файла настроек для:" - export loc_gui_edit_db_help="ПРИМЕЧАНИЕ: Для вывода справки по каждому пункту, просто наведите курсор мыши на текст." - - export loc_cancel="ОТМЕНИТЬ" - export loc_gui_cancel="ОТМЕНИТЬ ИЗМЕНЕНИЯ" - export loc_gui_cancel_help="Отменить текущие изменения и вернутся в предыдущее меню." - - export loc_gui_reset_db="СБРОСИТЬ НАСТРОЙКИ" - export loc_gui_reset_db_help="Востановить все настройки по умолчанию." - - export loc_disabled="Отключено" - export loc_skip="ПРОПУСТИТЬ" - export loc_repeat="ПОВТОРИТЬ" - - export loc_gui_open_db="ОТКРЫТЬ ФАЙЛ НАСТРОЕК" - export loc_gui_open_db_help="Открыть файл настроек .ppdb в системном текстовом редакторе для просмотра и изменений переменных вручную." - - export loc_gui_save_changes="СОХРАНИТЬ ИЗМЕНЕНИЯ" - export loc_gui_save_changes_help="Сохранить текущие изменения, и перейти в предыдущее меню." - - export loc_gui_ver_windows="Изменить версию эмуляции WINDOWS" - export loc_gui_ver_windows_help="Изменение версии эмуляции WINDOWS может потребоваться для запуска старых игр. Версии WINDOWS ниже 10 не поддерживает новые игры с DirectX 12." - - export loc_gui_aut_winetricks="Автоматически установить с помощью WINETRICKS" - export loc_gui_aut_winetricks_help="Автоматически установить с помощью WINETRICKS дополнительных библиотек необходимых для запуска игры/программы. Список библиотек разделяются пробелами. (Пример есть в выпадающем списке)" - - export loc_gui_winedllover="Принудительно использовать/отключить библиотеки" - export loc_gui_winedllover_help="Принудительное использование/отключиение библиотеки только для даного приложения. (Примеры есть в выпадающем списке) - -Краткая инструкция: - * библиотеки пишутся БЕЗ расширения файлов .dll - * библиотеки разделяются точкой с запятой - ; - * библиотека=n - использовать библиотеку WINDOWS (сторонюю) - * библиотека=b - использовать библиотеку WINE (встроенную) - * библиотека=n,b - использовать WINDOWS библиотеку, а затем WINE - * библиотека=b,n - использовать библиотеку WINE, а затем WINDOWS - * библиотека= - отключить использование данной библиотеки" - - export loc_gui_arg_exe="Добавить аргумент после .exe файла" - export loc_gui_arg_exe_help="Добавление аргумента после .exe файла, так же как если бы вы добавили аргумент в ярлыке в системе WINDOWS " - - export loc_gui_mango_fps="Ограничить FPS" - export loc_gui_mango_fps_help="Включение ограничения количества кадров в секунду средстами MANGOHUD встроенного в PortProton" - - export loc_gui_arg_gamescope="Добавить аргументы для GAMESCOPE:" - export loc_gui_arg_gamescope_help="Аргументы: - --W, -H: установите разрешение, используемое game scope. Изменение размера окна gamescope обновит эти настройки. Если указано -H, а -W нет, предполагается соотношение сторон 16:9. По умолчанию установлено значение 1280×720. --w, -h: установите разрешение, используемое в игре. Если указано -h, а -w нет, предполагается соотношение сторон 16:9. По умолчанию используются значения, указанные в -W и -H. --r: установите ограничение частоты кадров для игры. По умолчанию значение неограниченно. --F fsr: используйте Fidelity FX Super Resolution 1.0 для увеличения масштаба. --F nis: используйте NVIDIA Image Scaling версии 1.0.3 для увеличения масштаба. --S integer: используйте целочисленное масштабирование. --S stretch: используйте масштабирование по ширине, игра заполнит окно. (например, с 4:3 до 16:9). --b: создайте окно без полей. --f: создайте полноэкранное окно." - - export loc_gui_opengl_version="Принудительно выбрать версию OpenGL для игры" - export loc_gui_opengl_version_help="Можно выбрать необходимую версию OpenGL, некоторым играм необходим принудительный Compatibility Profile (COMPAT). (Примеры есть в выпадающем списке)" - - export PW_USE_GAMESCOPE_INFO="Включение использования gamescope для запуска приложения. -Горячие клавиши: - -Super + F: Переключение полноэкранного режима -Super + N: Переключение фильтрации -Super + U: Переключение масштабирования на FSR -Super + Y: Переключение масштабирования на NIS -Super + I: Увеличение резкости FSR на 1 -Super + O: Уменьшение резкости FSR на 1 -Super + S: Сделайте снимок экрана (находится в /tmp/gamescope_DATE.png) -Super + G: Переключите захват клавиатуры -Super + C: Обновить буфер обмена" - - export loc_gui_cpu_limit="Ограничить использование ядер процессора" - export loc_gui_cpu_limit_help="Ограничения количества ядер процессора полезно для игр на движке Unity (Рекомендуется выставить значение равное 8)" - - export loc_gui_amd_vulkan_select="Изменить используемый драйвер vulkan для AMD" - export loc_gui_amd_vulkan_select_help="Выбор какая реализация vulkan будет использоваться для запуска игры" - - export loc_gui_gpu_select="Выбрать видеокарту для запуска игры (в user.conf)" - export loc_gui_gpu_select_help="Выбор какая видеокарта будет использоваться для запуска игры (используется для всех запускаемых игр и программ в PortProton.)" - - export loc_gui_check_new_wine="Проверяем новые версии WINE" - export loc_gui_check_new_wine_error="Не удается проверить новые версии WINE." - export loc_gui_set_new_wine="Выберите версию WINE для загрузки:" - export loc_gui_del_wine="Выберите версию WINE для удаления:" - export loc_gui_installed_wine="УСТАНОВЛЕННЫЕ" - - export loc_gui_ffx_cas="AMD FidelityFX - CAS предназначе для значительного улучшения резкости текстур без дополнительных установок модификаций для игр, с минимальной потерей производительности. (Для старых игр рекомендуется значение = 100)" - export loc_gui_disabled_vkbas="ВЫКЛЮЧИТЬ VKBASALT" - export loc_gui_disabled_vkbas_help="Выключить vkBasalt и перейти в предыдущее меню." - export loc_gui_vkbasalt_top="Настройки vkBasalt для добавления эффектов в играх работающих под Vulkan. (Клавиша HOME отключает vkbasalt)\nПРИМЕЧАНИЕ: Для вывода справки по каждому пункту, просто наведите курсор мыши на текст.\n" - - export loc_gui_disabled_mh="ВЫКЛЮЧИТЬ MANGOHUD" - export loc_gui_disabled_mh_help="Выключить MangoHud и перейти в предыдущее меню." - export loc_gui_mh_top="Настройки MangoHud (Клавиши R_SHIFT + F12 отключают MangoHud)\nПРИМЕЧАНИЕ: Для вывода справки по каждому пункту, просто наведите курсор мыши на текст.\n" - - export loc_gui_no="НЕТ" - export loc_gui_yes="ДА" - - export loc_gui_missing_shortcut="\nНе удалось найти файл:\n${portwine_exe}\n\nВНИМАНИЕ:\nЕсли вы забыли примонтировать диск с запускаемым приложением, нажмите ОТМЕНИТЬ!" - export loc_gui_create_shortcut="СОЗДАТЬ ЯРЛЫК" - export loc_gui_delete_shortcut="УДАЛИТЬ ЯРЛЫКИ" - export loc_gui_launch="ЗАПУСТИТЬ" - export loc_gui_debug="СОЗДАТЬ ЛОГ" - export loc_gui_edit_db_start="НАСТРОИТЬ" - export loc_gui_vkbasalt_start="VKBASALT" - export loc_gui_mh_start="MANGOHUD" - - export loc_gui_db_comments="Найден файл настроек PortProton для" - - export loc_gui_vulkan_stable="Стабильные DXVK ${DXVK_STABLE_VER} и VKD3D ${VKD3D_STABLE_VER}" - export loc_gui_vulkan_git="Новейшие DXVK ${DXVK_GIT_VER} и VKD3D ${VKD3D_GIT_VER}" - export loc_gui_gallium_nine="GALLIUM_NINE (DX9 для MESA)" - export loc_gui_open_gl="OPENGL (Для видеокарт без VULKAN)" - - export loc_gui_installing_the="Устанавливаем" - export loc_gui_please_wait="Пожалуйста подождите..." - - export loc_dolphin="Эмулятор для игровых консолей Nintendo с высокой совместимостью" - export loc_mame="Мультиаркадный эмулятор, позволяющий играть в старые аркадные игры" - export loc_scummvm="Эмулятор для классических квестовых игр от LucasArts и других студий" - export loc_retroarch="Многоплатформенный фронтенд для эмуляторов с обширными настройками" - export loc_ppsspp_windows="Windows - Эмулятор для игровой консоли PlayStation Portable (PSP)" - export loc_citra="Эмулятор для игровой консоли Nintendo 3DS" - export loc_cemu="Эмулятор для игровой консоли Wii U" - export loc_duckstation="Эмулятор для игровой консоли PlayStation 1" - export loc_epsxe="Эмулятор для игровой консоли PlayStation 1 с высокой совместимостью" - export loc_project64="Эмулятор для игровой консоли Nintendo 64" - export loc_vba_m="Эмулятор для игровой консоли Game Boy Advance" - export loc_yabause="Эмулятор для игровой консоли Sega Saturn" - export loc_xenia="Эмулятор для игровой консоли Xbox 360" - export loc_fceux=" Эмулятор для игровой консоли Nintendo Entertainment System (NES или Dendy)" - export loc_xemu="Эмулятор для игровой консоли Xbox" - export loc_demul="Эмулятор для игровой консоли Sega Dreamcast" - export loc_rpcs3="Эмулятор для игровой консоли PlayStation 3" - - export loc_prefix_manager_comp='Выберите компонент для установки в префикс:' - export loc_prefix_manager_font='Выберите шрифт для установки в префикс:' - export loc_prefix_manager_conf='Изменить дополнительные настройки префикса:' - export loc_prefix_manager_wine='используя wine:' - export loc_pm='МЕНЕДЖЕР ПРЕФИКСА' - export loc_pm_dlls='БИБЛИОТЕКИ' - export loc_pm_fonts='ШРИФТЫ' - export loc_pm_settings='НАСТРОЙКИ' - export loc_start_pfx_manager="Запускается менеджер префикса:" - - export loc_warn_cyrillic_in_path="Путь до исполняемого файла содержит кириллические символы.\nИногда это может привести к неработоспособности приложения." - - export loc_gui_terminal="ТЕРМИНАЛ" - export loc_gui_logo="ЛОГО" - - export FOUND_OLD_PP="Обнаружен PortProton, установленный скриптом. Желаете перенести все данные из него, в новую flatpak версию PortProton?" - export MOVED_OLD_PP="PortProton перенесен во flatpak. Все пути в ярлыках и в сторонних играх библиотеки стима исправлены на новые. Теперь вы можете удалить старый каталог:" - -elif [[ "${update_loc}" == "ENG" ]] ; then - - export loc_gui_pw_reinstall_pp="REINSTALL PortProton" - export loc_gui_rm_pp="REMOVE PortProton" - export loc_gui_upd_pp="UPDATE PortProton" - export loc_gui_changelog="CHANGELOG" - export loc_gui_change_loc="CHANGE LANGUAGE" - export loc_gui_edit_usc="EDIT USER.CONF" - export loc_gui_scripts_fb="SCRIPTS FROM BACKUP" - export loc_gui_credits="CREDITS" - - export loc_gui_clear_pfx="Clear prefix" - 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" - export loc_gui_wine_cmd="CMD" - export loc_gui_wine_reg="Reg edit" - - export loc_tray_winefile="WINEFILE" - export loc_tray_tascmng="TASKMNR" - export loc_tray_cangelog="CHANGE LOG" - export loc_tray_force_exit="FORCE EXIT" - - export loc_mg_autoinstall="AUTOINSTALL" - export loc_mg_emulators="EMULATORS" - export loc_mg_wine_settings="WINE SETTINGS" - export loc_mg_portproton_settings="PORTPROTON SETTINGS" - export loc_mg_installed="INSTALLED" - - export PW_CHANGELOG_FILE="changelog_eng" - export PW_SELECTION_DB_LOC="More than one DB file found for the application being launched.\nSelect the required one, or delete the extra DB file before the next run.\n" - - export inst_set="Choices" - export inst_set_top="Instaling PortProton" - export sc_info="The shortcut will be created in the PortProton directory." - export sc_name="Name" - export sc_menu_desktop="Add shortcut to MENU -> GAMES" - export sc_desktop_desktop="Add shortcut to Desktop" - export sc_add_in_steam="Add shortcut to STEAM library" - export sc_restert_steam="For adding shortcut to STEAM, needed restart.\n\nRestart STEAM now?" - - export inst_succ="The installation was successful." - - export port_upd1="New update for PortProton" - export port_upd2="On linux-gaming.ru site published an update for PortProton\n" - export port_upd3="Action:" - export port_upd4="Go to the website" - export port_upd5="Remind me later" - export port_upd6="Do not remind me" - - export scripts_upd1="New update for scripts" - export scripts_upd2="Scripts update avialable for PortProton" - export scripts_upd3="EXIT" - export scripts_upd4="UPDATING NOW" - export scripts_upd5="REMIND ME LATER" - export scripts_upd6="DO NOT REMIND ME" - - export port_clear_pfx="Do you want to clear prefix in PortProton?" - - export port_del1="Remove PortProton" - export port_del2="Do you really want to remove PortProton?" - - export port_reinstall="Do you really want to reinstall PortProton?\nFor this, an internet connection will be required." - - export port_deb1="PortProton was launched in creation mode PortProton.log and it is successfully stored in the root directory of the port" - export port_deb2="To diagnose the problem, copy ALL of the log to discord server: https://discord.gg/FTaheP99wE" - - export port_start1="Starting the PortProton" - export port_start2="In what mode you want to start the PortProton?" - export port_start3="Mode:" - export port_start4="Normal" - export port_start5="Individual X-Session" - export port_start6="Create LOG-file" - export port_start7="Run winetricks" - export port_start8="DXVK" - - export port_debug="Please wait! After finishing the PortProton, click STOP." - - export loc_create_shortcut_from_gui="Create shortcut..." - export loc_create_shortcut="Create shortcut for select file..." - export loc_delete_shortcut="Delete shortcut for select file..." - export loc_debug="Launch with the creation of a .log file at the root PortProton" - export loc_launch="Run file ..." - export loc_winecfg="Run winecfg to edit the settings of the selected prefix" - export loc_winefile="Run wine file manager" - export loc_winecmd="Run wine cmd" - export loc_winereg="Run wine regedit" - export loc_wineuninstaller="Run the program uninstaller built into wine" - export loc_winetricks="Run winetricks to install additional libraries to the selected prefix" - export loc_edit_db="Edit database file for" - export loc_download_other_wine="Open the menu to download other versions of WINE-PROTON " - export loc_downloading="Downloading" - - export loc_clear_pfx="Clear the prefix to fix problems" - - export loc_gui_dll_new_pfx="Do you want to installing recommended libraries in the new prefix: " - - export loc_gui_portproton_lock='A running PortProton session was detected.\nDo you want to end the previous session?' - - export ENABLE_VKBASALT_INFO='Enable vkBasalt by default to improve graphics in games running on Vulkan. (The HOME hotkey disables vkbasalt)' - export PW_NO_ESYNC_INFO='Do not use in-process synchronization primitives based on eventfd. (It is recommended not to change the value.)' - export PW_NO_FSYNC_INFO='Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems without FUTEX_WAIT_MULTIPLE support) (It is recommended not to change the value)' - export PW_USE_RAY_TRACING_INFO='Enable vkd3d support - Ray Tracing' - export PW_FIX_VIDEO_IN_GAME_INFO='Required for video playback in some games so that it is not distorted (usually colored pink)' - export PW_VULKAN_NO_ASYNC_INFO='Disable asynchronous calls for VULKAN and DXVK modes' - export PW_USE_NVAPI_AND_DLSS_INFO='Enable DLSS on supported NVIDIA graphics cards' - export PW_OLD_GL_STRING_INFO='Forced use of older versions of OpenGL' - export PW_HIDE_NVIDIA_GPU_INFO='Disguise all features used for NVIDIA graphics cards' - export PW_FORCE_USE_VSYNC_INFO='Forced activation of vertical sync' - export PW_VIRTUAL_DESKTOP_INFO='Enable the application to run in the WINE virtual desktop' - export PW_USE_TERMINAL_INFO='Run the application in the terminal' - export PW_HEAP_DELAY_FREE_INFO='Include a delay in releasing some memory to bypass errors associated with using the application after the memory is released' - export PW_NO_WRITE_WATCH_INFO='A very dangerous way to hack the memory write timer in ntdll. This improves the performance of some very specific games. (It is recommended not to change the value.)' - export PW_GUI_DISABLED_CS_INFO='Disable the window for selecting startup modes and WINE versions' - export PW_USE_GSTREAMER_INFO='Use Gstreamer to output clips in games (WMF support)' - export PW_FORCE_LARGE_ADDRESS_AWARE_INFO='Increases RAM usage limits for 32-bit applications from two to four gigabytes' - export PW_USE_RUNTIME_INFO='Use container launch mode (It is recommended not to change the value)' - export PW_MANGOHUD_INFO='Using FPS and system load monitoring (Turns on and off by the key combination - right Shift + F12)' - export PW_USE_GAMEMODE_INFO='Using automatic system optimization to improve performance in games (provided the gamemode package is installed on the system)' - export PW_USE_WINE_DXGI_INFO='Forced use of built-in DXGI library (in rare cases it solves problems with DX12 games)' - export PW_MANGOHUD_USER_CONF_INFO='Forced use of MANGOHUD system settings (GOverlay, etc.)' - export PW_VKBASALT_USER_CONF_INFO='Forced use of VKBASALT system settings (GOverlay, etc.)' - export PW_USE_D3D_EXTRAS_INFO='Enable forced use of third-party DirectX libraries' - export PW_USE_WINDOWS_7_INFO='Change the version of WINDOWS 10 to WINDOWS 7 in the prefix' - export PW_USE_SHADER_CACHE_INFO='Use WINE shader caching (disable only if there are microfreezes in the game)' - export PW_WINE_FULLSCREEN_FSR_INFO='Works while using any version of ProtonGE in full screen mode at a resolution below the standard screen' - export PW_USE_FAKE_DLSS_INFO='Enable DLSS translator in FSR 2 in DirectX 12 games (CyberFSR2)' - export PW_USE_FAKE_DLSS_3_INFO='Enable DLSS translator in FSR 3 in DirectX 12 games (Experimental project dlssg-to-fsr3)' - export PW_USE_EAC_AND_BE_INFO='Enable Easy Anti-Cheat and BattlEye Anti-Cheat runtimes (required if game used this anti-cheats)' - export PW_REDUCE_PULSE_LATENCY_INFO='Reduce pulseaudio latency to fix intermittent sound' - export PW_USE_US_LAYOUT_INFO='Forced use of the us layout (useful for games in which the control works correctly only on the us layout)' - export PW_RESTORE_RESOLUTION_INFO='Remember the screen resolution when starting the game and return it when closing (useful for games that change the screen resolution when closing)' - export PW_USE_SYSTEM_VK_LAYERS_INFO='Use system mangohud, vkBasalt, obs-vkcapture and other applications using vulkan layers' - export PW_USE_OBS_VKCAPTURE_INFO='Enable the ability to write to OBS Studio using obs-vkcapture (ATTENTION: the forced use of system mangohud, vkBasalt, obs-vkcapture and other applications using vulkan layers will be enabled)' - export PW_USE_GALLIUM_ZINK_INFO='Use the zink driver (OpenGL on top of Vulkan), allows you to use vkBasalt in OpenGL games (ATTENTION: vulkan support is required, wined3d (opengl) is used instead of dxvk, suitable for games on OpenGL and older versions of DirectX, artifacts are possible on newer versions of DirectX)' - export PW_DISABLE_COMPOSITING_INFO='Disable desktop compositing (effects). It often improves performance.' - - export PW_3DFX_INFO='Simulation of an old 3dfx graphics accelerator (adds horizontal stripes)' - export PW_AdaptiveSharpen_INFO='Sharpness increase, can be used with CAS' - export PW_Bloom_INFO='Adds glow from bright light sources in the game' - export PW_Border_INFO='Cropping the image from the top and bottom (like in a movie =)' - export PW_Cartoon_INFO='Strong sharpening of texture edges' - export PW_ChromaticAberration_INFO='Adds chromatic aberration to an image' - export PW_Clarity_INFO='Sharpening textures with slight modifications of image contrast (similar in effect to CAS)' - export PW_ColorMatrix_INFO='Adding cool colors' - export PW_Colourfulness_INFO='Increasing color saturationIncreasing color saturation' - export PW_FakeHDR_INFO='Add fake HDR' - export PW_FilmGrain2_INFO='Adding the film grain effect' - export PW_Curves_INFO='Increases the contrast of the image without affecting the bright and dark areas, so that the detail in shadows and sky is not lost' - export PW_Denoise_INFO='Reducing noise by blurring the image' - export PW_Emphasize_INFO='Reducing the bit depth of color' - export PW_FakeMotionBlur_INFO='Strong blurring of objects in motion' - export PW_FilmicAnamorphSharpen_INFO='Sharpening (recommended for cartoon games)' - export PW_FilmicPass_INFO='Adding cold colors' - export PW_SMAA_INFO='Alternative antialiasing option (less effect, but with less consumption of GPU resources, relative to the standard SMAA)' - export PW_GaussianBlur_INFO='Slight blur effect on bright objects (such as flames)' - export PW_Glitch_INFO='Glitch effect' - export PW_HighPassSharpen_INFO='Another method of sharpening using highpass frequencies' - export PW_HQ4X_INFO='Smoothing of nearby pixels with the drawing of missing parts (in normal games the picture is blurred)' - export PW_HSLShift_INFO='Advanced HSL shift (for each shade)' - export PW_Layer_INFO="Image overlay on the game (the image is in the $PORT_WINE_TMP_PATH/libs_v$PW_LIBS_VER/pressure-vessel/reshade/textures folder)" - export PW_Levels_INFO='Increases contrast, but some detail in shadows or highlights may be lost' - export PW_LevelsPlus_INFO='Same as Levels, but with less loss of detail' - export PW_LiftGammaGain_INFO='Gamma correction by individual color channels: red, green and blue' - export PW_LightDoF_INFO='Increases depth of field (greatly affects FPS)' - export PW_LumaSharpen_INFO='Enhances image sharpness for improved detail' - export PW_LUT_INFO='Image color correction' - export PW_MagicBloom_INFO='Same as Bloom, but more natural' - export PW_Monochrome_INFO='Converts the image into monochrome' - export PW_MultiLUT_INFO='Extended version of the LUT (Hollywood loot is pre-installed)' - export PW_MXAO_INFO='SSAO algorithm (Greatly affects FPS)' - export PW_NightVision_INFO='Night vision effect' - export PW_Nostalgia_INFO='Makes the picture look like old photos' - export PW_PerfectPerspective_INFO='Fisheye effect (suitable for VR)' - export PW_PPFX_Godrays_INFO='Add God rays (also called 3D light rays) effect' - export PW_Prism_INFO='The prismatic lens effect' - export PW_ReflectiveBumpMapping_INFO='Creates the illusion of depth in textures' - export PW_Sepia_INFO='Adds a sepia effect like in old photos' - export PW_Splitscreen_INFO='Splits the image into raw and processed output for comparison' - export PW_SurfaceBlur_INFO='Reducing object detail without blurring contrast contours' - export PW_Technicolor_INFO='Makes the picture look like films from the 1930s' - export PW_Technicolor2_INFO='The updated version of Technicolor, gives a different picture by changing colors more aggressively' - export PW_TiltShift_INFO='Blur on the edges of the screen to create a Tilt Shift effect' - export PW_Tonemap_INFO='Changes the saturation of the picture' - export PW_TriDither_INFO='Reduces the amount of noise' - export PW_UIDetect_INFO='Automatically switches effects depending on the visibility of the UI' - export PW_Vibrance_INFO='Saturates faded colors without touching the bright ones' - export PW_Vignette_INFO='Adds a vignette to the image' - export PW_AspectRatio_INFO='An effect for adjusting the aspect ratio (for games that do not support widescreen monitors)' - export PW_UIMask_INFO='Part of the overall ReShade shader . It uses a mask with gradients from black to white to determine where the effects will be applied' - export PW_StageDepth_INFO='Allows you to add new elements to the 3d space inside the game and apply custom textures' - export PW_PPFX_Bloom_INFO='Adds a Bloom effect' - - export ENABLE_MANGOHUD_INFO='Включите MangoHud по умолчанию (горячие клавиши R_SHIFT + F12 отключают MangoHud)' - export PW_MH_arch_INFO='Show if the application is 32- or 64-bit' - export PW_MH_battery_INFO='Display current battery percent and energy consumption' - export PW_MH_battery_icon_INFO='Display battery icon instead of percent' - export PW_MH_battery_time_INFO='Display remaining time for battery option' - export PW_MH_battery_watt_INFO='Display wattage for the battery option' - export PW_MH_core_bars_INFO='Change the display of core_load from numbers to vertical bars' - export PW_MH_core_load_INFO='Display load & frequency per core' - export PW_MH_cpu_mhz_INFO='Show the CPUs current MHz' - export PW_MH_cpu_power_INFO='Display CPU draw in watts' - export PW_MH_cpu_temp_INFO='Display current CPU temperature' - export PW_MH_device_battery_icon_INFO='Display wirless device battery icon.' - export PW_MH_engine_short_names_INFO='Display a short version of the used engine (e.g. OGL instead of OpenGL)' - export PW_MH_engine_version_INFO='Display OpenGL or vulkan and vulkan-based render engines version' - export PW_MH_exec_name_INFO='Display current exec name' - export PW_MH_fcat_INFO='Enables frame capture analysis' - export PW_MH_fps_metrics_INFO='Takes a list of decimal values or the value avg, e.g avg,0.001' - export PW_MH_frame_count_INFO='Display frame count' - export PW_MH_full_INFO='Enable most of the toggleable parameters (currently excludes histogram)' - export PW_MH_gamemode_INFO='Show if GameMode is on' - export PW_MH_gpu_core_clock_INFO='Display GPU core frequency' - export PW_MH_gpu_fan_INFO='GPU fan in rpm on AMD, FAN in percent on NVIDIA' - export PW_MH_gpu_junction_temp_INFO='Display current GPU temperature' - export PW_MH_gpu_mem_clock_INFO='Display GPU memory frequency' - export PW_MH_gpu_mem_temp_INFO='Display current GPU temperature' - export PW_MH_gpu_name_INFO='Display GPU name from pci.ids' - export PW_MH_gpu_power_INFO='Display GPU draw in watts' - export PW_MH_gpu_temp_INFO='Display current GPU temperature' - export PW_MH_gpu_voltage_INFO='Display GPU voltage (only works on AMD GPUs)' - export PW_MH_histogram_INFO='Change FPS graph to histogram' - export PW_MH_horizontal_INFO='Display Mangohud in a horizontal position' - export PW_MH_horizontal_stretch_INFO='Stretches the background to the screens width in horizontal mode' - export PW_MH_hud_compact_INFO='Display compact version of MangoHud' - export PW_MH_hud_no_margin_INFO='Remove margins around MangoHud' - export PW_MH_io_read_INFO='Show non-cached IO read, in MiB/s' - export PW_MH_io_write_INFO='Show non-cached IO write, in MiB/s' - export PW_MH_no_display_INFO='Hide the HUD by default' - export PW_MH_no_small_font_INFO='Use primary font size for smaller text like units' - export PW_MH_procmem_INFO='Displays process memory usage: resident procmem (resident) also toggles others off if disabled' - export PW_MH_procmem_shared_INFO='Displays process memory usage: shared' - export PW_MH_procmem_virt_INFO='Displays process memory usage: virtual' - export PW_MH_ram_INFO='Display system RAM usage' - export PW_MH_resolution_INFO='Display the current resolution' - export PW_MH_show_fps_limit_INFO='Display the current FPS limit' - export PW_MH_swap_INFO='Display swap space usage next to system RAM usage' - export PW_MH_temp_fahrenheit_INFO='Show temperature in Fahrenheit' - export PW_MH_throttling_status_INFO='Show if GPU is throttling based on Power, current, temp or "other" (Only shows if throttling is currently happening). Currently disabled by default for Nvidia as it causes lag on 3000 series' - export PW_MH_throttling_status_graph_INFO='Same as throttling_status but displays throttling in the frametime graph and only power and temp throttling' - export PW_MH_time_INFO='Display local time' - export PW_MH_version_INFO='Show current MangoHud version' - export PW_MH_vkbasalt_INFO='Show if vkBasalt is on' - export PW_MH_vram_INFO='Display system VRAM usage' - export PW_MH_vulkan_driver_INFO='Display used Vulkan driver (radv/amdgpu-pro/amdvlk)' - export PW_MH_frametime='Display frametime next to FPS text' - export PW_MH_wine_INFO='Show current Wine or Proton version in use' - - export PW_PFX_BACKUP_INFO="Attention! Do not pass the resev copy to third parties, there is a risk of losing accounts" - export PW_PFX_BACKUP_SUCCESS="Backup has been successfully created for prefix:" - export PW_PFX_BACKUP_ERROR="An error occurred while backing up the prefix:" - - export loc_find_d3dadapter9_error="Not found in the system.\nInstall the missing package: d3dadapter9" - - export loc_gui_create_shortcut_for_exe="Choose the .exe file for which you need to create a shortcut and click OK.\n" - - export loc_gui_error='Error.' - export loc_gui_error_download="You will need to check internet connection,and\npress Repeat for repeat download" - export loc_gui_settings="Please wait." - export loc_gui_sett_info="Updating configuration for PortProton..." - export loc_gui_edit_db="Change settings in database file for" - export loc_gui_edit_db_help="NOTE: To display help for each item, simply hover your mouse over the text" - - export loc_cancel="CANCEL" - export loc_gui_cancel="CANCEL THE CHANGES" - export loc_gui_cancel_help="Cancel the current changes and return to the previous menu." - - - export loc_gui_reset_db="RESET SETTINGS" - export loc_gui_reset_db_help="Restore default settings." - - export loc_disabled="Disabled" - export loc_skip="SKIP" - export loc_repeat="REPEAT" - - export loc_gui_open_db="OPEN THE SETTINGS FILE" - export loc_gui_open_db_help="Open the .ppdb settings file in a system text editor to view and change variables manually." - - export loc_gui_save_changes="SAVE CHANGES" - export loc_gui_save_changes_help="Save the current changes, and go to the previous menu." - - export loc_gui_ver_windows="Change the version of WINDOWS emulation" - export loc_gui_ver_windows_help="Changing the WINDOWS emulation version may be required to run older games. WINDOWS versions below 10 do not support new games with DirectX 12" - - - export loc_gui_aut_winetricks="AUTOINSTALL WITH WINETRICKS" - export loc_gui_aut_winetricks_help="Automatically install with WINETRICKS additional libraries required to run the game/program. List of libraries separated by spaces" - - export loc_gui_winedllover="Forced to use/disable libraries" - export loc_gui_winedllover_help="Forced to use/disable the library only for the given application. (There are examples in the drop-down list) - -A brief instruction: - * libraries are written WITHOUT the .dll file extension - * libraries are separated by semicolons - ; - * library=n - use the WINDOWS (third-party) library - * library=b - use WINE (built-in) library - * library=n,b - use WINDOWS library and then WINE - * library=b,n - use WINE library and then WINDOWS - * library= - disable the use of this library" - - export loc_gui_arg_exe="ADD ARGUMENTS FOR .EXE FILE" - export loc_gui_arg_exe_help="Adding an argument after the .exe file, just like you would add an argument in a shortcut on a WINDOWS system" - - export loc_gui_mango_fps="MANGOHUD FPS LIMIT" - export loc_gui_mango_fps_help="Enabling FPS limits using MANGOHUD built into PortProton" - - export loc_gui_arg_gamescope="Add arguments for GAMESCOPE:" - export loc_gui_arg_gamescope_help=" --W, -H: set the resolution used by gamescope. Resizing the gamescope window will update these settings. Ignored in embedded mode. If -H is specified but -W isn't, a 16:9 aspect ratio is assumed. Defaults to 1280×720. --w, -h: set the resolution used by the game. If -h is specified but -w isn't, a 16:9 aspect ratio is assumed. Defaults to the values specified in -W and -H. --r: set a frame-rate limit for the game. Specified in frames per second. Defaults to unlimited. --o: set a frame-rate limit for the game when unfocused. Specified in frames per second. Defaults to unlimited. --F fsr: use AMD FidelityFX™ Super Resolution 1.0 for upscaling. --F nis: use NVIDIA Image Scaling v1.0.3 for upscaling. --S integer: use integer scaling. --S stretch: use stretch scaling, the game will fill the window. (e.g. 4:3 to 16:9). --b: create a border-less window. --f: create a full-screen window." - - export loc_gui_opengl_version="Forcibly select the OpenGL version for the game" - export loc_gui_opengl_version_help="You can select the required OpenGL version, some games require a forced Compatibility Profile (COMPAT). (Examples are in the drop-down list)" - - export PW_USE_GAMESCOPE_INFO=" -Super + F : Toggle fullscreen -Super + N : Toggle nearest neighbour filtering -Super + U : Toggle FSR upscaling -Super + Y : Toggle NIS upscaling -Super + I : Increase FSR sharpness by 1 -Super + O : Decrease FSR sharpness by 1 -Super + S : Take screenshot (currently goes to /tmp/gamescope_DATE.png) -Super + G : Toggle keyboard grab -Super + C : Update clipboard" - - export loc_gui_cpu_limit="Limit the use of processor cores" - export loc_gui_cpu_limit_help="Limiting the number of CPU cores is useful for Unity games (It is recommended to set the value equal to 8)" - - export loc_gui_amd_vulkan_select="Select needed AMD vulkan implementation" - export loc_gui_amd_vulkan_select_help="Choosing which implementation of vulkan will be used to run the game" - - export loc_gui_gpu_select="Choose a graphics card to run the game (in user.conf)" - export loc_gui_gpu_select_help="Select which video card will be used to run the game (used for all running games and programs in PortProton)" - - export loc_gui_check_new_wine="Check new version WINE" - export loc_gui_check_new_wine_error="Error: check wine." - export loc_gui_set_new_wine="Select WINE for download:" - export loc_gui_del_wine="Select installed WINE for delete:" - export loc_gui_installed_wine="INSTALLED" - - export loc_gui_ffx_cas="AMD FidelityFX - CAS is designed to dramatically improve texture sharpness without additional modification settings for games, with minimal loss of performance. (For older games it is recommended to set value = 100)" - export loc_gui_disabled_vkbas="DISABLE VKBASALT" - export loc_gui_disabled_vkbas_help="Disable vkBasalt and go to the previous menu." - - export loc_gui_disabled_mh="DISABLE MANGOHUD" - export loc_gui_disabled_mh_help="Disable MangoHud and go to the previous menu." - export loc_gui_mh_top="MangoHud settings (Keys R_SHIFT + F12 disable MangoHud)\nnote: To display help for each item, just hover the mouse cursor over the text.\n" - - export loc_gui_no="NO" - export loc_gui_yes="YES" - - export loc_gui_missing_shortcut="\nCould not find the file:\n${portwine_exe}\n\nATTENTION:\nIf you forgot to mount the disk with the running application, click CANCEL!" - export loc_gui_create_shortcut="CREATE SHORTCUT" - export loc_gui_delete_shortcut="DELETE SHORTCUT" - export loc_gui_launch="LAUNCH" - export loc_gui_debug="DEBUG" - export loc_gui_edit_db_start="EDIT DB" - export loc_gui_vkbasalt_start="VKBASALT" - export loc_gui_mh_start="MangoHud" - - export loc_gui_vkbasalt_top="vkBasalt settings for adding effects to games running under Vulkan. (The HOME key disables vkbasalt)\nNOTE: To display help for each item, simply hover over the text\n" - - export loc_gui_db_comments="PortProton database file was found for" - - export loc_gui_vulkan_stable="Stable DXVK ${DXVK_STABLE_VER} и VKD3D ${VKD3D_STABLE_VER}" - export loc_gui_vulkan_git="Newest DXVK ${DXVK_GIT_VER} и VKD3D ${VKD3D_GIT_VER}" - export loc_gui_gallium_nine="GALLIUM_NINE (DX9 for MESA)" - export loc_gui_open_gl="OPENGL (For video cards without VULKAN)" - - export loc_gui_installing_the="Installing the" - export loc_gui_please_wait="Please wait..." - - export loc_dolphin="Emulator for Nintendo game consoles with high compatibility" - export loc_mame="Multi-arcade emulator that allows you to play old arcade games" - export loc_scummvm="Emulator for classic adventure games from LucasArts and other studios" - export loc_retroarch="Multi-platform frontend for emulators with extensive settings" - export loc_ppsspp_windows="Windows - Emulator for the PlayStation Portable (PSP) game console" - export loc_citra="Emulator for the Nintendo 3DS game console" - export loc_cemu="Emulator for the Wii U game console" - export loc_duckstation="Emulator for the PlayStation 1 game console" - export loc_epsxe="Emulator for the PlayStation 1 game console with high compatibility" - export loc_project64="Emulator for the Nintendo 64 game console" - export loc_vba_m="Emulator for the Game Boy Advance game console" - export loc_yabause="Emulator for the Sega Saturn game console" - export loc_xenia="Emulator for the Xbox 360 game console" - export loc_fceux="Emulator for the Nintendo Entertainment System (NES or Dendy) game console" - export loc_xemu="Emulator for the Xbox game console" - export loc_demul="Emulator for the Sega Dreamcast game console" - export loc_rpcs3="Emulator for the PlayStation 3 game console" - - export loc_prefix_manager_comp='Select components to install in prefix:' - export loc_prefix_manager_font='Select fonts to install in prefix:' - export loc_prefix_manager_conf='Change config for prefix:' - export loc_prefix_manager_wine='using wine:' - export loc_pm='PREFIX MANAGER' - export loc_pm_dlls='DLLS' - export loc_pm_fonts='FONTS' - export loc_pm_settings='SETTINGS' - export loc_start_pfx_manager="Starting prefix manager:" - - export loc_warn_cyrillic_in_path="The path to the executable file contains Cyrillic characters.\nSometimes this can cause the application to malfunction." - - export loc_gui_terminal="TERMINAL" - export loc_gui_logo="LOGO" - - export FOUND_OLD_PP="PortProton installed by script has been detected. Do you want to transfer all the data from it to the new flatpak version of PortProton?" - export MOVED_OLD_PP="PortProton has been moved to flatpak. You can now remove the old directory:" - -fi diff --git a/data_from_portwine/scripts/setup.sh b/data_from_portwine/scripts/setup.sh index a646264..457127d 100755 --- a/data_from_portwine/scripts/setup.sh +++ b/data_from_portwine/scripts/setup.sh @@ -45,7 +45,7 @@ if check_flatpak \ && [[ -f "${HOME}/.local/share/applications/PortProton.desktop" ]] ; then PORT_WINE_OLD_PATH="$(cat "${HOME}/.local/share/applications/PortProton.desktop" | grep "Exec=" | awk -F'env ' '{print $2}' | awk -F'/data/scripts/' '{print $1}')" if [[ -d "$PORT_WINE_OLD_PATH" ]] \ - && yad_question "$FOUND_OLD_PP" + && yad_question "$(eval_gettext "PortProton installed by script has been detected. Do you want to transfer all the data from it to the new flatpak version of PortProton?")" then pw_start_progress_bar_block "$loc_gui_settings" @@ -92,7 +92,7 @@ if check_flatpak \ done fi pw_stop_progress_bar - yad_info "${MOVED_OLD_PP} ${PORT_WINE_OLD_PATH}" + yad_info "$(eval_gettext "PortProton has been moved to flatpak. You can now remove the old directory:") ${PORT_WINE_OLD_PATH}" fi fi diff --git a/data_from_portwine/scripts/start.sh b/data_from_portwine/scripts/start.sh index 14fe57d..1ad787d 100755 --- a/data_from_portwine/scripts/start.sh +++ b/data_from_portwine/scripts/start.sh @@ -43,6 +43,10 @@ fi cd "$(dirname "$(readlink -f "$0")")" && export PORT_SCRIPTS_PATH="$(pwd)" cd "${PORT_SCRIPTS_PATH}/../../" && export PORT_WINE_PATH="$(pwd)" + +. gettext.sh +export TEXTDOMAIN="PortProton" +export TEXTDOMAINDIR="${PORT_WINE_PATH}/data/locales" . "${PORT_SCRIPTS_PATH}/functions_helper" create_new_dir "${HOME}/.local/share/applications" @@ -108,7 +112,7 @@ if command -v xrandr &>/dev/null ; then export PW_SCREEN_RESOLUTION="$(xrandr | sed -rn 's/^.*primary.* ([0-9]+x[0-9]+).*$/\1/p')" export PW_SCREEN_PRIMARY="$(xrandr | grep "primary" | awk '{print $1}')" elif [[ $(xrandr | grep -w "connected" | awk '{print $1}') ]] ; then - # xrand not print primary on XFCE + # xrand не выводит primary в XFCE export PW_SCREEN_RESOLUTION="$(xrandr | sed -rn 's/^.* connected.* ([0-9]+x[0-9]+).*$/\1/p')" export PW_SCREEN_PRIMARY="$(xrandr | grep -w "connected" | awk '{print $1}')" fi @@ -125,7 +129,7 @@ export PW_PLUGINS_PATH="${PORT_WINE_TMP_PATH}/plugins${PW_PLUGINS_VER}" export PW_GUI_ICON_PATH="${PORT_WINE_PATH}/data/img/gui" export PW_GUI_THEMES_PATH="${PORT_WINE_PATH}/data/themes" -. "${PORT_SCRIPTS_PATH}"/lang +change_locale export urlg="https://linux-gaming.ru/portproton/" export url_cdn="https://cdn.linux-gaming.ru" @@ -178,7 +182,7 @@ export VULKAN_DRIVER_NAME="$("$PW_VULKANINFO_PORTABLE" 2>/dev/null | grep driver if [[ -f "/tmp/portproton.lock" ]] ; then print_warning "Found lock file: /tmp/portproton.lock" - yad_question "$loc_gui_portproton_lock" || exit 0 + yad_question "$(eval_gettext 'A running PortProton session was detected.\nDo you want to end the previous session?')" || exit 0 fi touch "/tmp/portproton.lock" rm_lock_file () { @@ -193,7 +197,7 @@ else pw_download_libs fi pw_init_db -. "${PORT_SCRIPTS_PATH}"/lang +change_locale pw_check_and_download_dxvk_and_vkd3d . "${USER_CONF}" @@ -306,14 +310,14 @@ done check_nvidia_rtx && check_variables PW_VULKAN_USE "2" case "${PW_VULKAN_USE}" in - 0) export PW_DEFAULT_VULKAN_USE="${loc_gui_open_gl}!${loc_gui_vulkan_stable}!${loc_gui_vulkan_git}!${loc_gui_gallium_nine}" ;; - 1) export PW_DEFAULT_VULKAN_USE="${loc_gui_vulkan_stable}!${loc_gui_vulkan_git}!${loc_gui_open_gl}!${loc_gui_gallium_nine}" ;; - 3) export PW_DEFAULT_VULKAN_USE="${loc_gui_gallium_nine}!${loc_gui_vulkan_stable}!${loc_gui_vulkan_git}!${loc_gui_open_gl}" ;; - *) export PW_DEFAULT_VULKAN_USE="${loc_gui_vulkan_git}!${loc_gui_vulkan_stable}!${loc_gui_open_gl}!${loc_gui_gallium_nine}" ;; + 0) export PW_DEFAULT_VULKAN_USE="$(eval_gettext "OPENGL (For video cards without VULKAN)")!$(eval_gettext "Stable DXVK ${DXVK_STABLE_VER}, VKD3D ${VKD3D_STABLE_VER}")!$(eval_gettext "Newest DXVK ${DXVK_GIT_VER}, VKD3D ${VKD3D_GIT_VER}")!$(eval_gettext "GALLIUM_NINE (DX9 for MESA)")" ;; + 1) export PW_DEFAULT_VULKAN_USE="$(eval_gettext "Stable DXVK ${DXVK_STABLE_VER}, VKD3D ${VKD3D_STABLE_VER}")!$(eval_gettext "Newest DXVK ${DXVK_GIT_VER}, VKD3D ${VKD3D_GIT_VER}")!$(eval_gettext "OPENGL (For video cards without VULKAN)")!$(eval_gettext "GALLIUM_NINE (DX9 for MESA)")" ;; + 3) export PW_DEFAULT_VULKAN_USE="$(eval_gettext "GALLIUM_NINE (DX9 for MESA)")!$(eval_gettext "Stable DXVK ${DXVK_STABLE_VER}, VKD3D ${VKD3D_STABLE_VER}")!$(eval_gettext "Newest DXVK ${DXVK_GIT_VER}, VKD3D ${VKD3D_GIT_VER}")!$(eval_gettext "OPENGL (For video cards without VULKAN)")" ;; + *) export PW_DEFAULT_VULKAN_USE="$(eval_gettext "Newest DXVK ${DXVK_GIT_VER}, VKD3D ${VKD3D_GIT_VER}")!$(eval_gettext "Stable DXVK ${DXVK_STABLE_VER}, VKD3D ${VKD3D_STABLE_VER}")!$(eval_gettext "OPENGL (For video cards without VULKAN)")!$(eval_gettext "GALLIUM_NINE (DX9 for MESA)")" ;; esac if [[ ! -z "${PORTWINE_DB_FILE}" ]] ; then - [[ -z "${PW_COMMENT_DB}" ]] && PW_COMMENT_DB="${loc_gui_db_comments} ${PORTWINE_DB}." + [[ -z "${PW_COMMENT_DB}" ]] && PW_COMMENT_DB="$(eval_gettext "PortProton database file was found for") ${PORTWINE_DB}." if [[ ! -z $(echo "${PW_WINE_USE}" | grep "^PROTON_LG$") ]] ; then export PW_DEFAULT_WINE_USE="${PW_PROTON_LG_VER}!${PW_WINE_LG_VER}${DIST_ADD_TO_GUI}!GET-OTHER-WINE" elif [[ ! -z $(echo "${PW_WINE_USE}" | grep "^PROTON_GE$") ]] ; then @@ -350,9 +354,9 @@ if [[ -f "${portwine_exe}" ]] ; then pw_create_gui_png grep -il "${portwine_exe}" "${HOME}/.local/share/applications"/*.desktop if [[ "$?" != "0" ]] ; then - PW_SHORTCUT="${loc_gui_create_shortcut}!$PW_GUI_ICON_PATH/$BUTTON_SIZE.png!${loc_create_shortcut}:100" + PW_SHORTCUT="$(eval_gettext "CREATE SHORTCUT")!$PW_GUI_ICON_PATH/$BUTTON_SIZE.png!$(eval_gettext "Create shortcut for select file..."):100" else - PW_SHORTCUT="${loc_gui_delete_shortcut}!$PW_GUI_ICON_PATH/$BUTTON_SIZE.png!${loc_delete_shortcut}:98" + PW_SHORTCUT="$(eval_gettext "DELETE SHORTCUT")!$PW_GUI_ICON_PATH/$BUTTON_SIZE.png!$(eval_gettext "Delete shortcut for select file..."):98" fi OUTPUT_START=$("${pw_yad}" --text-align=center --text "$PW_COMMENT_DB" --form \ --title "PortProton-${install_ver} (${scripts_install_ver})" \ @@ -362,12 +366,12 @@ if [[ -f "${portwine_exe}" ]] ; then --field=" WINE : :CB" "${PW_DEFAULT_WINE_USE}" \ --field="PREFIX : :CBE" "${PW_ADD_PREFIXES_TO_GUI}" \ --field=":LBL" "" \ - --button="${loc_gui_vkbasalt_start}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${ENABLE_VKBASALT_INFO}":120 \ - --button="${loc_gui_mh_start}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${ENABLE_MANGOHUD_INFO}":122 \ - --button="${loc_gui_edit_db_start}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${loc_edit_db} ${PORTWINE_DB}":118 \ + --button="$(eval_gettext "VKBASALT")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(eval_gettext "Enable vkBasalt by default to improve graphics in games running on Vulkan. (The HOME hotkey disables vkbasalt)")":120 \ + --button="$(eval_gettext "MANGOHUD")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(eval_gettext "Enable Mangohud by default (R_SHIFT + F12 keyboard shortcuts disable Mangohud)")":122 \ + --button="$(eval_gettext "EDIT DB")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(eval_gettext "Edit database file for") ${PORTWINE_DB}":118 \ --button="${PW_SHORTCUT}" \ - --button="${loc_gui_debug}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${loc_debug}":102 \ - --button="${loc_gui_launch}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${loc_launch}":106 2>/dev/null) + --button="$(eval_gettext "DEBUG")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(eval_gettext "Launch with the creation of a .log file at the root PortProton")":102 \ + --button="$(eval_gettext "LAUNCH")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(eval_gettext "Run file ...")":106 2>/dev/null) export PW_YAD_SET="$?" if [[ "$PW_YAD_SET" == "1" || "$PW_YAD_SET" == "252" ]] ; then exit 0 ; fi export VULKAN_MOD=$(echo "${OUTPUT_START}" | grep \;\; | awk -F";" '{print $1}') @@ -390,7 +394,7 @@ else then PW_GUI_SORT_TABS=(1 2 3 4 5) else PW_GUI_SORT_TABS=(2 3 4 5 1) fi - PW_GENERATE_BUTTONS="--field= $loc_create_shortcut_from_gui!${PW_GUI_ICON_PATH}/find_48.svg!:FBTN%@bash -c \"button_click pw_find_exe\"%" + PW_GENERATE_BUTTONS="--field= $(eval_gettext "Create shortcut...")!${PW_GUI_ICON_PATH}/find_48.svg!:FBTN%@bash -c \"button_click pw_find_exe\"%" for PW_DESKTOP_FILES in ${PW_ALL_DF} ; do PW_NAME_D_ICON="$(cat "${PORT_WINE_PATH}/${PW_DESKTOP_FILES}" | grep Icon | awk -F= '{print $2}')" PW_NAME_D_ICON_48="${PW_NAME_D_ICON//".png"/"_48.png"}" @@ -407,45 +411,45 @@ else IFS="$orig_IFS" "${pw_yad_v13_0}" --plug=${KEY} --tabnum=${PW_GUI_SORT_TABS[3]} --form --columns=3 --align-buttons --separator=";" \ - --field=" $loc_gui_pw_reinstall_pp"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click gui_pw_reinstall_pp"' \ - --field=" $loc_gui_rm_pp"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click gui_rm_portproton"' \ - --field=" $loc_gui_upd_pp"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click gui_pw_update"' \ - --field=" $loc_gui_changelog"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click open_changelog"' \ - --field=" $loc_gui_change_loc"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click change_loc"' \ - --field=" $loc_gui_edit_usc"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click gui_open_user_conf"' \ - --field=" $loc_gui_scripts_fb"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click gui_open_scripts_from_backup"' \ + --field=" $(eval_gettext "REINSTALL PortProton")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click gui_pw_reinstall_pp"' \ + --field=" $(eval_gettext "REMOVE PortProton")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click gui_rm_portproton"' \ + --field=" $(eval_gettext "UPDATE PortProton")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click gui_pw_update"' \ + --field=" $(eval_gettext "CHANGELOG")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click open_changelog"' \ + --field=" $(eval_gettext "CHANGE LANGUAGE")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click change_loc"' \ + --field=" $(eval_gettext "EDIT USER.CONF")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click gui_open_user_conf"' \ + --field=" $(eval_gettext "SCRIPTS FROM BACKUP")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click gui_open_scripts_from_backup"' \ --field=" Xterm"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click pw_start_cont_xterm"' \ - --field=" $loc_gui_credits"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click gui_credits"' 2>/dev/null & + --field=" $(eval_gettext "CREDITS")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click gui_credits"' 2>/dev/null & "${pw_yad_v13_0}" --plug=${KEY} --tabnum=${PW_GUI_SORT_TABS[2]} --form --columns=3 --align-buttons --separator=";" \ --field=" 3D API : :CB" "${PW_DEFAULT_VULKAN_USE}" \ --field=" PREFIX : :CBE" "${PW_ADD_PREFIXES_TO_GUI}" \ --field=" WINE : :CB" "${PW_DEFAULT_WINE_USE}" \ - --field=" $loc_gui_create_pfx_backup"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click pw_create_prefix_backup"' \ - --field=" WINETRICKS"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"${loc_winetricks}":"FBTN" '@bash -c "button_click WINETRICKS"' \ - --field=" $loc_gui_clear_pfx"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"${loc_clear_pfx}":"FBTN" '@bash -c "button_click gui_clear_pfx"' \ - --field=" $loc_gui_download_other_wine"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"${loc_download_other_wine}":"FBTN" '@bash -c "button_click gui_proton_downloader"' \ - --field=" $loc_gui_wine_uninstaller"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"${loc_wineuninstaller}":"FBTN" '@bash -c "button_click gui_wine_uninstaller"' \ - --field=" $loc_gui_wine_cfg "!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"${loc_winecfg}":"FBTN" '@bash -c "button_click WINECFG"' \ - --field=" $loc_gui_wine_file"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"${loc_winefile}":"FBTN" '@bash -c "button_click WINEFILE"' \ - --field=" $loc_gui_wine_cmd"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"${loc_winecmd}":"FBTN" '@bash -c "button_click WINECMD"' \ - --field=" $loc_gui_wine_reg"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"${loc_winereg}":"FBTN" '@bash -c "button_click WINEREG"' 2>/dev/null 1> "${PORT_WINE_TMP_PATH}/tmp_yad_form_vulkan" & + --field=" $(eval_gettext "Create prefix backup")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click pw_create_prefix_backup"' \ + --field=" WINETRICKS"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"$(eval_gettext "Run winetricks to install additional libraries to the selected prefix")":"FBTN" '@bash -c "button_click WINETRICKS"' \ + --field=" $(eval_gettext "Clear prefix")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"$(eval_gettext "Clear the prefix to fix problems")":"FBTN" '@bash -c "button_click gui_clear_pfx"' \ + --field=" $(eval_gettext "Get other Wine")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"$(eval_gettext "Open the menu to download other versions of WINE or PROTON")":"FBTN" '@bash -c "button_click gui_proton_downloader"' \ + --field=" $(eval_gettext "Uninstaller")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"$(eval_gettext "Run the program uninstaller built into wine")":"FBTN" '@bash -c "button_click gui_wine_uninstaller"' \ + --field=" $(eval_gettext "Prefix Manager") "!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"$(eval_gettext "Run winecfg to edit the settings of the selected prefix")":"FBTN" '@bash -c "button_click WINECFG"' \ + --field=" $(eval_gettext "File Manager")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"$(eval_gettext "Run wine file manager")":"FBTN" '@bash -c "button_click WINEFILE"' \ + --field=" $(eval_gettext "CMD")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"$(eval_gettext "Run wine cmd")":"FBTN" '@bash -c "button_click WINECMD"' \ + --field=" $(eval_gettext "REGEDIT")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"$(eval_gettext "Run wine regedit")":"FBTN" '@bash -c "button_click WINEREG"' 2>/dev/null 1> "${PORT_WINE_TMP_PATH}/tmp_yad_form_vulkan" & "${pw_yad_v13_0}" --plug=$KEY --tabnum=${PW_GUI_SORT_TABS[1]} --form --columns="$MAIN_GUI_COLUMNS" --align-buttons --scroll \ - --field=" Dolphin 5.0"!"$PW_GUI_ICON_PATH/dolphin.png"!"${loc_dolphin}":"FBTN" '@bash -c "button_click PW_DOLPHIN"' \ - --field=" MAME"!"$PW_GUI_ICON_PATH/mame.png"!"${loc_mame}":"FBTN" '@bash -c "button_click PW_MAME"' \ - --field=" RetroArch"!"$PW_GUI_ICON_PATH/retroarch.png"!"${loc_retroarch}":"FBTN" '@bash -c "button_click PW_RETROARCH"' \ - --field=" PPSSPP Windows"!"$PW_GUI_ICON_PATH/ppsspp.png"!"${loc_ppsspp_windows}":"FBTN" '@bash -c "button_click PW_PPSSPP"' \ - --field=" Citra"!"$PW_GUI_ICON_PATH/citra.png"!"${loc_citra}":"FBTN" '@bash -c "button_click PW_CITRA"' \ - --field=" Cemu"!"$PW_GUI_ICON_PATH/cemu.png"!"${loc_cemu}":"FBTN" '@bash -c "button_click PW_CEMU"' \ - --field=" ePSXe"!"$PW_GUI_ICON_PATH/epsxe.png"!"${loc_epsxe}":"FBTN" '@bash -c "button_click PW_EPSXE"' \ - --field=" Project64"!"$PW_GUI_ICON_PATH/project64.png"!"${loc_project64}":"FBTN" '@bash -c "button_click PW_PROJECT64"' \ - --field=" VBA-M"!"$PW_GUI_ICON_PATH/vba-m.png"!"${loc_vba_m}":"FBTN" '@bash -c "button_click PW_VBA-M"' \ - --field=" Yabause"!"$PW_GUI_ICON_PATH/yabause.png"!"${loc_yabause}":"FBTN" '@bash -c "button_click PW_YABAUSE"' \ - --field=" Xenia"!"$PW_GUI_ICON_PATH/xenia.png"!"${loc_xenia}":"FBTN" '@bash -c "button_click PW_XENIA"' \ - --field=" FCEUX"!"$PW_GUI_ICON_PATH/fceux.png"!"${loc_fceux}":"FBTN" '@bash -c "button_click PW_FCEUX"' \ - --field=" xemu"!"$PW_GUI_ICON_PATH/xemu.png"!"${loc_xemu}":"FBTN" '@bash -c "button_click PW_XEMU"' \ - --field=" Demul"!"$PW_GUI_ICON_PATH/demul.png"!"${loc_demul}":"FBTN" '@bash -c "button_click PW_DEMUL"' 2>/dev/null & + --field=" Dolphin 5.0"!"$PW_GUI_ICON_PATH/dolphin.png"!"$(eval_gettext "Emulator for Nintendo game consoles with high compatibility")":"FBTN" '@bash -c "button_click PW_DOLPHIN"' \ + --field=" MAME"!"$PW_GUI_ICON_PATH/mame.png"!"$(eval_gettext "Multi-arcade emulator that allows you to play old arcade games")":"FBTN" '@bash -c "button_click PW_MAME"' \ + --field=" RetroArch"!"$PW_GUI_ICON_PATH/retroarch.png"!"$(eval_gettext "Multi-platform frontend for emulators with extensive settings")":"FBTN" '@bash -c "button_click PW_RETROARCH"' \ + --field=" PPSSPP Windows"!"$PW_GUI_ICON_PATH/ppsspp.png"!"$(eval_gettext "Emulator for the PlayStation Portable (PSP) game console")":"FBTN" '@bash -c "button_click PW_PPSSPP"' \ + --field=" Citra"!"$PW_GUI_ICON_PATH/citra.png"!"$(eval_gettext "Emulator for the Nintendo 3DS game console")":"FBTN" '@bash -c "button_click PW_CITRA"' \ + --field=" Cemu"!"$PW_GUI_ICON_PATH/cemu.png"!"$(eval_gettext "Emulator for the Wii U game console")":"FBTN" '@bash -c "button_click PW_CEMU"' \ + --field=" ePSXe"!"$PW_GUI_ICON_PATH/epsxe.png"!"$(eval_gettext "Emulator for the PlayStation 1 game console with high compatibility")":"FBTN" '@bash -c "button_click PW_EPSXE"' \ + --field=" Project64"!"$PW_GUI_ICON_PATH/project64.png"!"$(eval_gettext "Emulator for the Nintendo 64 game console")":"FBTN" '@bash -c "button_click PW_PROJECT64"' \ + --field=" VBA-M"!"$PW_GUI_ICON_PATH/vba-m.png"!"$(eval_gettext "Emulator for the Game Boy Advance game console")":"FBTN" '@bash -c "button_click PW_VBA-M"' \ + --field=" Yabause"!"$PW_GUI_ICON_PATH/yabause.png"!"$(eval_gettext "Emulator for the Sega Saturn game console")":"FBTN" '@bash -c "button_click PW_YABAUSE"' \ + --field=" Xenia"!"$PW_GUI_ICON_PATH/xenia.png"!"$(eval_gettext "Emulator for the Xbox 360 game console")":"FBTN" '@bash -c "button_click PW_XENIA"' \ + --field=" FCEUX"!"$PW_GUI_ICON_PATH/fceux.png"!"$(eval_gettext "Emulator for the Nintendo Entertainment System (NES or Dendy) game console")":"FBTN" '@bash -c "button_click PW_FCEUX"' \ + --field=" xemu"!"$PW_GUI_ICON_PATH/xemu.png"!"$(eval_gettext "Emulator for the Xbox game console")":"FBTN" '@bash -c "button_click PW_XEMU"' \ + --field=" Demul"!"$PW_GUI_ICON_PATH/demul.png"!"$(eval_gettext "Emulator for the Sega Dreamcast game console")":"FBTN" '@bash -c "button_click PW_DEMUL"' 2>/dev/null & "${pw_yad_v13_0}" --plug=$KEY --tabnum=${PW_GUI_SORT_TABS[0]} --form --columns="$MAIN_GUI_COLUMNS" --align-buttons --scroll \ --field=" Lesta Game Center"!"$PW_GUI_ICON_PATH/lgc.png"!"":"FBTN" '@bash -c "button_click PW_LGC"' \ @@ -495,11 +499,11 @@ else --auto-close --window-icon="$PW_GUI_ICON_PATH/portproton.svg" \ --title "PortProton-${install_ver} (${scripts_install_ver})" \ --tab-pos=bottom \ - --tab="$loc_mg_autoinstall"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \ - --tab="$loc_mg_emulators"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \ - --tab="$loc_mg_wine_settings"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \ - --tab="$loc_mg_portproton_settings"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \ - --tab="$loc_mg_installed"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" 2>/dev/null + --tab="$(eval_gettext "Autoinstalls")"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \ + --tab="$(eval_gettext "Emulators")"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \ + --tab="$(eval_gettext "Wine Settings")"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \ + --tab="$(eval_gettext "PortProton Settings")"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \ + --tab="$(eval_gettext "Installed")"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" 2>/dev/null YAD_STATUS="$?" else "${pw_yad_v13_0}" --key=$KEY --notebook --expand \ @@ -507,11 +511,11 @@ else --auto-close --window-icon="$PW_GUI_ICON_PATH/portproton.svg" \ --title "PortProton-${install_ver} (${scripts_install_ver})" \ --tab-pos=bottom \ - --tab="$loc_mg_installed"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \ - --tab="$loc_mg_autoinstall"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \ - --tab="$loc_mg_emulators"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \ - --tab="$loc_mg_wine_settings"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \ - --tab="$loc_mg_portproton_settings"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" 2>/dev/null + --tab="$(eval_gettext "Installed")"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \ + --tab="$(eval_gettext "Autoinstalls")"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \ + --tab="$(eval_gettext "Emulators")"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \ + --tab="$(eval_gettext "Wine Settings")"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \ + --tab="$(eval_gettext "PortProton Settings")"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" 2>/dev/null YAD_STATUS="$?" fi @@ -535,10 +539,10 @@ else fi case "${VULKAN_MOD}" in - "${loc_gui_open_gl}" ) export PW_VULKAN_USE="0" ;; - "${loc_gui_vulkan_stable}" ) export PW_VULKAN_USE="1" ;; - "${loc_gui_vulkan_git}" ) export PW_VULKAN_USE="2" ;; - "${loc_gui_gallium_nine}" ) export PW_VULKAN_USE="3" ;; + "$(eval_gettext "OPENGL (For video cards without VULKAN)")" ) export PW_VULKAN_USE="0" ;; + "$(eval_gettext "Stable DXVK ${DXVK_STABLE_VER} и VKD3D ${VKD3D_STABLE_VER}")" ) export PW_VULKAN_USE="1" ;; + "$(eval_gettext "Newest DXVK ${DXVK_GIT_VER} и VKD3D ${VKD3D_GIT_VER}")" ) export PW_VULKAN_USE="2" ;; + "$(eval_gettext "GALLIUM_NINE (DX9 for MESA)")" ) export PW_VULKAN_USE="3" ;; esac init_wine_ver diff --git a/data_from_portwine/themes/classic/loading_ENG.gif b/data_from_portwine/themes/classic/loading_en.gif similarity index 100% rename from data_from_portwine/themes/classic/loading_ENG.gif rename to data_from_portwine/themes/classic/loading_en.gif diff --git a/data_from_portwine/themes/classic/loading_RUS.gif b/data_from_portwine/themes/classic/loading_ru.gif similarity index 100% rename from data_from_portwine/themes/classic/loading_RUS.gif rename to data_from_portwine/themes/classic/loading_ru.gif diff --git a/data_from_portwine/themes/classic/unpacking_ENG.gif b/data_from_portwine/themes/classic/unpacking_en.gif similarity index 100% rename from data_from_portwine/themes/classic/unpacking_ENG.gif rename to data_from_portwine/themes/classic/unpacking_en.gif diff --git a/data_from_portwine/themes/classic/unpacking_RUS.gif b/data_from_portwine/themes/classic/unpacking_ru.gif similarity index 100% rename from data_from_portwine/themes/classic/unpacking_RUS.gif rename to data_from_portwine/themes/classic/unpacking_ru.gif diff --git a/data_from_portwine/themes/classic/update_prefix_ENG.gif b/data_from_portwine/themes/classic/update_prefix_en.gif similarity index 100% rename from data_from_portwine/themes/classic/update_prefix_ENG.gif rename to data_from_portwine/themes/classic/update_prefix_en.gif diff --git a/data_from_portwine/themes/classic/update_prefix_RUS.gif b/data_from_portwine/themes/classic/update_prefix_ru.gif similarity index 100% rename from data_from_portwine/themes/classic/update_prefix_RUS.gif rename to data_from_portwine/themes/classic/update_prefix_ru.gif