Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add zh-tw translation of Quickopen command #496

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

Closed
wants to merge 1 commit into from

Conversation

gogobook
Copy link

Translated form Simplified Chinese.

@msftclas
Copy link

msftclas commented Dec 30, 2017

CLA assistant check
All CLA requirements met.

@brettcannon
Copy link
Member

Thanks for the PR, @gogobook ! I have asked on Twitter for someone to help verify your translation. Once we have that then we will happily accept your PR.

Copy link

@uranusjr uranusjr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi! This is @uranusjr from Twitter. The translation is good, but I have some issues with the punctuation choices. I made the comments inline, but to summarise, fullwidth characters should be used instead of halfwidth:

  • Either ⋯⋯, or over ....
  • and over ( and ).
  • over :.

Thanks a lot for the contribution! I can’t wait for this to be merged. 😄

"python.command.python.refactorExtractVariable.title": "提取變數",
"python.command.python.refactorExtractMethod.title": "提取方法",
"python.command.python.viewTestOutput.title": "顯示單元測試輸出",
"python.command.python.selectAndRunTestMethod.title": "執行單元測試方法...",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The standard punctuation to use here is ⋯⋯ (two midline horizontal ellipses), but there’re no software actually using this AFAIK. Most, however, would use ⋯ (one midline horizontal ellipsis) or … (horizontal ellipsis) instead. I recommend against using three dots in all cases.

"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 或以後)",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similarly, it is better to use the standard punctuation here. Fullwidth parentheses ( and ) should be favoured over halfwidth.

"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: 附加",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Again, should use fullwidth colon .

"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 物件",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

用「跳至」似乎比較符合台灣習慣

"python.command.python.debugtests.title": "測試所有單元測試",
"python.command.python.execInTerminal.title": "在終端中執行 Python 文件",
"python.command.python.setInterpreter.title": "選擇直譯器",
"python.command.python.updateSparkLibrary.title": "更新工作區 PySpark 庫",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

台灣習慣應該是「函式庫」。

Copy link

@godfat godfat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried to leave some suggestions to make the phrases more natural, but in general, the idea is that:

File should be translated to 檔案. Terminal should be translated to 終端機. Program should be translated to 程式. Application should be translated to 應用程式.

I didn't try to point out all the places, and a lot of 應用 should be changed to 程式.

Hope this would help.

"python.command.python.buildWorkspaceSymbols.title": "構建工作區符號",
"python.command.python.runtests.title": "執行所有單元測試",
"python.command.python.debugtests.title": "測試所有單元測試",
"python.command.python.execInTerminal.title": "在終端中執行 Python 文件",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe "在終端機中執行 Python 檔案"

{
"python.command.python.sortImports.title": "排序 import 語句",
"python.command.python.startREPL.title": "啟動 REPL",
"python.command.python.buildWorkspaceSymbols.title": "構建工作區符號",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe "建構工作區符號"

"python.command.python.selectAndRunTestMethod.title": "執行單元測試方法...",
"python.command.python.selectAndDebugTestMethod.title": "測試單元測試方法...",
"python.command.python.selectAndRunTestFile.title": "執行單元測試文件...",
"python.command.python.runCurrentTestFile.title": "執行當前單元測試文件",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"執行當前單元測試檔案"

"python.command.python.viewTestOutput.title": "顯示單元測試輸出",
"python.command.python.selectAndRunTestMethod.title": "執行單元測試方法...",
"python.command.python.selectAndDebugTestMethod.title": "測試單元測試方法...",
"python.command.python.selectAndRunTestFile.title": "執行單元測試文件...",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"執行單元測試檔案..."

"python.command.python.selectAndRunTestFile.title": "執行單元測試文件...",
"python.command.python.runCurrentTestFile.title": "執行當前單元測試文件",
"python.command.python.runFailedTests.title": "執行失敗的單元測試",
"python.command.python.execSelectionInTerminal.title": "在 Python 終端中執行選定內容/行",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"在 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 程序",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"使用外部終端機測試 Python 程式"

"python.snippet.launch.module.label": "Python: 模組",
"python.snippet.launch.module.description": "測試 Python 模組",
"python.snippet.launch.terminal.label": "Python: 終端 (整合)",
"python.snippet.launch.terminal.description": "使用整合終端測試 Python 程序",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"使用整合終端機測試 Python 程式"

"python.snippet.launch.pyspark.description": "測試 PySpark",
"python.snippet.launch.module.label": "Python: 模組",
"python.snippet.launch.module.description": "測試 Python 模組",
"python.snippet.launch.terminal.label": "Python: 終端 (整合)",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Python: 終端機(整合)"

"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 應用",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"測試舊版 Flask 應用"

@brettcannon
Copy link
Member

@gogobook any feedback on the comments left by @godfat and @uranusjr ?

@brettcannon
Copy link
Member

Since @gogobook isn't responding to comments, does anyone else have any interest in forking this PR and take the feedback so we can merge this? Otherwise I will close this PR as stale.

@uranusjr
Copy link

I’ll give it a shot later today.

uranusjr added a commit to uranusjr/vscode-python that referenced this pull request Feb 21, 2018
@MikhailArkhipov
Copy link

Closing in favor of #841

@lock lock bot locked as resolved and limited conversation to collaborators Jul 31, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants