Repository navigation
Translate library/calendar.po #1265
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
base: 3.15
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -63,7 +63,7 @@ msgid "" | |||||
| "the first day of the week. :const:`MONDAY` is ``0`` (the default), :const:" | ||||||
| "`SUNDAY` is ``6``." | ||||||
| msgstr "" | ||||||
| "建立 :class:`Calendar` 物件。*firstweekday* 是一個指定一週第一天的整數,:" | ||||||
| "建立 :class:`!Calendar` 物件。*firstweekday* 是一個指定一週第一天的整數,:" | ||||||
| "const:`MONDAY` 是 ``0``\\ (預設值),:const:`SUNDAY` 是 ``6``。" | ||||||
|
|
||||||
| #: ../../library/calendar.rst:36 | ||||||
|
|
@@ -72,39 +72,41 @@ msgid "" | |||||
| "preparing the calendar data for formatting. This class doesn't do any " | ||||||
| "formatting itself. This is the job of subclasses." | ||||||
| msgstr "" | ||||||
| ":class:`Calendar` 物件提供一些方法來為日曆資料的格式化做準備。這個類別本身不" | ||||||
| ":class:`!Calendar` 物件提供一些方法來為日曆資料的格式化做準備。這個類別本身不" | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 對應 CI warning
Suggested change
|
||||||
| "做任何格式化,這是子類別的工作。" | ||||||
|
|
||||||
| #: ../../library/calendar.rst:41 | ||||||
| msgid ":class:`Calendar` instances have the following methods and attributes:" | ||||||
| msgstr ":class:`Calendar` 實例有以下方法與屬性:" | ||||||
| msgstr ":class:`!Calendar` 實例有以下方法與屬性:" | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 對應 CI warning
Suggested change
|
||||||
|
|
||||||
| #: ../../library/calendar.rst:45 | ||||||
| msgid "The first weekday as an integer (0--6)." | ||||||
| msgstr "" | ||||||
| msgstr "以整數 (0–6) 表示的一週的第一天。" | ||||||
|
|
||||||
| #: ../../library/calendar.rst:47 | ||||||
| msgid "" | ||||||
| "This property can also be set and read using :meth:`~Calendar." | ||||||
| "setfirstweekday` and :meth:`~Calendar.getfirstweekday` respectively." | ||||||
| msgstr "" | ||||||
| "也可以分別使用 :meth:`~Calendar.setfirstweekday` 和 " | ||||||
| ":meth:`~Calendar.getfirstweekday` 來設定和讀取這個屬性。" | ||||||
|
|
||||||
| #: ../../library/calendar.rst:53 | ||||||
| msgid "Return an :class:`int` for the current first weekday (0--6)." | ||||||
| msgstr "" | ||||||
| msgstr "回傳目前設定的一週的第一天,為一個 :class:`int` (0–6)。" | ||||||
|
|
||||||
| #: ../../library/calendar.rst:55 | ||||||
| msgid "Identical to reading the :attr:`~Calendar.firstweekday` property." | ||||||
| msgstr "" | ||||||
| msgstr "等同於讀取 :attr:`~Calendar.firstweekday` 屬性。" | ||||||
|
|
||||||
| #: ../../library/calendar.rst:59 | ||||||
| msgid "" | ||||||
| "Set the first weekday to *firstweekday*, passed as an :class:`int` (0--6)." | ||||||
| msgstr "" | ||||||
| msgstr "將一週的第一天設定為 *firstweekday*,以 :class:`int` (0–6) 傳入。" | ||||||
|
|
||||||
| #: ../../library/calendar.rst:61 | ||||||
| msgid "Identical to setting the :attr:`~Calendar.firstweekday` property." | ||||||
| msgstr "" | ||||||
| msgstr "等同於設定 :attr:`~Calendar.firstweekday` 屬性。" | ||||||
|
|
||||||
| #: ../../library/calendar.rst:65 | ||||||
| msgid "" | ||||||
|
|
@@ -122,7 +124,7 @@ msgid "" | |||||
| "month and all days before the start of the month or after the end of the " | ||||||
| "month that are required to get a complete week." | ||||||
| msgstr "" | ||||||
| "回傳一個在 *year* 年 *month* (1--12) 月的疊代器。這個疊代器會回傳該月的所有日" | ||||||
| "回傳一個在 *year* 年 *month* (1–12) 月的疊代器。這個疊代器會回傳該月的所有日" | ||||||
| "期(:class:`datetime.date` 物件)以及在該月之前及之後用來組成完整一週的日期。" | ||||||
|
|
||||||
| #: ../../library/calendar.rst:80 | ||||||
|
|
@@ -228,14 +230,16 @@ msgstr "這個類別用來產生純文字的日曆。" | |||||
|
|
||||||
| #: ../../library/calendar.rst:159 | ||||||
| msgid ":class:`TextCalendar` instances have the following methods:" | ||||||
| msgstr ":class:`TextCalendar` 實例有以下方法:" | ||||||
| msgstr ":class:`!TextCalendar` 實例有以下方法:" | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 對應 CI warning
Suggested change
|
||||||
|
|
||||||
| #: ../../library/calendar.rst:164 | ||||||
| msgid "" | ||||||
| "Return a string representing a single day formatted with the given *width*. " | ||||||
| "If *theday* is ``0``, return a string of spaces of the specified width, " | ||||||
| "representing an empty day. The *weekday* parameter is unused." | ||||||
| msgstr "" | ||||||
| "回傳以給定的 *width* 格式化、代表單一日期的字串。如果 *theday* 為 ``0``,則回" | ||||||
| "傳指定寬度的空白字串,代表沒有日期。*weekday* 參數不會被使用。" | ||||||
|
|
||||||
| #: ../../library/calendar.rst:171 | ||||||
| msgid "" | ||||||
|
|
@@ -244,20 +248,27 @@ msgid "" | |||||
| "first weekday as specified in the constructor or set by the :meth:" | ||||||
| "`setfirstweekday` method." | ||||||
| msgstr "" | ||||||
| "以不含換行字元的字串回傳一週。如果給定 *w*,它會指定置中的日期欄的寬度。這會" | ||||||
| "依據在建構函式中指定或者透過 :meth:`setfirstweekday` 方法設定的一週的第一天來" | ||||||
| "輸出。" | ||||||
|
|
||||||
| #: ../../library/calendar.rst:179 | ||||||
| msgid "" | ||||||
| "Return a string representing the name of a single weekday formatted to the " | ||||||
| "specified *width*. The *weekday* parameter is an integer representing the " | ||||||
| "day of the week, where ``0`` is Monday and ``6`` is Sunday." | ||||||
| msgstr "" | ||||||
| "回傳以指定的 *width* 格式化、代表單一週幾名稱的字串。*weekday* 參數是代表週幾" | ||||||
| "的整數,其中 ``0`` 是週一、``6`` 是週日。" | ||||||
|
|
||||||
| #: ../../library/calendar.rst:186 | ||||||
| msgid "" | ||||||
| "Return a string containing the header row of weekday names, formatted with " | ||||||
| "the given *width* for each column. The names depend on the locale settings " | ||||||
| "and are padded to the specified width." | ||||||
| msgstr "" | ||||||
| "回傳包含週幾名稱標題列的字串,每一欄都以給定的 *width* 格式化。名稱取決於語系" | ||||||
| "設定,並會填補至指定的寬度。" | ||||||
|
|
||||||
| #: ../../library/calendar.rst:193 | ||||||
| msgid "" | ||||||
|
|
@@ -278,6 +289,9 @@ msgid "" | |||||
| "*theyear* and *themonth* parameters specify the year and month for the name " | ||||||
| "to be formatted respectively." | ||||||
| msgstr "" | ||||||
| "回傳在指定的 *width* 內置中、代表月份名稱的字串。如果 *withyear* 為 " | ||||||
| "``True``,輸出會包含年份。*theyear* 和 *themonth* 參數分別指定要格式化之名稱" | ||||||
| "的年份和月份。" | ||||||
|
|
||||||
| #: ../../library/calendar.rst:210 | ||||||
| msgid "Print a month's calendar as returned by :meth:`formatmonth`." | ||||||
|
|
@@ -530,7 +544,7 @@ msgid "" | |||||
| "Returns the day of the week (``0`` is Monday) for *year* (``1970``--...), " | ||||||
| "*month* (``1``--``12``), *day* (``1``--``31``)." | ||||||
| msgstr "" | ||||||
| "回傳 *year* 年 (``1970``--...) *month* 月 (``1``--``12``) *day* 日 (``1``--" | ||||||
| "回傳 *year* 年 (``1970``–...) *month* 月 (``1``–``12``) *day* 日 (``1``–" | ||||||
| "``31``) 是週幾(``0`` 是星期一)。" | ||||||
|
|
||||||
| #: ../../library/calendar.rst:402 | ||||||
|
|
@@ -589,7 +603,7 @@ msgid "" | |||||
| msgstr "" | ||||||
| "一個跟日曆無關但方便的函式,它接受一個像 :mod:`time` 模組裡的 :func:`~time." | ||||||
| "gmtime` 函式回傳的元組,並回傳對應的 Unix 時間戳,假設從 1970 開始及 POSIX 編" | ||||||
| "碼。事實上,:func:`time.gmtime` 和 :func:`timegm` 是彼此相反的。" | ||||||
| "碼。事實上,:func:`time.gmtime` 和 :func:`!timegm` 是彼此相反的。" | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 原文是
Suggested change
|
||||||
|
|
||||||
| #: ../../library/calendar.rst:450 | ||||||
| msgid "The :mod:`!calendar` module exports the following data attributes:" | ||||||
|
|
@@ -673,6 +687,8 @@ msgid "" | |||||
| ":exc:`IllegalMonthError` is now also a subclass of :exc:`ValueError`. New " | ||||||
| "code should avoid catching :exc:`IndexError`." | ||||||
| msgstr "" | ||||||
| ":exc:`!IllegalMonthError` 現在也是 :exc:`ValueError` 的子類別。新的程式碼應避" | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 原文是
Suggested change
|
||||||
| "免捕捉 :exc:`IndexError`。" | ||||||
|
|
||||||
| #: ../../library/calendar.rst:557 | ||||||
| msgid "The invalid month number." | ||||||
|
|
@@ -886,6 +902,8 @@ msgid "" | |||||
| "By default, today's date is highlighted in color and can be :ref:`controlled " | ||||||
| "using environment variables <using-on-controlling-color>`." | ||||||
| msgstr "" | ||||||
| "預設情況下,今天的日期會以顏色標示,並且可以\\ :ref:`使用環境變數控制 " | ||||||
| "<using-on-controlling-color>`。" | ||||||
|
|
||||||
| #: ../../library/calendar.rst:724 | ||||||
| msgid "*HTML-mode options:*" | ||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
原文是
:class:Calendar``(沒有!),對應 CI warning `calendar.rst:31`。