forked from CastroFidel/PortWINE
		
	Added choice gui themes
This commit is contained in:
		| @@ -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-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" |         "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" | ||||||
| @@ -74,6 +74,12 @@ msgstr  "" | |||||||
| msgid   "Settings for user.conf" | msgid   "Settings for user.conf" | ||||||
| msgstr  "" | msgstr  "" | ||||||
|  |  | ||||||
|  | msgid   "Open directory" | ||||||
|  | msgstr  "" | ||||||
|  |  | ||||||
|  | msgid   "Open directory with <b>.ppdb</b> file" | ||||||
|  | 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  "" | ||||||
| @@ -1394,6 +1400,12 @@ msgstr  "" | |||||||
| msgid   "Fixes sound popling if choice alsa" | msgid   "Fixes sound popling if choice alsa" | ||||||
| msgstr  "" | msgstr  "" | ||||||
|  |  | ||||||
|  | msgid   "Choice gui themes" | ||||||
|  | msgstr  "" | ||||||
|  |  | ||||||
|  | msgid   "Allows you to select a theme for PortProton" | ||||||
|  | msgstr  "" | ||||||
|  |  | ||||||
| msgid   "SETTINGS USER.CONF" | msgid   "SETTINGS USER.CONF" | ||||||
| msgstr  "" | msgstr  "" | ||||||
|  |  | ||||||
|   | |||||||
										
											Binary file not shown.
										
									
								
							| @@ -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-11 23:32+0500\n" | "POT-Creation-Date: 2024-09-12 02:37+0500\n" | ||||||
| "PO-Revision-Date: 2024-09-11 23:35+0500\n" | "PO-Revision-Date: 2024-09-12 02:40+0500\n" | ||||||
| "Last-Translator: \n" | "Last-Translator: \n" | ||||||
| "Language-Team: \n" | "Language-Team: \n" | ||||||
| "Language: es_ES\n" | "Language: es_ES\n" | ||||||
| @@ -79,6 +79,12 @@ msgstr "Configuración user.conf" | |||||||
| msgid "Settings for user.conf" | msgid "Settings for user.conf" | ||||||
| msgstr "Configuración user.conf" | msgstr "Configuración user.conf" | ||||||
|  |  | ||||||
|  | msgid "Open directory" | ||||||
|  | msgstr "directorio abierto" | ||||||
|  |  | ||||||
|  | msgid "Open directory with <b>.ppdb</b> file" | ||||||
|  | msgstr "Abrir directorio con el archivo <b>.ppdb</b>" | ||||||
|  |  | ||||||
| msgid "" | msgid "" | ||||||
| "Enable vkBasalt by default to improve graphics in games running on Vulkan. " | "Enable vkBasalt by default to improve graphics in games running on Vulkan. " | ||||||
| "(The HOME hotkey disables vkbasalt)" | "(The HOME hotkey disables vkbasalt)" | ||||||
| @@ -1825,6 +1831,12 @@ msgstr "Controlador de audio de vino elegido" | |||||||
| msgid "Fixes sound popling if choice alsa" | msgid "Fixes sound popling if choice alsa" | ||||||
| msgstr "Corrige el sonido estallido de elección alsa 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" | msgid "SETTINGS USER.CONF" | ||||||
| msgstr "AJUSTES USUARIO.CONF" | msgstr "AJUSTES USUARIO.CONF" | ||||||
|  |  | ||||||
|   | |||||||
										
											Binary file not shown.
										
									
								
							| @@ -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-09-11 23:32+0500\n" | "POT-Creation-Date: 2024-09-12 02:37+0500\n" | ||||||
