Commit 62c3497b authored by Vladislav's avatar Vladislav

Added associative massive translite

parent 6fce4820
...@@ -7,13 +7,13 @@ ...@@ -7,13 +7,13 @@
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-18 01:14+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"
"Language: \n" "Language: \n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
msgid "A running PortProton session was detected.\\nDo you want to end the " msgid "A running PortProton session was detected.\\nDo you want to end the "
...@@ -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,16 @@ msgstr "" ...@@ -1246,15 +1245,16 @@ msgstr ""
msgid "Change settings gamescope for" msgid "Change settings gamescope for"
msgstr "" msgstr ""
#, sh-format msgid "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:\\nflatpak install -y runtime/org."
"command in the terminal:\\n flatpak 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>" msgstr ""
msgid "(Can be selected and copied)"
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 ""
...@@ -1549,18 +1549,14 @@ msgstr "" ...@@ -1549,18 +1549,14 @@ msgstr ""
msgid "SAVE" msgid "SAVE"
msgstr "" msgstr ""
#, sh-format msgid "scripts"
msgid "PortProton v. ${install_ver}\n"
" scripts v. ${scripts_install_ver}"
msgstr "" msgstr ""
#, sh-format msgid "Copyright"
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,12 +1564,10 @@ msgid "Author: Casro-Fidel (Mikhail Tergoev)\n" ...@@ -1568,12 +1564,10 @@ msgid "Author: Casro-Fidel (Mikhail Tergoev)\n"
"Developer assistants and testers:" "Developer assistants and testers:"
msgstr "" msgstr ""
#, sh-format msgid "MIT License"
msgid "MIT License\n" msgstr ""
"\n"
"Copyright © $DATE Castro-Fidel (linux-gaming.ru)\n" msgid "Permission is hereby granted, free of charge, to any person "
"\n"
"Permission is hereby granted, free of charge, to any person "
"obtaining a copy\n" "obtaining a copy\n"
"of this software and associated documentation files (the " "of this software and associated documentation files (the "
"\"Software\"), to deal\n" "\"Software\"), to deal\n"
...@@ -1601,14 +1595,14 @@ msgid "MIT License\n" ...@@ -1601,14 +1595,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,7 +8,7 @@ msgid "" ...@@ -8,7 +8,7 @@ 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-18 01:14+0500\n"
"PO-Revision-Date: 2024-09-15 15:29+0500\n" "PO-Revision-Date: 2024-09-15 15:29+0500\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \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,24 @@ msgstr "" ...@@ -1624,21 +1627,24 @@ msgstr ""
msgid "Change settings gamescope for" msgid "Change settings gamescope for"
msgstr "Cambiar ajustes gamescope para" msgstr "Cambiar ajustes gamescope para"
#, sh-format #, fuzzy
msgid "" msgid ""
"<b>Gamescope is not detected on the system, to install it, run the command " "Gamescope is not detected on the system, to install it, run the command in "
"in the terminal:\\n flatpak install -y runtime/org.freedesktop.Platform." "the terminal:\\nflatpak install -y runtime/org.freedesktop.Platform."
"VulkanLayer.gamescope/x86_64/${GAMESCOPE_VERSION}\\n (Can be selected and " "VulkanLayer.gamescope/x86_64/"
"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>."
msgid "(Can be selected and copied)"
msgstr ""
#, 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 +1679,7 @@ msgstr "" ...@@ -1673,6 +1679,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"
...@@ -2001,20 +2008,16 @@ msgstr "ATRÁS" ...@@ -2001,20 +2008,16 @@ msgstr "ATRÁS"
msgid "SAVE" msgid "SAVE"
msgstr "AHORRAR" msgstr "AHORRAR"
#, sh-format #, fuzzy
msgid "" msgid "scripts"
"PortProton v. ${install_ver}\n" msgstr "Actualizar scripts:"
" scripts v. ${scripts_install_ver}"
msgid "Copyright"
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,12 +2026,10 @@ msgid "" ...@@ -2023,12 +2026,10 @@ msgid ""
"Developer assistants and testers:" "Developer assistants and testers:"
msgstr "" msgstr ""
#, sh-format msgid "MIT License"
msgstr ""
msgid "" msgid ""
"MIT License\n"
"\n"
"Copyright © $DATE Castro-Fidel (linux-gaming.ru)\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"
"of this software and associated documentation files (the \"Software\"), to " "of this software and associated documentation files (the \"Software\"), to "
...@@ -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:"
...@@ -2096,8 +2097,9 @@ msgstr "" ...@@ -2096,8 +2097,9 @@ msgstr ""
msgid "ABOUT PORTPROTON" msgid "ABOUT PORTPROTON"
msgstr "" msgstr ""
#, fuzzy
msgid "AUTORS" msgid "AUTORS"
msgstr "" msgstr "EMULADORES"
msgid "LICENSE" msgid "LICENSE"
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-18 01:14+0500\n"
"PO-Revision-Date: 2024-09-15 15:28+0500\n" "PO-Revision-Date: 2024-09-17 20:12+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>"
...@@ -1176,10 +1176,11 @@ msgstr "" ...@@ -1176,10 +1176,11 @@ msgstr ""
msgid "Show temperature in Fahrenheit" msgid "Show temperature in Fahrenheit"
msgstr "Показывать температуру в градусах Фаренгейта" msgstr "Показывать температуру в градусах Фаренгейта"
#, 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 ""
"Показать, регулируется ли графический процессор в зависимости от мощности, " "Показать, регулируется ли графический процессор в зависимости от мощности, "
"тока, температуры или «другого» (показывает только то, происходит ли " "тока, температуры или «другого» (показывает только то, происходит ли "
...@@ -1376,6 +1377,7 @@ msgstr "" ...@@ -1376,6 +1377,7 @@ msgstr ""
"Включение данной опции помогает исправить зависание или вылетание в " "Включение данной опции помогает исправить зависание или вылетание в "
"некоторых играх при сворачивании окна (Glide)" "некоторых играх при сворачивании окна (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"
...@@ -1596,21 +1598,23 @@ msgstr "" ...@@ -1596,21 +1598,23 @@ msgstr ""
msgid "Change settings gamescope for" msgid "Change settings gamescope for"
msgstr "Изменить настройки Gamescope для" msgstr "Изменить настройки Gamescope для"
#, sh-format #, fuzzy
msgid "" msgid ""
"<b>Gamescope is not detected on the system, to install it, run the command " "Gamescope is not detected on the system, to install it, run the command in "
"in the terminal:\\n flatpak install -y runtime/org.freedesktop.Platform." "the terminal:\\nflatpak install -y runtime/org.freedesktop.Platform."
"VulkanLayer.gamescope/x86_64/${GAMESCOPE_VERSION}\\n (Can be selected and " "VulkanLayer.gamescope/x86_64/"
"copied)</b>"
msgstr "" msgstr ""
"<b>Gamescope не найден в системе, для его установки выполните команду в " "Gamescope не найден в системе, для его установки выполните команду в "
"терминале:\\n flatpak install -y runtime/org.freedesktop.Platform." "терминале:\\n flatpak install -y runtime/org.freedesktop.Platform."
"VulkanLayer.gamescope/x86_64/${GAMESCOPE_VERSION}\\n (можно выделить и " "VulkanLayer.gamescope/x86_64/"
"скопировать)</b>"
msgid "(Can be selected and copied)"
msgstr "(можно выделить и скопировать)"
#, 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 не найден в системе, обратитесь к производителю вашего " "<b>Gamescope не найден в системе, обратитесь к производителю вашего "
...@@ -1644,6 +1648,7 @@ msgstr "Ограничение частоты кадров (кадров в се ...@@ -1644,6 +1648,7 @@ msgstr "Ограничение частоты кадров (кадров в се
msgid "Mesa vulkan WSI" msgid "Mesa vulkan WSI"
msgstr "Режим работы окна" msgstr "Режим работы окна"
#, 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"
...@@ -1973,29 +1978,18 @@ msgstr "НАЗАД" ...@@ -1973,29 +1978,18 @@ msgstr "НАЗАД"
msgid "SAVE" msgid "SAVE"
msgstr "СОХРАНИТЬ" msgstr "СОХРАНИТЬ"
#, sh-format msgid "scripts"
msgid "" msgstr "версия"
"PortProton v. ${install_ver}\n"
" scripts v. ${scripts_install_ver}" msgid "Copyright"
msgstr "" msgstr "Авторские права"
"PortProton v. ${install_ver}\n"
" версия v. ${scripts_install_ver}"
#, 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,12 +2000,10 @@ msgstr "" ...@@ -2006,12 +2000,10 @@ msgstr ""
"\n" "\n"
"Помощники разработчика и тестировщики:" "Помощники разработчика и тестировщики:"
#, sh-format msgid "MIT License"
msgstr "Лицензия Массачусетского технологического института (MIT License)"
msgid "" msgid ""
"MIT License\n"
"\n"
"Copyright © $DATE Castro-Fidel (linux-gaming.ru)\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"
"of this software and associated documentation files (the \"Software\"), to " "of this software and associated documentation files (the \"Software\"), to "
...@@ -2034,12 +2026,8 @@ msgid "" ...@@ -2034,12 +2026,8 @@ 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"
"\n"
"Авторские права © $DATE Castro-Fidel (linux-gaming.ru)\n"
"\n"
"Настоящим предоставляется бесплатное разрешение любому лицу, получившему " "Настоящим предоставляется бесплатное разрешение любому лицу, получившему "
"копию данного\n" "копию данного\n"
"программного обеспечения и связанных с ним файлов документации (Программное\n" "программного обеспечения и связанных с ним файлов документации (Программное\n"
...@@ -2068,7 +2056,7 @@ msgstr "" ...@@ -2068,7 +2056,7 @@ msgstr ""
"ВОЗНИКАЮЩАЯ ИЗ\n" "ВОЗНИКАЮЩАЯ ИЗ\n"
"ВНЕ ИЛИ В СВЯЗИ С ПРОГРАММНЫМ ОБЕСПЕЧЕНИЕМ ИЛИ ИСПОЛЬЗОВАНИЕМ ИЛИ ДРУГИМИ " "ВНЕ ИЛИ В СВЯЗИ С ПРОГРАММНЫМ ОБЕСПЕЧЕНИЕМ ИЛИ ИСПОЛЬЗОВАНИЕМ ИЛИ ДРУГИМИ "
"СДЕЛКАМИ В\n" "СДЕЛКАМИ В\n"
"ПРОГРАММНОГО ОБЕСПЕЧЕНИЯ.\n" "ПРОГРАММНОГО ОБЕСПЕЧЕНИЯ."
msgid "" msgid ""
"The project was supported:\n" "The project was supported:\n"
...@@ -2077,8 +2065,8 @@ msgstr "" ...@@ -2077,8 +2065,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 +2135,14 @@ msgstr "ПРИСОЕДЕНИТЬСЯ" ...@@ -2147,6 +2135,14 @@ msgstr "ПРИСОЕДЕНИТЬСЯ"
msgid "THIRD PARTY LIBRARIES" msgid "THIRD PARTY LIBRARIES"
msgstr "БИБЛИОТЕКИ" msgstr "БИБЛИОТЕКИ"
#, sh-format
#~ msgid ""
#~ "PortProton v. ${install_ver}\n"
#~ "scripts v. ${scripts_install_ver}"
#~ msgstr ""
#~ "PortProton v. ${install_ver}\n"
#~ "версия v. ${scripts_install_ver}"
#~ 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
......
...@@ -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"
...@@ -158,6 +161,25 @@ export pw_yad="${PW_GUI_THEMES_PATH}/gui/yad_gui_pp" ...@@ -158,6 +161,25 @@ export pw_yad="${PW_GUI_THEMES_PATH}/gui/yad_gui_pp"
change_locale change_locale
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
unset translations
# shellcheck source=/dev/null
source "${PORT_SCRIPTS_PATH}/translations/$LANGUAGE"
fi
export urlg="https://linux-gaming.ru/portproton/" export urlg="https://linux-gaming.ru/portproton/"
export url_cloud="https://cloud.linux-gaming.ru/portproton" export url_cloud="https://cloud.linux-gaming.ru/portproton"
export PW_WINELIB="${PORT_WINE_TMP_PATH}/libs${PW_LIBS_VER}" export PW_WINELIB="${PORT_WINE_TMP_PATH}/libs${PW_LIBS_VER}"
...@@ -347,16 +369,13 @@ if [[ "${SKIP_CHECK_UPDATES}" != 1 ]] ; then ...@@ -347,16 +369,13 @@ 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
scripts_install_ver=$(<"${PORT_WINE_TMP_PATH}/scripts_ver")
export scripts_install_ver
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 () {
...@@ -424,7 +443,7 @@ EOF ...@@ -424,7 +443,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 +454,7 @@ EOF ...@@ -435,7 +454,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 +502,7 @@ use: [--repair] [--reinstall] [--autoinstall] ...@@ -483,7 +502,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 +547,13 @@ if [[ -d "${PORT_WINE_PATH}/data/dist/" ]] ; then ...@@ -528,13 +547,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 +567,9 @@ esac ...@@ -548,9 +567,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>${PORTPROTON_NAME}</b>"
else else
PW_COMMENT_DB="$(gettext "Launching") <b>${PORTWINE_DB}</b>" PW_COMMENT_DB="${translations[Launching]} <b>${PORTWINE_DB}</b>"
fi fi
fi fi
...@@ -582,9 +601,9 @@ if [[ -f "${portwine_exe}" ]] ; then ...@@ -582,9 +601,9 @@ if [[ -f "${portwine_exe}" ]] ; then
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 ; 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 +619,13 @@ if [[ -f "${portwine_exe}" ]] ; then ...@@ -600,13 +619,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 +642,12 @@ if [[ -f "${portwine_exe}" ]] ; then ...@@ -623,12 +642,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 +664,13 @@ if [[ -f "${portwine_exe}" ]] ; then ...@@ -645,13 +664,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 +678,10 @@ if [[ -f "${portwine_exe}" ]] ; then ...@@ -659,10 +678,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
...@@ -697,7 +716,7 @@ else ...@@ -697,7 +716,7 @@ else
export KEY="$RANDOM" export KEY="$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}' |
...@@ -725,15 +744,15 @@ else ...@@ -725,15 +744,15 @@ else
"${pw_yad}" --plug=$KEY --tabnum="${PW_GUI_SORT_TABS[3]}" --form --columns=3 --align-buttons --separator=";" --homogeneous-column \ "${pw_yad}" --plug=$KEY --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 --tabnum="${PW_GUI_SORT_TABS[2]}" --form --columns=3 --align-buttons --separator=";" \
...@@ -741,32 +760,32 @@ else ...@@ -741,32 +760,32 @@ else
--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 --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 --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}" \
...@@ -825,11 +844,11 @@ else ...@@ -825,11 +844,11 @@ else
--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 --notebook --expand \
...@@ -838,11 +857,11 @@ else ...@@ -838,11 +857,11 @@ else
--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
......
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