Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PortWINE
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mikhail Tergoev
PortWINE
Commits
8faa35cf
Commit
8faa35cf
authored
Oct 15, 2024
by
Vladislav
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update locales
parent
3f253184
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
36 deletions
+23
-36
PortProton.pot
data_from_portwine/locales/PortProton.pot
+4
-4
PortProton.po
data_from_portwine/locales/es/LC_MESSAGES/PortProton.po
+6
-12
PortProton.po
data_from_portwine/locales/ru/LC_MESSAGES/PortProton.po
+4
-11
functions_helper
data_from_portwine/scripts/functions_helper
+9
-9
No files found.
data_from_portwine/locales/PortProton.pot
View file @
8faa35cf
...
...
@@ -251,16 +251,16 @@ msgstr ""
msgid "Time spent"
msgstr ""
msgid "
d
isabled"
msgid "
D
isabled"
msgstr ""
msgid "
e
nable"
msgid "
E
nable"
msgstr ""
msgid "
d
isable"
msgid "
D
isable"
msgstr ""
msgid "
e
nabled"
msgid "
E
nabled"
msgstr ""
msgid "Do you really want to reinstall PortProton?\\nFor this, an internet "
...
...
data_from_portwine/locales/es/LC_MESSAGES/PortProton.po
View file @
8faa35cf
...
...
@@ -275,20 +275,20 @@ msgid "Time spent"
msgstr ""
#, fuzzy
msgid "
d
isabled"
msgstr "Desactiva
r
"
msgid "
D
isabled"
msgstr "Desactiva
da
"
#, fuzzy
msgid "
e
nable"
msgid "
E
nable"
msgstr "Permitir"
#, fuzzy
msgid "
d
isable"
msgid "
D
isable"
msgstr "Desactivar"
#, fuzzy
msgid "
e
nabled"
msgstr "
Permitir
"
msgid "
E
nabled"
msgstr "
Activada
"
msgid ""
"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"
msgstr "Desactivar GameScope e ir al menú anterior"
msgid "Disable"
msgstr "Desactivar"
msgid "Enable"
msgstr "Permitir"
#, fuzzy
msgid "Change global settings"
msgstr "Cambiar la configuración de"
...
...
data_from_portwine/locales/ru/LC_MESSAGES/PortProton.po
View file @
8faa35cf
...
...
@@ -273,17 +273,16 @@ msgstr "минут"
msgid "Time spent"
msgstr "Проведено времени"
msgid "
d
isabled"
msgid "
D
isabled"
msgstr "Отключено"
#, fuzzy
msgid "enable"
msgid "Enable"
msgstr "Включить"
msgid "
d
isable"
msgid "
D
isable"
msgstr "Отключить"
msgid "
e
nabled"
msgid "
E
nabled"
msgstr "Включено"
msgid ""
...
...
@@ -1735,12 +1734,6 @@ msgstr ""
msgid "Disable GameScope and go to the previous menu"
msgstr "Отключить Gamescope и перейти в предыдущее меню"
msgid "Disable"
msgstr "Выключить"
msgid "Enable"
msgstr "Включить"
msgid "Change global settings"
msgstr "Изменить глобальные настройки"
...
...
data_from_portwine/scripts/functions_helper
View file @
8faa35cf
...
...
@@ -918,7 +918,7 @@ combobox_fix () {
local name1 name2
if [[ "
$1
" == "
--disabled
" ]] ; then
if [[ -z "
$3
" ]] ; then
echo "
${
translations
[
d
isabled]
}
"
echo "
${
translations
[
D
isabled]
}
"
return 0
fi
name1="
$2
"
...
...
@@ -948,14 +948,14 @@ combobox_fix () {
fi
if [[ "
$1
" == "
--disabled
" ]] ; then
if [[
${
name1
}
== "
disabled
" ]] ; then
name1="
${
translations
[
d
isabled]
}
"
name1="
${
translations
[
D
isabled]
}
"
if [[
${
name3
}
=~ enabled ]] ; then
name3="
${
name3
//enabled/
${
translations
[
e
nable]
}}
"
name3="
${
name3
//enabled/
${
translations
[
E
nable]
}}
"
fi
elif [[
${
name1
}
!= "
disabled
" ]] ; then
fix_disabled="
!
${
translations
[
d
isable]
}
"
fix_disabled="
!
${
translations
[
D
isable]
}
"
if [[
${
name1
}
== "
enabled
" ]] ; then
name1="
${
translations
[
e
nabled]
}
"
name1="
${
translations
[
E
nabled]
}
"
fi
fi
echo "
${
name1
}${
name3
}${
fix_disabled
}
"
...
...
@@ -2239,9 +2239,9 @@ edit_db_from_gui () {
then
for mod_db in $@ ; do
proxy_mod_db="${!mod_db}"
if [[ $proxy_mod_db =~ (${translations[
disabled]}|${translations[d
isable]}) ]] ; then
if [[ $proxy_mod_db =~ (${translations[
Disabled]}|${translations[D
isable]}) ]] ; then
proxy_mod_db=disabled
elif [[ $proxy_mod_db =~ (${translations[
enabled]}|${translations[e
nable]}) ]] ; then
elif [[ $proxy_mod_db =~ (${translations[
Enabled]}|${translations[E
nable]}) ]] ; then
proxy_mod_db=enabled
fi
if [[ $(<"${PORTWINE_DB_FILE}") =~ export\ ${mod_db}= ]]
...
...
@@ -2256,9 +2256,9 @@ edit_db_from_gui () {
edit_user_conf_from_gui () {
for mod_db in $@ ; do
proxy_mod_db="${!mod_db}"
if [[ $proxy_mod_db =~ (${translations[
disabled]}|${translations[d
isable]}) ]] ; then
if [[ $proxy_mod_db =~ (${translations[
Disabled]}|${translations[D
isable]}) ]] ; then
proxy_mod_db=disabled
elif [[ $proxy_mod_db =~ (${translations[
enabled]}|${translations[e
nable]}) ]] ; then
elif [[ $proxy_mod_db =~ (${translations[
Enabled]}|${translations[E
nable]}) ]] ; then
proxy_mod_db=enabled
fi
if ! grep "export ${mod_db}=" "${USER_CONF}" &>/dev/null
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment