Skip to content

Commit dbbeb8d

Browse files
committed
JVSC 253 | corrrecting l10n content
1 parent c14459a commit dbbeb8d

File tree

7 files changed

+24
-20
lines changed

7 files changed

+24
-20
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,11 @@ When adding JavaDoc to code Oracle Java Platform extension assists by suggesting
166166
Oracle Java Platform extension provides Test Explorer view which allows to run all tests in a project, examine the results, go to source code and run particular test.
167167
![Test Explorer](vscode/images/Test_explorer.png)
168168

169+
### Localisation support
170+
Oracle Java Platform extension provides localisation support for _Japanese_ and _Simplified Chinese_.
171+
To switch language `Go to command Palette->Configure display language` select `ja` for _Japanese_ or `zh-cn` for _Simplified Chinese_
172+
![localisation.gif](localisation.gif)
173+
169174
## Selecting the JDK
170175
The JDK to build, run and debug projects is being searched in the following locations:
171176

localisation.gif

8.22 MB
Loading

vscode/l10n/bundle.l10n.ja.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
"jdk.extension.javaSupport.message.needAdditionalSupport": "追加のJavaサポートが必要です",
7272
"jdk.extension.runConfig.label.updateExistingLaunchJson": "既存のlaunch.jsonファイルの更新",
7373
"jdk.extension.runConfig.warning_message.renamedDebugConfig": "Java 8+デバッグ構成はJava+に名前変更されています",
74-
"jdk.extension.runConfig.default.label":"<default>",
74+
"jdk.extension.runConfig.default.label":"<デフォルト値>",
7575
"jdk.extension.runConfig.example.label":"例: {data}",
7676
"jdk.extension.runConfig.arguments.label": "引数:",
7777
"jdk.extension.runConfig.arguments.prompt": "引数のカスタマイズ",

vscode/l10n/bundle.l10n.zh-cn.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
2-
3-
"jdk.downloader.heading": "JDK 下载程序",
4-
"jdk.downloader.html.details":"<p>使用此工具,您可以遵循 <a href='https://www.java.com/freeuselicense'>Oracle 免费条款和条件</a>下载最新的 Oracle Java SE JDK,或者依照 <a href='https://openjdk.org/legal/gplv2+ce.html'>GNU 公共许可证(包含 ClassPath 例外条款)</a>下载 Oracle OpenJDK 工作版本</p> <p>之后,它将代表您处理安装和配置。</p> <p>这样,您可以充分利用此扩展提供的所有功能。</p>",
2+
"jdk.downloader.heading": "JDK 下载工具",
3+
"jdk.downloader.html.details":"<p>使用此工具,您可以遵循 <a href='https://www.java.com/freeuselicense'>Oracle 免费条款和条件</a>下载最新的 Oracle Java SE JDK,或者依照 <a href='https://openjdk.org/legal/gplv2+ce.html'>GNU 公共许可证(包含 ClassPath 例外条款)</a>下载 Oracle OpenJDK 构建</p> <p>之后,它将代表您处理安装和配置。</p> <p>这样,您可以充分利用此扩展提供的所有功能。</p>",
54
"jdk.downloader.button.label.oracleJdk": "下载 Oracle Java SE JDK",
65
"jdk.downloader.label.or": "",
76
"jdk.downloader.button.label.openJdk": "下载 Oracle OpenJDK",
@@ -57,7 +56,7 @@
5756
"jdk.extension.command.progress.cleaningWorkSpace": "正在清除工作区...",
5857
"jdk.extension.command.progress.cleaningProject": "正在清除...",
5958
"jdk.extension.command.progress.quickOpen": "正在打开类型...",
60-
"jdk.extension.command.quickPick.placeholder.surroundWith": "包含方式...",
59+
"jdk.extension.command.quickPick.placeholder.surroundWith": "...环绕",
6160
"jdk.extension.command.statusBar.message.restartingServer": "正在重新启动 {SERVER_NAME}",
6261
"jdk.extension.lspServer.statusBar.message.launching": "正在启动 {SERVER_NAME}(包含 {requiredJdk},userdir 为 {userdir})",
6362
"jdk.extension.lspServer.warning_message.serverExited": "已退出 {SERVER_NAME},代码为 {code}",
@@ -71,7 +70,7 @@
7170
"jdk.extension.javaSupport.message.needAdditionalSupport": "需要其他 Java 支持",
7271
"jdk.extension.runConfig.label.updateExistingLaunchJson": "更新现有 launch.json 文件",
7372
"jdk.extension.runConfig.warning_message.renamedDebugConfig": "Java 8+ 调试配置已重命名为 Java+",
74-
"jdk.extension.runConfig.default.label":"<default>",
73+
"jdk.extension.runConfig.default.label":"<缺省值>",
7574
"jdk.extension.runConfig.example.label":"示例: {data}",
7675
"jdk.extension.runConfig.arguments.label": "参数:",
7776
"jdk.extension.runConfig.arguments.prompt": "定制参数",
@@ -87,7 +86,7 @@
8786
"jdk.extension.error_msg.doesntSupportNewTeamplate":"客户端 {client} 不支持从模板新建",
8887
"jdk.extension.error_msg.doesntSupportNewProject":"客户端 {client} 不支持新项目",
8988
"jdk.extension.error_msg.doesntSupportGoToTest":"客户端 {client} 不支持转至测试",
90-
"jdk.extension.error_msg.noSuperImpl":"未找到超级实现",
89+
"jdk.extension.error_msg.noSuperImpl":"未找到超类实现",
9190
"jdk.extension.error_msg.cacheDeletionError":"删除高速缓存时出错",
9291
"jdk.extension.message.cacheDeleted":"已成功删除高速缓存",
9392
"jdk.extension.cache.error_msg.cannotFindWrkSpacePath":"找不到工作区路径",

