Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Chinese Translation #393

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
],
"configuration": {
"type": "object",
"title": "Fortran configuration",
"title": "%fortran.config.title%",
"properties": {
"fortran.includePaths": {
"type": [
Expand All @@ -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": [
Expand All @@ -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<linterModOutput>`"
"markdownDescription": "%fortran.linterModOutput.desc%"
},
"fortran.formatting.formatter": {
"type": "string",
Expand All @@ -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": [
Expand All @@ -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",
Expand All @@ -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%"
}
}
},
Expand Down
17 changes: 17 additions & 0 deletions package.nls.json
Original file line number Diff line number Diff line change
@@ -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<linterModOutput>`.",
"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."
}
17 changes: 17 additions & 0 deletions package.nls.zh-cn.json
Original file line number Diff line number Diff line change
@@ -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<linterModOutput>`。",
"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 时,隐藏错误信息。"
}