Commit 4c22d32b authored by Vladislav's avatar Vladislav

Added automatic detection of gamescope version for flatpak, update locales

parent 890af942
...@@ -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-11 19:56+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"
...@@ -68,6 +68,12 @@ msgstr "" ...@@ -68,6 +68,12 @@ msgstr ""
msgid "Edit database file for" msgid "Edit database file for"
msgstr "" msgstr ""
msgid "Settings user.conf"
msgstr ""
msgid "Settings for user.conf"
msgstr ""
msgid "Enable vkBasalt by default to improve graphics in games running on " msgid "Enable vkBasalt by default to improve graphics in games running on "
"Vulkan. (The HOME hotkey disables vkbasalt)" "Vulkan. (The HOME hotkey disables vkbasalt)"
msgstr "" msgstr ""
...@@ -107,12 +113,6 @@ msgstr "" ...@@ -107,12 +113,6 @@ msgstr ""
msgid "Run file ..." msgid "Run file ..."
msgstr "" msgstr ""
msgid "Disable"
msgstr ""
msgid "Enable"
msgstr ""
msgid "Create shortcut..." msgid "Create shortcut..."
msgstr "" msgstr ""
...@@ -131,27 +131,12 @@ msgstr "" ...@@ -131,27 +131,12 @@ msgstr ""
msgid "Change language" msgid "Change language"
msgstr "" msgstr ""
msgid "Edit user.conf"
msgstr ""
msgid "Scripts from backup" msgid "Scripts from backup"
msgstr "" msgstr ""
msgid "Credits" msgid "Credits"
msgstr "" msgstr ""
msgid "Change mirror to"
msgstr ""
msgid "Change branch to"
msgstr ""
msgid "Change start gui"
msgstr ""
msgid "steam covers download"
msgstr ""
msgid "Create prefix backup" msgid "Create prefix backup"
msgstr "" msgstr ""
...@@ -357,6 +342,15 @@ msgstr "" ...@@ -357,6 +342,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 ""
...@@ -567,13 +561,6 @@ msgid "Limiting the number of CPU cores is useful for Unity games (It is " ...@@ -567,13 +561,6 @@ msgid "Limiting the number of CPU cores is useful for Unity games (It is "
"recommended to set the value equal to 8)" "recommended to set the value equal to 8)"
msgstr "" msgstr ""
msgid "Choose a graphics card to run the game (in user.conf)"
msgstr ""
msgid "Select which video card will be used to run the game (used for all "
"running games and programs in PortProton)"
msgstr ""
msgid "Forcibly select the OpenGL version for the game" msgid "Forcibly select the OpenGL version for the game"
msgstr "" msgstr ""
...@@ -594,12 +581,6 @@ msgstr "" ...@@ -594,12 +581,6 @@ msgstr ""
msgid "Fixes encoding issues in legacy software" msgid "Fixes encoding issues in legacy software"
msgstr "" msgstr ""
msgid "Choice wine audio driver"
msgstr ""
msgid "Fixes sound popling if choice alsa"
msgstr ""
msgid "EDIT DB" msgid "EDIT DB"
msgstr "" msgstr ""
...@@ -827,6 +808,12 @@ msgid "AMD FidelityFX - CAS is designed to dramatically improve texture " ...@@ -827,6 +808,12 @@ msgid "AMD FidelityFX - CAS is designed to dramatically improve texture "
"set value = 100)" "set value = 100)"
msgstr "" msgstr ""
msgid "RESET"
msgstr ""
msgid "Restore default settings for"
msgstr ""
msgid "DISABLE" msgid "DISABLE"
msgstr "" msgstr ""
...@@ -965,9 +952,10 @@ msgstr "" ...@@ -965,9 +952,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 "
...@@ -1004,15 +992,15 @@ msgid "Enabling fps limitation with MANGOHUD tools built into PortProton " ...@@ -1004,15 +992,15 @@ msgid "Enabling fps limitation with MANGOHUD tools built into PortProton "
"(Keys <b>L_SHIFT + F1</b> Toggles fps limitation)" "(Keys <b>L_SHIFT + F1</b> Toggles fps limitation)"
msgstr "" msgstr ""
msgid "Disable MangoHud and go to the previous menu"
msgstr ""
msgid "PREVIEW CHANGES" msgid "PREVIEW CHANGES"
msgstr "" msgstr ""
msgid "Start vkcube for preview changes" msgid "Start vkcube for preview changes"
msgstr "" msgstr ""
msgid "Disable MangoHud and go to the previous menu"
msgstr ""
msgid "Use DirectX12 for dgVoodoo2. Doesnt always work better. (Working " msgid "Use DirectX12 for dgVoodoo2. Doesnt always work better. (Working "
"only on newest and stable dxvk/vkd3d) (Direct3D and Glide settings)" "only on newest and stable dxvk/vkd3d) (Direct3D and Glide settings)"
msgstr "" msgstr ""
...@@ -1181,12 +1169,6 @@ msgid "Integer scale factor of the emulated hardware mouse cursor. 0: " ...@@ -1181,12 +1169,6 @@ msgid "Integer scale factor of the emulated hardware mouse cursor. 0: "
"Glide settings)" "Glide settings)"
msgstr "" msgstr ""
msgid "RESET"
msgstr ""
msgid "Restore default settings for"
msgstr ""
msgid "Disable dgVoodoo2 and go to the previous menu" msgid "Disable dgVoodoo2 and go to the previous menu"
msgstr "" msgstr ""
...@@ -1255,17 +1237,14 @@ msgid "Force use sdl videodriver x11, works with BACKEND SDL. (Default is " ...@@ -1255,17 +1237,14 @@ msgid "Force use sdl videodriver x11, works with BACKEND SDL. (Default is "
"wayland)" "wayland)"
msgstr "" msgstr ""
msgid "Fixes artifacts on AMD and Intel video cards. (Use only when "
"necessary)."
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 "
...@@ -1362,6 +1341,44 @@ msgstr "" ...@@ -1362,6 +1341,44 @@ msgstr ""
msgid "Disable GameScope and go to the previous menu" msgid "Disable GameScope and go to the previous menu"
msgstr "" msgstr ""
msgid "Disable"
msgstr ""
msgid "Enable"
msgstr ""
msgid "Change mirror to"
msgstr ""
msgid "Change branch to"
msgstr ""
msgid "Change start gui to"
msgstr ""
msgid "steam covers download"
msgstr ""
msgid "Choose a graphics card to run the game"
msgstr ""
msgid "Select which video card will be used to run the game (used for all "
"running games and programs in PortProton)"
msgstr ""
msgid "Choice wine audio driver"
msgstr ""
msgid "Fixes sound popling if choice alsa"
msgstr ""
msgid "SETTINGS USER.CONF"
msgstr ""
msgid "Open the <b>user.conf</b> settings file in a system text editor to "
"view and change variables manually"
msgstr ""
msgid "The shortcut will be created in the PortProton directory." msgid "The shortcut will be created in the PortProton directory."
msgstr "" msgstr ""
...@@ -1486,6 +1503,9 @@ msgstr "" ...@@ -1486,6 +1503,9 @@ msgstr ""
msgid "EDIT USER CONFIG" msgid "EDIT USER CONFIG"
msgstr "" msgstr ""
msgid "BACK"
msgstr ""
msgid "SAVE" msgid "SAVE"
msgstr "" msgstr ""
...@@ -1515,8 +1535,8 @@ msgid "MIT License\n" ...@@ -1515,8 +1535,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 "
......
...@@ -2912,7 +2912,7 @@ start_portwine () { ...@@ -2912,7 +2912,7 @@ start_portwine () {
fi fi
#checkbox #checkbox
PW_GAMESCOPE_ARGS_NEW="" unset PW_GAMESCOPE_ARGS_NEW
[[ "${PW_GS_FULLSCREEN}" == "1" ]] && PW_GAMESCOPE_ARGS_NEW+=" -f" [[ "${PW_GS_FULLSCREEN}" == "1" ]] && PW_GAMESCOPE_ARGS_NEW+=" -f"
[[ "${PW_GS_FORCE_FULLSCREEN}" == "1" ]] && PW_GAMESCOPE_ARGS_NEW+=" --force-windows-fullscreen" [[ "${PW_GS_FORCE_FULLSCREEN}" == "1" ]] && PW_GAMESCOPE_ARGS_NEW+=" --force-windows-fullscreen"
[[ "${PW_GS_BORDERLESS_WINDOW}" == "1" ]] && PW_GAMESCOPE_ARGS_NEW+=" -b" [[ "${PW_GS_BORDERLESS_WINDOW}" == "1" ]] && PW_GAMESCOPE_ARGS_NEW+=" -b"
...@@ -4538,7 +4538,9 @@ fi ...@@ -4538,7 +4538,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