Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
paddle_dbnet
Commits
fd7801c3
Commit
fd7801c3
authored
Jan 19, 2022
by
HinGwenWoong
Browse files
Optimize savePPlabel information message when using chinese as language.
parent
f21a8f54
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
PPOCRLabel/PPOCRLabel.py
PPOCRLabel/PPOCRLabel.py
+5
-2
No files found.
PPOCRLabel/PPOCRLabel.py
View file @
fd7801c3
...
...
@@ -2094,8 +2094,11 @@ class MainWindow(QMainWindow, WindowMixin):
f
.
write
(
key
+
'
\t
'
)
f
.
write
(
json
.
dumps
(
self
.
PPlabel
[
key
],
ensure_ascii
=
False
)
+
'
\n
'
)
if
mode
==
'Manual'
:
msg
=
'Images that have been checked are saved in '
+
self
.
PPlabelpath
if
mode
==
'Manual'
:
if
self
.
lang
==
'ch'
:
msg
=
'已将检查过的图片标签保存在 '
+
self
.
PPlabelpath
+
" 文件中"
else
:
msg
=
'Images that have been checked are saved in '
+
self
.
PPlabelpath
QMessageBox
.
information
(
self
,
"Information"
,
msg
)
def
saveCacheLabel
(
self
):
...
...
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