Skip to content

Commit

Permalink
Add Simplified Chinese translation of commands (#240)
Browse files Browse the repository at this point in the history
  • Loading branch information
WaiSiuKei authored and brettcannon committed Dec 4, 2017
1 parent 5430b5e commit fd54970
Show file tree
Hide file tree
Showing 3 changed files with 98 additions and 24 deletions.
48 changes: 24 additions & 24 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,122 +84,122 @@
"commands": [
{
"command": "python.sortImports",
"title": "Sort Imports",
"title": "%python.command.python.sortImports.title%",
"category": "Python Refactor"
},
{
"command": "python.startREPL",
"title": "Start REPL",
"title": "%python.command.python.startREPL.title%",
"category": "Python"
},
{
"command": "python.buildWorkspaceSymbols",
"title": "Build Workspace Symbols",
"title": "%python.command.python.buildWorkspaceSymbols.title%",
"category": "Python"
},
{
"command": "python.runtests",
"title": "Run All Unit Tests",
"title": "%python.command.python.runtests.title%",
"category": "Python"
},
{
"command": "python.debugtests",
"title": "Debug All Unit Tests",
"title": "%python.command.python.debugtests.title%",
"category": "Python"
},
{
"command": "python.execInTerminal",
"title": "Run Python File in Terminal",
"title": "%python.command.python.execInTerminal.title%",
"category": "Python"
},
{
"command": "python.setInterpreter",
"title": "Select Interpreter",
"title": "%python.command.python.setInterpreter.title%",
"category": "Python"
},
{
"command": "python.updateSparkLibrary",
"title": "Update Workspace PySpark Libraries",
"title": "%python.command.python.updateSparkLibrary.title%",
"category": "Python"
},
{
"command": "python.refactorExtractVariable",
"title": "Extract Variable",
"title": "%python.command.python.refactorExtractVariable.title%",
"category": "Python Refactor"
},
{
"command": "python.refactorExtractMethod",
"title": "Extract Method",
"title": "%python.command.python.refactorExtractMethod.title%",
"category": "Python Refactor"
},
{
"command": "python.viewTestOutput",
"title": "Show Unit Test Output",
"title": "%python.command.python.viewTestOutput.title%",
"category": "Python"
},
{
"command": "python.selectAndRunTestMethod",
"title": "Run Unit Test Method ...",
"title": "%python.command.python.selectAndRunTestMethod.title%",
"category": "Python"
},
{
"command": "python.selectAndDebugTestMethod",
"title": "Debug Unit Test Method ...",
"title": "%python.command.python.selectAndDebugTestMethod.title%",
"category": "Python"
},
{
"command": "python.selectAndRunTestFile",
"title": "Run Unit Test File ...",
"title": "%python.command.python.selectAndRunTestFile.title%",
"category": "Python"
},
{
"command": "python.runCurrentTestFile",
"title": "Run Current Unit Test File",
"title": "%python.command.python.runCurrentTestFile.title%",
"category": "Python"
},
{
"command": "python.runFailedTests",
"title": "Run Failed Unit Tests",
"title": "%python.command.python.runFailedTests.title%",
"category": "Python"
},
{
"command": "python.execSelectionInTerminal",
"title": "Run Selection/Line in Python Terminal",
"title": "%python.command.python.execSelectionInTerminal.title%",
"category": "Python"
},
{
"command": "python.execSelectionInDjangoShell",
"title": "Run Selection/Line in Django Shell",
"title": "%python.command.python.execSelectionInDjangoShell.title%",
"category": "Python"
},
{
"command": "jupyter.runSelectionLine",
"title": "Run Selection/Line",
"title": "%python.command.jupyter.runSelectionLine.title%",
"category": "Jupyter"
},
{
"command": "jupyter.execCurrentCell",
"title": "Run Cell",
"title": "%python.command.jupyter.execCurrentCell.title%",
"category": "Jupyter"
},
{
"command": "jupyter.execCurrentCellAndAdvance",
"title": "Run Cell and Advance",
"title": "%python.command.jupyter.execCurrentCellAndAdvance.title%",
"category": "Jupyter"
},
{
"command": "jupyter.gotToPreviousCell",
"title": "Go to Previous Cell",
"title": "%python.command.jupyter.gotToPreviousCell.title%",
"category": "Jupyter"
},
{
"command": "jupyter.gotToNextCell",
"title": "Go to Next Cell",
"title": "%python.command.jupyter.gotToNextCell.title%",
"category": "Jupyter"
},
{
"command": "python.goToPythonObject",
"title": "Go to Python Object",
"title": "%python.command.python.goToPythonObject.title%",
"category": "Python"
}
],
Expand Down
24 changes: 24 additions & 0 deletions package.nls.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,28 @@
{
"python.command.python.sortImports.title": "Sort Imports",
"python.command.python.startREPL.title": "Start REPL",
"python.command.python.buildWorkspaceSymbols.title": "Build Workspace Symbols",
"python.command.python.runtests.title": "Run All Unit Tests",
"python.command.python.debugtests.title": "Debug All Unit Tests",
"python.command.python.execInTerminal.title": "Run Python File in Terminal",
"python.command.python.setInterpreter.title": "Select Interpreter",
"python.command.python.updateSparkLibrary.title": "Update Workspace PySpark Libraries",
"python.command.python.refactorExtractVariable.title": "Extract Variable",
"python.command.python.refactorExtractMethod.title": "Extract Method",
"python.command.python.viewTestOutput.title": "Show Unit Test Output",
"python.command.python.selectAndRunTestMethod.title": "Run Unit Test Method ...",
"python.command.python.selectAndDebugTestMethod.title": "Debug Unit Test Method ...",
"python.command.python.selectAndRunTestFile.title": "Run Unit Test File ...",
"python.command.python.runCurrentTestFile.title": "Run Current Unit Test File",
"python.command.python.runFailedTests.title": "Run Failed Unit Tests",
"python.command.python.execSelectionInTerminal.title": "Run Selection/Line in Python Terminal",
"python.command.python.execSelectionInDjangoShell.title": "Run Selection/Line in Django Shell",
"python.command.jupyter.runSelectionLine.title": "Run Selection/Line",
"python.command.jupyter.execCurrentCell.title": "Run Cell",
"python.command.jupyter.execCurrentCellAndAdvance.title": "Run Cell and Advance",
"python.command.jupyter.gotToPreviousCell.title": "Go to Previous Cell",
"python.command.jupyter.gotToNextCell.title": "Go to Next Cell",
"python.command.python.goToPythonObject.title": "Go to Python Object",
"python.snippet.launch.standard.label": "Python",
"python.snippet.launch.standard.description": "Debug a Python program with standard output",
"python.snippet.launch.pyspark.label": "Python: PySpark",
Expand Down
50 changes: 50 additions & 0 deletions package.nls.zh-cn.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"python.command.python.sortImports.title": "排序 import 语句",
"python.command.python.startREPL.title": "启动 REPL",
"python.command.python.buildWorkspaceSymbols.title": "构建工作区符号",
"python.command.python.runtests.title": "运行所有单元测试",
"python.command.python.debugtests.title": "调试所有单元测试",
"python.command.python.execInTerminal.title": "在终端中运行 Python 文件",
"python.command.python.setInterpreter.title": "选择解析器",
"python.command.python.updateSparkLibrary.title": "更新工作区 PySpark 库",
"python.command.python.refactorExtractVariable.title": "提取变量",
"python.command.python.refactorExtractMethod.title": "提取方法",
"python.command.python.viewTestOutput.title": "显示单元测试输出",
"python.command.python.selectAndRunTestMethod.title": "运行单元测试方法...",
"python.command.python.selectAndDebugTestMethod.title": "调试单元测试方法...",
"python.command.python.selectAndRunTestFile.title": "运行单元测试文件...",
"python.command.python.runCurrentTestFile.title": "运行当前单元测试文件",
"python.command.python.runFailedTests.title": "运行失败的单元测试",
"python.command.python.execSelectionInTerminal.title": "在 Python 终端中运行选定内容/行",
"python.command.python.execSelectionInDjangoShell.title": "在 Django Shell 中运行选定内容/行",
"python.command.jupyter.runSelectionLine.title": "运行选定内容/行",
"python.command.jupyter.execCurrentCell.title": "运行当前 Cell",
"python.command.jupyter.execCurrentCellAndAdvance.title": "运行当前 Cell 并移动到下一个 Cell",
"python.command.jupyter.gotToPreviousCell.title": "转到前一个 Cell",
"python.command.jupyter.gotToNextCell.title": "转到下一个 Cell",
"python.command.python.goToPythonObject.title": "转到 Python 对象",
"python.snippet.launch.standard.label": "Python",
"python.snippet.launch.standard.description": "使用标准输出调试 Python 应用",
"python.snippet.launch.pyspark.label": "Python: PySpark",
"python.snippet.launch.pyspark.description": "调试 PySpark",
"python.snippet.launch.module.label": "Python: 模块",
"python.snippet.launch.module.description": "调试 Python 模块",
"python.snippet.launch.terminal.label": "Python: 终端 (集成)",
"python.snippet.launch.terminal.description": "使用集成终端调试 Python 程序",
"python.snippet.launch.externalTerminal.label": "Python: 终端 (外部)",
"python.snippet.launch.externalTerminal.description": "使用外部终端调试 Python 程序",
"python.snippet.launch.django.label": "Python: Django",
"python.snippet.launch.django.description": "调试 Django 应用",
"python.snippet.launch.flask.label": "Python: Flask (0.11.x 或以后)",
"python.snippet.launch.flask.description": "调试 Flask 应用",
"python.snippet.launch.flaskOld.label": "Python: Flask (0.10.x 或之前)",
"python.snippet.launch.flaskOld.description": "调试旧式 Flask 应用",
"python.snippet.launch.pyramid.label": "Python: Pyramid 应用",
"python.snippet.launch.pyramid.description": "调试 Pyramid 应用",
"python.snippet.launch.watson.label": "Python: Watson 应用",
"python.snippet.launch.watson.description": "调试 Watson 应用",
"python.snippet.launch.attach.label": "Python: 附加",
"python.snippet.launch.attach.description": "附加远程调试器",
"python.snippet.launch.scrapy.label": "Python: Scrapy 应用",
"python.snippet.launch.scrapy.description": "使用集成终端运行 Scrapy"
}

0 comments on commit fd54970

Please sign in to comment.