Commit 26ccab0e authored by Mikhail Tergoev's avatar Mikhail Tergoev

Merge branch 'Htylol-added-translations-for-wine' into devel

parents b312c9b9 376f7ed5
...@@ -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-10-15 13:25+0500\n" "POT-Creation-Date: 2024-10-19 22:39+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"
...@@ -26,6 +26,9 @@ msgstr "" ...@@ -26,6 +26,9 @@ msgstr ""
msgid "Unpack is DONE for prefix:" msgid "Unpack is DONE for prefix:"
msgstr "" msgstr ""
msgid "USE_SYSTEM_WINE"
msgstr ""
msgid "WineD3D OpenGL (For video cards without Vulkan)" msgid "WineD3D OpenGL (For video cards without Vulkan)"
msgstr "" msgstr ""
...@@ -47,6 +50,9 @@ msgstr "" ...@@ -47,6 +50,9 @@ msgstr ""
msgid "Gallium Zink (OpenGL to Vulkan)" msgid "Gallium Zink (OpenGL to Vulkan)"
msgstr "" msgstr ""
msgid "GET-OTHER-WINE"
msgstr ""
msgid "CREATE SHORTCUT" msgid "CREATE SHORTCUT"
msgstr "" msgstr ""
...@@ -1340,12 +1346,6 @@ msgstr "" ...@@ -1340,12 +1346,6 @@ 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 global settings" msgid "Change global settings"
msgstr "" msgstr ""
......
...@@ -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-10-15 13:25+0500\n" "POT-Creation-Date: 2024-10-19 22:39+0500\n"
"PO-Revision-Date: 2024-10-15 13:28+0500\n" "PO-Revision-Date: 2024-10-15 13:28+0500\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
...@@ -31,6 +31,9 @@ msgstr "El desempaquetado ha FALLADO para el prefijo:" ...@@ -31,6 +31,9 @@ msgstr "El desempaquetado ha FALLADO para el prefijo:"
msgid "Unpack is DONE for prefix:" msgid "Unpack is DONE for prefix:"
msgstr "El desempaquetado se ha COMPLETADO para el prefijo:" msgstr "El desempaquetado se ha COMPLETADO para el prefijo:"
msgid "USE_SYSTEM_WINE"
msgstr ""
msgid "WineD3D OpenGL (For video cards without Vulkan)" msgid "WineD3D OpenGL (For video cards without Vulkan)"
msgstr "WineD3D OpenGL (Para tarjetas de video sin Vulkan)" msgstr "WineD3D OpenGL (Para tarjetas de video sin Vulkan)"
...@@ -52,6 +55,9 @@ msgstr "Gallium Nine (DirectX 9 para MESA)" ...@@ -52,6 +55,9 @@ msgstr "Gallium Nine (DirectX 9 para MESA)"
msgid "Gallium Zink (OpenGL to Vulkan)" msgid "Gallium Zink (OpenGL to Vulkan)"
msgstr "Gallium Zink (OpenGL a Vulkan)" msgstr "Gallium Zink (OpenGL a Vulkan)"
msgid "GET-OTHER-WINE"
msgstr ""
msgid "CREATE SHORTCUT" msgid "CREATE SHORTCUT"
msgstr "CREAR ACCESO DIRECTO" msgstr "CREAR ACCESO DIRECTO"
......
...@@ -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-10-15 13:25+0500\n" "POT-Creation-Date: 2024-10-19 22:39+0500\n"
"PO-Revision-Date: 2024-10-15 13:26+0500\n" "PO-Revision-Date: 2024-10-19 22:39+0500\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
"Language: ru_RU\n" "Language: ru_RU\n"
...@@ -31,6 +31,9 @@ msgstr "Произошла ошибка во время распаковки п ...@@ -31,6 +31,9 @@ msgstr "Произошла ошибка во время распаковки п
msgid "Unpack is DONE for prefix:" msgid "Unpack is DONE for prefix:"
msgstr "Успешно распакован префикс:" msgstr "Успешно распакован префикс:"
msgid "USE_SYSTEM_WINE"
msgstr "Использовать системную версию wine"
msgid "WineD3D OpenGL (For video cards without Vulkan)" msgid "WineD3D OpenGL (For video cards without Vulkan)"
msgstr "WineD3D OpenGL (для видеокарт без поддержки Vulkan)" msgstr "WineD3D OpenGL (для видеокарт без поддержки Vulkan)"
...@@ -52,6 +55,9 @@ msgstr "Gallium Nine (поддержка DirectX 9 для MESA)" ...@@ -52,6 +55,9 @@ msgstr "Gallium Nine (поддержка DirectX 9 для MESA)"
msgid "Gallium Zink (OpenGL to Vulkan)" msgid "Gallium Zink (OpenGL to Vulkan)"
msgstr "Gallium Zink (трансляция OpenGL в Vulkan)" msgstr "Gallium Zink (трансляция OpenGL в Vulkan)"
msgid "GET-OTHER-WINE"
msgstr "Скачать другие версии wine"
msgid "CREATE SHORTCUT" msgid "CREATE SHORTCUT"
msgstr "СОЗДАТЬ ЯРЛЫК" msgstr "СОЗДАТЬ ЯРЛЫК"
......
...@@ -1065,9 +1065,9 @@ EOF ...@@ -1065,9 +1065,9 @@ EOF
} }
init_wine_ver () { init_wine_ver () {
if [[ "${PW_WINE_VER}" == "USE_SYSTEM_WINE" ]] if [[ "${PW_WINE_VER}" == "${translations[USE_SYSTEM_WINE]}" ]]
then export PW_WINE_USE="USE_SYSTEM_WINE" then export PW_WINE_USE="USE_SYSTEM_WINE"
elif [[ "${PW_WINE_VER}" == "GET-OTHER-WINE" ]] elif [[ "${PW_WINE_VER}" == "${translations[GET-OTHER-WINE]}" ]]
then gui_proton_downloader then gui_proton_downloader
elif [[ -n "${PW_WINE_VER}" ]] elif [[ -n "${PW_WINE_VER}" ]]
then export PW_WINE_USE="$PW_WINE_VER" then export PW_WINE_USE="$PW_WINE_VER"
......
...@@ -437,9 +437,6 @@ if [[ -d "${PORT_WINE_PATH}/data/prefixes/" ]] ; then ...@@ -437,9 +437,6 @@ if [[ -d "${PORT_WINE_PATH}/data/prefixes/" ]] ; then
fi fi
unset DIST_ADD_TO_GUI unset DIST_ADD_TO_GUI
if command -v wine &>/dev/null
then DIST_ADD_TO_GUI="!USE_SYSTEM_WINE"
fi
if [[ -d "${PORT_WINE_PATH}/data/dist/" ]] ; then if [[ -d "${PORT_WINE_PATH}/data/dist/" ]] ; then
for DAIG in "${PORT_WINE_PATH}"/data/dist/* ; do for DAIG in "${PORT_WINE_PATH}"/data/dist/* ; do
if [[ "${DAIG//"${PORT_WINE_PATH}/data/dist/"/}" != "${PW_WINE_LG_VER}" ]] \ if [[ "${DAIG//"${PORT_WINE_PATH}/data/dist/"/}" != "${PW_WINE_LG_VER}" ]] \
...@@ -450,6 +447,9 @@ if [[ -d "${PORT_WINE_PATH}/data/dist/" ]] ; then ...@@ -450,6 +447,9 @@ if [[ -d "${PORT_WINE_PATH}/data/dist/" ]] ; then
fi fi
done done
fi fi
if command -v wine &>/dev/null
then DIST_ADD_TO_GUI+="!${translations[USE_SYSTEM_WINE]}"
fi
SORT_OPENGL="${translations[WineD3D OpenGL (For video cards without Vulkan)]}" SORT_OPENGL="${translations[WineD3D OpenGL (For video cards without Vulkan)]}"
SORT_VULKAN="${translations[WineD3D Vulkan (Damavand experimental)]}" SORT_VULKAN="${translations[WineD3D Vulkan (Damavand experimental)]}"
...@@ -471,14 +471,14 @@ esac ...@@ -471,14 +471,14 @@ esac
if [[ $PW_WINE_USE == PROTON_LG ]] ; then if [[ $PW_WINE_USE == PROTON_LG ]] ; then
PW_WINE_USE="${PW_PROTON_LG_VER}" PW_WINE_USE="${PW_PROTON_LG_VER}"
PW_DEFAULT_WINE_USE="${PW_WINE_LG_VER}${DIST_ADD_TO_GUI}!GET-OTHER-WINE" PW_DEFAULT_WINE_USE="${PW_WINE_LG_VER}${DIST_ADD_TO_GUI}!${translations[GET-OTHER-WINE]}"
elif [[ $PW_WINE_USE == WINE_*_LG ]] \ elif [[ $PW_WINE_USE == WINE_*_LG ]] \
|| [[ $PW_WINE_USE == WINE_LG ]] || [[ $PW_WINE_USE == WINE_LG ]]
then then
PW_WINE_USE="${PW_WINE_LG_VER}" PW_WINE_USE="${PW_WINE_LG_VER}"
PW_DEFAULT_WINE_USE="${PW_PROTON_LG_VER}${DIST_ADD_TO_GUI}!GET-OTHER-WINE" PW_DEFAULT_WINE_USE="${PW_PROTON_LG_VER}${DIST_ADD_TO_GUI}!${translations[GET-OTHER-WINE]}"
else else
PW_DEFAULT_WINE_USE="${PW_PROTON_LG_VER}!${PW_WINE_LG_VER}${DIST_ADD_TO_GUI}!GET-OTHER-WINE" PW_DEFAULT_WINE_USE="${PW_PROTON_LG_VER}!${PW_WINE_LG_VER}${DIST_ADD_TO_GUI}!${translations[GET-OTHER-WINE]}"
fi fi
if [[ -z "${PORTWINE_DB_FILE}" ]] ; then if [[ -z "${PORTWINE_DB_FILE}" ]] ; then
......
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