projects
/
jiten-pai.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06f7b1f
)
* Fixed search for terms entered in Katakana.
author
Urban Wallasch
<urban.wallasch@freenet.de>
Fri, 18 Jun 2021 11:40:52 +0000
(13:40 +0200)
committer
Urban Wallasch
<urban.wallasch@freenet.de>
Fri, 18 Jun 2021 11:40:52 +0000
(13:40 +0200)
jiten-pai.py
patch
|
blob
|
history
diff --git
a/jiten-pai.py
b/jiten-pai.py
index a6579cc3f05502e307fc5ac0e92ca435cdcb6387..f9e107385ab60093430d760b8603e765f851c228 100755
(executable)
--- a/
jiten-pai.py
+++ b/
jiten-pai.py
@@
-1178,6
+1178,8
@@
class jpMainWindow(QMainWindow):
# convert Romaji
if self.search_romaji.isChecked():
term = alphabet2kana(term)
+ # convert Katakana to Hiragana
+ term = kata2hira(term)
# result limiting
limit = self.genopt_limit.value() if self.genopt_limit.isEnabled() else cfg['hardlimit']
# search