Skip to content

Translate one more sentence in inputoutput.po #53

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 2 commits into from
Closed
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
5 changes: 4 additions & 1 deletion tutorial/inputoutput.po
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ msgstr ""
"Project-Id-Version: Python 3.7\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-09-20 15:25+0800\n"
"PO-Revision-Date: 2018-10-17 00:07+0800\n"
"PO-Revision-Date: 2018-10-18 01:40+0800\n"
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
"tw)\n"
Expand Down Expand Up @@ -64,6 +64,9 @@ msgid ""
"Inside this string, you can write a Python expression between ``{`` and ``}"
"`` characters that can refer to variables or literal values."
msgstr ""
"使用\\ :ref:`格式化的字串文本 (formatted string literals) <tut-f-strings>`,"
"在字串開始前的引號或連續三個引號前加上 ``f`` 或 ``F`` 。你可以在字串中使用 "
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
"在字串開始前的引號或連續三個引號前加上 ``f`` 或 ``F`` 。你可以在字串中使用 "
"在字串開始前的引號或連續三個引號前加上 ``f`` 或 ``F``。你可以在字串中使用 "

"``{`` 與 ``}`` 包夾 Python 的表示式,引用變數或其他字串文本。"
Copy link
Collaborator

Choose a reason for hiding this comment

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

The latter subsentence would be better with a subject attached to avoid ambiguity. Without attaching a subject, it could be sounding like "you can write a Python expression, refer a variable, or other literal values", but it should be "you can write a Python expression that can refer to variables or other literal values", so it would be better if it's "其可以引用變數或其他字面值"

Also, here in the original sentence, it says "literal values" instead of "string literals", literal values could be string literals, integer literals, float literals etc., so it should use a different word, such as "字面值". But same as string literals, this translation does not sound familiar to any one, so it'll be better to parenthesise the original English word, just like the translation for "string literals".


#: ../../tutorial/inputoutput.rst:37
msgid ""
Expand Down