Update locales

This commit is contained in:
Htylol 2024-10-15 13:55:29 +05:00
parent 3f25318471
commit 8faa35cf99
4 changed files with 23 additions and 36 deletions

@ -251,16 +251,16 @@ msgstr ""
msgid "Time spent" msgid "Time spent"
msgstr "" msgstr ""
msgid "disabled" msgid "Disabled"
msgstr "" msgstr ""
msgid "enable" msgid "Enable"
msgstr "" msgstr ""
msgid "disable" msgid "Disable"
msgstr "" msgstr ""
msgid "enabled" msgid "Enabled"
msgstr "" msgstr ""
msgid "Do you really want to reinstall PortProton?\\nFor this, an internet " msgid "Do you really want to reinstall PortProton?\\nFor this, an internet "

@ -275,20 +275,20 @@ msgid "Time spent"
msgstr "" msgstr ""
#, fuzzy #, fuzzy
msgid "disabled" msgid "Disabled"
msgstr "Desactivar" msgstr "Desactivada"
#, fuzzy #, fuzzy
msgid "enable" msgid "Enable"
msgstr "Permitir" msgstr "Permitir"
#, fuzzy #, fuzzy
msgid "disable" msgid "Disable"
msgstr "Desactivar" msgstr "Desactivar"
#, fuzzy #, fuzzy
msgid "enabled" msgid "Enabled"
msgstr "Permitir" msgstr "Activada"
msgid "" msgid ""
"Do you really want to reinstall PortProton?\\nFor this, an internet " "Do you really want to reinstall PortProton?\\nFor this, an internet "
@ -1765,12 +1765,6 @@ msgstr ""
msgid "Disable GameScope and go to the previous menu" msgid "Disable GameScope and go to the previous menu"
msgstr "Desactivar GameScope e ir al menú anterior" msgstr "Desactivar GameScope e ir al menú anterior"
msgid "Disable"
msgstr "Desactivar"
msgid "Enable"
msgstr "Permitir"
#, fuzzy #, fuzzy
msgid "Change global settings" msgid "Change global settings"
msgstr "Cambiar la configuración de" msgstr "Cambiar la configuración de"

@ -273,17 +273,16 @@ msgstr "минут"
msgid "Time spent" msgid "Time spent"
msgstr "Проведено времени" msgstr "Проведено времени"
msgid "disabled" msgid "Disabled"
msgstr "Отключено" msgstr "Отключено"
#, fuzzy msgid "Enable"
msgid "enable"
msgstr "Включить" msgstr "Включить"
msgid "disable" msgid "Disable"
msgstr "Отключить" msgstr "Отключить"
msgid "enabled" msgid "Enabled"
msgstr "Включено" msgstr "Включено"
msgid "" msgid ""
@ -1735,12 +1734,6 @@ msgstr ""
msgid "Disable GameScope and go to the previous menu" msgid "Disable GameScope and go to the previous menu"
msgstr "Отключить Gamescope и перейти в предыдущее меню" msgstr "Отключить Gamescope и перейти в предыдущее меню"
msgid "Disable"
msgstr "Выключить"
msgid "Enable"
msgstr "Включить"
msgid "Change global settings" msgid "Change global settings"
msgstr "Изменить глобальные настройки" msgstr "Изменить глобальные настройки"

@ -918,7 +918,7 @@ combobox_fix () {
local name1 name2 local name1 name2
if [[ "$1" == "--disabled" ]] ; then if [[ "$1" == "--disabled" ]] ; then
if [[ -z "$3" ]] ; then if [[ -z "$3" ]] ; then
echo "${translations[disabled]}" echo "${translations[Disabled]}"
return 0 return 0
fi fi
name1="$2" name1="$2"
@ -948,14 +948,14 @@ combobox_fix () {
fi fi
if [[ "$1" == "--disabled" ]] ; then if [[ "$1" == "--disabled" ]] ; then
if [[ ${name1} == "disabled" ]] ; then if [[ ${name1} == "disabled" ]] ; then
name1="${translations[disabled]}" name1="${translations[Disabled]}"
if [[ ${name3} =~ enabled ]] ; then if [[ ${name3} =~ enabled ]] ; then
name3="${name3//enabled/${translations[enable]}}" name3="${name3//enabled/${translations[Enable]}}"
fi fi
elif [[ ${name1} != "disabled" ]] ; then elif [[ ${name1} != "disabled" ]] ; then
fix_disabled="!${translations[disable]}" fix_disabled="!${translations[Disable]}"
if [[ ${name1} == "enabled" ]] ; then if [[ ${name1} == "enabled" ]] ; then
name1="${translations[enabled]}" name1="${translations[Enabled]}"
fi fi
fi fi
echo "${name1}${name3}${fix_disabled}" echo "${name1}${name3}${fix_disabled}"
@ -2239,9 +2239,9 @@ edit_db_from_gui () {
then then
for mod_db in $@ ; do for mod_db in $@ ; do
proxy_mod_db="${!mod_db}" proxy_mod_db="${!mod_db}"
if [[ $proxy_mod_db =~ (${translations[disabled]}|${translations[disable]}) ]] ; then if [[ $proxy_mod_db =~ (${translations[Disabled]}|${translations[Disable]}) ]] ; then
proxy_mod_db=disabled proxy_mod_db=disabled
elif [[ $proxy_mod_db =~ (${translations[enabled]}|${translations[enable]}) ]] ; then elif [[ $proxy_mod_db =~ (${translations[Enabled]}|${translations[Enable]}) ]] ; then
proxy_mod_db=enabled proxy_mod_db=enabled
fi fi
if [[ $(<"${PORTWINE_DB_FILE}") =~ export\ ${mod_db}= ]] if [[ $(<"${PORTWINE_DB_FILE}") =~ export\ ${mod_db}= ]]
@ -2256,9 +2256,9 @@ edit_db_from_gui () {
edit_user_conf_from_gui () { edit_user_conf_from_gui () {
for mod_db in $@ ; do for mod_db in $@ ; do
proxy_mod_db="${!mod_db}" proxy_mod_db="${!mod_db}"
if [[ $proxy_mod_db =~ (${translations[disabled]}|${translations[disable]}) ]] ; then if [[ $proxy_mod_db =~ (${translations[Disabled]}|${translations[Disable]}) ]] ; then
proxy_mod_db=disabled proxy_mod_db=disabled
elif [[ $proxy_mod_db =~ (${translations[enabled]}|${translations[enable]}) ]] ; then elif [[ $proxy_mod_db =~ (${translations[Enabled]}|${translations[Enable]}) ]] ; then
proxy_mod_db=enabled proxy_mod_db=enabled
fi fi
if ! grep "export ${mod_db}=" "${USER_CONF}" &>/dev/null if ! grep "export ${mod_db}=" "${USER_CONF}" &>/dev/null