vscode/package.nls.ja.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"jdk.project.compile": "プロジェクトのコンパイル",
1919
"jdk.project.clean": "プロジェクトの消去",
2020
"jdk.workspace.configureRunSettings": "編集",
21-
"jdk.select.editor.projects": "プロジェクトのアクティブ・エディタを表示",
21+
"jdk.select.editor.projects": "プロジェクトに表示",
2222
"testing.runAll": "すべてのテストの実行",
2323
"jdk.addEventListener": "イベント・リスナーの追加",
2424
"jdk.download.jdk": "JDKのダウンロード、インストールおよび使用",
@@ -31,7 +31,7 @@
3131
"jdk.configuration.userdir.description.shareData": "すべてのワークスペース間でデータを共有します(より効果的)",
3232
"jdk.configuration.userdir.description.isolated": "各ワークスペースで独自のデータを保持します(より分離されている)",
3333
"jdk.configuration.userdir.deprecationMessage": "各ワークスペースに個別のuserdirがデフォルト動作です",
34-
"jdk.configuration.revealActiveInProjects.description": "プロジェクト・ビューにアクティブなテキスト・エディタを表示",
34+
"jdk.configuration.revealActiveInProjects.description": "プロジェクトビューに表示",
3535
"jdk.configuration.testEditor.description": "エディタで実行/デバッグ・テストを有効にします",
3636
"jdk.configuration.javadoc.timeout.description": "コード補完でのJavadocのロードのタイムアウト(ミリ秒)(無制限は-1)",
3737
"jdk.configuration.formatterSettings.description": "エクスポート済のフォーマッタ設定を含むファイルへのパス",

vscode/package.nls.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"jdk.project.compile": "Compile Project",
1919
"jdk.project.clean": "Clean Project",
2020
"jdk.workspace.configureRunSettings": "Edit",
21-
"jdk.select.editor.projects": "Reveal active editor in Projects",
21+
"jdk.select.editor.projects": "Reveal in Projects",
2222
"testing.runAll": "Run All Tests",
2323
"jdk.addEventListener": "Add event listener",
2424
"jdk.download.jdk": "Download, install and use JDK",
@@ -31,7 +31,7 @@
3131
"jdk.configuration.userdir.description.shareData": "Share data between all workspaces (more effective)",
3232
"jdk.configuration.userdir.description.isolated": "Each workspace has its own data (more isolated)",
3333
"jdk.configuration.userdir.deprecationMessage": "Separate userdir for each workspace is the default behaviour",
34-
"jdk.configuration.revealActiveInProjects.description": "Reveals active text editor in Projects view",
34+
"jdk.configuration.revealActiveInProjects.description": "Reveals in Projects view",
3535
"jdk.configuration.testEditor.description": "Enable Run/Debug test in editor",
3636
"jdk.configuration.javadoc.timeout.description": "Timeout (in milliseconds) for loading Javadoc in code completion (-1 for unlimited)",
3737
"jdk.configuration.formatterSettings.description": "Path to the file containing exported formatter settings",

