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
3560d724
Unverified
Commit
3560d724
authored
1 year ago
by
Mikhail Tergoev
Committed by
GitHub
1 year ago
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #42 from Toxblh/fix-lang-switcher
Исправленно: При попытке поменять язык, не показывает диалог.
parents
6b8e5272
7d9804ce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
lang
data_from_portwine/scripts/lang
+5
-5
No files found.
data_from_portwine/scripts/lang
View file @
3560d724
...
...
@@ -4,6 +4,11 @@
if
[[
-f
"
${
PORT_WINE_TMP_PATH
}
/
${
portname
}
_loc"
]]
;
then
read
"update_loc"
<
"
${
PORT_WINE_TMP_PATH
}
/
${
portname
}
_loc"
export
update_loc
=
${
update_loc
}
else
SET_LANG
=
`
zenity
--title
"LAUNGUAGE"
--text
"Select the language"
--list
--radiolist
\
--column
=
"Set:"
--column
"Choose language:"
TRUE
"RUS"
FALSE
"ENG"
`
echo
"
${
SET_LANG
}
"
>
"
${
PORT_WINE_TMP_PATH
}
/
${
portname
}
_loc"
export
update_loc
=
${
SET_LANG
}
fi
if
[
"
${
update_loc
}
"
=
"RUS"
]
...
...
@@ -337,9 +342,4 @@ then
export
loc_edit_db
=
"Edit database file for"
export
loc_find_d3dadapter9_error
=
"not found in the system.
\n
Install it and try again."
else
SET_LANG
=
`
zenity
--title
"LAUNGUAGE"
--text
"Select the language"
--list
--radiolist
\
--column
=
"Set:"
--column
"Choose language:"
TRUE
"RUS"
FALSE
"ENG"
`
echo
"
${
SET_LANG
}
"
>
"
${
PORT_WINE_TMP_PATH
}
/
${
portname
}
_loc"
exit
0
fi
This diff is collapsed.
Click to expand it.
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