| "PO-Revision-Date: 2024-09-11 23:33+0500\n" | "PO-Revision-Date: 2024-09-12 02:39+0500\n" | ||||||
| "Last-Translator: \n" | "Last-Translator: \n" | ||||||
| "Language-Team: \n" | "Language-Team: \n" | ||||||
| "Language: ru_RU\n" | "Language: ru_RU\n" | ||||||
| @@ -79,6 +79,12 @@ msgstr "Настройки user.conf" | |||||||
| msgid "Settings for user.conf" | msgid "Settings for user.conf" | ||||||
| msgstr "Настройки для user.conf" | msgstr "Настройки для user.conf" | ||||||
|  |  | ||||||
|  | msgid "Open directory" | ||||||
|  | msgstr "Открыть папку" | ||||||
|  |  | ||||||
|  | msgid "Open directory with <b>.ppdb</b> file" | ||||||
|  | msgstr "Открывает папку с <b>.ppdb</b> файлом" | ||||||
|  |  | ||||||
| msgid "" | msgid "" | ||||||
| "Enable vkBasalt by default to improve graphics in games running on Vulkan. " | "Enable vkBasalt by default to improve graphics in games running on Vulkan. " | ||||||
| "(The HOME hotkey disables vkbasalt)" | "(The HOME hotkey disables vkbasalt)" | ||||||
| @@ -1793,11 +1799,17 @@ msgstr "" | |||||||
| "программ в PortProton)" | "программ в PortProton)" | ||||||
|  |  | ||||||
| msgid "Choice wine audio driver" | msgid "Choice wine audio driver" | ||||||
| msgstr "Выбрать звуковой драйвер (в user.conf)" | msgstr "Выбрать звуковой драйвер" | ||||||
|  |  | ||||||
| msgid "Fixes sound popling if choice alsa" | msgid "Fixes sound popling if choice alsa" | ||||||
| msgstr "Выбор alsa исправляет заикание звука" | msgstr "Выбор alsa исправляет заикание звука" | ||||||
|  |  | ||||||
|  | msgid "Choice gui themes" | ||||||
|  | msgstr "Выбор графической темы" | ||||||
|  |  | ||||||
|  | msgid "Allows you to select a theme for PortProton" | ||||||
|  | msgstr "Позволяет выбрать тему для PortProton" | ||||||
|  |  | ||||||
| msgid "SETTINGS USER.CONF" | msgid "SETTINGS USER.CONF" | ||||||
| msgstr "НАСТРОЙКИ USER.CONF" | msgstr "НАСТРОЙКИ USER.CONF" | ||||||
|  |  | ||||||
| @@ -2132,6 +2144,9 @@ msgstr "ПРИСОЕДЕНИТЬСЯ" | |||||||
| msgid "THIRD PARTY LIBRARIES" | msgid "THIRD PARTY LIBRARIES" | ||||||
| msgstr "БИБЛИОТЕКИ" | msgstr "БИБЛИОТЕКИ" | ||||||
|  |  | ||||||
|  | #~ msgid "Open game folder" | ||||||
|  | #~ msgstr "Открыть папку с игрой" | ||||||
|  |  | ||||||
| #~ msgid "" | #~ msgid "" | ||||||
| #~ "Fixes artifacts on AMD and Intel video cards. (Use only when necessary)." | #~ "Fixes artifacts on AMD and Intel video cards. (Use only when necessary)." | ||||||
| #~ msgstr "" | #~ msgstr "" | ||||||
|   | |||||||
| @@ -4725,6 +4725,7 @@ gui_userconf () { | |||||||
|     --gui-type-text="${PANED_GUI_TYPE_TEXT_DOWN}" --gui-type-layout="${PANED_GUI_TYPE_LAYOUT_DOWN}" \ |     --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 "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 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 & |     1> "${PW_TMPFS_PATH}/tmp_yad_userconf_set_cb" 2>/dev/null & | ||||||
|  |  | ||||||
|     "${pw_yad}" --key=$KEY_USERCONF_GUI --paned \ |     "${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_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_GPU_USE="$(echo ${PW_ADD_SETTINGS_UC} | awk -F"%" '{print $1}')" | ||||||
|             PW_SOUND_DRIVER_USE="$(echo ${PW_ADD_SETTINGS_UC} | awk -F"%" '{print $2}')" |             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[*]} & |             /usr/bin/env bash -c ${pw_full_command_line[*]} & | ||||||
|             exit 0 |             exit 0 | ||||||
|             ;; |             ;; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user