Skip to content

Commit

Permalink
fix: 翻译
Browse files Browse the repository at this point in the history
  • Loading branch information
yuhldr committed Nov 29, 2024
1 parent fcb4b4e commit 27a55d5
Show file tree
Hide file tree
Showing 4 changed files with 224 additions and 210 deletions.
3 changes: 3 additions & 0 deletions lfy/qt/preference.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,9 @@ def _on_changed_o(self, i):
self.le_o.setText(clear_key(so.get_conf(), " | "))
self.le_o.setToolTip(so.sk_placeholder_text)
self.le_o.setPlaceholderText(so.sk_placeholder_text)
self.tray.showMessage(_("OCR server"),
_("Using {} for text recognition").format(so.name),
QSystemTrayIcon.MessageIcon.Information, 3000)

def _import_config(self):
if self.cb.mimeData().hasText():
Expand Down
2 changes: 1 addition & 1 deletion po/POTFILES
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
data/cool.ldr.lfy.in.in.desktop
data/gtk/cool.ldr.lfy.in.gschema.xml
data/cool.ldr.lfy.in.appdata.xml
data/gtk/cool.ldr.lfy.in.appdata.xml


lfy/gtk/main.py
Expand Down
Loading

0 comments on commit 27a55d5

Please sign in to comment.