8000 Merge pull request #247 from mattwang44/library/{builtins,colorsys} · python/python-docs-zh-tw@df20e9e · GitHub
[go: up one dir, main page]

Skip to content

Commit df20e9e

Browse files
authored
Merge pull request #247 from mattwang44/library/{builtins,colorsys}
Translate `library/{builtins,colorsys}.po`
2 parents ce5e885 + 46c8032 commit df20e9e

File tree

2 files changed

+30
-7
lines changed

2 files changed

+30
-7
lines changed

library/builtins.po

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,24 @@
1-
# SOME DESCRIPTIVE TITLE.
21
# Copyright (C) 2001-2022, Python Software Foundation
32
# This file is distributed under the same license as the Python package.
43
#
54
# Translators:
5+
# Adrian Liaw <adrianliaw2000@gmail.com>, 2018
6+
# Matt Wang <mattwang44@gmail.com>, 2022
67
msgid ""
78
msgstr ""
89
"Project-Id-Version: Python 3.10\n"
910
"Report-Msgid-Bugs-To: \n"
1011
"POT-Creation-Date: 2018-06-26 18:54+0800\n"
11-
"PO-Revision-Date: 2018-05-23 14:40+0000\n"
12-
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
12+
"PO-Revision-Date: 2022-02-15 20:55+0800\n"
13+
"Last-Translator: Matt Wang <mattwang44@gmail.com>\n"
1314
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1415
"tw)\n"
1516
"Language: zh_TW\n"
1617
"MIME-Version: 1.0\n"
1718
"Content-Type: text/plain; charset=UTF-8\n"
1819
"Content-Transfer-Encoding: 8bit\n"
1920
"Plural-Forms: nplurals=1; plural=0;\n"
21+
"X-Generator: Poedit 3.0.1\n"
2022

2123
#: ../../library/builtins.rst:2
2224
msgid ":mod:`builtins` --- Built-in objects"
@@ -29,6 +31,9 @@ msgid ""
2931
"func:`open`. See :ref:`built-in-funcs` and :ref:`built-in-consts` for "
3032
"documentation."
3133
msgstr ""
34+
"該模組提供對 Python 所有'內建'識別符號的直接存取;例如 ``builtins.open`` 是內"
35+
"建函式 :func:`open` 的全名。請參閱\\ :ref:`built-in-funcs`\\\\ :ref:"
36+
"`built-in-consts`\\ 的文件。"
3237

3338
#: ../../library/builtins.rst:15
3439
msgid ""
@@ -38,6 +43,11 @@ msgid ""
3843
"example, in a module that wants to implement an :func:`open` function that "
3944
"wraps the built-in :func:`open`, this module can be used directly::"
4045
msgstr ""
46+
"大多數應用程式通常不會顯式地存取此模組,但在提供與內建值同名之物件的模組中可"
47+
"能很有用,不過其中還會需要內建該名稱。例如,在一個將內建 :func:`open` 包裝起"
48+
"來以實現另一版本 :func:`open` 函式的模組中,這個模組可以直接被使用:\n"
49+
"\n"
50+
"::"
4151

4252
#: ../../library/builtins.rst:38
4353
msgid ""
@@ -47,3 +57,7 @@ msgid ""
4757
"__dict__` attribute. Since this is an implementation detail, it may not be "
4858
"used by alternate implementations of Python."
4959
msgstr ""
60+
"有個實作細節是,大多數模組都將名稱 ``__builtins__`` 作為其全域性變數的一部分"
61+
"以提使用。\\ ``__builtins__`` 的值通常是這個模組或者這個模組的 :attr:"
62+
"`~object.__dict__` 屬性值。由於這是一個實作細節,因此 Python 的其他實作可能不"
63+
"會使用它。"

library/colorsys.po

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,28 @@
1-
# SOME DESCRIPTIVE TITLE.
21
# Copyright (C) 2001-2022, Python Software Foundation
32
# This file is distributed under the same license as the Python package.
43
#
54
# Translators:
5+
# Liang-Bo Wang <me@liang2.tw>, 2016
6+
# Matt Wang <mattwang44@gmail.com>, 2022
67
msgid ""
78
msgstr ""
89
"Project-Id-Version: Python 3.10\n"
910
"Report-Msgid-Bugs-To: \n"
1011
"POT-Creation-Date: 2020-06-20 18:08+0800\n"
11-
"PO-Revision-Date: 2016-11-19 00:29+0000\n"
12-
"Last-Translator: Liang-Bo Wang <me@liang2.tw>\n"
12+
"PO-Revision-Date: 2022-02-15 20:58+0800\n"
13+
"Last-Translator: Matt Wang <mattwang44@gmail.com>\n"
1314
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1415
"tw)\n"
1516
"Language: zh_TW\n"
1617
"MIME-Version: 1.0\n"
1718
"Content-Type: text/plain; charset=UTF-8\n"
1819
"Content-Transfer-Encoding: 8bit\n"
1920
"Plural-Forms: nplurals=1; plural=0;\n"
21+
"X-Generator: Poedit 3.0.1\n"
2022

2123
#: ../../library/colorsys.rst:2
2224
msgid ":mod:`colorsys` --- Conversions between color systems"
23-
msgstr ""
25+
msgstr ":mod:`colorsys` --- 顏色系統間的轉換"
2426

2527
#: ../../library/colorsys.rst:9
2628
msgid "**Source code:** :source:`Lib/colorsys.py`"
@@ -36,13 +38,20 @@ msgid ""
3638
"coordinate is between 0 and 1, but the I and Q coordinates can be positive "
3739
"or negative. In all other spaces, the coordinates are all between 0 and 1."
3840
msgstr ""
41+
":mod:`colorsys` 模組 (module) 定義了電腦顯示器所用的 RGB (紅綠藍)色彩空間與"
42+
"三種其他色彩座標系統:YIQ、HLS (色相、亮度、飽和度) 和 HSV (色相、 "
43+
"飽和度、 明度) 所表示的顏色值之間的雙向轉換。所有這些色彩空間的座標都使用"
44+
"浮點數值 (floating point) 來表示。在 YIQ 空間中,Y 座標值為 0 和 1 之間,而 "
45+
"I 和 Q 座標均可以為正數或負數。在所有其他空間中,座標值均為 0 和 1 之間。"
3946

4047
#: ../../library/colorsys.rst:23
4148
msgid ""
4249
"More information about color spaces can be found at https://poynton.ca/"
4350
"ColorFAQ.html and https://www.cambridgeincolour.com/tutorials/color-spaces."
4451
"htm."
4552
msgstr ""
53+
"有關色彩空間的更多資訊請見 https://poynton.ca/ColorFAQ.html 和 https://www."
54+
"cambridgeincolour.com/tutorials/color-spaces.htm。"
4655

4756
#: ../../library/colorsys.rst:27
4857
msgid "The :mod:`colorsys` module defines the following functions:"

0 commit comments

Comments
 (0)
0