diff --git a/data_from_portwine/locales/PortProton.pot b/data_from_portwine/locales/PortProton.pot index c24f5f93..d11c27db 100644 --- a/data_from_portwine/locales/PortProton.pot +++ b/data_from_portwine/locales/PortProton.pot @@ -7,7 +7,7 @@ msgid "" msgstr "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" - "POT-Creation-Date: 2024-09-11 23:35+0500\n" + "POT-Creation-Date: 2024-09-12 02:40+0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -74,6 +74,12 @@ msgstr "" msgid "Settings for user.conf" msgstr "" +msgid "Open directory" +msgstr "" + +msgid "Open directory with .ppdb file" +msgstr "" + msgid "Enable vkBasalt by default to improve graphics in games running on " "Vulkan. (The HOME hotkey disables vkbasalt)" msgstr "" @@ -1394,6 +1400,12 @@ msgstr "" msgid "Fixes sound popling if choice alsa" msgstr "" +msgid "Choice gui themes" +msgstr "" + +msgid "Allows you to select a theme for PortProton" +msgstr "" + msgid "SETTINGS USER.CONF" msgstr "" diff --git a/data_from_portwine/locales/es/LC_MESSAGES/PortProton.mo b/data_from_portwine/locales/es/LC_MESSAGES/PortProton.mo index 76efd8a4..5eff950a 100644 Binary files a/data_from_portwine/locales/es/LC_MESSAGES/PortProton.mo and b/data_from_portwine/locales/es/LC_MESSAGES/PortProton.mo differ diff --git a/data_from_portwine/locales/es/LC_MESSAGES/PortProton.po b/data_from_portwine/locales/es/LC_MESSAGES/PortProton.po index 0cb4255a..49626e42 100644 --- a/data_from_portwine/locales/es/LC_MESSAGES/PortProton.po +++ b/data_from_portwine/locales/es/LC_MESSAGES/PortProton.po @@ -8,8 +8,8 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-09-11 23:32+0500\n" -"PO-Revision-Date: 2024-09-11 23:35+0500\n" +"POT-Creation-Date: 2024-09-12 02:37+0500\n" +"PO-Revision-Date: 2024-09-12 02:40+0500\n" "Last-Translator: \n" "Language-Team: \n" "Language: es_ES\n" @@ -79,6 +79,12 @@ msgstr "Configuración user.conf" msgid "Settings for user.conf" msgstr "Configuración user.conf" +msgid "Open directory" +msgstr "directorio abierto" + +msgid "Open directory with .ppdb file" +msgstr "Abrir directorio con el archivo .ppdb" + msgid "" "Enable vkBasalt by default to improve graphics in games running on Vulkan. " "(The HOME hotkey disables vkbasalt)" @@ -1825,6 +1831,12 @@ msgstr "Controlador de audio de vino elegido" msgid "Fixes sound popling if choice alsa" msgstr "Corrige el sonido estallido de elección alsa alsa" +msgid "Choice gui themes" +msgstr "Temas de interfaz gráfica de usuario elegidos" + +msgid "Allows you to select a theme for PortProton" +msgstr "Le permite seleccionar un tema para PortProton" + msgid "SETTINGS USER.CONF" msgstr "AJUSTES USUARIO.CONF" diff --git a/data_from_portwine/locales/ru/LC_MESSAGES/PortProton.mo b/data_from_portwine/locales/ru/LC_MESSAGES/PortProton.mo index ef018d5b..64a50fd8 100644 Binary files a/data_from_portwine/locales/ru/LC_MESSAGES/PortProton.mo and b/data_from_portwine/locales/ru/LC_MESSAGES/PortProton.mo differ diff --git a/data_from_portwine/locales/ru/LC_MESSAGES/PortProton.po b/data_from_portwine/locales/ru/LC_MESSAGES/PortProton.po index eff90622..f2e44119 100644 --- a/data_from_portwine/locales/ru/LC_MESSAGES/PortProton.po +++ b/data_from_portwine/locales/ru/LC_MESSAGES/PortProton.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-09-11 23:32+0500\n" -"PO-Revision-Date: 2024-09-11 23:33+0500\n" +"POT-Creation-Date: 2024-09-12 02:37+0500\n" +"PO-Revision-Date: 2024-09-12 02:39+0500\n" "Last-Translator: \n" "Language-Team: \n" "Language: ru_RU\n" @@ -79,6 +79,12 @@ msgstr "Настройки user.conf" msgid "Settings for user.conf" msgstr "Настройки для user.conf" +msgid "Open directory" +msgstr "Открыть папку" + +msgid "Open directory with .ppdb file" +msgstr "Открывает папку с .ppdb файлом" + msgid "" "Enable vkBasalt by default to improve graphics in games running on Vulkan. " "(The HOME hotkey disables vkbasalt)" @@ -1793,11 +1799,17 @@ msgstr "" "программ в PortProton)" msgid "Choice wine audio driver" -msgstr "Выбрать звуковой драйвер (в user.conf)" +msgstr "Выбрать звуковой драйвер" msgid "Fixes sound popling if choice alsa" msgstr "Выбор alsa исправляет заикание звука" +msgid "Choice gui themes" +msgstr "Выбор графической темы" + +msgid "Allows you to select a theme for PortProton" +msgstr "Позволяет выбрать тему для PortProton" + msgid "SETTINGS USER.CONF" msgstr "НАСТРОЙКИ USER.CONF" @@ -2132,6 +2144,9 @@ msgstr "ПРИСОЕДЕНИТЬСЯ" msgid "THIRD PARTY LIBRARIES" msgstr "БИБЛИОТЕКИ" +#~ msgid "Open game folder" +#~ msgstr "Открыть папку с игрой" + #~ msgid "" #~ "Fixes artifacts on AMD and Intel video cards. (Use only when necessary)." #~ msgstr "" diff --git a/data_from_portwine/scripts/functions_helper b/data_from_portwine/scripts/functions_helper index 8d12d7c0..d34ab3d0 100755 --- a/data_from_portwine/scripts/functions_helper +++ b/data_from_portwine/scripts/functions_helper @@ -4725,6 +4725,7 @@ gui_userconf () { --gui-type-text="${PANED_GUI_TYPE_TEXT_DOWN}" --gui-type-layout="${PANED_GUI_TYPE_LAYOUT_DOWN}" \ --field="$(gettext "Choose a graphics card to run the game")!$(gettext "Select which video card will be used to run the game (used for all running games and programs in PortProton)") :CB" "$(combobox_fix --disabled "${GPU_VAR}" "${GET_GPU_NAMES}")" \ --field="$(gettext "Choice wine audio driver")!$(gettext "Fixes sound popling if choice alsa") :CB" "$(combobox_fix --disabled "${SOUND_DRIVER_VAR}" "alsa!oss!pulse")" \ + --field="$(gettext "Choice gui themes")!$(gettext "Allows you to select a theme for PortProton") :CB" "$(combobox_fix "${GUI_THEME}" "default!compact!classic")" \ 1> "${PW_TMPFS_PATH}/tmp_yad_userconf_set_cb" 2>/dev/null & "${pw_yad}" --key=$KEY_USERCONF_GUI --paned \ @@ -4750,7 +4751,8 @@ gui_userconf () { PW_ADD_SETTINGS_UC=$(head -n 1 "${PW_TMPFS_PATH}/tmp_yad_userconf_set_cb") PW_GPU_USE="$(echo ${PW_ADD_SETTINGS_UC} | awk -F"%" '{print $1}')" PW_SOUND_DRIVER_USE="$(echo ${PW_ADD_SETTINGS_UC} | awk -F"%" '{print $2}')" - edit_user_conf_from_gui PW_GPU_USE PW_SOUND_DRIVER_USE + GUI_THEME="$(echo ${PW_ADD_SETTINGS_UC} | awk -F"%" '{print $3}')" + edit_user_conf_from_gui PW_GPU_USE PW_SOUND_DRIVER_USE GUI_THEME /usr/bin/env bash -c ${pw_full_command_line[*]} & exit 0 ;;