Commit 340e21eb authored by Vladislav's avatar Vladislav

Added automatic detection of gamescope version for flatpak

parent ff153ea2
...@@ -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-04 13:16+0300\n" "POT-Creation-Date: 2024-09-10 19:24+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"
...@@ -357,6 +357,15 @@ msgstr "" ...@@ -357,6 +357,15 @@ msgstr ""
msgid "CHANGELOG" msgid "CHANGELOG"
msgstr "" msgstr ""
msgid "WINEFILE"
msgstr ""
msgid "TASKMGR"
msgstr ""
msgid "FORCE EXIT"
msgstr ""
msgid "Check new version WINE..." msgid "Check new version WINE..."
msgstr "" msgstr ""
...@@ -965,9 +974,10 @@ msgstr "" ...@@ -965,9 +974,10 @@ 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 \"other" msgid "Show if GPU is throttling based on Power, current, temp or "
"\" (Only shows if throttling is currently happening). Currently " "\"other\" (Only shows if throttling is currently happening). "
"disabled by default for Nvidia as it causes lag on 3000 series" "Currently disabled by default for Nvidia as it causes lag on 3000 "
"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 "
...@@ -1262,10 +1272,11 @@ msgstr "" ...@@ -1262,10 +1272,11 @@ 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:\\n flatpak install -y runtime/org."
"freedesktop.Platform.VulkanLayer.gamescope/x86_64/23.08\\n (Can be " "freedesktop.Platform.VulkanLayer.gamescope/x86_64/"
"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 "
...@@ -1515,8 +1526,8 @@ msgid "MIT License\n" ...@@ -1515,8 +1526,8 @@ msgid "MIT License\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"
"of this software and associated documentation files (the \"Software" "of this software and associated documentation files (the "
"\"), to deal\n" "\"Software\"), to deal\n"
"in the Software without restriction, including without limitation " "in the Software without restriction, including without limitation "
"the rights\n" "the rights\n"
"to use, copy, modify, merge, publish, distribute, sublicense, and/or " "to use, copy, modify, merge, publish, distribute, sublicense, and/or "
......
...@@ -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-04 13:16+0300\n" "POT-Creation-Date: 2024-09-10 19:18+0500\n"
"PO-Revision-Date: 2024-07-16 11:59+0300\n" "PO-Revision-Date: 2024-09-10 19:20+0500\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
"Language: es_ES\n" "Language: es_ES\n"
...@@ -400,6 +400,16 @@ msgstr "Por favor, espera. Instalando el" ...@@ -400,6 +400,16 @@ msgstr "Por favor, espera. Instalando el"
msgid "CHANGELOG" msgid "CHANGELOG"
msgstr "LISTA DE CAMBIOS" msgstr "LISTA DE CAMBIOS"
msgid "WINEFILE"
msgstr "WINEFILE"
msgid "TASKMGR"
msgstr "GESTOR DE TAREAS"
#, fuzzy
msgid "FORCE EXIT"
msgstr "SALIDA FORZADA"
msgid "Check new version WINE..." msgid "Check new version WINE..."
msgstr "Comprobar nueva versión de WINE..." msgstr "Comprobar nueva versión de WINE..."
...@@ -1647,15 +1657,17 @@ msgstr "" ...@@ -1647,15 +1657,17 @@ 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:\\n flatpak install -y runtime/org.freedesktop.Platform."
"VulkanLayer.gamescope/x86_64/23.08\\n (Can be selected and copied)</b>" "VulkanLayer.gamescope/x86_64/${GAMESCOPE_VERSION}\\n (Can be selected and "
"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/23.08\\n (Se puede seleccionar y " "Platform.VulkanLayer.gamescope/x86_64/${GAMESCOPE_VERSION}\\n (Se puede "
"copiar)</b>." "seleccionar y copiar)</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 "
...@@ -2042,12 +2054,6 @@ msgstr "" ...@@ -2042,12 +2054,6 @@ msgstr ""
msgid "THIRD PARTY LIBRARIES" msgid "THIRD PARTY LIBRARIES"
msgstr "" msgstr ""
#~ msgid "WINEFILE"
#~ msgstr "WINEFILE"
#~ msgid "TASKMGR"
#~ msgstr "GESTOR DE TAREAS"
#, sh-format #, sh-format
#~ msgid "Add arguments for GAMESCOPE:" #~ msgid "Add arguments for GAMESCOPE:"
#~ msgstr "Agregar argumentos para GAMESCOPE:" #~ msgstr "Agregar argumentos para GAMESCOPE:"
......
...@@ -7,16 +7,16 @@ msgid "" ...@@ -7,16 +7,16 @@ 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-04 13:16+0300\n" "POT-Creation-Date: 2024-09-10 19:18+0500\n"
"PO-Revision-Date: 2024-08-26 14:07+0300\n" "PO-Revision-Date: 2024-09-10 19:25+0500\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
"Language: ru_RU\n" "Language: ru_RU\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
"%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\n" "n%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\n"
"X-Generator: Poedit 3.4.4\n" "X-Generator: Poedit 3.4.4\n"
msgid "" msgid ""
...@@ -393,6 +393,15 @@ msgstr "Пожалуйста, подождите. Устанавливается ...@@ -393,6 +393,15 @@ msgstr "Пожалуйста, подождите. Устанавливается
msgid "CHANGELOG" msgid "CHANGELOG"
msgstr "ИЗМЕНЕНИЯ" msgstr "ИЗМЕНЕНИЯ"
msgid "WINEFILE"
msgstr "ФАЙЛОВЫЙ МЕНЕДЖЕР"
msgid "TASKMGR"
msgstr "ДИСПЕТЧЕР ЗАДАЧ"
msgid "FORCE EXIT"
msgstr "ПРИНУДИТЕЛЬНЫЙ ВЫХОД"
msgid "Check new version WINE..." msgid "Check new version WINE..."
msgstr "Проверяем новые версии WINE..." msgstr "Проверяем новые версии WINE..."
...@@ -1618,14 +1627,17 @@ msgstr "" ...@@ -1618,14 +1627,17 @@ 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:\\n flatpak install -y runtime/org.freedesktop.Platform."
"VulkanLayer.gamescope/x86_64/23.08\\n (Can be selected and copied)</b>" "VulkanLayer.gamescope/x86_64/${GAMESCOPE_VERSION}\\n (Can be selected and "
"copied)</b>"
msgstr "" msgstr ""
"<b>Gamescope не найден в системе, для его установки выполните команду в " "<b>Gamescope не найден в системе, для его установки выполните команду в "
"терминале:\\n flatpak install -y runtime/org.freedesktop.Platform." "терминале:\\n flatpak install -y runtime/org.freedesktop.Platform."
"VulkanLayer.gamescope/x86_64/23.08\\n (можно выделить и скопировать)</b>" "VulkanLayer.gamescope/x86_64/${GAMESCOPE_VERSION}\\n (можно выделить и "
"скопировать)</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 "
...@@ -2132,12 +2144,6 @@ msgstr "БИБЛИОТЕКИ" ...@@ -2132,12 +2144,6 @@ msgstr "БИБЛИОТЕКИ"
#~ "Vuursteen\n" #~ "Vuursteen\n"
#~ "Akai\n" #~ "Akai\n"
#~ msgid "WINEFILE"
#~ msgstr "ФАЙЛОВЫЙ МЕНЕДЖЕР"
#~ msgid "TASKMGR"
#~ msgstr "ДИСПЕТЧЕР ЗАДАЧ"
#~ msgid "" #~ msgid ""
#~ "Forced use of 16bit screen mode. Solves the problem of launching old " #~ "Forced use of 16bit screen mode. Solves the problem of launching old "
#~ "games, such as Moto Racer." #~ "games, such as Moto Racer."
......
...@@ -4586,7 +4586,9 @@ fi ...@@ -4586,7 +4586,9 @@ fi
done done
else else
if check_flatpak ; then if check_flatpak ; then
GAMESCOPE_NEED_INSTALL="$(gettext "<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.VulkanLayer.gamescope/x86_64/23.08\n (Can be selected and copied)</b>")" GAMESCOPE_VERSION="$(cat /etc/os-release | grep 'VERSION_ID=')"
GAMESCOPE_VERSION="${GAMESCOPE_VERSION//VERSION_ID=/}"
GAMESCOPE_NEED_INSTALL="$(eval_gettext "<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.VulkanLayer.gamescope/x86_64/\${GAMESCOPE_VERSION}\n (Can be selected and copied)</b>")"
YAD_TEXT_SELECTION="--selectable-labels" YAD_TEXT_SELECTION="--selectable-labels"
else else
GAMESCOPE_NEED_INSTALL="$(gettext "<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 install gamescope on your system.</b>")" GAMESCOPE_NEED_INSTALL="$(gettext "<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 install gamescope on your system.</b>")"
......
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