Commit 340e21eb authored by Vladislav's avatar Vladislav

Added automatic detection of gamescope version for flatpak

parent ff153ea2
......@@ -7,7 +7,7 @@
msgid ""
msgstr "Project-Id-Version: PACKAGE VERSION\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"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
......@@ -357,6 +357,15 @@ msgstr ""
msgid "CHANGELOG"
msgstr ""
msgid "WINEFILE"
msgstr ""
msgid "TASKMGR"
msgstr ""
msgid "FORCE EXIT"
msgstr ""
msgid "Check new version WINE..."
msgstr ""
......@@ -965,9 +974,10 @@ msgstr ""
msgid "Show temperature in Fahrenheit"
msgstr ""
msgid "Show if GPU is throttling based on Power, current, temp or \"other"
"\" (Only shows if throttling is currently happening). Currently "
"disabled by default for Nvidia as it causes lag on 3000 series"
msgid "Show if GPU is throttling based on Power, current, temp or "
"\"other\" (Only shows if throttling is currently happening). "
"Currently disabled by default for Nvidia as it causes lag on 3000 "
"series"
msgstr ""
msgid "Same as throttling_status but displays throttling in the frametime "
......@@ -1262,10 +1272,11 @@ msgstr ""
msgid "Change settings gamescope for"
msgstr ""
#, sh-format
msgid "<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>"
"freedesktop.Platform.VulkanLayer.gamescope/x86_64/"
"${GAMESCOPE_VERSION}\\n (Can be selected and copied)</b>"
msgstr ""
msgid "<b>Gamescope is not detected on the system, please contact the "
......@@ -1515,8 +1526,8 @@ msgid "MIT License\n"
"\n"
"Permission is hereby granted, free of charge, to any person "
"obtaining a copy\n"
"of this software and associated documentation files (the \"Software"
"\"), to deal\n"
"of this software and associated documentation files (the "
"\"Software\"), to deal\n"
"in the Software without restriction, including without limitation "
"the rights\n"
"to use, copy, modify, merge, publish, distribute, sublicense, and/or "
......
......@@ -8,8 +8,8 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-09-04 13:16+0300\n"
"PO-Revision-Date: 2024-07-16 11:59+0300\n"
"POT-Creation-Date: 2024-09-10 19:18+0500\n"
"PO-Revision-Date: 2024-09-10 19:20+0500\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: es_ES\n"
......@@ -400,6 +400,16 @@ msgstr "Por favor, espera. Instalando el"
msgid "CHANGELOG"
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..."
msgstr "Comprobar nueva versión de WINE..."
......@@ -1647,15 +1657,17 @@ msgstr ""
msgid "Change settings gamescope for"
msgstr "Cambiar ajustes gamescope para"
#, sh-format
msgid ""
"<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>"
"VulkanLayer.gamescope/x86_64/${GAMESCOPE_VERSION}\\n (Can be selected and "
"copied)</b>"
msgstr ""
" <b>Gamescope no se detecta en el sistema, para instalarlo, ejecute el "
"comando en el terminal:\\n flatpak install -y runtime/org.freedesktop."
"Platform.VulkanLayer.gamescope/x86_64/23.08\\n (Se puede seleccionar y "
"copiar)</b>."
"Platform.VulkanLayer.gamescope/x86_64/${GAMESCOPE_VERSION}\\n (Se puede "
"seleccionar y copiar)</b>."
msgid ""
"<b>Gamescope is not detected on the system, please contact the manufacturer "
......@@ -2042,12 +2054,6 @@ msgstr ""
msgid "THIRD PARTY LIBRARIES"
msgstr ""
#~ msgid "WINEFILE"
#~ msgstr "WINEFILE"
#~ msgid "TASKMGR"
#~ msgstr "GESTOR DE TAREAS"
#, sh-format
#~ msgid "Add arguments for GAMESCOPE:"
#~ msgstr "Agregar argumentos para GAMESCOPE:"
......
......@@ -7,16 +7,16 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-09-04 13:16+0300\n"
"PO-Revision-Date: 2024-08-26 14:07+0300\n"
"POT-Creation-Date: 2024-09-10 19:18+0500\n"
"PO-Revision-Date: 2024-09-10 19:25+0500\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: ru_RU\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
"n%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\n"
"X-Generator: Poedit 3.4.4\n"
msgid ""
......@@ -393,6 +393,15 @@ msgstr "Пожалуйста, подождите. Устанавливается
msgid "CHANGELOG"
msgstr "ИЗМЕНЕНИЯ"
msgid "WINEFILE"
msgstr "ФАЙЛОВЫЙ МЕНЕДЖЕР"
msgid "TASKMGR"
msgstr "ДИСПЕТЧЕР ЗАДАЧ"
msgid "FORCE EXIT"
msgstr "ПРИНУДИТЕЛЬНЫЙ ВЫХОД"
msgid "Check new version WINE..."
msgstr "Проверяем новые версии WINE..."
......@@ -1618,14 +1627,17 @@ msgstr ""
msgid "Change settings gamescope for"
msgstr "Изменить настройки Gamescope для"
#, sh-format
msgid ""
"<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>"
"VulkanLayer.gamescope/x86_64/${GAMESCOPE_VERSION}\\n (Can be selected and "
"copied)</b>"
msgstr ""
"<b>Gamescope не найден в системе, для его установки выполните команду в "
"терминале:\\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 ""
"<b>Gamescope is not detected on the system, please contact the manufacturer "
......@@ -2132,12 +2144,6 @@ msgstr "БИБЛИОТЕКИ"
#~ "Vuursteen\n"
#~ "Akai\n"
#~ msgid "WINEFILE"
#~ msgstr "ФАЙЛОВЫЙ МЕНЕДЖЕР"
#~ msgid "TASKMGR"
#~ msgstr "ДИСПЕТЧЕР ЗАДАЧ"
#~ msgid ""
#~ "Forced use of 16bit screen mode. Solves the problem of launching old "
#~ "games, such as Moto Racer."
......
......@@ -4586,7 +4586,9 @@ fi
done
else
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"
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>")"
......
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