Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upTranslate one more sentence in inputoutput.po #53
Conversation
|
Thanks for another contribution! I've written some suggestions, please take a look at them if you've got a minute. Also, please do NOT reuse a previous branch unless you've explicitly removed and recreated it from master, please always follow the instructions in the contribution guideline on every single contribution (fetch and branch), and never do |
| @@ -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`` 。你可以在字串中使用 " | |||
adrianliaw
Oct 19, 2018
Collaborator
Suggested change
"在字串開始前的引號或連續三個引號前加上 ``f`` 或 ``F`` 。你可以在字串中使用 "
"在字串開始前的引號或連續三個引號前加上 ``f`` 或 ``F``。你可以在字串中使用 "
| "在字串開始前的引號或連續三個引號前加上 ``f`` 或 ``F`` 。你可以在字串中使用 " | |
| "在字串開始前的引號或連續三個引號前加上 ``f`` 或 ``F``。你可以在字串中使用 " |
| @@ -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`` 。你可以在字串中使用 " | |||
| "``{`` 與 ``}`` 包夾 Python 的表示式,引用變數或其他字串文本。" | |||
adrianliaw
Oct 19, 2018
Collaborator
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".
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".


Adding one more sentence to earn the 5th PR for Hacktoberfest, haha.😁 💪 😂
Don't worry, I'll keep working on.
Just the amount of completions growing extremely fast, that I'm afraid of not being the first 50,000.