Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PortWINE-old
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
Vladislav
PortWINE-old
Commits
7e40a291
Commit
7e40a291
authored
Aug 05, 2024
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'Htylol-update-lang' into devel
parents
f2536fd4
36724067
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
functions_helper
data_from_portwine/scripts/functions_helper
+5
-7
No files found.
data_from_portwine/scripts/functions_helper
View file @
7e40a291
...
...
@@ -63,13 +63,11 @@ change_locale () {
)
out
=
$(
"
${
SET_LANG
[@]
}
"
)
[
-n
"
$out
"
]
||
fatal
"Language is not set!"
SET_LANG
=
$(
echo
"
$out
"
|
cut
-d
'|'
-f2
)
echo
"
${
SET_LANG
}
"
>
"
${
PORT_WINE_TMP_PATH
}
/PortProton_loc"
if
[[
!
-z
"
${
SET_LANG
}
"
]]
then
LANGUAGE
=
${
SET_LANG
}
else
exit
1
if
[[
-z
$out
]]
;
then
fatal
"Language is not set!"
else
LANGUAGE
=
$(
echo
"
$out
"
|
cut
-d
'|'
-f2
)
echo
"
${
LANGUAGE
}
"
>
"
${
PORT_WINE_TMP_PATH
}
/PortProton_loc"
fi
fi
export
LANGUAGE
...
...
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