Commit 9df95680 authored by Mikhail Tergoev's avatar Mikhail Tergoev

Merge branch 'Htylol-assoc-mass' into devel

parents 055d1dd8 bd721645
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
msgid "" msgid ""
msgstr "Project-Id-Version: PACKAGE VERSION\n" msgstr "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-09-15 15:29+0500\n" "POT-Creation-Date: 2024-09-20 17:00+0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
...@@ -291,6 +291,9 @@ msgstr "" ...@@ -291,6 +291,9 @@ msgstr ""
msgid "REMIND ME LATER" msgid "REMIND ME LATER"
msgstr "" msgstr ""
msgid "EXIT"
msgstr ""
msgid "Searching for .exe files... Please wait." msgid "Searching for .exe files... Please wait."
msgstr "" msgstr ""
...@@ -317,9 +320,6 @@ msgid "d3dadapter9.so.1.0.0 - Not found in the system.\\nInstall the " ...@@ -317,9 +320,6 @@ msgid "d3dadapter9.so.1.0.0 - Not found in the system.\\nInstall the "
"missing package: <b>d3dadapter9</b>" "missing package: <b>d3dadapter9</b>"
msgstr "" msgstr ""
msgid "EXIT"
msgstr ""
msgid "You will need to check internet connection,and\\npress Repeat for " msgid "You will need to check internet connection,and\\npress Repeat for "
"repeat download" "repeat download"
msgstr "" msgstr ""
...@@ -958,10 +958,9 @@ msgstr "" ...@@ -958,10 +958,9 @@ msgstr ""
msgid "Show temperature in Fahrenheit" msgid "Show temperature in Fahrenheit"
msgstr "" msgstr ""
msgid "Show if GPU is throttling based on Power, current, temp or " msgid "Show if GPU is throttling based on Power, current, temp or other "
"\"other\" (Only shows if throttling is currently happening). " "(Only shows if throttling is currently happening). Currently "
"Currently disabled by default for Nvidia as it causes lag on 3000 " "disabled by default for Nvidia as it causes lag on 3000 series"
"series"
msgstr "" msgstr ""
msgid "Same as throttling_status but displays throttling in the frametime " msgid "Same as throttling_status but displays throttling in the frametime "
...@@ -1246,15 +1245,14 @@ msgstr "" ...@@ -1246,15 +1245,14 @@ msgstr ""
msgid "Change settings gamescope for" msgid "Change settings gamescope for"
msgstr "" msgstr ""
#, sh-format
msgid "<b>Gamescope is not detected on the system, to install it, run the " msgid "<b>Gamescope is not detected on the system, to install it, run the "
"command in the terminal:\\n flatpak install -y runtime/org." "command in the terminal:\\nflatpak install -y runtime/org."
"freedesktop.Platform.VulkanLayer.gamescope/x86_64/" "freedesktop.Platform.VulkanLayer.gamescope/x86_64/$"
"${GAMESCOPE_VERSION}\\n (Can be selected and copied)</b>" "%{GAMESCOPE_VERSION}%\\n(Can be selected and copied)</b>"
msgstr "" msgstr ""
msgid "<b>Gamescope is not detected on the system, please contact the " msgid "<b>Gamescope is not detected on the system, please contact the "
"manufacturer of your distribution\\n or search the Internet for " "manufacturer of your distribution\\nor search the Internet for "
"information on how to install gamescope on your system.</b>" "information on how to install gamescope on your system.</b>"
msgstr "" msgstr ""
...@@ -1551,16 +1549,14 @@ msgstr "" ...@@ -1551,16 +1549,14 @@ msgstr ""
#, sh-format #, sh-format
msgid "PortProton v. ${install_ver}\n" msgid "PortProton v. ${install_ver}\n"
" scripts v. ${scripts_install_ver}" "scripts v. ${scripts_install_ver}"
msgstr "" msgstr ""
#, sh-format msgid "Copyright © $%DATE% Castro-Fidel (linux-gaming.ru)"
msgid "https://linux-gaming.ru\n" msgstr ""
"\n"
"Copyright © $DATE Castro-Fidel (linux-gaming.ru)\n" msgid "This program comes with absolutely no warranty.\n"
"\n" "See the License for details."
"This program comes with absolutely no warranty.\n"
"See the License for details.\n"
msgstr "" msgstr ""
msgid "Author: Casro-Fidel (Mikhail Tergoev)\n" msgid "Author: Casro-Fidel (Mikhail Tergoev)\n"
...@@ -1568,10 +1564,9 @@ msgid "Author: Casro-Fidel (Mikhail Tergoev)\n" ...@@ -1568,10 +1564,9 @@ msgid "Author: Casro-Fidel (Mikhail Tergoev)\n"
"Developer assistants and testers:" "Developer assistants and testers:"
msgstr "" msgstr ""
#, sh-format
msgid "MIT License\n" msgid "MIT License\n"
"\n" "\n"
"Copyright © $DATE Castro-Fidel (linux-gaming.ru)\n" "Copyright © $%DATE% Castro-Fidel (linux-gaming.ru)\n"
"\n" "\n"
"Permission is hereby granted, free of charge, to any person " "Permission is hereby granted, free of charge, to any person "
"obtaining a copy\n" "obtaining a copy\n"
...@@ -1601,14 +1596,14 @@ msgid "MIT License\n" ...@@ -1601,14 +1596,14 @@ msgid "MIT License\n"
"ARISING FROM,\n" "ARISING FROM,\n"
"OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER " "OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER "
"DEALINGS IN THE\n" "DEALINGS IN THE\n"
"SOFTWARE.\n" "SOFTWARE."
msgstr "" msgstr ""
msgid "The project was supported:\n" msgid "The project was supported:\n"
"https://boosty.to/portwine-linux.ru" "https://boosty.to/portwine-linux.ru"
msgstr "" msgstr ""
msgid "The list will be updated...\n" msgid "The list will be updated..."
msgstr "" msgstr ""
msgid "Do you want to join and help in the development of the project:" msgid "Do you want to join and help in the development of the project:"
......
...@@ -8,8 +8,8 @@ msgid "" ...@@ -8,8 +8,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-09-15 15:28+0500\n" "POT-Creation-Date: 2024-09-19 23:26+0500\n"
"PO-Revision-Date: 2024-09-15 15:29+0500\n" "PO-Revision-Date: 2024-09-19 23:35+0500\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
"Language: es_ES\n" "Language: es_ES\n"
...@@ -259,6 +259,7 @@ msgstr "Un emulador para la consola de juegos Sega Dreamcast" ...@@ -259,6 +259,7 @@ msgstr "Un emulador para la consola de juegos Sega Dreamcast"
msgid "AUTOINSTALLS" msgid "AUTOINSTALLS"
msgstr "INSTALACIONES AUTOMÁTICAS" msgstr "INSTALACIONES AUTOMÁTICAS"
#, fuzzy
msgid "EMULATORS" msgid "EMULATORS"
msgstr "EMULADORES" msgstr "EMULADORES"
...@@ -323,6 +324,9 @@ msgstr "NO SOCIO" ...@@ -323,6 +324,9 @@ msgstr "NO SOCIO"
msgid "REMIND ME LATER" msgid "REMIND ME LATER"
msgstr "VUELVA MÁS TARDE" msgstr "VUELVA MÁS TARDE"
msgid "EXIT"
msgstr "SALIR"
msgid "Searching for .exe files... Please wait." msgid "Searching for .exe files... Please wait."
msgstr "Buscando archivos .exe... Por favor, espera." msgstr "Buscando archivos .exe... Por favor, espera."
...@@ -354,9 +358,6 @@ msgstr "" ...@@ -354,9 +358,6 @@ msgstr ""
"d3dadapter9.so.1.0.0 - No encontrado en el sistema.\n" "d3dadapter9.so.1.0.0 - No encontrado en el sistema.\n"
"Instala el paquete faltante:<b>d3dadapter9</b>" "Instala el paquete faltante:<b>d3dadapter9</b>"
msgid "EXIT"
msgstr "SALIR"
msgid "" msgid ""
"You will need to check internet connection,and\\npress Repeat for repeat " "You will need to check internet connection,and\\npress Repeat for repeat "
"download" "download"
...@@ -1165,10 +1166,11 @@ msgstr "" ...@@ -1165,10 +1166,11 @@ msgstr ""
msgid "Show temperature in Fahrenheit" msgid "Show temperature in Fahrenheit"
msgstr "Mostrar temperatura en Fahrenheit" msgstr "Mostrar temperatura en Fahrenheit"
#, fuzzy
msgid "" msgid ""
"Show if GPU is throttling based on Power, current, temp or \"other\" (Only " "Show if GPU is throttling based on Power, current, temp or other (Only shows "
"shows if throttling is currently happening). Currently disabled by default " "if throttling is currently happening). Currently disabled by default for "
"for Nvidia as it causes lag on 3000 series" "Nvidia as it causes lag on 3000 series"
msgstr "" msgstr ""
"Mostrar si la GPU está limitando basado en Potencia, corriente, temperatura " "Mostrar si la GPU está limitando basado en Potencia, corriente, temperatura "
"u \"otro\" (Solo se muestra si actualmente está ocurriendo limitación). " "u \"otro\" (Solo se muestra si actualmente está ocurriendo limitación). "
...@@ -1389,6 +1391,7 @@ msgstr "" ...@@ -1389,6 +1391,7 @@ msgstr ""
"cuando pierden el enfoque, por lo que esto puede usarse para permitir que la " "cuando pierden el enfoque, por lo que esto puede usarse para permitir que la "
"aplicación se ejecute en segundo plano. (Configuraciones de Glide)" "aplicación se ejecute en segundo plano. (Configuraciones de Glide)"
#, fuzzy
msgid "" msgid ""
"dgVoodoo2 settings\\n<b>NOTE:</b> To display help for each item, simply " "dgVoodoo2 settings\\n<b>NOTE:</b> To display help for each item, simply "
"hover over the text" "hover over the text"
...@@ -1624,21 +1627,21 @@ msgstr "" ...@@ -1624,21 +1627,21 @@ msgstr ""
msgid "Change settings gamescope for" msgid "Change settings gamescope for"
msgstr "Cambiar ajustes gamescope para" msgstr "Cambiar ajustes gamescope para"
#, sh-format
msgid "" msgid ""
"<b>Gamescope is not detected on the system, to install it, run the command " "<b>Gamescope is not detected on the system, to install it, run the command "
"in the terminal:\\n flatpak install -y runtime/org.freedesktop.Platform." "in the terminal:\\nflatpak install -y runtime/org.freedesktop.Platform."
"VulkanLayer.gamescope/x86_64/${GAMESCOPE_VERSION}\\n (Can be selected and " "VulkanLayer.gamescope/x86_64/$%{GAMESCOPE_VERSION}%\\n(Can be selected and "
"copied)</b>" "copied)</b>"
msgstr "" msgstr ""
" <b>Gamescope no se detecta en el sistema, para instalarlo, ejecute el " " <b>Gamescope no se detecta en el sistema, para instalarlo, ejecute el "
"comando en el terminal:\\n flatpak install -y runtime/org.freedesktop." "comando en el terminal:\\n flatpak install -y runtime/org.freedesktop."
"Platform.VulkanLayer.gamescope/x86_64/${GAMESCOPE_VERSION}\\n (Se puede " "Platform.VulkanLayer.gamescope/x86_64/$%{GAMESCOPE_VERSION}%\\n (Se puede "
"seleccionar y copiar)</b>." "seleccionar y copiar)</b>."
#, fuzzy
msgid "" msgid ""
"<b>Gamescope is not detected on the system, please contact the manufacturer " "<b>Gamescope is not detected on the system, please contact the manufacturer "
"of your distribution\\n or search the Internet for information on how to " "of your distribution\\nor search the Internet for information on how to "
"install gamescope on your system.</b>" "install gamescope on your system.</b>"
msgstr "" msgstr ""
"<b>Gamescope no se detecta en el sistema, póngase en contacto con el " "<b>Gamescope no se detecta en el sistema, póngase en contacto con el "
...@@ -1673,6 +1676,7 @@ msgstr "" ...@@ -1673,6 +1676,7 @@ msgstr ""
msgid "Mesa vulkan WSI" msgid "Mesa vulkan WSI"
msgstr "WSI mesa volcánica" msgstr "WSI mesa volcánica"
#, fuzzy
msgid "" msgid ""
"Overrides the WSI present mode:\n" "Overrides the WSI present mode:\n"
"fifo - First in, first out. Limits the frame rate + no tearing. (VSync)\n" "fifo - First in, first out. Limits the frame rate + no tearing. (VSync)\n"
...@@ -2004,17 +2008,15 @@ msgstr "AHORRAR" ...@@ -2004,17 +2008,15 @@ msgstr "AHORRAR"
#, sh-format #, sh-format
msgid "" msgid ""
"PortProton v. ${install_ver}\n" "PortProton v. ${install_ver}\n"
" scripts v. ${scripts_install_ver}" "scripts v. ${scripts_install_ver}"
msgstr ""
msgid "Copyright © $%DATE% Castro-Fidel (linux-gaming.ru)"
msgstr "" msgstr ""
#, sh-format
msgid "" msgid ""
"https://linux-gaming.ru\n"
"\n"
"Copyright © $DATE Castro-Fidel (linux-gaming.ru)\n"
"\n"
"This program comes with absolutely no warranty.\n" "This program comes with absolutely no warranty.\n"
"See the License for details.\n" "See the License for details."
msgstr "" msgstr ""
msgid "" msgid ""
...@@ -2023,11 +2025,10 @@ msgid "" ...@@ -2023,11 +2025,10 @@ msgid ""
"Developer assistants and testers:" "Developer assistants and testers:"
msgstr "" msgstr ""
#, sh-format
msgid "" msgid ""
"MIT License\n" "MIT License\n"
"\n" "\n"
"Copyright © $DATE Castro-Fidel (linux-gaming.ru)\n" "Copyright © $%DATE% Castro-Fidel (linux-gaming.ru)\n"
"\n" "\n"
"Permission is hereby granted, free of charge, to any person obtaining a " "Permission is hereby granted, free of charge, to any person obtaining a "
"copy\n" "copy\n"
...@@ -2051,7 +2052,7 @@ msgid "" ...@@ -2051,7 +2052,7 @@ msgid ""
"FROM,\n" "FROM,\n"
"OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN " "OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN "
"THE\n" "THE\n"
"SOFTWARE.\n" "SOFTWARE."
msgstr "" msgstr ""
msgid "" msgid ""
...@@ -2059,7 +2060,7 @@ msgid "" ...@@ -2059,7 +2060,7 @@ msgid ""
"https://boosty.to/portwine-linux.ru" "https://boosty.to/portwine-linux.ru"
msgstr "" msgstr ""
msgid "The list will be updated...\n" msgid "The list will be updated..."
msgstr "" msgstr ""
msgid "Do you want to join and help in the development of the project:" msgid "Do you want to join and help in the development of the project:"
...@@ -2111,6 +2112,10 @@ msgstr "" ...@@ -2111,6 +2112,10 @@ msgstr ""
msgid "THIRD PARTY LIBRARIES" msgid "THIRD PARTY LIBRARIES"
msgstr "" msgstr ""
#, fuzzy
#~ msgid "scripts"
#~ msgstr "Actualizar scripts:"
#~ msgid "" #~ msgid ""
#~ "Fixes artifacts on AMD and Intel video cards. (Use only when necessary)." #~ "Fixes artifacts on AMD and Intel video cards. (Use only when necessary)."
#~ msgstr "" #~ msgstr ""
......
...@@ -7,8 +7,8 @@ msgid "" ...@@ -7,8 +7,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-09-15 15:28+0500\n" "POT-Creation-Date: 2024-09-19 23:26+0500\n"
"PO-Revision-Date: 2024-09-15 15:28+0500\n" "PO-Revision-Date: 2024-09-19 23:32+0500\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
"Language: ru_RU\n" "Language: ru_RU\n"
...@@ -320,6 +320,9 @@ msgstr "НЕ НАПОМИНАТЬ" ...@@ -320,6 +320,9 @@ msgstr "НЕ НАПОМИНАТЬ"
msgid "REMIND ME LATER" msgid "REMIND ME LATER"
msgstr "НАПОМНИТЬ ПОЗЖЕ" msgstr "НАПОМНИТЬ ПОЗЖЕ"
msgid "EXIT"
msgstr "ВЫХОД"
msgid "Searching for .exe files... Please wait." msgid "Searching for .exe files... Please wait."
msgstr "Поиск .exe файлов... Пожалуйста, подождите." msgstr "Поиск .exe файлов... Пожалуйста, подождите."
...@@ -350,9 +353,6 @@ msgstr "" ...@@ -350,9 +353,6 @@ msgstr ""
"d3dadapter9.so.1.0.0 - Не найден в системе.\\nУстановите недостающий пакет: " "d3dadapter9.so.1.0.0 - Не найден в системе.\\nУстановите недостающий пакет: "
"<b>d3dadapter9</b>" "<b>d3dadapter9</b>"
msgid "EXIT"
msgstr "ВЫХОД"
msgid "" msgid ""
"You will need to check internet connection,and\\npress Repeat for repeat " "You will need to check internet connection,and\\npress Repeat for repeat "
"download" "download"
...@@ -639,7 +639,7 @@ msgstr "" ...@@ -639,7 +639,7 @@ msgstr ""
"<b>Super + O:</b> Уменьшение резкости FSR на 1\n" "<b>Super + O:</b> Уменьшение резкости FSR на 1\n"
"<b>Super + S:</b> Снимок экрана (находится в /tmp/gamescope_DATE.png)\n" "<b>Super + S:</b> Снимок экрана (находится в /tmp/gamescope_DATE.png)\n"
"<b>Super + G:</b> Переключение захвата клавиатуры\n" "<b>Super + G:</b> Переключение захвата клавиатуры\n"
"<b>Super + C:</b> Обновление буфера обмена\"" "<b>Super + C:</b> Обновление буфера обмена"
msgid "Change the version of <b>WINDOWS</b> emulation" msgid "Change the version of <b>WINDOWS</b> emulation"
msgstr "Изменить версию эмуляции <b>WINDOWS</b>" msgstr "Изменить версию эмуляции <b>WINDOWS</b>"
...@@ -1177,9 +1177,9 @@ msgid "Show temperature in Fahrenheit" ...@@ -1177,9 +1177,9 @@ msgid "Show temperature in Fahrenheit"
msgstr "Показывать температуру в градусах Фаренгейта" msgstr "Показывать температуру в градусах Фаренгейта"
msgid "" msgid ""
"Show if GPU is throttling based on Power, current, temp or \"other\" (Only " "Show if GPU is throttling based on Power, current, temp or other (Only shows "
"shows if throttling is currently happening). Currently disabled by default " "if throttling is currently happening). Currently disabled by default for "
"for Nvidia as it causes lag on 3000 series" "Nvidia as it causes lag on 3000 series"
msgstr "" msgstr ""
"Показать, регулируется ли графический процессор в зависимости от мощности, " "Показать, регулируется ли графический процессор в зависимости от мощности, "
"тока, температуры или «другого» (показывает только то, происходит ли " "тока, температуры или «другого» (показывает только то, происходит ли "
...@@ -1596,25 +1596,24 @@ msgstr "" ...@@ -1596,25 +1596,24 @@ msgstr ""
msgid "Change settings gamescope for" msgid "Change settings gamescope for"
msgstr "Изменить настройки Gamescope для" msgstr "Изменить настройки Gamescope для"
#, sh-format
msgid "" msgid ""
"<b>Gamescope is not detected on the system, to install it, run the command " "<b>Gamescope is not detected on the system, to install it, run the command "
"in the terminal:\\n flatpak install -y runtime/org.freedesktop.Platform." "in the terminal:\\nflatpak install -y runtime/org.freedesktop.Platform."
"VulkanLayer.gamescope/x86_64/${GAMESCOPE_VERSION}\\n (Can be selected and " "VulkanLayer.gamescope/x86_64/$%{GAMESCOPE_VERSION}%\\n(Can be selected and "
"copied)</b>" "copied)</b>"
msgstr "" msgstr ""
"<b>Gamescope не найден в системе, для его установки выполните команду в " "<b>Gamescope не найден в системе, для его установки выполните команду в "
"терминале:\\n flatpak install -y runtime/org.freedesktop.Platform." "терминале:\\nflatpak install -y runtime/org.freedesktop.Platform.VulkanLayer."
"VulkanLayer.gamescope/x86_64/${GAMESCOPE_VERSION}\\n (можно выделить и " "gamescope/x86_64/$%{GAMESCOPE_VERSION}%\\n(Данный текст можно выделить и "
"скопировать)</b>" "скопировать)</b>"
msgid "" msgid ""
"<b>Gamescope is not detected on the system, please contact the manufacturer " "<b>Gamescope is not detected on the system, please contact the manufacturer "
"of your distribution\\n or search the Internet for information on how to " "of your distribution\\nor search the Internet for information on how to "
"install gamescope on your system.</b>" "install gamescope on your system.</b>"
msgstr "" msgstr ""
"<b>Gamescope не найден в системе, обратитесь к производителю вашего " "<b>Gamescope не найден в системе, обратитесь к производителю вашего "
"дистрибутива\\n или поищите в Интернете информацию о том, как установить " "дистрибутива\\nили поищите в Интернете информацию о том, как установить "
"gamescope в вашей системе</b>" "gamescope в вашей системе</b>"
msgid "Show resolution" msgid "Show resolution"
...@@ -1976,26 +1975,20 @@ msgstr "СОХРАНИТЬ" ...@@ -1976,26 +1975,20 @@ msgstr "СОХРАНИТЬ"
#, sh-format #, sh-format
msgid "" msgid ""
"PortProton v. ${install_ver}\n" "PortProton v. ${install_ver}\n"
" scripts v. ${scripts_install_ver}" "scripts v. ${scripts_install_ver}"
msgstr "" msgstr ""
"PortProton v. ${install_ver}\n" "PortProton v. ${install_ver}\n"
" версия v. ${scripts_install_ver}" "версия v. ${scripts_install_ver}"
msgid "Copyright © $%DATE% Castro-Fidel (linux-gaming.ru)"
msgstr "Авторские права © $%DATE% Castro-Fidel (linux-gaming.ru)"
#, sh-format
msgid "" msgid ""
"https://linux-gaming.ru\n"
"\n"
"Copyright © $DATE Castro-Fidel (linux-gaming.ru)\n"
"\n"
"This program comes with absolutely no warranty.\n" "This program comes with absolutely no warranty.\n"
"See the License for details.\n" "See the License for details."
msgstr "" msgstr ""
"https://linux-gaming.ru\n"
"\n"
"Авторские права © $DATE Castro-Fidel (linux-gaming.ru)\n"
"\n"
"Эта программа поставляется без каких-либо гарантий.\n" "Эта программа поставляется без каких-либо гарантий.\n"
"Подробнее см. в Лицензия.\n" "Подробнее см. в Лицензия."
msgid "" msgid ""
"Author: Casro-Fidel (Mikhail Tergoev)\n" "Author: Casro-Fidel (Mikhail Tergoev)\n"
...@@ -2006,11 +1999,10 @@ msgstr "" ...@@ -2006,11 +1999,10 @@ msgstr ""
"\n" "\n"
"Помощники разработчика и тестировщики:" "Помощники разработчика и тестировщики:"
#, sh-format
msgid "" msgid ""
"MIT License\n" "MIT License\n"
"\n" "\n"
"Copyright © $DATE Castro-Fidel (linux-gaming.ru)\n" "Copyright © $%DATE% Castro-Fidel (linux-gaming.ru)\n"
"\n" "\n"
"Permission is hereby granted, free of charge, to any person obtaining a " "Permission is hereby granted, free of charge, to any person obtaining a "
"copy\n" "copy\n"
...@@ -2034,11 +2026,11 @@ msgid "" ...@@ -2034,11 +2026,11 @@ msgid ""
"FROM,\n" "FROM,\n"
"OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN " "OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN "
"THE\n" "THE\n"
"SOFTWARE.\n" "SOFTWARE."
msgstr "" msgstr ""
"Лицензия Массачусетского технологического института (MIT License)\n" "Лицензия Массачусетского технологического института (MIT License)\n"
"\n" "\n"
"Авторские права © $DATE Castro-Fidel (linux-gaming.ru)\n" "Авторские права © $%DATE% Castro-Fidel (linux-gaming.ru)\n"
"\n" "\n"
"Настоящим предоставляется бесплатное разрешение любому лицу, получившему " "Настоящим предоставляется бесплатное разрешение любому лицу, получившему "
"копию данного\n" "копию данного\n"
...@@ -2068,7 +2060,7 @@ msgstr "" ...@@ -2068,7 +2060,7 @@ msgstr ""
"ВОЗНИКАЮЩАЯ ИЗ\n" "ВОЗНИКАЮЩАЯ ИЗ\n"
"ВНЕ ИЛИ В СВЯЗИ С ПРОГРАММНЫМ ОБЕСПЕЧЕНИЕМ ИЛИ ИСПОЛЬЗОВАНИЕМ ИЛИ ДРУГИМИ " "ВНЕ ИЛИ В СВЯЗИ С ПРОГРАММНЫМ ОБЕСПЕЧЕНИЕМ ИЛИ ИСПОЛЬЗОВАНИЕМ ИЛИ ДРУГИМИ "
"СДЕЛКАМИ В\n" "СДЕЛКАМИ В\n"
"ПРОГРАММНОГО ОБЕСПЕЧЕНИЯ.\n" "ПРОГРАММНОГО ОБЕСПЕЧЕНИЯ."
msgid "" msgid ""
"The project was supported:\n" "The project was supported:\n"
...@@ -2077,8 +2069,8 @@ msgstr "" ...@@ -2077,8 +2069,8 @@ msgstr ""
"Проект поддержали:\n" "Проект поддержали:\n"
"https://boosty.to/portwine-linux.ru" "https://boosty.to/portwine-linux.ru"
msgid "The list will be updated...\n" msgid "The list will be updated..."
msgstr "Список будет дополняться...\n" msgstr "Список будет дополняться..."
msgid "Do you want to join and help in the development of the project:" msgid "Do you want to join and help in the development of the project:"
msgstr "Хотите присоединится и помочь в развитии проекта:" msgstr "Хотите присоединится и помочь в развитии проекта:"
...@@ -2147,6 +2139,18 @@ msgstr "ПРИСОЕДЕНИТЬСЯ" ...@@ -2147,6 +2139,18 @@ msgstr "ПРИСОЕДЕНИТЬСЯ"
msgid "THIRD PARTY LIBRARIES" msgid "THIRD PARTY LIBRARIES"
msgstr "БИБЛИОТЕКИ" msgstr "БИБЛИОТЕКИ"
#~ msgid "scripts"
#~ msgstr "версия"
#~ msgid "MIT License"
#~ msgstr "Лицензия Массачусетского технологического института (MIT License)"
#~ msgid "(Can be selected and copied)"
#~ msgstr "(можно выделить и скопировать)"
#~ msgid "Copyright"
#~ msgstr "Авторские права"
#~ msgid "Open game folder" #~ msgid "Open game folder"
#~ msgstr "Открыть папку с игрой" #~ msgstr "Открыть папку с игрой"
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -53,9 +53,9 @@ if check_flatpak \ ...@@ -53,9 +53,9 @@ if check_flatpak \
&& [[ -f "${HOME}/.local/share/applications/PortProton.desktop" ]] ; then && [[ -f "${HOME}/.local/share/applications/PortProton.desktop" ]] ; then
PORT_WINE_OLD_PATH="$(grep "Exec=" "${HOME}/.local/share/applications/PortProton.desktop" | awk -F'env ' '{print $2}' | awk -F'/data/scripts/' '{print $1}')" PORT_WINE_OLD_PATH="$(grep "Exec=" "${HOME}/.local/share/applications/PortProton.desktop" | awk -F'env ' '{print $2}' | awk -F'/data/scripts/' '{print $1}')"
if [[ -d "$PORT_WINE_OLD_PATH" ]] \ if [[ -d "$PORT_WINE_OLD_PATH" ]] \
&& yad_question "$(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?")" && yad_question "${translations[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 then
pw_start_progress_bar_block "$(gettext "Please wait...")" pw_start_progress_bar_block "${translations[Please wait...]}"
try_remove_file "${HOME}/.local/share/applications/PortProton.desktop" try_remove_file "${HOME}/.local/share/applications/PortProton.desktop"
try_remove_file "${PORT_WINE_OLD_PATH}"/PortProton.desktop try_remove_file "${PORT_WINE_OLD_PATH}"/PortProton.desktop
...@@ -100,7 +100,7 @@ if check_flatpak \ ...@@ -100,7 +100,7 @@ if check_flatpak \
done done
fi fi
pw_stop_progress_bar pw_stop_progress_bar
yad_info "$(gettext "PortProton has been moved to flatpak. You can now remove the old directory:") ${PORT_WINE_OLD_PATH}" yad_info "${translations[PortProton has been moved to flatpak. You can now remove the old directory:]} ${PORT_WINE_OLD_PATH}"
fi fi
fi fi
......
...@@ -52,7 +52,7 @@ then ...@@ -52,7 +52,7 @@ then
elif [[ "$1" == *.[Ee][Xx][Ee] || "$1" == *.[Bb][Aa][Tt] || "$1" == *.[Mm][Ss][Ii] || "$1" == *.[Rr][Ee][Gg] ]] elif [[ "$1" == *.[Ee][Xx][Ee] || "$1" == *.[Bb][Aa][Tt] || "$1" == *.[Mm][Ss][Ii] || "$1" == *.[Rr][Ee][Gg] ]]
then then
portwine_exe="$1" portwine_exe="$1"
MISSING_DESKTOP_FILE=1 MISSING_DESKTOP_FILE="1"
fi fi
export portwine_exe export portwine_exe
...@@ -71,13 +71,16 @@ if PORT_SCRIPTS_PATH="$(readlink -f "${0%/*}")" ; then ...@@ -71,13 +71,16 @@ if PORT_SCRIPTS_PATH="$(readlink -f "${0%/*}")" ; then
else else
fatal fatal
fi fi
export TEXTDOMAIN="PortProton" # export TEXTDOMAIN="PortProton"
export TEXTDOMAINDIR="${PORT_WINE_PATH}/data/locales" # export TEXTDOMAINDIR="${PORT_WINE_PATH}/data/locales"
#
if ! command -v gettext &>/dev/null # if ! command -v gettext &>/dev/null
then # then
gettext() { echo "$1"; } # gettext() { echo "$1"; }
fi # fi
# eval_gettext () {
# gettext "$1" | (export PATH `envsubst --variables "$1"`; envsubst "$1")
# }
# shellcheck source=/dev/null # shellcheck source=/dev/null
source "${PORT_SCRIPTS_PATH}/functions_helper" source "${PORT_SCRIPTS_PATH}/functions_helper"
...@@ -99,6 +102,7 @@ unset PW_PREFIX_NAME WINEPREFIX VULKAN_MOD PW_WINE_VER PW_ADD_TO_ARGS_IN_RUNTIME ...@@ -99,6 +102,7 @@ unset PW_PREFIX_NAME WINEPREFIX VULKAN_MOD PW_WINE_VER PW_ADD_TO_ARGS_IN_RUNTIME
unset PW_NAME_D_NAME PW_NAME_D_ICON PW_NAME_D_EXEC PW_EXEC_FROM_DESKTOP PW_ALL_DF PW_GENERATE_BUTTONS PW_NAME_D_ICON PW_NAME_D_ICON_48 unset PW_NAME_D_NAME PW_NAME_D_ICON PW_NAME_D_EXEC PW_EXEC_FROM_DESKTOP PW_ALL_DF PW_GENERATE_BUTTONS PW_NAME_D_ICON PW_NAME_D_ICON_48
unset MANGOHUD_CONFIG FPS_LIMIT PW_WINE_USE WINEDLLPATH WINE WINEDIR WINELOADER WINESERVER PW_USE_RUNTIME PORTWINE_CREATE_SHORTCUT_NAME MIRROR unset MANGOHUD_CONFIG FPS_LIMIT PW_WINE_USE WINEDLLPATH WINE WINEDIR WINELOADER WINESERVER PW_USE_RUNTIME PORTWINE_CREATE_SHORTCUT_NAME MIRROR
unset PW_LOCALE_SELECT PW_SETTINGS_INDICATION PW_GUI_START PW_AUTOINSTALL_EXE NOSTSTDIR RADV_DEBUG PW_NO_AUTO_CREATE_SHORTCUT unset PW_LOCALE_SELECT PW_SETTINGS_INDICATION PW_GUI_START PW_AUTOINSTALL_EXE NOSTSTDIR RADV_DEBUG PW_NO_AUTO_CREATE_SHORTCUT
unset PW_DESKTOP_FILES_REGEX
export PORT_WINE_TMP_PATH="${PORT_WINE_PATH}/data/tmp" export PORT_WINE_TMP_PATH="${PORT_WINE_PATH}/data/tmp"
rm -f "$PORT_WINE_TMP_PATH"/*{exe,msi,tar}* rm -f "$PORT_WINE_TMP_PATH"/*{exe,msi,tar}*
...@@ -164,6 +168,8 @@ export PW_WINELIB="${PORT_WINE_TMP_PATH}/libs${PW_LIBS_VER}" ...@@ -164,6 +168,8 @@ export PW_WINELIB="${PORT_WINE_TMP_PATH}/libs${PW_LIBS_VER}"
try_remove_dir "${PW_WINELIB}/var" try_remove_dir "${PW_WINELIB}/var"
install_ver="$(<"${PORT_WINE_TMP_PATH}/PortProton_ver")" install_ver="$(<"${PORT_WINE_TMP_PATH}/PortProton_ver")"
export install_ver export install_ver
scripts_install_ver=$(<"${PORT_WINE_TMP_PATH}/scripts_ver")
export scripts_install_ver
export WINETRICKS_DOWNLOADER="curl" export WINETRICKS_DOWNLOADER="curl"
export USER_CONF="${PORT_WINE_PATH}/data/user.conf" export USER_CONF="${PORT_WINE_PATH}/data/user.conf"
check_user_conf check_user_conf
...@@ -347,16 +353,28 @@ if [[ "${SKIP_CHECK_UPDATES}" != 1 ]] ; then ...@@ -347,16 +353,28 @@ if [[ "${SKIP_CHECK_UPDATES}" != 1 ]] ; then
PW_FILESYSTEM=$(stat -f -c %T "${PORT_WINE_PATH}") PW_FILESYSTEM=$(stat -f -c %T "${PORT_WINE_PATH}")
export PW_FILESYSTEM export PW_FILESYSTEM
else fi
scripts_install_ver=$(<"${PORT_WINE_TMP_PATH}/scripts_ver")
export scripts_install_ver if [[ ! -f "${PORT_SCRIPTS_PATH}/translations/$LANGUAGE" ]] ; then
create_translations
fi
unset translations
# shellcheck source=/dev/null
source "${PORT_SCRIPTS_PATH}/translations/$LANGUAGE"
if [[ $TRANSLATIONS_VER != "$scripts_install_ver" ]] ; then
try_remove_dir "${PORT_SCRIPTS_PATH}/translations"
create_translations
# shellcheck source=/dev/null
source "${PORT_SCRIPTS_PATH}/translations/$LANGUAGE"
fi fi
# create lock file # create lock file
if ! check_flatpak ; then if ! check_flatpak ; then
if [[ -f "${PW_TMPFS_PATH}/portproton.lock" ]] ; then if [[ -f "${PW_TMPFS_PATH}/portproton.lock" ]] ; then
print_warning "Found lock file: ${PW_TMPFS_PATH}/portproton.lock" print_warning "Found lock file: ${PW_TMPFS_PATH}/portproton.lock"
yad_question "$(gettext 'A running PortProton session was detected.\nDo you want to end the previous session?')" || exit 0 yad_question "${translations[A running PortProton session was detected.\\nDo you want to end the previous session?]}" || exit 0
fi fi
touch "${PW_TMPFS_PATH}/portproton.lock" touch "${PW_TMPFS_PATH}/portproton.lock"
rm_lock_file () { rm_lock_file () {
...@@ -404,7 +422,7 @@ fi ...@@ -404,7 +422,7 @@ fi
export SKIP_CHECK_UPDATES="1" export SKIP_CHECK_UPDATES="1"
[[ "$MISSING_DESKTOP_FILE" == 1 ]] && portwine_missing_shortcut [[ "$MISSING_DESKTOP_FILE" == "1" ]] && portwine_missing_shortcut
if [[ -n $(basename "${portwine_exe}" | grep .ppack) ]] ; then if [[ -n $(basename "${portwine_exe}" | grep .ppack) ]] ; then
unset PW_SANDBOX_HOME_PATH unset PW_SANDBOX_HOME_PATH
...@@ -424,7 +442,7 @@ EOF ...@@ -424,7 +442,7 @@ EOF
if grep "ERROR" "${PORT_WINE_TMP_PATH}"/pp_pfx_unpack_error &>/dev/null ; then if grep "ERROR" "${PORT_WINE_TMP_PATH}"/pp_pfx_unpack_error &>/dev/null ; then
try_remove_file "${PORT_WINE_TMP_PATH}"/pp_pfx_unpack_error try_remove_file "${PORT_WINE_TMP_PATH}"/pp_pfx_unpack_error
try_remove_file "${PORT_WINE_TMP_PATH}"/pp_pfx_unpack.sh try_remove_file "${PORT_WINE_TMP_PATH}"/pp_pfx_unpack.sh
yad_error "$(gettext "Unpack has FAILED for prefix:") <b>\"${PW_PREFIX_NAME}\"</b>." yad_error "${translations[Unpack has FAILED for prefix:]} <b>\"${PW_PREFIX_NAME}\"</b>."
exit 1 exit 1
else else
try_remove_file "${PORT_WINE_TMP_PATH}"/pp_pfx_unpack.sh try_remove_file "${PORT_WINE_TMP_PATH}"/pp_pfx_unpack.sh
...@@ -435,7 +453,7 @@ EOF ...@@ -435,7 +453,7 @@ EOF
portwine_create_shortcut portwine_create_shortcut
done < "$PORT_WINE_PATH/data/prefixes/$PW_PREFIX_NAME/.create_shortcut" done < "$PORT_WINE_PATH/data/prefixes/$PW_PREFIX_NAME/.create_shortcut"
fi fi
yad_info "$(gettext "Unpack is DONE for prefix:") <b>\"${PW_PREFIX_NAME}\"</b>." yad_info "${translations[Unpack is DONE for prefix:]} <b>\"${PW_PREFIX_NAME}\"</b>."
exit 0 exit 0
fi fi
fi fi
...@@ -483,7 +501,7 @@ use: [--repair] [--reinstall] [--autoinstall] ...@@ -483,7 +501,7 @@ use: [--repair] [--reinstall] [--autoinstall]
'--debug' ) '--debug' )
clear clear
export PW_DEBUG="set -x" export PW_DEBUG="set -x"
/usr/bin/env bash -c ${pw_full_command_line[*]} 2>&1 | tee "$PORT_WINE_PATH/scripts-debug.log" & /usr/bin/env bash -c ${pw_full_command_line[@]} 2>&1 | tee "$PORT_WINE_PATH/scripts-debug.log" &
exit 0 ;; exit 0 ;;
'--server-file-access' ) '--server-file-access' )
...@@ -528,13 +546,13 @@ if [[ -d "${PORT_WINE_PATH}/data/dist/" ]] ; then ...@@ -528,13 +546,13 @@ if [[ -d "${PORT_WINE_PATH}/data/dist/" ]] ; then
done done
fi fi
SORT_OPENGL="$(gettext 'WineD3D OpenGL (For video cards without Vulkan)')" SORT_OPENGL="${translations[WineD3D OpenGL (For video cards without Vulkan)]}"
SORT_VULKAN="$(gettext 'WineD3D Vulkan (Damavand experimental)')" SORT_VULKAN="${translations[WineD3D Vulkan (Damavand experimental)]}"
SORT_LEGACY="$(gettext 'Legacy DXVK (Vulkan v1.1)')" SORT_LEGACY="${translations[Legacy DXVK (Vulkan v1.1)]}"
SORT_STABLE="$(gettext 'Stable DXVK, VKD3D (Vulkan v1.2)')" SORT_STABLE="${translations[Stable DXVK, VKD3D (Vulkan v1.2)]}"
SORT_NEWEST="$(gettext 'Newest DXVK, VKD3D, D8VK (Vulkan v1.3+)')" SORT_NEWEST="${translations[Newest DXVK, VKD3D, D8VK (Vulkan v1.3+)]}"
SORT_G_NINE="$(gettext 'Gallium Nine (DirectX 9 for MESA)')" SORT_G_NINE="${translations[Gallium Nine (DirectX 9 for MESA)]}"
SORT_G_ZINK="$(gettext 'Gallium Zink (OpenGL to Vulkan)')" SORT_G_ZINK="${translations[Gallium Zink (OpenGL to Vulkan)]}"
case "${PW_VULKAN_USE}" in case "${PW_VULKAN_USE}" in
0) PW_DEFAULT_VULKAN_USE="$SORT_OPENGL!$SORT_NEWEST!$SORT_STABLE!$SORT_LEGACY!$SORT_G_ZINK!$SORT_G_NINE!$SORT_VULKAN" ;; 0) PW_DEFAULT_VULKAN_USE="$SORT_OPENGL!$SORT_NEWEST!$SORT_STABLE!$SORT_LEGACY!$SORT_G_ZINK!$SORT_G_NINE!$SORT_VULKAN" ;;
...@@ -548,9 +566,9 @@ esac ...@@ -548,9 +566,9 @@ esac
if [[ -z "${PW_COMMENT_DB}" ]] ; then if [[ -z "${PW_COMMENT_DB}" ]] ; then
if [[ -n "${PORTPROTON_NAME}" ]] ; then if [[ -n "${PORTPROTON_NAME}" ]] ; then
PW_COMMENT_DB="$(gettext "Launching") <b>${PORTPROTON_NAME}</b>" PW_COMMENT_DB="${translations[Launching]} <b>$(print_wrapped "${PORTPROTON_NAME}" "50")</b>"
else else
PW_COMMENT_DB="$(gettext "Launching") <b>${PORTWINE_DB}</b>" PW_COMMENT_DB="${translations[Launching]} <b>$(print_wrapped "${PORTWINE_DB}" "50")</b>"
fi fi
fi fi
...@@ -581,10 +599,10 @@ if [[ -f "${portwine_exe}" ]] ; then ...@@ -581,10 +599,10 @@ if [[ -f "${portwine_exe}" ]] ; then
fi fi
if [[ "${PW_GUI_DISABLED_CS}" != 1 ]] ; then if [[ "${PW_GUI_DISABLED_CS}" != 1 ]] ; then
pw_create_gui_png pw_create_gui_png
if ! grep -il "${portwine_exe}" "${HOME}/.local/share/applications"/*.desktop ; then if ! grep -il "${portwine_exe}" "${HOME}/.local/share/applications"/*.desktop &>/dev/null ; then
PW_SHORTCUT="$(gettext "CREATE SHORTCUT")!$PW_GUI_ICON_PATH/$BUTTON_SIZE.png!$(gettext "Create shortcut for select file..."):100" PW_SHORTCUT="${translations[CREATE SHORTCUT]}!$PW_GUI_ICON_PATH/$BUTTON_SIZE.png!${translations[Create shortcut for select file...]}:100"
else else
PW_SHORTCUT="$(gettext "DELETE SHORTCUT")!$PW_GUI_ICON_PATH/$BUTTON_SIZE.png!$(gettext "Delete shortcut for select file..."):98" PW_SHORTCUT="${translations[DELETE SHORTCUT]}!$PW_GUI_ICON_PATH/$BUTTON_SIZE.png!${translations[Delete shortcut for select file...]}:98"
fi fi
export KEY_START="$RANDOM" export KEY_START="$RANDOM"
...@@ -600,13 +618,13 @@ if [[ -f "${portwine_exe}" ]] ; then ...@@ -600,13 +618,13 @@ if [[ -f "${portwine_exe}" ]] ; then
"${pw_yad}" --plug=$KEY_START --tabnum=2 --form --columns="${START_GUI_NOTEBOOK_COLUMNS}" --align-buttons --homogeneous-column \ "${pw_yad}" --plug=$KEY_START --tabnum=2 --form --columns="${START_GUI_NOTEBOOK_COLUMNS}" --align-buttons --homogeneous-column \
--gui-type-layout="${START_GUI_TYPE_LAYOUT_NOTEBOOK}" \ --gui-type-layout="${START_GUI_TYPE_LAYOUT_NOTEBOOK}" \
--field=" $(gettext "Base settings")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(gettext "Edit database file for") ${PORTWINE_DB}":"FBTN" '@bash -c "button_click --start 118"' \ --field=" ${translations[Base settings]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${translations[Edit database file for]} ${PORTWINE_DB}":"FBTN" '@bash -c "button_click --start 118"' \
--field=" $(gettext "Settings user.conf")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(gettext "Settings for user.conf")":"FBTN" '@bash -c "button_click --start 128"' \ --field=" ${translations[Settings user.conf]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${translations[Settings for user.conf]}":"FBTN" '@bash -c "button_click --start 128"' \
--field=" $(gettext "Open directory")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(gettext "Open directory with <b>.ppdb</b> file")":"FBTN" '@bash -c "button_click --start open_game_folder"' \ --field=" ${translations[Open directory]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${translations[Open directory with <b>.ppdb</b> file]}":"FBTN" '@bash -c "button_click --start open_game_folder"' \
--field=" vkBasalt"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(gettext "Enable vkBasalt by default to improve graphics in games running on Vulkan. (The HOME hotkey disables vkbasalt)")":"FBTN" '@bash -c "button_click --start 120"' \ --field=" vkBasalt"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${translations[Enable vkBasalt by default to improve graphics in games running on Vulkan. (The HOME hotkey disables vkbasalt)]}":"FBTN" '@bash -c "button_click --start 120"' \
--field=" MangoHud"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(gettext "Enable Mangohud by default (R_SHIFT + F12 keyboard shortcuts disable Mangohud)")":"FBTN" '@bash -c "button_click --start 122"' \ --field=" MangoHud"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${translations[Enable Mangohud by default (R_SHIFT + F12 keyboard shortcuts disable Mangohud)]}":"FBTN" '@bash -c "button_click --start 122"' \
--field=" dgVoodoo2"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(gettext "Enable dgVoodoo2 by default (This wrapper fixes many compatibility and rendering issues when running old games)")":"FBTN" '@bash -c "button_click --start 124"' \ --field=" dgVoodoo2"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${translations[Enable dgVoodoo2 by default (This wrapper fixes many compatibility and rendering issues when running old games)]}":"FBTN" '@bash -c "button_click --start 124"' \
--field=" GameScope"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(gettext "Enable GameScope by default (Wayland micro compositor)")":"FBTN" '@bash -c "button_click --start 126"' \ --field=" GameScope"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${translations[Enable GameScope by default (Wayland micro compositor)]}":"FBTN" '@bash -c "button_click --start 126"' \
2>/dev/null & 2>/dev/null &
if [[ "${PW_YAD_FORM_TAB}" == "1" ]] \ if [[ "${PW_YAD_FORM_TAB}" == "1" ]] \
...@@ -623,12 +641,12 @@ if [[ -f "${portwine_exe}" ]] ; then ...@@ -623,12 +641,12 @@ if [[ -f "${portwine_exe}" ]] ; then
--width="${PW_START_SIZE_W}" --tab-pos="${PW_TAB_POSITON}" \ --width="${PW_START_SIZE_W}" --tab-pos="${PW_TAB_POSITON}" \
--title "PortProton-${install_ver} (${scripts_install_ver}${BRANCH_VERSION})" --expand \ --title "PortProton-${install_ver} (${scripts_install_ver}${BRANCH_VERSION})" --expand \
--window-icon="$PW_GUI_ICON_PATH/portproton.svg" \ --window-icon="$PW_GUI_ICON_PATH/portproton.svg" \
--tab="$(gettext "GENERAL")"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \ --tab="${translations[GENERAL]}"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \
--tab="$(gettext "SETTINGS")"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \ --tab="${translations[SETTINGS]}"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \
--button="$(gettext "MAIN MENU")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(gettext "Main menu")":128 \ --button="${translations[MAIN MENU]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${translations[Main menu]}":128 \
--button="${PW_SHORTCUT}" \ --button="${PW_SHORTCUT}" \
--button="$(gettext "DEBUG")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(gettext "Launch with the creation of a .log file at the root PortProton")":102 \ --button="${translations[DEBUG]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${translations[Launch with the creation of a .log file at the root PortProton]}":102 \
--button="$(gettext "LAUNCH")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(gettext "Run file ...")":106 2>/dev/null --button="${translations[LAUNCH]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${translations[Run file ...]}":106 2>/dev/null
PW_YAD_SET="$?" PW_YAD_SET="$?"
export PW_YAD_FORM_TAB="1" export PW_YAD_FORM_TAB="1"
...@@ -645,13 +663,13 @@ if [[ -f "${portwine_exe}" ]] ; then ...@@ -645,13 +663,13 @@ if [[ -f "${portwine_exe}" ]] ; then
"${pw_yad}" --plug=$KEY_START --tabnum=2 --form --columns="${START_GUI_PANED_COLUMNS}" \ "${pw_yad}" --plug=$KEY_START --tabnum=2 --form --columns="${START_GUI_PANED_COLUMNS}" \
--gui-type-layout="${START_GUI_TYPE_LAYOUT_PANED}" \ --gui-type-layout="${START_GUI_TYPE_LAYOUT_PANED}" \
--align-buttons --homogeneous-row --homogeneous-column \ --align-buttons --homogeneous-row --homogeneous-column \
--field=" $(gettext "Base settings")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(gettext "Edit database file for") ${PORTWINE_DB}":"FBTN" '@bash -c "button_click --start 118"' \ --field=" ${translations[Base settings]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${translations[Edit database file for]} ${PORTWINE_DB}":"FBTN" '@bash -c "button_click --start 118"' \
--field=" $(gettext "Settings user.conf")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(gettext "Settings for user.conf")":"FBTN" '@bash -c "button_click --start 128"' \ --field=" ${translations[Settings user.conf]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${translations[Settings for user.conf]}":"FBTN" '@bash -c "button_click --start 128"' \
--field=" $(gettext "Open directory")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(gettext "Open directory with <b>.ppdb</b> file")":"FBTN" '@bash -c "button_click --start open_game_folder"' \ --field=" ${translations[Open directory]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${translations[Open directory with <b>.ppdb</b> file]}":"FBTN" '@bash -c "button_click --start open_game_folder"' \
--field=" vkBasalt"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(gettext "Enable vkBasalt by default to improve graphics in games running on Vulkan. (The HOME hotkey disables vkbasalt)")":"FBTN" '@bash -c "button_click --start 120"' \ --field=" vkBasalt"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${translations[Enable vkBasalt by default to improve graphics in games running on Vulkan. (The HOME hotkey disables vkbasalt)]}":"FBTN" '@bash -c "button_click --start 120"' \
--field=" MangoHud"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(gettext "Enable Mangohud by default (R_SHIFT + F12 keyboard shortcuts disable Mangohud)")":"FBTN" '@bash -c "button_click --start 122"' \ --field=" MangoHud"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${translations[Enable Mangohud by default (R_SHIFT + F12 keyboard shortcuts disable Mangohud)]}":"FBTN" '@bash -c "button_click --start 122"' \
--field=" dgVoodoo2"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(gettext "Enable dgVoodoo2 by default (This wrapper fixes many compatibility and rendering issues when running old games)")":"FBTN" '@bash -c "button_click --start 124"' \ --field=" dgVoodoo2"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${translations[Enable dgVoodoo2 by default (This wrapper fixes many compatibility and rendering issues when running old games)]}":"FBTN" '@bash -c "button_click --start 124"' \
--field=" GameScope"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(gettext "Enable GameScope by default (Wayland micro compositor)")":"FBTN" '@bash -c "button_click --start 126"' \ --field=" GameScope"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${translations[Enable GameScope by default (Wayland micro compositor)]}":"FBTN" '@bash -c "button_click --start 126"' \
2>/dev/null & 2>/dev/null &
"${pw_yad}" --key=$KEY_START --paned \ "${pw_yad}" --key=$KEY_START --paned \
...@@ -659,10 +677,10 @@ if [[ -f "${portwine_exe}" ]] ; then ...@@ -659,10 +677,10 @@ if [[ -f "${portwine_exe}" ]] ; then
--width="${PW_START_SIZE_W}" --tab-pos="${PW_TAB_POSITON}" \ --width="${PW_START_SIZE_W}" --tab-pos="${PW_TAB_POSITON}" \
--title "PortProton-${install_ver} (${scripts_install_ver}${BRANCH_VERSION})" \ --title "PortProton-${install_ver} (${scripts_install_ver}${BRANCH_VERSION})" \
--window-icon="$PW_GUI_ICON_PATH/portproton.svg" \ --window-icon="$PW_GUI_ICON_PATH/portproton.svg" \
--button="$(gettext "MAIN MENU")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(gettext "Main menu")":128 \ --button="${translations[MAIN MENU]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${translations[Main menu]}":128 \
--button="${PW_SHORTCUT}" \ --button="${PW_SHORTCUT}" \
--button="$(gettext "DEBUG")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(gettext "Launch with the creation of a .log file at the root PortProton")":102 \ --button="${translations[DEBUG]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${translations[Launch with the creation of a .log file at the root PortProton]}":102 \
--button="$(gettext "LAUNCH")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(gettext "Run file ...")":106 2>/dev/null --button="${translations[LAUNCH]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${translations[Run file ...]}":106 2>/dev/null
PW_YAD_SET="$?" PW_YAD_SET="$?"
fi fi
[[ -n "$PW_YAD_SET" ]] && case "$PW_YAD_SET" in [[ -n "$PW_YAD_SET" ]] && case "$PW_YAD_SET" in
...@@ -694,10 +712,10 @@ else ...@@ -694,10 +712,10 @@ else
gui_userconf gui_userconf
fi fi
export KEY="$RANDOM" export KEY_MENU="$RANDOM"
IFS=$'\n' IFS=$'\n'
PW_GENERATE_BUTTONS="--field= $(gettext "Create shortcut...")!${PW_GUI_ICON_PATH}/find_48.svg!:FBTN%@bash -c \"button_click --normal pw_find_exe\"%" PW_GENERATE_BUTTONS="--field= ${translations[Create shortcut...]}!${PW_GUI_ICON_PATH}/find_48.svg!:FBTN%@bash -c \"button_click --normal pw_find_exe\"%"
for PW_DESKTOP_FILES in ${PW_ALL_DF} ; do for PW_DESKTOP_FILES in ${PW_ALL_DF} ; do
if check_flatpak ; then if check_flatpak ; then
PW_NAME_D_ICON="$(grep Exec "${PORT_WINE_PATH}/${PW_DESKTOP_FILES}" | awk -F'=' '{print $2}' | PW_NAME_D_ICON="$(grep Exec "${PORT_WINE_PATH}/${PW_DESKTOP_FILES}" | awk -F'=' '{print $2}' |
...@@ -713,62 +731,87 @@ else ...@@ -713,62 +731,87 @@ else
resize_png "${PW_NAME_D_ICON}" "${PW_NAME_D_ICON_48//"${PORT_WINE_PATH}/data/img/"/}" "48" resize_png "${PW_NAME_D_ICON}" "${PW_NAME_D_ICON_48//"${PORT_WINE_PATH}/data/img/"/}" "48"
resize_png "${PW_NAME_D_ICON}" "${PW_NAME_D_ICON_128//"${PORT_WINE_PATH}/data/img/"/}" "128" resize_png "${PW_NAME_D_ICON}" "${PW_NAME_D_ICON_128//"${PORT_WINE_PATH}/data/img/"/}" "128"
fi fi
PW_GENERATE_BUTTONS+="--field= ${PW_DESKTOP_FILES//".desktop"/""}!${PW_NAME_D_ICON_48}.png!:FBTN%@bash -c \"run_desktop_b_click "${PW_DESKTOP_FILES// /@_@}"\"%" if [[ $PW_DESKTOP_FILES =~ [\(\)\!\$\%\&\`\'\"\>\<\\\|\;] ]] ; then
export PW_DESKTOP_FILES_REGEX="1"
PW_DESKTOP_FILES_SHOW="${PW_DESKTOP_FILES//\!/}"
PW_DESKTOP_FILES_SHOW="${PW_DESKTOP_FILES_SHOW//\%/}"
PW_DESKTOP_FILES_SHOW="${PW_DESKTOP_FILES_SHOW//\$/}"
PW_DESKTOP_FILES_SHOW="${PW_DESKTOP_FILES_SHOW//\&/}"
PW_DESKTOP_FILES_SHOW="${PW_DESKTOP_FILES_SHOW//\</}"
PW_DESKTOP_FILES="${PW_DESKTOP_FILES//\(/#+_1#}"
PW_DESKTOP_FILES="${PW_DESKTOP_FILES//\)/#+_2#}"
PW_DESKTOP_FILES="${PW_DESKTOP_FILES//\!/#+_3#}"
PW_DESKTOP_FILES="${PW_DESKTOP_FILES//\$/#+_4#}"
PW_DESKTOP_FILES="${PW_DESKTOP_FILES//\%/#+_5#}"
PW_DESKTOP_FILES="${PW_DESKTOP_FILES//\&/#+_6#}"
PW_DESKTOP_FILES="${PW_DESKTOP_FILES//\`/#+_7#}"
PW_DESKTOP_FILES="${PW_DESKTOP_FILES//\'/#+_8#}"
PW_DESKTOP_FILES="${PW_DESKTOP_FILES//\"/#+_9#}"
PW_DESKTOP_FILES="${PW_DESKTOP_FILES//\>/#+_10#}"
PW_DESKTOP_FILES="${PW_DESKTOP_FILES//\</#+_11#}"
PW_DESKTOP_FILES="${PW_DESKTOP_FILES//\\/#+_12#}"
PW_DESKTOP_FILES="${PW_DESKTOP_FILES//\|/#+_13#}"
PW_DESKTOP_FILES="${PW_DESKTOP_FILES//\;/#+_14#}"
else
PW_DESKTOP_FILES_SHOW="${PW_DESKTOP_FILES}"
fi
PW_GENERATE_BUTTONS+="--field= $(print_wrapped "${PW_DESKTOP_FILES_SHOW//".desktop"/""}" "20" "...")!${PW_NAME_D_ICON_48}.png!:FBTN%@bash -c \"button_click --desktop "${PW_DESKTOP_FILES// /#@_@#}"\"%"
done done
IFS="$orig_IFS" IFS="$orig_IFS"
IFS="%" IFS="%"
"${pw_yad}" --plug=$KEY --tabnum="${PW_GUI_SORT_TABS[4]}" --form --columns="$MAIN_GUI_COLUMNS" --homogeneous-column \ "${pw_yad}" --plug=$KEY_MENU --tabnum="${PW_GUI_SORT_TABS[4]}" --form --columns="$MAIN_GUI_COLUMNS" --homogeneous-column \
--gui-type-layout="${MAIN_MENU_GUI_TYPE_LAYOUT}" \ --gui-type-layout="${MAIN_MENU_GUI_TYPE_LAYOUT}" \
--align-buttons --scroll --separator=" " ${PW_GENERATE_BUTTONS} 2>/dev/null & --align-buttons --scroll --separator=" " ${PW_GENERATE_BUTTONS} 2>/dev/null &
IFS="$orig_IFS" IFS="$orig_IFS"
"${pw_yad}" --plug=$KEY --tabnum="${PW_GUI_SORT_TABS[3]}" --form --columns=3 --align-buttons --separator=";" --homogeneous-column \ "${pw_yad}" --plug=$KEY_MENU --tabnum="${PW_GUI_SORT_TABS[3]}" --form --columns=3 --align-buttons --separator=";" --homogeneous-column \
--gui-type-layout="${MAIN_MENU_GUI_TYPE_LAYOUT}" \ --gui-type-layout="${MAIN_MENU_GUI_TYPE_LAYOUT}" \
--field=" $(gettext "Reinstall PortProton")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click --normal gui_pw_reinstall_pp"' \ --field=" ${translations[Reinstall PortProton]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click --normal gui_pw_reinstall_pp"' \
--field=" $(gettext "Remove PortProton")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click --normal gui_rm_portproton"' \ --field=" ${translations[Remove PortProton]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click --normal gui_rm_portproton"' \
--field=" $(gettext "Update PortProton")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click --normal gui_pw_update"' \ --field=" ${translations[Update PortProton]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click --normal gui_pw_update"' \
--field=" $(gettext "Changelog")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click --normal open_changelog"' \ --field=" ${translations[Changelog]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click --normal open_changelog"' \
--field=" $(gettext "Change language")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click --normal change_loc"' \ --field=" ${translations[Change language]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click --normal change_loc"' \
--field=" $(gettext "Settings user.conf")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click --normal 128"' \ --field=" ${translations[Settings user.conf]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click --normal 128"' \
--field=" $(gettext "Scripts from backup")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click --normal gui_open_scripts_from_backup"' \ --field=" ${translations[Scripts from backup]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click --normal gui_open_scripts_from_backup"' \
--field=" Xterm"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click --normal pw_start_cont_xterm"' \ --field=" Xterm"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click --normal pw_start_cont_xterm"' \
--field=" $(gettext "Credits")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click --normal gui_credits"' \ --field=" ${translations[Credits]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click --normal gui_credits"' \
2>/dev/null & 2>/dev/null &
"${pw_yad}" --plug=$KEY --tabnum="${PW_GUI_SORT_TABS[2]}" --form --columns=3 --align-buttons --separator=";" \ "${pw_yad}" --plug=$KEY_MENU --tabnum="${PW_GUI_SORT_TABS[2]}" --form --columns=3 --align-buttons --separator=";" \
--gui-type-layout="${MAIN_MENU_GUI_TYPE_LAYOUT}" \ --gui-type-layout="${MAIN_MENU_GUI_TYPE_LAYOUT}" \
--field=" 3D API : :CB" "${PW_DEFAULT_VULKAN_USE}" \ --field=" 3D API : :CB" "${PW_DEFAULT_VULKAN_USE}" \
--field=" PREFIX : :CBE" "${PW_ADD_PREFIXES_TO_GUI}" \ --field=" PREFIX : :CBE" "${PW_ADD_PREFIXES_TO_GUI}" \
--field=" WINE : :CB" "$(combobox_fix "${PW_WINE_USE}" "${PW_DEFAULT_WINE_USE}")" \ --field=" WINE : :CB" "$(combobox_fix "${PW_WINE_USE}" "${PW_DEFAULT_WINE_USE}")" \
--field="$(gettext "Create prefix backup")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"CFBTN" '@bash -c "button_click --normal pw_create_prefix_backup"' \ --field="${translations[Create prefix backup]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"CFBTN" '@bash -c "button_click --normal pw_create_prefix_backup"' \
--field=" Winetricks"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"$(gettext "Run winetricks to install additional libraries to the selected prefix")":"FBTN" '@bash -c "button_click --normal WINETRICKS"' \ --field=" Winetricks"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"${translations[Run winetricks to install additional libraries to the selected prefix]}":"FBTN" '@bash -c "button_click --normal WINETRICKS"' \
--field=" $(gettext "Clear prefix")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"$(gettext "Clear the prefix to fix problems")":"FBTN" '@bash -c "button_click --normal gui_clear_pfx"' \ --field=" ${translations[Clear prefix]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"${translations[Clear the prefix to fix problems]}":"FBTN" '@bash -c "button_click --normal gui_clear_pfx"' \
--field=" $(gettext "Get other Wine")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"$(gettext "Open the menu to download other versions of WINE or PROTON")":"FBTN" '@bash -c "button_click --normal gui_proton_downloader"' \ --field=" ${translations[Get other Wine]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"${translations[Open the menu to download other versions of WINE or PROTON]}":"FBTN" '@bash -c "button_click --normal gui_proton_downloader"' \
--field=" $(gettext "Uninstaller")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"$(gettext "Run the program uninstaller built into wine")":"FBTN" '@bash -c "button_click --normal gui_wine_uninstaller"' \ --field=" ${translations[Uninstaller]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"${translations[Run the program uninstaller built into wine]}":"FBTN" '@bash -c "button_click --normal gui_wine_uninstaller"' \
--field=" $(gettext "Prefix Manager") "!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"$(gettext "Run winecfg to edit the settings of the selected prefix")":"FBTN" '@bash -c "button_click --normal WINECFG"' \ --field=" ${translations[Prefix Manager]} "!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"${translations[Run winecfg to edit the settings of the selected prefix]}":"FBTN" '@bash -c "button_click --normal WINECFG"' \
--field=" $(gettext "File Manager")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"$(gettext "Run wine file manager")":"FBTN" '@bash -c "button_click --normal WINEFILE"' \ --field=" ${translations[File Manager]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"${translations[Run wine file manager]}":"FBTN" '@bash -c "button_click --normal WINEFILE"' \
--field=" $(gettext "Command line")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"$(gettext "Run wine cmd")":"FBTN" '@bash -c "button_click --normal WINECMD"' \ --field=" ${translations[Command line]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"${translations[Run wine cmd]}":"FBTN" '@bash -c "button_click --normal WINECMD"' \
--field=" $(gettext "Regedit")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"$(gettext "Run wine regedit")":"FBTN" '@bash -c "button_click --normal WINEREG"' 1> "${PW_TMPFS_PATH}/tmp_yad_form_vulkan" 2>/dev/null & --field=" ${translations[Regedit]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"${translations[Run wine regedit]}":"FBTN" '@bash -c "button_click --normal WINEREG"' 1> "${PW_TMPFS_PATH}/tmp_yad_form_vulkan" 2>/dev/null &
"${pw_yad}" --plug=$KEY --tabnum="${PW_GUI_SORT_TABS[1]}" --form --columns="$MAIN_GUI_COLUMNS" --align-buttons --scroll --homogeneous-column \ "${pw_yad}" --plug=$KEY_MENU --tabnum="${PW_GUI_SORT_TABS[1]}" --form --columns="$MAIN_GUI_COLUMNS" --align-buttons --scroll --homogeneous-column \
--gui-type-layout="${MAIN_MENU_GUI_TYPE_LAYOUT}" \ --gui-type-layout="${MAIN_MENU_GUI_TYPE_LAYOUT}" \
--field=" Dolphin 5.0"!"$PW_GUI_ICON_PATH/dolphin.png"!"$(gettext "Emulator for Nintendo game consoles with high compatibility")":"FBTN" '@bash -c "button_click --normal PW_DOLPHIN"' \ --field=" Dolphin 5.0"!"$PW_GUI_ICON_PATH/dolphin.png"!"${translations[Emulator for Nintendo game consoles with high compatibility]}":"FBTN" '@bash -c "button_click --normal PW_DOLPHIN"' \
--field=" MAME"!"$PW_GUI_ICON_PATH/mame.png"!"$(gettext "Multi-arcade emulator that allows you to play old arcade games")":"FBTN" '@bash -c "button_click --normal PW_MAME"' \ --field=" MAME"!"$PW_GUI_ICON_PATH/mame.png"!"${translations[Multi-arcade emulator that allows you to play old arcade games]}":"FBTN" '@bash -c "button_click --normal PW_MAME"' \
--field=" RetroArch"!"$PW_GUI_ICON_PATH/retroarch.png"!"$(gettext "Multi-platform frontend for emulators with extensive settings")":"FBTN" '@bash -c "button_click --normal PW_RETROARCH"' \ --field=" RetroArch"!"$PW_GUI_ICON_PATH/retroarch.png"!"${translations[Multi-platform frontend for emulators with extensive settings]}":"FBTN" '@bash -c "button_click --normal PW_RETROARCH"' \
--field=" PPSSPP Windows"!"$PW_GUI_ICON_PATH/ppsspp.png"!"$(gettext "Emulator for the PlayStation Portable (PSP) game console")":"FBTN" '@bash -c "button_click --normal PW_PPSSPP"' \ --field=" PPSSPP Windows"!"$PW_GUI_ICON_PATH/ppsspp.png"!"${translations[Emulator for the PlayStation Portable (PSP) game console]}":"FBTN" '@bash -c "button_click --normal PW_PPSSPP"' \
--field=" Citra"!"$PW_GUI_ICON_PATH/citra.png"!"$(gettext "Emulator for the Nintendo 3DS game console")":"FBTN" '@bash -c "button_click --normal PW_CITRA"' \ --field=" Citra"!"$PW_GUI_ICON_PATH/citra.png"!"${translations[Emulator for the Nintendo 3DS game console]}":"FBTN" '@bash -c "button_click --normal PW_CITRA"' \
--field=" Cemu"!"$PW_GUI_ICON_PATH/cemu.png"!"$(gettext "Emulator for the Wii U game console")":"FBTN" '@bash -c "button_click --normal PW_CEMU"' \ --field=" Cemu"!"$PW_GUI_ICON_PATH/cemu.png"!"${translations[Emulator for the Wii U game console]}":"FBTN" '@bash -c "button_click --normal PW_CEMU"' \
--field=" ePSXe"!"$PW_GUI_ICON_PATH/epsxe.png"!"$(gettext "Emulator for the PlayStation 1 game console with high compatibility")":"FBTN" '@bash -c "button_click --normal PW_EPSXE"' \ --field=" ePSXe"!"$PW_GUI_ICON_PATH/epsxe.png"!"${translations[Emulator for the PlayStation 1 game console with high compatibility]}":"FBTN" '@bash -c "button_click --normal PW_EPSXE"' \
--field=" Project64"!"$PW_GUI_ICON_PATH/project64.png"!"$(gettext "Emulator for the Nintendo 64 game console")":"FBTN" '@bash -c "button_click --normal PW_PROJECT64"' \ --field=" Project64"!"$PW_GUI_ICON_PATH/project64.png"!"${translations[Emulator for the Nintendo 64 game console]}":"FBTN" '@bash -c "button_click --normal PW_PROJECT64"' \
--field=" VBA-M"!"$PW_GUI_ICON_PATH/vba-m.png"!"$(gettext "Emulator for the Game Boy Advance game console")":"FBTN" '@bash -c "button_click --normal PW_VBA-M"' \ --field=" VBA-M"!"$PW_GUI_ICON_PATH/vba-m.png"!"${translations[Emulator for the Game Boy Advance game console]}":"FBTN" '@bash -c "button_click --normal PW_VBA-M"' \
--field=" Yabause"!"$PW_GUI_ICON_PATH/yabause.png"!"$(gettext "Emulator for the Sega Saturn game console")":"FBTN" '@bash -c "button_click --normal PW_YABAUSE"' \ --field=" Yabause"!"$PW_GUI_ICON_PATH/yabause.png"!"${translations[Emulator for the Sega Saturn game console]}":"FBTN" '@bash -c "button_click --normal PW_YABAUSE"' \
--field=" Xenia"!"$PW_GUI_ICON_PATH/xenia.png"!"$(gettext "Emulator for the Xbox 360 game console")":"FBTN" '@bash -c "button_click --normal PW_XENIA"' \ --field=" Xenia"!"$PW_GUI_ICON_PATH/xenia.png"!"${translations[Emulator for the Xbox 360 game console]}":"FBTN" '@bash -c "button_click --normal PW_XENIA"' \
--field=" FCEUX"!"$PW_GUI_ICON_PATH/fceux.png"!"$(gettext "Emulator for the Nintendo Entertainment System (NES or Dendy) game console")":"FBTN" '@bash -c "button_click --normal PW_FCEUX"' \ --field=" FCEUX"!"$PW_GUI_ICON_PATH/fceux.png"!"${translations[Emulator for the Nintendo Entertainment System (NES or Dendy) game console]}":"FBTN" '@bash -c "button_click --normal PW_FCEUX"' \
--field=" xemu"!"$PW_GUI_ICON_PATH/xemu.png"!"$(gettext "Emulator for the Xbox game console")":"FBTN" '@bash -c "button_click --normal PW_XEMU"' \ --field=" xemu"!"$PW_GUI_ICON_PATH/xemu.png"!"${translations[Emulator for the Xbox game console]}":"FBTN" '@bash -c "button_click --normal PW_XEMU"' \
--field=" Demul"!"$PW_GUI_ICON_PATH/demul.png"!"$(gettext "Emulator for the Sega Dreamcast game console")":"FBTN" '@bash -c "button_click --normal PW_DEMUL"' 2>/dev/null & --field=" Demul"!"$PW_GUI_ICON_PATH/demul.png"!"${translations[Emulator for the Sega Dreamcast game console]}":"FBTN" '@bash -c "button_click --normal PW_DEMUL"' 2>/dev/null &
"${pw_yad}" --plug=$KEY --tabnum="${PW_GUI_SORT_TABS[0]}" --form --columns="$MAIN_GUI_COLUMNS" --align-buttons --scroll --homogeneous-column \ "${pw_yad}" --plug=$KEY_MENU --tabnum="${PW_GUI_SORT_TABS[0]}" --form --columns="$MAIN_GUI_COLUMNS" --align-buttons --scroll --homogeneous-column \
--gui-type-layout="${MAIN_MENU_GUI_TYPE_LAYOUT}" \ --gui-type-layout="${MAIN_MENU_GUI_TYPE_LAYOUT}" \
--field=" Lesta Game Center"!"$PW_GUI_ICON_PATH/lgc.png"!"":"FBTN" '@bash -c "button_click --normal PW_LGC"' \ --field=" Lesta Game Center"!"$PW_GUI_ICON_PATH/lgc.png"!"":"FBTN" '@bash -c "button_click --normal PW_LGC"' \
--field=" vkPlay Games Center"!"$PW_GUI_ICON_PATH/mygames.png"!"":"FBTN" '@bash -c "button_click --normal PW_VKPLAY"' \ --field=" vkPlay Games Center"!"$PW_GUI_ICON_PATH/mygames.png"!"":"FBTN" '@bash -c "button_click --normal PW_VKPLAY"' \
...@@ -819,30 +862,30 @@ else ...@@ -819,30 +862,30 @@ else
fi fi
if [[ -z "${PW_ALL_DF}" ]] ; then if [[ -z "${PW_ALL_DF}" ]] ; then
"${pw_yad}" --key=$KEY --notebook --expand \ "${pw_yad}" --key=$KEY_MENU --notebook --expand \
--gui-type="settings-notebook" --active-tab="${TAB_MAIN_MENU}" \ --gui-type="settings-notebook" --active-tab="${TAB_MAIN_MENU}" \
--width="${PW_MAIN_SIZE_W}" --height="${PW_MAIN_SIZE_H}" --no-buttons \ --width="${PW_MAIN_SIZE_W}" --height="${PW_MAIN_SIZE_H}" --no-buttons \
--window-icon="$PW_GUI_ICON_PATH/portproton.svg" \ --window-icon="$PW_GUI_ICON_PATH/portproton.svg" \
--title "PortProton-${install_ver} (${scripts_install_ver}${BRANCH_VERSION})" \ --title "PortProton-${install_ver} (${scripts_install_ver}${BRANCH_VERSION})" \
--tab-pos="bottom" \ --tab-pos="bottom" \
--tab="$(gettext "AUTOINSTALLS")"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \ --tab="${translations[AUTOINSTALLS]}"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \
--tab="$(gettext "EMULATORS")"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \ --tab="${translations[EMULATORS]}"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \
--tab="$(gettext "WINE SETTINGS")"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \ --tab="${translations[WINE SETTINGS]}"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \
--tab="$(gettext "PORTPROTON SETTINGS")"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \ --tab="${translations[PORTPROTON SETTINGS]}"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \
--tab="$(gettext "INSTALLED")"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" 2>/dev/null --tab="${translations[INSTALLED]}"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" 2>/dev/null
YAD_STATUS="$?" YAD_STATUS="$?"
else else
"${pw_yad}" --key=$KEY --notebook --expand \ "${pw_yad}" --key=$KEY_MENU --notebook --expand \
--gui-type="settings-notebook" --active-tab="${TAB_MAIN_MENU}" \ --gui-type="settings-notebook" --active-tab="${TAB_MAIN_MENU}" \
--width="${PW_MAIN_SIZE_W}" --height="${PW_MAIN_SIZE_H}" --no-buttons \ --width="${PW_MAIN_SIZE_W}" --height="${PW_MAIN_SIZE_H}" --no-buttons \
--window-icon="$PW_GUI_ICON_PATH/portproton.svg" \ --window-icon="$PW_GUI_ICON_PATH/portproton.svg" \
--title "PortProton-${install_ver} (${scripts_install_ver}${BRANCH_VERSION})" \ --title "PortProton-${install_ver} (${scripts_install_ver}${BRANCH_VERSION})" \
--tab-pos="bottom" \ --tab-pos="bottom" \
--tab="$(gettext "INSTALLED")"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \ --tab="${translations[INSTALLED]}"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \
--tab="$(gettext "AUTOINSTALLS")"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \ --tab="${translations[AUTOINSTALLS]}"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \
--tab="$(gettext "EMULATORS")"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \ --tab="${translations[EMULATORS]}"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \
--tab="$(gettext "WINE SETTINGS")"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \ --tab="${translations[WINE SETTINGS]}"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \
--tab="$(gettext "PORTPROTON SETTINGS")"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" 2>/dev/null --tab="${translations[PORTPROTON SETTINGS]}"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" 2>/dev/null
YAD_STATUS="$?" YAD_STATUS="$?"
fi fi
...@@ -924,7 +967,7 @@ esac ...@@ -924,7 +967,7 @@ esac
pw_start_cont_xterm) pw_start_cont_xterm ;; pw_start_cont_xterm) pw_start_cont_xterm ;;
pw_find_exe) pw_find_exe ;; pw_find_exe) pw_find_exe ;;
PW_*) pw_autoinstall_from_db ;; PW_*) pw_autoinstall_from_db ;;
*.desktop) run_desktop_b_click ;; *.desktop) button_click --desktop ;;
1|252|*) exit 0 ;; 1|252|*) exit 0 ;;
esac esac
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment