Git Product home page Git Product logo

Comments (5)

adrianliaw avatar adrianliaw commented on August 23, 2024 2

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.

iamsuperwen avatar iamsuperwen commented on August 23, 2024 1

Maybe just leave this open for discussion?

from python-docs-zh-tw.

Nienzu avatar Nienzu commented on August 23, 2024

I think you can simply translate it into "字串".
You can take the link for reference.

from python-docs-zh-tw.

yichung279 avatar yichung279 commented on August 23, 2024

c/cpp 社群似乎翻譯為「字串常數」
https://www.ptt.cc/bbs/C_and_CPP/M.1463157729.A.28B.html

from python-docs-zh-tw.

iamsuperwen avatar iamsuperwen commented on August 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.