qwerty-learner-vscode icon indicating copy to clipboard operation
qwerty-learner-vscode copied to clipboard

修改了日语词典的格式,使得显示翻译时可以同时显示日文写法和罗马音

Open cnsky1103 opened this issue 1 year ago • 2 comments

此前只能显示罗马音,不显示汉字和假名,对日语学习几乎没有帮助,这里把notation里的日文合并到了trans里,使得两者可以同时显示

cnsky1103 avatar Jan 18 '24 07:01 cnsky1103

看起来你只修改了词典的文件,没有修改显示内容的代码并不能正常显示 notation

RealKai42 avatar Jan 21 '24 10:01 RealKai42

看起来你只修改了词典的文件,没有修改显示内容的代码并不能正常显示 notation

image translationBar是由trans数组join起来的,我把词典的notation移动到trans元素里就可以等效实现同时展示trans和notation。本地测试是ok的 image image

cnsky1103 avatar Jan 22 '24 01:01 cnsky1103