c62cc01642
simplify database interface
2017-10-29 10:42:39 -07:00
7d29e5b533
cleanup of settings page
2017-10-29 10:18:15 -07:00
0b602925ab
cleanup
2017-10-28 08:11:33 -07:00
Alex Yatskov
25ae2e475a
Merge pull request #95 from siikamiika/feature-merge-similar-results
...
Feature: result grouping by main dictionary sequence (along with some other changes)
2017-10-26 09:58:32 -07:00
siikamiika
ab1e2b3d5d
settings: move main dictionary below Dictionaries, styling
2017-10-26 10:31:59 +03:00
siikamiika
e063a315d4
settings: add missing const
2017-10-26 10:20:48 +03:00
siikamiika
de28190f5a
merged mode: restore whitespace between frequencies
2017-10-26 10:18:28 +03:00
siikamiika
ee80fa5331
merged mode: restore whitespace between termTags
2017-10-25 00:58:11 +03:00
siikamiika
f828043838
terms.html: fix whitespace issues in merged mode
2017-10-24 23:50:33 +03:00
siikamiika
9697c9a65b
terms.html: rename classes, remove inline css
2017-10-24 23:30:55 +03:00
siikamiika
6f43fffb4e
util.js: remove unnecessary conditional
2017-10-24 23:12:55 +03:00
siikamiika
73d542547b
translator.js: coding style
2017-10-24 23:10:47 +03:00
siikamiika
c9b1dd56dc
fixups: remove redundant options, use template str
2017-10-24 23:01:07 +03:00
siikamiika
27a56dc236
expand tags before dictTermsMergeByGloss
2017-10-24 18:31:18 +03:00
siikamiika
78442fff1a
settings: main dictionary selection as dropdown
2017-10-24 16:23:13 +03:00
siikamiika
df0d2beb73
database.js: add hasSequences
2017-10-24 13:45:51 +03:00
siikamiika
8400f0e4c0
Anki: use CSS classes for term frequency color
2017-10-24 12:49:10 +03:00
siikamiika
e034ca3ad4
add tag meta score
2017-10-24 12:38:05 +03:00
siikamiika
bf15358bb4
...with {furigana-plain}, too
2017-10-19 19:30:29 +03:00
siikamiika
bc92327d86
Anki: term frequency colors in merged mode
2017-10-19 19:27:28 +03:00
siikamiika
f54f909701
merged mode: rewrite term frequency (use score)
2017-10-19 18:35:42 +03:00
siikamiika
04def64521
merged mode: fix another OBOE related to sequence
2017-10-19 18:15:50 +03:00
siikamiika
9d4b75de20
fix error in utilStringHashCode
2017-10-19 00:47:08 +03:00
siikamiika
7e556e8d32
field template fixup for modified templates only
2017-10-18 23:40:56 +03:00
siikamiika
b59980067a
old database format compatibility
2017-10-18 11:08:54 +03:00
siikamiika
2cbbcd242e
fixups: remove useless check
2017-10-18 10:08:34 +03:00
siikamiika
552185ffb4
Anki: fixup for note template
2017-10-18 08:01:38 +03:00
siikamiika
966fa2ff75
merged mode: replace ", " with "、" in Anki notes
2017-10-17 18:07:28 +03:00
siikamiika
c1c851d781
merged mode: support {audio} marker (first term)
2017-10-17 17:57:44 +03:00
siikamiika
81f0a61651
merged mode: Anki support
2017-10-17 11:16:38 +03:00
siikamiika
1edeabdaa8
merged mode: tags -> termTags (inside expressions)
2017-10-17 09:27:47 +03:00
siikamiika
b104dfd524
merged mode: fix OBOE (sequence 0)
2017-10-17 08:29:31 +03:00
siikamiika
7913b094b7
scrap tagLineBreak option
2017-10-15 10:38:30 +03:00
siikamiika
293606d2b1
line break after tags on by default
2017-10-15 10:22:29 +03:00
siikamiika
0404b42f61
compact glossaries, line break after tags: on/off
2017-10-15 09:45:00 +03:00
siikamiika
03f7ca23e1
merged mode: add secondary searches
2017-10-15 05:19:16 +03:00
Roderic Day
5502bf8aed
Place nodeType
checks inside caretRangeFromPoint
function
...
Checked that it does not un-fix #80
Squelches alerts (but does not fix underlying issue) for #89
2017-10-13 15:12:41 -04:00
siikamiika
4203fda906
rename pos to partOfSpeech
2017-10-13 03:14:06 +03:00
siikamiika
7ec28bea54
change db format, rename tags to definitionTags
2017-10-13 02:40:20 +03:00
siikamiika
c0f56480bb
compact tags: reset PoS on new dictionary
2017-10-12 11:28:32 +03:00
siikamiika
8d660e2829
add compact tags
2017-10-12 09:59:09 +03:00
siikamiika
6523b77ca1
pos tag color
2017-10-12 08:23:28 +03:00
siikamiika
4e57fa1ad1
merged mode: remove options.dictionary.main
2017-10-12 01:10:05 +03:00
siikamiika
7783aa4c1a
reset main dictionary on purge
2017-10-11 19:58:57 +03:00
siikamiika
4fb983a70c
add termTags
...
The dictionary tags field can now have a '\t' in it, and it is used to
separate tags associated with definitions and terms.
2017-10-11 09:18:55 +03:00
siikamiika
e1c5d7a401
merged mode: make gloss hash more unique
...
Use ['gloss', 'ary'].concat('DictName')
Known collision: 日本国有鉄道 in JMdict and JMnedict
2017-10-10 06:04:49 +03:00
siikamiika
b9d589374c
merged mode: support audio hotkey Alt+P
2017-10-10 04:13:36 +03:00
siikamiika
9f277b6a20
merged mode: support frequencies
2017-10-10 00:56:47 +03:00
siikamiika
84420e00bf
merged mode: fix tags for non-main dictionaries
2017-10-09 23:22:12 +03:00
siikamiika
7b9ad61352
merged mode: fix regression (voice), tweak hover
...
Alt+P now works again in grouped/split mode
In merged mode, 「、」 is added even after the last term, but it's
hidden for that. This ensures consistent behavior with voice button and
tags
2017-10-08 03:37:28 +03:00