Skip to content

Commit 9a490ab

Browse files
committed
Refine translation of library/calendar
1 parent fff6b29 commit 9a490ab

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

Diff for: library/calendar.po

+14-13
Original file line numberDiff line numberDiff line change
@@ -293,19 +293,19 @@ msgstr ":class:`!HTMLCalendar` 可以覆寫以下屬性來客製日曆所使用
293293
#: ../../library/calendar.rst:256
294294
msgid ""
295295
"A list of CSS classes used for each weekday. The default class list is::"
296-
msgstr "一週每一天使用的 CSS 類別的串列。預設的串列內容為: ::"
296+
msgstr "對應一週每一天 CSS 類別的串列。預設的串列內容為: ::"
297297

298298
#: ../../library/calendar.rst:260
299299
msgid "more styles can be added for each day::"
300-
msgstr "可以在每一天增加更多樣式: ::"
300+
msgstr "可以針對每一天增加更多樣式: ::"
301301

302302
#: ../../library/calendar.rst:264
303303
msgid "Note that the length of this list must be seven items."
304304
msgstr "注意這個串列的長度必須是七個項目。"
305305

306306
#: ../../library/calendar.rst:269
307307
msgid "The CSS class for a weekday occurring in the previous or coming month."
308-
msgstr "前一個或下一個月份的一週每一天的 CSS 類別。"
308+
msgstr "跟當月為同一週且屬於前一個或下一個月份的日期使用的 CSS 類別。"
309309

310310
#: ../../library/calendar.rst:276
311311
msgid ""
@@ -320,30 +320,31 @@ msgid ""
320320
"The month's head CSS class (used by :meth:`formatmonthname`). The default "
321321
"value is ``\"month\"``."
322322
msgstr ""
323-
"月份標題的 CSS 類別:meth:`formatmonthname` 會用到),預設值是 "
323+
"月份標題的 CSS 類別(由 :meth:`formatmonthname` 所使用),預設值是 "
324324
"``\"month\"``。"
325325

326326
#: ../../library/calendar.rst:292
327327
msgid ""
328328
"The CSS class for the whole month's table (used by :meth:`formatmonth`). The "
329329
"default value is ``\"month\"``."
330330
msgstr ""
331-
"整個月份表格的 CSS 類別:meth:`formatmonth` 會用到),預設值是 "
331+
"整個月份表格的 CSS 類別(由 :meth:`formatmonth` 所使用),預設值是 "
332332
"``\"month\"``。"
333333

334334
#: ../../library/calendar.rst:300
335335
msgid ""
336336
"The CSS class for the whole year's table of tables (used by :meth:"
337337
"`formatyear`). The default value is ``\"year\"``."
338338
msgstr ""
339-
"整年表格的 CSS 類別(:meth:`formatyear` 會用到),預設值是 ``\"year\"``。"
339+
"整年表格的 CSS 類別(:meth:`formatyear` 所使用),預設值是 ``\"year\"``。"
340340

341341
#: ../../library/calendar.rst:308
342342
msgid ""
343343
"The CSS class for the table head for the whole year (used by :meth:"
344344
"`formatyear`). The default value is ``\"year\"``."
345345
msgstr ""
346-
"整年表格標題的 CSS 類別(:meth:`formatyear` 會用到),預設值是 ``\"year\"``。"
346+
"整年表格標題的 CSS 類別(由 :meth:`formatyear` 所使用),預設值是 "
347+
"``\"year\"``。"
347348

348349
#: ../../library/calendar.rst:314
349350
msgid ""
@@ -383,8 +384,8 @@ msgid ""
383384
"thread-safe."
384385
msgstr ""
385386
"這兩個類別的建構函式、:meth:`formatweekday` 及 :meth:`formatmonthname` 方法會"
386-
"把 ``LC_TIME`` 語系暫時改成給定的 *locale*。因為目前的語系是屬於整個行程的設"
387-
",它們不是執行緒安全的。"
387+
"把 ``LC_TIME`` 語系暫時改成給定的 *locale*。因為目前的語系是屬於整個行程 "
388+
"(process-wide) 的設定,它們不是執行緒安全的。"
388389

389390
#: ../../library/calendar.rst:350
390391
msgid "For simple text calendars this module provides the following functions."
@@ -414,7 +415,7 @@ msgstr "如果 *year* 是閏年回傳 :const:`True`,否則回傳 :const:`False
414415
msgid ""
415416
"Returns the number of leap years in the range from *y1* to *y2* (exclusive), "
416417
"where *y1* and *y2* are years."
417-
msgstr "回傳從 *y1* 到 *y2* (不包含)間有幾個閏年,其中 *y1* 和 *y2* 是年份。"
418+
msgstr "回傳從 *y1* 到 *y2*\\ (不包含)間有幾個閏年,其中 *y1* 和 *y2* 是年份。"
418419

419420
#: ../../library/calendar.rst:378
420421
msgid "This function works for ranges spanning a century change."
@@ -432,7 +433,7 @@ msgstr ""
432433
msgid ""
433434
"Return a header containing abbreviated weekday names. *n* specifies the "
434435
"width in characters for one weekday."
435-
msgstr "回傳包含一週每一天的名稱縮寫的標題。*n* 指定每一天的寬度即字元數。"
436+
msgstr "回傳包含一週每一天的名稱縮寫的標題。*n* 指定每一天的字元寬度。"
436437

437438
#: ../../library/calendar.rst:395
438439
msgid ""
@@ -446,8 +447,8 @@ msgid ""
446447
"week; days outside of the month are represented by zeros. Each week begins "
447448
"with Monday unless set by :func:`setfirstweekday`."
448449
msgstr ""
449-
"回傳代表一個月份日曆的矩陣。每一列為一週;該月以外的日期以 0 表示。除非在 :"
450-
"func:`setfirstweekday` 有設定,每一週以週一開始。"
450+
"回傳代表一個月份日曆的矩陣。每一列為一週;該月以外的日期以 0 表示。每一週以"
451+
"週一開始,除非有使用 :func:`setfirstweekday` 改變設定。"
451452

452453
#: ../../library/calendar.rst:408
453454
msgid "Prints a month's calendar as returned by :func:`month`."

0 commit comments

Comments
 (0)