diff --git a/package.json b/package.json index 6ee6e86b..7179f224 100644 --- a/package.json +++ b/package.json @@ -126,7 +126,7 @@ ], "configuration": { "type": "object", - "title": "Fortran configuration", + "title": "%fortran.config.title%", "properties": { "fortran.includePaths": { "type": [ @@ -136,17 +136,17 @@ "type": "string" }, "default": [], - "description": "Specifies folder paths to be used as include path for the Fortran linter" + "description": "%fortran.includePaths.desc%" }, "fortran.gfortranExecutable": { "type": "string", "default": "gfortran", - "description": "Specifies the complete path of the gfortran executable" + "description": "%fortran.gfortranExecutable.desc%" }, "fortran.linterEnabled": { "type": "boolean", "default": true, - "description": "Enables or disables the linter functionality" + "description": "%fortran.linterEnabled.desc%" }, "fortran.linterExtraArgs": { "type": [ @@ -158,12 +158,12 @@ "default": [ "-Wall" ], - "description": "Specify additional options to use when calling the gfortran compiler" + "description": "%fortran.linterExtraArgs.desc%" }, "fortran.linterModOutput": { "type": "string", "default": "", - "description": "Global output directory for .mod files `-J`" + "markdownDescription": "%fortran.linterModOutput.desc%" }, "fortran.formatting.formatter": { "type": "string", @@ -173,22 +173,22 @@ "fprettify", "Disabled" ], - "description": "Fortran formatter, currently supports findent and fprettify" + "markdownDescription": "%fortran.formatting.formatter.desc%" }, "fortran.formatting.args": { "type": "array", "default": [], - "description": "Additional arguments for the formatter" + "description": "%fortran.formatting.args.desc%" }, "fortran.formatting.path": { "type": "string", "default": "", - "description": "Specify the full path of where the formatter is installed" + "description": "%fortran.formatting.path.desc%" }, "fortran.provideSymbols": { "type": "boolean", "default": true, - "description": "Enables or disables symbol functionality (disable if using 'Fortran IntelliSense')" + "description": "%fortran.provideSymbols.desc%" }, "fortran.symbols": { "type": [ @@ -201,17 +201,17 @@ "function", "subroutine" ], - "description": "Specify what kind of symbols should be shown by the symbols' provider" + "description": "%fortran.symbols.desc%" }, "fortran.provideHover": { "type": "boolean", "default": true, - "description": "Enables hover functionality (disable if using 'Fortran IntelliSense')" + "description": "%fortran.provideHover.desc%" }, "fortran.provideCompletion": { "type": "boolean", "default": true, - "description": "Enables or disables completion functionality (disable if using 'Fortran IntelliSense')" + "description": "%fortran.provideCompletion.desc%" }, "fortran.preferredCase": { "type": "string", @@ -220,12 +220,12 @@ "lowercase", "uppercase" ], - "description": "Specify the word case to use when suggesting autocomplete options (One of 'lowercase' or 'upercase')" + "markdownDescription": "%fortran.preferredCase.desc%" }, "fortran.ignoreWarning.fortls": { "type": "boolean", "default": false, - "description": "Hide error message when the fortran-language-server is not detected" + "description": "%fortran.ignoreWarning.fortls.desc%" } } }, diff --git a/package.nls.json b/package.nls.json new file mode 100644 index 00000000..6a3e3b93 --- /dev/null +++ b/package.nls.json @@ -0,0 +1,17 @@ +{ + "fortran.config.title": "Fortran configuration", + "fortran.includePaths.desc": "Specifies folder paths to be used as include path for the Fortran linter.", + "fortran.gfortranExecutable.desc": "Specifies the complete path of the gfortran executable.", + "fortran.linterEnabled.desc": "Enables or disables the linter functionality.", + "fortran.linterExtraArgs.desc": "Specify additional options to use when calling the gfortran compiler.", + "fortran.linterModOutput.desc": "Global output directory for .mod files `-J`.", + "fortran.formatting.formatter.desc": "Fortran formatter, currently supports `findent` and `fprettify`.", + "fortran.formatting.args.desc": "Additional arguments for the formatter.", + "fortran.formatting.path.desc": "Specify the full path of where the formatter is installed.", + "fortran.provideSymbols.desc": "Enables or disables symbol functionality (disable if using 'Fortran IntelliSense').", + "fortran.symbols.desc": "Specify what kind of symbols should be shown by the symbols' provider.", + "fortran.provideHover.desc": "Enables hover functionality (disable if using 'Fortran IntelliSense').", + "fortran.provideCompletion.desc": "Enables or disables completion functionality (disable if using 'Fortran IntelliSense').", + "fortran.preferredCase.desc": "Specify the word case to use when suggesting autocomplete options (One of `lowercase` or `upercase`).", + "fortran.ignoreWarning.fortls.desc": "Hide error message when the fortran-language-server is not detected." +} \ No newline at end of file diff --git a/package.nls.zh-cn.json b/package.nls.zh-cn.json new file mode 100644 index 00000000..3196237b --- /dev/null +++ b/package.nls.zh-cn.json @@ -0,0 +1,17 @@ +{ + "fortran.config.title": "Fortran 配置", + "fortran.includePaths.desc": "为 Fortran Linter 指定包含路径。", + "fortran.gfortranExecutable.desc": "指定 gfortran 可执行文件的路径。", + "fortran.linterEnabled.desc": "使能或者禁止 linter 功能。", + "fortran.linterExtraArgs.desc": "指定调用 gfortran 编译器时要添加的额外选项。", + "fortran.linterModOutput.desc": "全局设置 .mod 文件输出目录 `-J`。", + "fortran.formatting.formatter.desc": "使用哪一个 Fortran 格式化器,当前支持 `findent` 和 `fprettify`。", + "fortran.formatting.args.desc": "传递给格式化器的额外参数。", + "fortran.formatting.path.desc": "指定格式化器的绝对路径。", + "fortran.provideSymbols.desc": "使能或禁止符号功能 (如果使用了 'Fortran IntelliSense' 则禁止)。", + "fortran.symbols.desc": "指定应该显示什么类型的符号。", + "fortran.provideHover.desc": "使能或禁止鼠标悬浮功能 (如果使用了 'Fortran IntelliSense' 则禁止)。", + "fortran.provideCompletion.desc": "使能或禁止补全功能 (如果使用了 'Fortran IntelliSense' 则禁止)。", + "fortran.preferredCase.desc": "指定当提供自动补全信息时使用大写还是小写 (只能为 `lowercase` 或者 `upercase`)。", + "fortran.ignoreWarning.fortls.desc": "当找不到 fortran-language-server 时,隐藏错误信息。" +} \ No newline at end of file