File tree Expand file tree Collapse file tree 1 file changed +51
-11
lines changed Expand file tree Collapse file tree 1 file changed +51
-11
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " react-intl-linter" ,
3- "version" : " 1.2 .0" ,
3+ "version" : " 2.0 .0" ,
44 "publisher" : " styx11" ,
55 "description" : " vscode linter extension for react-intl" ,
66 "repository" : " git@github.com:Styx11/react-intl-linter.git" ,
3232 "type" : " object" ,
3333 "title" : " ReactIntlLinter" ,
3434 "properties" : {
35- "reactIntlLinter.zhConfigName" : {
36- "type" : " string" ,
37- "default" : " zh_CN" ,
38- "markdownDescription" : " 中文配置文件名(不包括后缀)"
39- },
40- "reactIntlLinter.enConfigName" : {
41- "type" : " string" ,
42- "default" : " en_US" ,
43- "markdownDescription" : " 英文国际化配置文件名(不包括后缀)"
44- },
35+ "reactIntlLinter.localLanguage" : {
36+ "type" : " string" ,
37+ "default" : " zh" ,
38+ "enum" : [
39+ " zh" ,
40+ " en" ,
41+ " jp" ,
42+ " cht"
43+ ],
44+ "enumDescriptions" : [
45+ " 中文" ,
46+ " 英文" ,
47+ " 日文" ,
48+ " 繁体中文"
49+ ],
50+ "markdownDescription" : " 本地语言,即代码中使用的本地语言"
51+ },
52+ "reactIntlLinter.localLanguageConfigName" : {
53+ "type" : " string" ,
54+ "default" : " zh_CN" ,
55+ "markdownDescription" : " 本地语言配置文件名(不包括后缀)"
56+ },
57+ "reactIntlLinter.intlLanguage" : {
58+ "type" : " array" ,
59+ "default" : [" en" ],
60+ "items" : {
61+ "type" : " string" ,
62+ "enum" : [
63+ " zh" ,
64+ " en" ,
65+ " jp" ,
66+ " cht"
67+ ],
68+ "enumDescriptions" : [
69+ " 中文" ,
70+ " 英文" ,
71+ " 日文" ,
72+ " 繁体中文"
73+ ]
74+ },
75+ "markdownDescription" : " 国际化语言,即支持的 react-intl 国际化目标语言"
76+ },
77+ "reactIntlLinter.intlLanguageConfigName" : {
78+ "type" : " array" ,
79+ "default" : [" en_US" ],
80+ "items" : {
81+ "type" : " string"
82+ },
83+ "markdownDescription" : " 国际化语言配置文件名数组(不包括后缀,**必须与国际化语言数组配置一一对应**)"
84+ },
4585 "reactIntlLinter.intlConfigPath" : {
4686 "type" : " string" ,
4787 "default" : " src/intl" ,
You can’t perform that action at this time.
0 commit comments