Skip to content

Commit 610abc8

Browse files
fix typo and remove magic string
1 parent 350216b commit 610abc8

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

netem.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20066,7 +20066,7 @@
2006620066
"序号": 2867,
2006720067
"词频": 27,
2006820068
"单词": "worthwhile",
20069-
"释义": "形容词",
20069+
"释义": "与此同时",
2007020070
"异形词": null
2007120071
},
2007220072
{
@@ -21361,7 +21361,7 @@
2136121361
"序号": 3052,
2136221362
"词频": 23,
2136321363
"单词": "nonetheless",
21364-
"释义": "副词",
21364+
"释义": "然而",
2136521365
"异形词": null
2136621366
},
2136721367
{

netem.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2884,7 +2884,7 @@ INSERT INTO `vocabulary` VALUES (2863, 28, 'brilliant', '巧妙的、聪明的',
28842884
INSERT INTO `vocabulary` VALUES (2864, 28, 'gadget', '小玩意儿', NULL, NULL);
28852885
INSERT INTO `vocabulary` VALUES (2865, 28, 'playground', '操场', NULL, 'shopping');
28862886
INSERT INTO `vocabulary` VALUES (2866, 28, 'tenant', '房客、承租人', NULL, NULL);
2887-
INSERT INTO `vocabulary` VALUES (2867, 27, 'worthwhile', '形容词', NULL, NULL);
2887+
INSERT INTO `vocabulary` VALUES (2867, 27, 'worthwhile', '与此同时', NULL, NULL);
28882888
INSERT INTO `vocabulary` VALUES (2868, 27, 'assert', '断言', NULL, 'communication');
28892889
INSERT INTO `vocabulary` VALUES (2869, 27, 'mysterious', '神秘的', NULL, NULL);
28902890
INSERT INTO `vocabulary` VALUES (2870, 27, 'slice', '部分、薄片', NULL, 'food and drink');
@@ -3069,7 +3069,7 @@ INSERT INTO `vocabulary` VALUES (3048, 23, 'nonsense', '胡说', NULL, 'communic
30693069
INSERT INTO `vocabulary` VALUES (3049, 23, 'vivid', '生动的', NULL, 'describing things');
30703070
INSERT INTO `vocabulary` VALUES (3050, 23, 'beef', '牛肉', NULL, 'food and drink');
30713071
INSERT INTO `vocabulary` VALUES (3051, 23, 'excel', '优于', NULL, NULL);
3072-
INSERT INTO `vocabulary` VALUES (3052, 23, 'nonetheless', '副词', NULL, NULL);
3072+
INSERT INTO `vocabulary` VALUES (3052, 23, 'nonetheless', '然而', NULL, NULL);
30733073
INSERT INTO `vocabulary` VALUES (3053, 23, 'queue', '排队', NULL, 'people: actions');
30743074
INSERT INTO `vocabulary` VALUES (3054, 23, 'conquer', '征服', NULL, NULL);
30753075
INSERT INTO `vocabulary` VALUES (3055, 23, 'contradict', '反驳', NULL, NULL);

scripts/custom_config/js-config-example.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@ module.exports={
1111
},
1212
perNum: 18,
1313
originalDoc: "",
14-
updatedDoc: ""
14+
updatedDoc: "",
15+
tableName: "vocabulary"
1516
}

scripts/mdict/the_little_dict/get_def_from_tld.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const connection = await mysql.createConnection({
1515
database: jsconfig.database.name,
1616
});
1717

18-
const table = "vocabulary"; // 数据库表名
18+
const table = jsconfig.tableName; // 数据库表名
1919

2020
// 从一个 DOM 元素开始,递归查找最内层的 .coca2 元素
2121
function findInnerDiv(element) {

0 commit comments

Comments
 (0)