vscode/package.nls.zh-cn.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"jdk.workspace.clean": "清除工作区",
77
"jdk.workspace.new": "从模板新建...",
88
"jdk.workspace.newproject": "新建项目...",
9-
"jdk.java.goto.super.implementation": "转至超级实现",
9+
"jdk.java.goto.super.implementation": "转至超类实现",
1010
"jdk.open.type": "打开类型...",
1111
"jdk.foundProjects.deleteEntry": "删除",
1212
"jdk.Edit.org.openide.actions.DeleteAction": "删除",
@@ -18,28 +18,28 @@
1818
"jdk.project.compile": "编译项目",
1919
"jdk.project.clean": "清除项目",
2020
"jdk.workspace.configureRunSettings": "编辑",
21-
"jdk.select.editor.projects": "在项目中显示活动编辑器",
21+
"jdk.select.editor.projects": "在项目中显示",
2222
"testing.runAll": "运行所有测试",
2323
"jdk.addEventListener": "添加事件监听程序",
2424
"jdk.download.jdk": "下载、安装和使用 JDK",
25-
"jdk.open.test": "转至测试/测试的类...",
25+
"jdk.open.test": "转至测试/被测试的类...",
2626
"jdk.delete.cache": "删除此工作区的 Oracle Java 扩展高速缓存",
2727
"jdk.configuration.specifyJdk.description": "指定适用于 Oracle Visual Studio Code 扩展的 JDK",
2828
"jdk.configuration.specifyProjectJdk.description": "指定将在其上运行用户项目的 JDK。默认值为 jdk.jdkhome",
2929
"jdk.configuration.verbose.description": "启用来自 Oracle Visual Studio Code 扩展的详细消息",
30-
"jdk.configuration.userdir.description": "将设置和高速缓存保留为“全局”还是按工作区保留为“本地”",
30+
"jdk.configuration.userdir.description": "将设置和高速缓存保留为“global”(全局)还是按工作区保留为“local”(本地)",
3131
"jdk.configuration.userdir.description.shareData": "在所有工作区之间共享数据(更有效)",
3232
"jdk.configuration.userdir.description.isolated": "每个工作区都有自己的数据(更具隔离性)",
3333
"jdk.configuration.userdir.deprecationMessage": "默认行为是每个工作区有单独的 userdir",
34-
"jdk.configuration.revealActiveInProjects.description": "在项目视图中显示活动文本编辑器",
34+
"jdk.configuration.revealActiveInProjects.description": "在项目视图中显示",
3535
"jdk.configuration.testEditor.description": "在编辑器中启用运行/调试测试",
3636
"jdk.configuration.javadoc.timeout.description": "在代码完成时加载 Javadoc 的超时(毫秒)(-1 表示无限制)",
37-
"jdk.configuration.formatterSettings.description": "包含导出的格式化程序设置的文件的路径",
37+
"jdk.configuration.formatterSettings.description": "包含导出的格式化工具设置的文件的路径",
3838
"jdk.configuration.hints.preferences.description": "包含导出的提示首选项的文件的路径",
39-
"jdk.configuration.organiseImports.description": "允许在保存文档时进行组织导入操作",
39+
"jdk.configuration.organiseImports.description": "允许在保存文档时进行调整导入操作",
4040
"jdk.configuration.organiseImports.sortingOrder.description": "包含导入语句的组(由其程序包前缀指定)及其排序顺序。组中的导入语句按字母顺序排序",
41-
"jdk.configuration.countForUsingStarImport.description": "使用星型导入的类计数",
42-
"jdk.configuration.countForUsingStaticStarImport.description": "使用静态星型导入的成员计数",
41+
"jdk.configuration.countForUsingStarImport.description": "使用星号导入的类计数",
42+
"jdk.configuration.countForUsingStaticStarImport.description": "使用静态星号导入的成员计数",
4343
"jdk.configuration.arguments.description": "参数",
4444
"jdk.configuration.vmOptions.description": "VM 选项",
4545
"jdk.configuration.serverVmOptions.description": "指定用于启动 Java Language Server 的额外 VM 参数",

0 commit comments

Comments
 (0)