query parser: add reading mode 'none'
This commit is contained in:
parent
04727a8cd7
commit
aa5a044dad
@ -398,7 +398,7 @@
|
|||||||
},
|
},
|
||||||
"readingMode": {
|
"readingMode": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"enum": ["hiragana", "katakana", "romaji"],
|
"enum": ["hiragana", "katakana", "romaji", "none"],
|
||||||
"default": "hiragana"
|
"default": "hiragana"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -457,6 +457,7 @@
|
|||||||
<option value="hiragana">ひらがな</option>
|
<option value="hiragana">ひらがな</option>
|
||||||
<option value="katakana">カタカナ</option>
|
<option value="katakana">カタカナ</option>
|
||||||
<option value="romaji">Romaji</option>
|
<option value="romaji">Romaji</option>
|
||||||
|
<option value="none">Disabled</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -80,6 +80,8 @@ function jpConvertReading(expressionFragment, readingFragment, readingMode) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
return readingFragment;
|
return readingFragment;
|
||||||
|
case 'none':
|
||||||
|
return null;
|
||||||
default:
|
default:
|
||||||
return readingFragment;
|
return readingFragment;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user