Skip to content

Commit

Permalink
Merge pull request #287 from naren2605/fix-l10n
Browse files Browse the repository at this point in the history
JVSC #253 | corrrecting l10n content and updating readme
  • Loading branch information
sid-srini authored Oct 1, 2024
2 parents c14459a + dbbeb8d commit 324afc2
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 20 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,11 @@ When adding JavaDoc to code Oracle Java Platform extension assists by suggesting
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.
![Test Explorer](vscode/images/Test_explorer.png)

### Localisation support
Oracle Java Platform extension provides localisation support for _Japanese_ and _Simplified Chinese_.
To switch language `Go to command Palette->Configure display language` select `ja` for _Japanese_ or `zh-cn` for _Simplified Chinese_
![localisation.gif](localisation.gif)

## Selecting the JDK
The JDK to build, run and debug projects is being searched in the following locations:

Expand Down
Binary file added localisation.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion vscode/l10n/bundle.l10n.ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"jdk.extension.javaSupport.message.needAdditionalSupport": "追加のJavaサポートが必要です",
"jdk.extension.runConfig.label.updateExistingLaunchJson": "既存のlaunch.jsonファイルの更新",
"jdk.extension.runConfig.warning_message.renamedDebugConfig": "Java 8+デバッグ構成はJava+に名前変更されています",
"jdk.extension.runConfig.default.label":"<default>",
"jdk.extension.runConfig.default.label":"<デフォルト値>",
"jdk.extension.runConfig.example.label":"例: {data}",
"jdk.extension.runConfig.arguments.label": "引数:",
"jdk.extension.runConfig.arguments.prompt": "引数のカスタマイズ",
Expand Down
11 changes: 5 additions & 6 deletions vscode/l10n/bundle.l10n.zh-cn.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{

"jdk.downloader.heading": "JDK 下载程序",
"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>",
"jdk.downloader.heading": "JDK 下载工具",
"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>",
"jdk.downloader.button.label.oracleJdk": "下载 Oracle Java SE JDK",
"jdk.downloader.label.or": "",
"jdk.downloader.button.label.openJdk": "下载 Oracle OpenJDK",
Expand Down Expand Up @@ -57,7 +56,7 @@
"jdk.extension.command.progress.cleaningWorkSpace": "正在清除工作区...",
"jdk.extension.command.progress.cleaningProject": "正在清除...",
"jdk.extension.command.progress.quickOpen": "正在打开类型...",
"jdk.extension.command.quickPick.placeholder.surroundWith": "包含方式...",
"jdk.extension.command.quickPick.placeholder.surroundWith": "...环绕",
"jdk.extension.command.statusBar.message.restartingServer": "正在重新启动 {SERVER_NAME}",
"jdk.extension.lspServer.statusBar.message.launching": "正在启动 {SERVER_NAME}(包含 {requiredJdk},userdir 为 {userdir})",
"jdk.extension.lspServer.warning_message.serverExited": "已退出 {SERVER_NAME},代码为 {code}",
Expand All @@ -71,7 +70,7 @@
"jdk.extension.javaSupport.message.needAdditionalSupport": "需要其他 Java 支持",
"jdk.extension.runConfig.label.updateExistingLaunchJson": "更新现有 launch.json 文件",
"jdk.extension.runConfig.warning_message.renamedDebugConfig": "Java 8+ 调试配置已重命名为 Java+",
"jdk.extension.runConfig.default.label":"<default>",
"jdk.extension.runConfig.default.label":"<缺省值>",
"jdk.extension.runConfig.example.label":"示例: {data}",
"jdk.extension.runConfig.arguments.label": "参数:",
"jdk.extension.runConfig.arguments.prompt": "定制参数",
Expand All @@ -87,7 +86,7 @@
"jdk.extension.error_msg.doesntSupportNewTeamplate":"客户端 {client} 不支持从模板新建",
"jdk.extension.error_msg.doesntSupportNewProject":"客户端 {client} 不支持新项目",
"jdk.extension.error_msg.doesntSupportGoToTest":"客户端 {client} 不支持转至测试",
"jdk.extension.error_msg.noSuperImpl":"未找到超级实现",
"jdk.extension.error_msg.noSuperImpl":"未找到超类实现",
"jdk.extension.error_msg.cacheDeletionError":"删除高速缓存时出错",
"jdk.extension.message.cacheDeleted":"已成功删除高速缓存",
"jdk.extension.cache.error_msg.cannotFindWrkSpacePath":"找不到工作区路径",
Expand Down
4 changes: 2 additions & 2 deletions vscode/package.nls.ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"jdk.project.compile": "プロジェクトのコンパイル",
"jdk.project.clean": "プロジェクトの消去",
"jdk.workspace.configureRunSettings": "編集",
"jdk.select.editor.projects": "プロジェクトのアクティブ・エディタを表示",
"jdk.select.editor.projects": "プロジェクトに表示",
"testing.runAll": "すべてのテストの実行",
"jdk.addEventListener": "イベント・リスナーの追加",
"jdk.download.jdk": "JDKのダウンロード、インストールおよび使用",
Expand All @@ -31,7 +31,7 @@
"jdk.configuration.userdir.description.shareData": "すべてのワークスペース間でデータを共有します(より効果的)",
"jdk.configuration.userdir.description.isolated": "各ワークスペースで独自のデータを保持します(より分離されている)",
"jdk.configuration.userdir.deprecationMessage": "各ワークスペースに個別のuserdirがデフォルト動作です",
"jdk.configuration.revealActiveInProjects.description": "プロジェクト・ビューにアクティブなテキスト・エディタを表示",
"jdk.configuration.revealActiveInProjects.description": "プロジェクトビューに表示",
"jdk.configuration.testEditor.description": "エディタで実行/デバッグ・テストを有効にします",
"jdk.configuration.javadoc.timeout.description": "コード補完でのJavadocのロードのタイムアウト(ミリ秒)(無制限は-1)",
"jdk.configuration.formatterSettings.description": "エクスポート済のフォーマッタ設定を含むファイルへのパス",
Expand Down
4 changes: 2 additions & 2 deletions vscode/package.nls.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"jdk.project.compile": "Compile Project",
"jdk.project.clean": "Clean Project",
"jdk.workspace.configureRunSettings": "Edit",
"jdk.select.editor.projects": "Reveal active editor in Projects",
"jdk.select.editor.projects": "Reveal in Projects",
"testing.runAll": "Run All Tests",
"jdk.addEventListener": "Add event listener",
"jdk.download.jdk": "Download, install and use JDK",
Expand All @@ -31,7 +31,7 @@
"jdk.configuration.userdir.description.shareData": "Share data between all workspaces (more effective)",
"jdk.configuration.userdir.description.isolated": "Each workspace has its own data (more isolated)",
"jdk.configuration.userdir.deprecationMessage": "Separate userdir for each workspace is the default behaviour",
"jdk.configuration.revealActiveInProjects.description": "Reveals active text editor in Projects view",
"jdk.configuration.revealActiveInProjects.description": "Reveals in Projects view",
"jdk.configuration.testEditor.description": "Enable Run/Debug test in editor",
"jdk.configuration.javadoc.timeout.description": "Timeout (in milliseconds) for loading Javadoc in code completion (-1 for unlimited)",
"jdk.configuration.formatterSettings.description": "Path to the file containing exported formatter settings",
Expand Down
18 changes: 9 additions & 9 deletions vscode/package.nls.zh-cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"jdk.workspace.clean": "清除工作区",
"jdk.workspace.new": "从模板新建...",
"jdk.workspace.newproject": "新建项目...",
"jdk.java.goto.super.implementation": "转至超级实现",
"jdk.java.goto.super.implementation": "转至超类实现",
"jdk.open.type": "打开类型...",
"jdk.foundProjects.deleteEntry": "删除",
"jdk.Edit.org.openide.actions.DeleteAction": "删除",
Expand All @@ -18,28 +18,28 @@
"jdk.project.compile": "编译项目",
"jdk.project.clean": "清除项目",
"jdk.workspace.configureRunSettings": "编辑",
"jdk.select.editor.projects": "在项目中显示活动编辑器",
"jdk.select.editor.projects": "在项目中显示",
"testing.runAll": "运行所有测试",
"jdk.addEventListener": "添加事件监听程序",
"jdk.download.jdk": "下载、安装和使用 JDK",
"jdk.open.test": "转至测试/测试的类...",
"jdk.open.test": "转至测试/被测试的类...",
"jdk.delete.cache": "删除此工作区的 Oracle Java 扩展高速缓存",
"jdk.configuration.specifyJdk.description": "指定适用于 Oracle Visual Studio Code 扩展的 JDK",
"jdk.configuration.specifyProjectJdk.description": "指定将在其上运行用户项目的 JDK。默认值为 jdk.jdkhome",
"jdk.configuration.verbose.description": "启用来自 Oracle Visual Studio Code 扩展的详细消息",
"jdk.configuration.userdir.description": "将设置和高速缓存保留为“全局”还是按工作区保留为“本地”",
"jdk.configuration.userdir.description": "将设置和高速缓存保留为“global”(全局)还是按工作区保留为“local”(本地)",
"jdk.configuration.userdir.description.shareData": "在所有工作区之间共享数据(更有效)",
"jdk.configuration.userdir.description.isolated": "每个工作区都有自己的数据(更具隔离性)",
"jdk.configuration.userdir.deprecationMessage": "默认行为是每个工作区有单独的 userdir",
"jdk.configuration.revealActiveInProjects.description": "在项目视图中显示活动文本编辑器",
"jdk.configuration.revealActiveInProjects.description": "在项目视图中显示",
"jdk.configuration.testEditor.description": "在编辑器中启用运行/调试测试",
"jdk.configuration.javadoc.timeout.description": "在代码完成时加载 Javadoc 的超时(毫秒)(-1 表示无限制)",
"jdk.configuration.formatterSettings.description": "包含导出的格式化程序设置的文件的路径",
"jdk.configuration.formatterSettings.description": "包含导出的格式化工具设置的文件的路径",
"jdk.configuration.hints.preferences.description": "包含导出的提示首选项的文件的路径",
"jdk.configuration.organiseImports.description": "允许在保存文档时进行组织导入操作",
"jdk.configuration.organiseImports.description": "允许在保存文档时进行调整导入操作",
"jdk.configuration.organiseImports.sortingOrder.description": "包含导入语句的组(由其程序包前缀指定)及其排序顺序。组中的导入语句按字母顺序排序",
"jdk.configuration.countForUsingStarImport.description": "使用星型导入的类计数",
"jdk.configuration.countForUsingStaticStarImport.description": "使用静态星型导入的成员计数",
"jdk.configuration.countForUsingStarImport.description": "使用星号导入的类计数",
"jdk.configuration.countForUsingStaticStarImport.description": "使用静态星号导入的成员计数",
"jdk.configuration.arguments.description": "参数",
"jdk.configuration.vmOptions.description": "VM 选项",
"jdk.configuration.serverVmOptions.description": "指定用于启动 Java Language Server 的额外 VM 参数",
Expand Down

0 comments on commit 324afc2

Please sign in to comment.