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
5bd03731
Commit
5bd03731
authored
Apr 18, 2024
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update lang script
parent
3e540c46
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
lang
data_from_portwine/scripts/lang
+6
-6
No files found.
data_from_portwine/scripts/lang
View file @
5bd03731
...
...
@@ -5,15 +5,14 @@
unset
update_loc
if
[[
-f
"
${
PORT_WINE_TMP_PATH
}
/PortProton_loc"
]]
;
then
update_loc
=
$(
cat
"
${
PORT_WINE_TMP_PATH
}
/PortProton_loc"
)
export
update_loc
fi
if
!
check_flatpak
\
&&
[[
-z
"
${
LANG
}
"
]]
;
then
if
[[
-z
"
${
LANG
}
"
]]
;
then
export
LANG
=
C
export
update_loc
=
"ENG"
update_loc
=
"ENG"
else
if
[[
"
${
update_loc
}
"
==
"RUS"
||
"
${
update_loc
}
"
==
"ENG"
]]
&&
[[
-f
"
${
PORT_WINE_TMP_PATH
}
/PortProton_loc"
]]
;
then
if
[[
"
${
update_loc
}
"
==
"RUS"
||
"
${
update_loc
}
"
==
"ENG"
]]
\
&&
[[
-f
"
${
PORT_WINE_TMP_PATH
}
/PortProton_loc"
]]
;
then
echo
""
else
[[
!
-f
"
${
pw_yad_v13_0
}
"
]]
&&
pw_yad_v13_0
=
"yad"
...
...
@@ -23,11 +22,12 @@ else
SET_LANG
=
"
$(
echo
"
${
SET_LANG
}
"
|
awk
-F
'|'
'{print $2}'
)
"
echo
"
${
SET_LANG
}
"
>
"
${
PORT_WINE_TMP_PATH
}
/PortProton_loc"
if
[[
!
-z
"
${
SET_LANG
}
"
]]
then
export
update_loc
=
${
SET_LANG
}
then
update_loc
=
${
SET_LANG
}
else
exit
1
fi
fi
fi
export
update_loc
if
[[
"
${
update_loc
}
"
==
"RUS"
]]
;
then
# check_flatpak && export LANG=ru_RU.UTF-8
...
...
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