@termdock/twlint 1.2.1 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +1 -0
- package/dist/cli.js.map +1 -1
- package/dist/core/dictionary-manager.d.ts +1 -0
- package/dist/core/dictionary-manager.d.ts.map +1 -1
- package/dist/core/dictionary-manager.js +11 -2
- package/dist/core/dictionary-manager.js.map +1 -1
- package/dist/core/linter.d.ts.map +1 -1
- package/dist/core/linter.js +14 -5
- package/dist/core/linter.js.map +1 -1
- package/dist/core/rules/simplified-chars.d.ts +3 -0
- package/dist/core/rules/simplified-chars.d.ts.map +1 -1
- package/dist/core/rules/simplified-chars.js +21 -2
- package/dist/core/rules/simplified-chars.js.map +1 -1
- package/dist/dictionaries/academic.json +1 -1
- package/dist/dictionaries/ai-emerging-tech.json +1 -1
- package/dist/dictionaries/business-finance.json +1 -1
- package/dist/dictionaries/core.json +2 -354
- package/dist/dictionaries/hardware-3c.json +1 -1
- package/dist/dictionaries/index.json +7 -7
- package/dist/dictionaries/network-cloud.json +2 -50
- package/dist/dictionaries/operating-system.json +1 -1
- package/dist/dictionaries/social-media.json +2 -18
- package/dist/dictionaries/software-development.json +2 -42
- package/dist/dictionaries/user-interface.json +2 -258
- package/package.json +2 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"metadata": {
|
|
3
3
|
"name": "user-interface",
|
|
4
|
-
"version": "1.
|
|
5
|
-
"entries":
|
|
4
|
+
"version": "1.3.0",
|
|
5
|
+
"entries": 97
|
|
6
6
|
},
|
|
7
7
|
"lookup": {
|
|
8
8
|
"窗口": {
|
|
@@ -373,38 +373,6 @@
|
|
|
373
373
|
"match_type": "exact",
|
|
374
374
|
"autofix_safe": true
|
|
375
375
|
},
|
|
376
|
-
"标签页": {
|
|
377
|
-
"taiwan": "分頁",
|
|
378
|
-
"confidence": 0.9,
|
|
379
|
-
"category": "mainland-term",
|
|
380
|
-
"reason": "台灣介面元件標準",
|
|
381
|
-
"match_type": "exact",
|
|
382
|
-
"autofix_safe": true
|
|
383
|
-
},
|
|
384
|
-
"标签页_tab": {
|
|
385
|
-
"taiwan": "分頁",
|
|
386
|
-
"confidence": 0.9,
|
|
387
|
-
"category": "mainland-term",
|
|
388
|
-
"reason": "台灣介面元件標準",
|
|
389
|
-
"match_type": "exact",
|
|
390
|
-
"autofix_safe": true
|
|
391
|
-
},
|
|
392
|
-
"標籤頁": {
|
|
393
|
-
"taiwan": "分頁",
|
|
394
|
-
"confidence": 0.9,
|
|
395
|
-
"category": "mainland-term",
|
|
396
|
-
"reason": "台灣介面元件標準",
|
|
397
|
-
"match_type": "exact",
|
|
398
|
-
"autofix_safe": true
|
|
399
|
-
},
|
|
400
|
-
"標籤頁_tab": {
|
|
401
|
-
"taiwan": "分頁",
|
|
402
|
-
"confidence": 0.9,
|
|
403
|
-
"category": "mainland-term",
|
|
404
|
-
"reason": "台灣介面元件標準",
|
|
405
|
-
"match_type": "exact",
|
|
406
|
-
"autofix_safe": true
|
|
407
|
-
},
|
|
408
376
|
"控件": {
|
|
409
377
|
"taiwan": "控制項",
|
|
410
378
|
"confidence": 0.9,
|
|
@@ -821,38 +789,6 @@
|
|
|
821
789
|
"match_type": "exact",
|
|
822
790
|
"autofix_safe": true
|
|
823
791
|
},
|
|
824
|
-
"主页": {
|
|
825
|
-
"taiwan": "首頁",
|
|
826
|
-
"confidence": 0.9,
|
|
827
|
-
"category": "mainland-term",
|
|
828
|
-
"reason": "台灣網頁標準術語",
|
|
829
|
-
"match_type": "exact",
|
|
830
|
-
"autofix_safe": true
|
|
831
|
-
},
|
|
832
|
-
"主页_home_page": {
|
|
833
|
-
"taiwan": "首頁",
|
|
834
|
-
"confidence": 0.9,
|
|
835
|
-
"category": "mainland-term",
|
|
836
|
-
"reason": "台灣網頁標準術語",
|
|
837
|
-
"match_type": "exact",
|
|
838
|
-
"autofix_safe": true
|
|
839
|
-
},
|
|
840
|
-
"主頁": {
|
|
841
|
-
"taiwan": "首頁",
|
|
842
|
-
"confidence": 0.9,
|
|
843
|
-
"category": "mainland-term",
|
|
844
|
-
"reason": "台灣網頁標準術語",
|
|
845
|
-
"match_type": "exact",
|
|
846
|
-
"autofix_safe": true
|
|
847
|
-
},
|
|
848
|
-
"主頁_home_page": {
|
|
849
|
-
"taiwan": "首頁",
|
|
850
|
-
"confidence": 0.9,
|
|
851
|
-
"category": "mainland-term",
|
|
852
|
-
"reason": "台灣網頁標準術語",
|
|
853
|
-
"match_type": "exact",
|
|
854
|
-
"autofix_safe": true
|
|
855
|
-
},
|
|
856
792
|
"收藏夹": {
|
|
857
793
|
"taiwan": "書籤",
|
|
858
794
|
"confidence": 0.9,
|
|
@@ -885,54 +821,6 @@
|
|
|
885
821
|
"match_type": "exact",
|
|
886
822
|
"autofix_safe": true
|
|
887
823
|
},
|
|
888
|
-
"收藏": {
|
|
889
|
-
"taiwan": "我的最愛",
|
|
890
|
-
"confidence": 0.9,
|
|
891
|
-
"category": "mainland-term",
|
|
892
|
-
"reason": "台灣瀏覽器功能",
|
|
893
|
-
"match_type": "exact",
|
|
894
|
-
"autofix_safe": true
|
|
895
|
-
},
|
|
896
|
-
"收藏_favorites": {
|
|
897
|
-
"taiwan": "我的最愛",
|
|
898
|
-
"confidence": 0.9,
|
|
899
|
-
"category": "mainland-term",
|
|
900
|
-
"reason": "台灣瀏覽器功能",
|
|
901
|
-
"match_type": "exact",
|
|
902
|
-
"autofix_safe": true
|
|
903
|
-
},
|
|
904
|
-
"历史记录": {
|
|
905
|
-
"taiwan": "歷程記錄",
|
|
906
|
-
"confidence": 0.85,
|
|
907
|
-
"category": "mainland-term",
|
|
908
|
-
"reason": "台灣瀏覽器功能",
|
|
909
|
-
"match_type": "exact",
|
|
910
|
-
"autofix_safe": true
|
|
911
|
-
},
|
|
912
|
-
"历史记录_history": {
|
|
913
|
-
"taiwan": "歷程記錄",
|
|
914
|
-
"confidence": 0.85,
|
|
915
|
-
"category": "mainland-term",
|
|
916
|
-
"reason": "台灣瀏覽器功能",
|
|
917
|
-
"match_type": "exact",
|
|
918
|
-
"autofix_safe": true
|
|
919
|
-
},
|
|
920
|
-
"歷史記錄": {
|
|
921
|
-
"taiwan": "歷程記錄",
|
|
922
|
-
"confidence": 0.85,
|
|
923
|
-
"category": "mainland-term",
|
|
924
|
-
"reason": "台灣瀏覽器功能",
|
|
925
|
-
"match_type": "exact",
|
|
926
|
-
"autofix_safe": true
|
|
927
|
-
},
|
|
928
|
-
"歷史記錄_history": {
|
|
929
|
-
"taiwan": "歷程記錄",
|
|
930
|
-
"confidence": 0.85,
|
|
931
|
-
"category": "mainland-term",
|
|
932
|
-
"reason": "台灣瀏覽器功能",
|
|
933
|
-
"match_type": "exact",
|
|
934
|
-
"autofix_safe": true
|
|
935
|
-
},
|
|
936
824
|
"浏览器扩展": {
|
|
937
825
|
"taiwan": "擴充套件",
|
|
938
826
|
"confidence": 0.9,
|
|
@@ -1141,38 +1029,6 @@
|
|
|
1141
1029
|
"match_type": "exact",
|
|
1142
1030
|
"autofix_safe": true
|
|
1143
1031
|
},
|
|
1144
|
-
"预设": {
|
|
1145
|
-
"taiwan": "預設集",
|
|
1146
|
-
"confidence": 0.85,
|
|
1147
|
-
"category": "mainland-term",
|
|
1148
|
-
"reason": "台灣系統設定術語",
|
|
1149
|
-
"match_type": "exact",
|
|
1150
|
-
"autofix_safe": true
|
|
1151
|
-
},
|
|
1152
|
-
"预设_preset": {
|
|
1153
|
-
"taiwan": "預設集",
|
|
1154
|
-
"confidence": 0.85,
|
|
1155
|
-
"category": "mainland-term",
|
|
1156
|
-
"reason": "台灣系統設定術語",
|
|
1157
|
-
"match_type": "exact",
|
|
1158
|
-
"autofix_safe": true
|
|
1159
|
-
},
|
|
1160
|
-
"預設": {
|
|
1161
|
-
"taiwan": "預設集",
|
|
1162
|
-
"confidence": 0.85,
|
|
1163
|
-
"category": "mainland-term",
|
|
1164
|
-
"reason": "台灣系統設定術語",
|
|
1165
|
-
"match_type": "exact",
|
|
1166
|
-
"autofix_safe": true
|
|
1167
|
-
},
|
|
1168
|
-
"預設_preset": {
|
|
1169
|
-
"taiwan": "預設集",
|
|
1170
|
-
"confidence": 0.85,
|
|
1171
|
-
"category": "mainland-term",
|
|
1172
|
-
"reason": "台灣系統設定術語",
|
|
1173
|
-
"match_type": "exact",
|
|
1174
|
-
"autofix_safe": true
|
|
1175
|
-
},
|
|
1176
1032
|
"首选项": {
|
|
1177
1033
|
"taiwan": "偏好設定",
|
|
1178
1034
|
"confidence": 0.9,
|
|
@@ -1701,38 +1557,6 @@
|
|
|
1701
1557
|
"match_type": "exact",
|
|
1702
1558
|
"autofix_safe": true
|
|
1703
1559
|
},
|
|
1704
|
-
"字体": {
|
|
1705
|
-
"taiwan": "字型",
|
|
1706
|
-
"confidence": 0.9,
|
|
1707
|
-
"category": "mainland-term",
|
|
1708
|
-
"reason": "台灣文字顯示術語",
|
|
1709
|
-
"match_type": "exact",
|
|
1710
|
-
"autofix_safe": true
|
|
1711
|
-
},
|
|
1712
|
-
"字体_font": {
|
|
1713
|
-
"taiwan": "字型",
|
|
1714
|
-
"confidence": 0.9,
|
|
1715
|
-
"category": "mainland-term",
|
|
1716
|
-
"reason": "台灣文字顯示術語",
|
|
1717
|
-
"match_type": "exact",
|
|
1718
|
-
"autofix_safe": true
|
|
1719
|
-
},
|
|
1720
|
-
"字體": {
|
|
1721
|
-
"taiwan": "字型",
|
|
1722
|
-
"confidence": 0.9,
|
|
1723
|
-
"category": "mainland-term",
|
|
1724
|
-
"reason": "台灣文字顯示術語",
|
|
1725
|
-
"match_type": "exact",
|
|
1726
|
-
"autofix_safe": true
|
|
1727
|
-
},
|
|
1728
|
-
"字體_font": {
|
|
1729
|
-
"taiwan": "字型",
|
|
1730
|
-
"confidence": 0.9,
|
|
1731
|
-
"category": "mainland-term",
|
|
1732
|
-
"reason": "台灣文字顯示術語",
|
|
1733
|
-
"match_type": "exact",
|
|
1734
|
-
"autofix_safe": true
|
|
1735
|
-
},
|
|
1736
1560
|
"字号": {
|
|
1737
1561
|
"taiwan": "字型大小",
|
|
1738
1562
|
"confidence": 0.9,
|
|
@@ -2021,38 +1845,6 @@
|
|
|
2021
1845
|
"match_type": "exact",
|
|
2022
1846
|
"autofix_safe": true
|
|
2023
1847
|
},
|
|
2024
|
-
"页脚": {
|
|
2025
|
-
"taiwan": "頁尾",
|
|
2026
|
-
"confidence": 0.9,
|
|
2027
|
-
"category": "mainland-term",
|
|
2028
|
-
"reason": "台灣文件結構術語",
|
|
2029
|
-
"match_type": "exact",
|
|
2030
|
-
"autofix_safe": true
|
|
2031
|
-
},
|
|
2032
|
-
"页脚_footer_text": {
|
|
2033
|
-
"taiwan": "頁尾",
|
|
2034
|
-
"confidence": 0.9,
|
|
2035
|
-
"category": "mainland-term",
|
|
2036
|
-
"reason": "台灣文件結構術語",
|
|
2037
|
-
"match_type": "exact",
|
|
2038
|
-
"autofix_safe": true
|
|
2039
|
-
},
|
|
2040
|
-
"頁腳": {
|
|
2041
|
-
"taiwan": "頁尾",
|
|
2042
|
-
"confidence": 0.9,
|
|
2043
|
-
"category": "mainland-term",
|
|
2044
|
-
"reason": "台灣文件結構術語",
|
|
2045
|
-
"match_type": "exact",
|
|
2046
|
-
"autofix_safe": true
|
|
2047
|
-
},
|
|
2048
|
-
"頁腳_footer_text": {
|
|
2049
|
-
"taiwan": "頁尾",
|
|
2050
|
-
"confidence": 0.9,
|
|
2051
|
-
"category": "mainland-term",
|
|
2052
|
-
"reason": "台灣文件結構術語",
|
|
2053
|
-
"match_type": "exact",
|
|
2054
|
-
"autofix_safe": true
|
|
2055
|
-
},
|
|
2056
1848
|
"页码": {
|
|
2057
1849
|
"taiwan": "頁碼",
|
|
2058
1850
|
"confidence": 0.85,
|
|
@@ -2149,22 +1941,6 @@
|
|
|
2149
1941
|
"match_type": "exact",
|
|
2150
1942
|
"autofix_safe": true
|
|
2151
1943
|
},
|
|
2152
|
-
"警告": {
|
|
2153
|
-
"taiwan": "警示",
|
|
2154
|
-
"confidence": 0.85,
|
|
2155
|
-
"category": "mainland-term",
|
|
2156
|
-
"reason": "台灣系統訊息術語",
|
|
2157
|
-
"match_type": "exact",
|
|
2158
|
-
"autofix_safe": true
|
|
2159
|
-
},
|
|
2160
|
-
"警告_alert": {
|
|
2161
|
-
"taiwan": "警示",
|
|
2162
|
-
"confidence": 0.85,
|
|
2163
|
-
"category": "mainland-term",
|
|
2164
|
-
"reason": "台灣系統訊息術語",
|
|
2165
|
-
"match_type": "exact",
|
|
2166
|
-
"autofix_safe": true
|
|
2167
|
-
},
|
|
2168
1944
|
"确认": {
|
|
2169
1945
|
"taiwan": "確認",
|
|
2170
1946
|
"confidence": 0.85,
|
|
@@ -2869,38 +2645,6 @@
|
|
|
2869
2645
|
"match_type": "exact",
|
|
2870
2646
|
"autofix_safe": true
|
|
2871
2647
|
},
|
|
2872
|
-
"皮肤": {
|
|
2873
|
-
"taiwan": "外觀",
|
|
2874
|
-
"confidence": 0.85,
|
|
2875
|
-
"category": "mainland-term",
|
|
2876
|
-
"reason": "台灣介面美化術語",
|
|
2877
|
-
"match_type": "exact",
|
|
2878
|
-
"autofix_safe": true
|
|
2879
|
-
},
|
|
2880
|
-
"皮肤_skin": {
|
|
2881
|
-
"taiwan": "外觀",
|
|
2882
|
-
"confidence": 0.85,
|
|
2883
|
-
"category": "mainland-term",
|
|
2884
|
-
"reason": "台灣介面美化術語",
|
|
2885
|
-
"match_type": "exact",
|
|
2886
|
-
"autofix_safe": true
|
|
2887
|
-
},
|
|
2888
|
-
"皮膚": {
|
|
2889
|
-
"taiwan": "外觀",
|
|
2890
|
-
"confidence": 0.85,
|
|
2891
|
-
"category": "mainland-term",
|
|
2892
|
-
"reason": "台灣介面美化術語",
|
|
2893
|
-
"match_type": "exact",
|
|
2894
|
-
"autofix_safe": true
|
|
2895
|
-
},
|
|
2896
|
-
"皮膚_skin": {
|
|
2897
|
-
"taiwan": "外觀",
|
|
2898
|
-
"confidence": 0.85,
|
|
2899
|
-
"category": "mainland-term",
|
|
2900
|
-
"reason": "台灣介面美化術語",
|
|
2901
|
-
"match_type": "exact",
|
|
2902
|
-
"autofix_safe": true
|
|
2903
|
-
},
|
|
2904
2648
|
"布局": {
|
|
2905
2649
|
"taiwan": "版面配置",
|
|
2906
2650
|
"confidence": 0.85,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@termdock/twlint",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "A CLI tool for detecting simplified Chinese terms and suggesting Taiwan traditional alternatives",
|
|
5
5
|
"main": "dist/cli.js",
|
|
6
6
|
"type": "module",
|
|
@@ -74,4 +74,4 @@
|
|
|
74
74
|
"engines": {
|
|
75
75
|
"node": ">=18.0.0"
|
|
76
76
|
}
|
|
77
|
-
}
|
|
77
|
+
}
|