file management
This commit is contained in:
parent
74cd35093d
commit
09b2db4fdf
4
.gitattributes
vendored
4
.gitattributes
vendored
@ -1,4 +0,0 @@
|
|||||||
ext/bg/data/edict/*.json filter=lfs diff=lfs merge=lfs -text
|
|
||||||
ext/bg/data/enamdict/*.json filter=lfs diff=lfs merge=lfs -text
|
|
||||||
ext/bg/data/kanjidic/*.json filter=lfs diff=lfs merge=lfs -text
|
|
||||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
|
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[submodule "ext/bg/lang/data"]
|
||||||
|
path = ext/bg/lang/data
|
||||||
|
url = https://FooSoft@bitbucket.org/FooSoft/yomichan-data.git
|
File diff suppressed because it is too large
Load Diff
@ -1,33 +0,0 @@
|
|||||||
{
|
|
||||||
"P": {"class": "popular", "desc": "popular term", "order": 1, "score": 5},
|
|
||||||
|
|
||||||
"exp": {"class": "expression", "order": 2},
|
|
||||||
"id": {"class": "expression", "order": 2},
|
|
||||||
"arch": {"class": "archaism", "order": 2, "score": -1},
|
|
||||||
"iK": {"class": "archaism", "order": 2, "score": -1},
|
|
||||||
|
|
||||||
"news": {"class": "frequent", "desc": "appears frequently in Mainichi Shimbun", "order": 3},
|
|
||||||
"ichi": {"class": "frequent", "desc": "listed as common in Ichimango Goi Bunruishuu", "order": 3},
|
|
||||||
"spec": {"class": "frequent", "desc": "common words not included in frequency lists", "order": 3},
|
|
||||||
"gai": {"class": "frequent", "desc": "common loanword", "order": 3},
|
|
||||||
|
|
||||||
"jouyou": {"class": "frequent", "desc": "included in list of regular-use characters", "order": 3},
|
|
||||||
"jinmeiyou": {"class": "frequent", "desc": "included in list of characters for use in personal names", "order": 3},
|
|
||||||
"jlpt": {"desc": "corresponding Japanese Language Proficiency Test level"},
|
|
||||||
"grade": {"desc": "school grade level at which the character is taught"},
|
|
||||||
"strokes": {"desc": "number of strokes needed to write the character"},
|
|
||||||
"heisig": {"desc": "frame number in Remembering the Kanji"},
|
|
||||||
|
|
||||||
"surname": {"class": "name", "order": 4},
|
|
||||||
"place": {"class": "name", "order": 4},
|
|
||||||
"unclass": {"class": "name", "order": 4},
|
|
||||||
"company": {"class": "name", "order": 4},
|
|
||||||
"product": {"class": "name", "order": 4},
|
|
||||||
"work": {"class": "name", "order": 4},
|
|
||||||
"masc": {"class": "name", "order": 4},
|
|
||||||
"fem": {"class": "name", "order": 4},
|
|
||||||
"person": {"class": "name", "order": 4},
|
|
||||||
"given": {"class": "name", "order": 4},
|
|
||||||
"station": {"class": "name", "order": 4},
|
|
||||||
"organization": {"class": "name", "order": 4}
|
|
||||||
}
|
|
@ -264,7 +264,7 @@ function onDictionarySetUrl(e) {
|
|||||||
if (url.includes('/')) {
|
if (url.includes('/')) {
|
||||||
dictUrl.val(url);
|
dictUrl.val(url);
|
||||||
} else {
|
} else {
|
||||||
dictUrl.val(chrome.extension.getURL(`bg/data/${url}/index.json`));
|
dictUrl.val(chrome.extension.getURL(`bg/lang/data/${url}/index.json`));
|
||||||
}
|
}
|
||||||
|
|
||||||
dictUrl.trigger('input');
|
dictUrl.trigger('input');
|
||||||
|
@ -31,7 +31,7 @@ class Translator {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const promises = [
|
const promises = [
|
||||||
loadJsonInt('bg/data/deinflect.json'),
|
loadJsonInt('bg/lang/deinflect.json'),
|
||||||
this.database.prepare()
|
this.database.prepare()
|
||||||
];
|
];
|
||||||
|
|
||||||
|
1
ext/bg/lang/data
Submodule
1
ext/bg/lang/data
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit a33d050c508450fd2f1f8b68cfe7abe44cba72c0
|
Loading…
Reference in New Issue
Block a user