Comments (5)
I think the word "literal" is still important enough to include it in the translation, there's a difference between using and without using the vocabulary "literal", e.g. "some string"
is a string literal, "some" + "string"
is not a string literal but is a string. For "formatted string literals" here, the syntax can only be used when it's a string literal.
I think "字串常數" is a plausible translation as its property of being a constant is documented inside Python's language reference, I've also seen people translating it to "字串文本", "字串常值", "字串字面值" etc. All the translations sound unnatural to me anyways, but I personally prefer "字串文本" just because "字串常數" can be confusing to those who come from programming languages that have constants.
Anyhow, for each translated document that has the word "string literal" or "bytes literal" or something similar in it, we should always quote the original English word for the first appearance in that document, see tutorial/introduction.po for an example.
from python-docs-zh-tw.
Maybe just leave this open for discussion?
from python-docs-zh-tw.
I think you can simply translate it into "字串".
You can take the link for reference.
from python-docs-zh-tw.
c/cpp 社群似乎翻譯為「字串常數」
https://www.ptt.cc/bbs/C_and_CPP/M.1463157729.A.28B.html
from python-docs-zh-tw.
Thanks for the explanation.
For each translated document that has the word "string literal" or "bytes literal" or something similar in it, we should always quote the original English word for the first appearance in that document.
In sum, let's take "字串文本" as "string literal".
from python-docs-zh-tw.
Related Issues (20)
- Translate `howto/annotations`
- Translate library/binary.po HOT 1
- Develop Scripts about Translation Progress
- Translate library/struct.po
- [Nov. 2023 Sprint] Translate `library/string.po` HOT 11
- Translate c-api/frame.po
- Translate `library/string.po` HOT 2
- Translate `c-api/conversion.po`
- Translate `howto/argparse.po` HOT 1
- Translate ``library/__main__.po``
- Translate `library/functools.po`
- Translate `library/copyreg.po`
- Translate library/math.po
- active code 翻譯有誤 HOT 2
- Translate library/_thread.po
- Translate library/exceptions.po
- Translate `library/tkinter.colorchooser.po`
- Translate `library/tkinter.font.po`
- Translate library/os.po HOT 1
- Translate `library/tkinter.messagebox.po`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-docs-zh-tw.