@@ -11,7 +11,7 @@ msgid ""
1111msgstr ""
1212"Project-Id-Version : Python 3.14\n "
1313"Report-Msgid-Bugs-To : \n "
14- "POT-Creation-Date : 2026-04-21 15:07 +0000\n "
14+ "POT-Creation-Date : 2026-04-29 15:53 +0000\n "
1515"PO-Revision-Date : 2025-09-16 00:00+0000\n "
1616"Last-Translator : python-doc bot, 2025\n "
1717"Language-Team : Japanese (https://app.transifex.com/python-doc/teams/5390/ "
@@ -629,66 +629,72 @@ msgstr ""
629629
630630#: ../../library/calendar.rst:547
631631msgid ""
632- "A subclass of :exc:`ValueError`, raised when the given month number is "
633- "outside of the range 1-12 (inclusive)."
632+ "A subclass of :exc:`ValueError` and :exc:`IndexError` , raised when the given "
633+ "month number is outside of the range 1-12 (inclusive)."
634634msgstr ""
635635
636- #: ../../library/calendar.rst:552
637- msgid "The invalid month number."
636+ #: ../../library/calendar.rst:550
637+ msgid ""
638+ ":exc:`IllegalMonthError` is now also a subclass of :exc:`ValueError`. New "
639+ "code should avoid catching :exc:`IndexError`."
638640msgstr ""
639641
640642#: ../../library/calendar.rst:557
643+ msgid "The invalid month number."
644+ msgstr ""
645+
646+ #: ../../library/calendar.rst:562
641647msgid ""
642648"A subclass of :exc:`ValueError`, raised when the given weekday number is "
643649"outside of the range 0-6 (inclusive)."
644650msgstr ""
645651
646- #: ../../library/calendar.rst:562
652+ #: ../../library/calendar.rst:567
647653msgid "The invalid weekday number."
648654msgstr ""
649655
650- #: ../../library/calendar.rst:567
656+ #: ../../library/calendar.rst:572
651657msgid "Module :mod:`datetime`"
652658msgstr ":mod:`datetime` モジュール"
653659
654- #: ../../library/calendar.rst:568
660+ #: ../../library/calendar.rst:573
655661msgid ""
656662"Object-oriented interface to dates and times with similar functionality to "
657663"the :mod:`time` module."
658664msgstr ""
659665":mod:`time` モジュールと似た機能を持った日付と時間用のオブジェクト指向イン"
660666"ターフェース。"
661667
662- #: ../../library/calendar.rst:571
668+ #: ../../library/calendar.rst:576
663669msgid "Module :mod:`time`"
664670msgstr ":mod:`time` モジュール"
665671
666- #: ../../library/calendar.rst:572
672+ #: ../../library/calendar.rst:577
667673msgid "Low-level time related functions."
668674msgstr "時間に関連した低水準の関数群。"
669675
670- #: ../../library/calendar.rst:578
676+ #: ../../library/calendar.rst:583
671677msgid "Command-line usage"
672678msgstr "コマンドラインでの使用"
673679
674- #: ../../library/calendar.rst:582
680+ #: ../../library/calendar.rst:587
675681msgid ""
676682"The :mod:`!calendar` module can be executed as a script from the command "
677683"line to interactively print a calendar."
678684msgstr ""
679685
680- #: ../../library/calendar.rst:585
686+ #: ../../library/calendar.rst:590
681687msgid ""
682688"python -m calendar [-h] [-L LOCALE] [-e ENCODING] [-t {text,html}]\n"
683689" [-w WIDTH] [-l LINES] [-s SPACING] [-m MONTHS] [-c CSS]\n"
684690" [-f FIRST_WEEKDAY] [year] [month]"
685691msgstr ""
686692
687- #: ../../library/calendar.rst:592
693+ #: ../../library/calendar.rst:597
688694msgid "For example, to print a calendar for the year 2000:"
689695msgstr ""
690696
691- #: ../../library/calendar.rst:594
697+ #: ../../library/calendar.rst:599
692698msgid ""
693699"$ python -m calendar 2000\n"
694700" 2000\n"
@@ -729,82 +735,82 @@ msgid ""
729735"30 31"
730736msgstr ""
731737
732- #: ../../library/calendar.rst:635
738+ #: ../../library/calendar.rst:640
733739msgid "The following options are accepted:"
734740msgstr "以下のオプションが使用できます:"
735741
736- #: ../../library/calendar.rst:642
742+ #: ../../library/calendar.rst:647
737743msgid "Show the help message and exit."
738744msgstr "ヘルプメッセージを表示して終了します。"
739745
740- #: ../../library/calendar.rst:647
746+ #: ../../library/calendar.rst:652
741747msgid "The locale to use for month and weekday names. Defaults to English."
742748msgstr ""
743749
744- #: ../../library/calendar.rst:653
750+ #: ../../library/calendar.rst:658
745751msgid ""
746752"The encoding to use for output. :option:`--encoding` is required if :option:"
747753"`--locale` is set."
748754msgstr ""
749755
750- #: ../../library/calendar.rst:659
756+ #: ../../library/calendar.rst:664
751757msgid "Print the calendar to the terminal as text, or as an HTML document."
752758msgstr ""
753759
754- #: ../../library/calendar.rst:665
760+ #: ../../library/calendar.rst:670
755761msgid ""
756762"The weekday to start each week. Must be a number between 0 (Monday) and 6 "
757763"(Sunday). Defaults to 0."
758764msgstr ""
759765
760- #: ../../library/calendar.rst:673
766+ #: ../../library/calendar.rst:678
761767msgid "The year to print the calendar for. Defaults to the current year."
762768msgstr ""
763769
764- #: ../../library/calendar.rst:679
770+ #: ../../library/calendar.rst:684
765771msgid ""
766772"The month of the specified :option:`year` to print the calendar for. Must be "
767773"a number between 1 and 12, and may only be used in text mode. Defaults to "
768774"printing a calendar for the full year."
769775msgstr ""
770776
771- #: ../../library/calendar.rst:685
777+ #: ../../library/calendar.rst:690
772778msgid "*Text-mode options:*"
773779msgstr ""
774780
775- #: ../../library/calendar.rst:689
781+ #: ../../library/calendar.rst:694
776782msgid ""
777783"The width of the date column in terminal columns. The date is printed "
778784"centred in the column. Any value lower than 2 is ignored. Defaults to 2."
779785msgstr ""
780786
781- #: ../../library/calendar.rst:697
787+ #: ../../library/calendar.rst:702
782788msgid ""
783789"The number of lines for each week in terminal rows. The date is printed top-"
784790"aligned. Any value lower than 1 is ignored. Defaults to 1."
785791msgstr ""
786792
787- #: ../../library/calendar.rst:705
793+ #: ../../library/calendar.rst:710
788794msgid ""
789795"The space between months in columns. Any value lower than 2 is ignored. "
790796"Defaults to 6."
791797msgstr ""
792798
793- #: ../../library/calendar.rst:712
799+ #: ../../library/calendar.rst:717
794800msgid "The number of months printed per row. Defaults to 3."
795801msgstr ""
796802
797- #: ../../library/calendar.rst:715
803+ #: ../../library/calendar.rst:720
798804msgid ""
799805"By default, today's date is highlighted in color and can be :ref:`controlled "
800806"using environment variables <using-on-controlling-color>`."
801807msgstr ""
802808
803- #: ../../library/calendar.rst:719
809+ #: ../../library/calendar.rst:724
804810msgid "*HTML-mode options:*"
805811msgstr ""
806812
807- #: ../../library/calendar.rst:723
813+ #: ../../library/calendar.rst:728
808814msgid ""
809815"The path of a CSS stylesheet to use for the calendar. This must either be "
810816"relative to the generated HTML, or an absolute HTTP or ``file:///`` URL."
0 commit comments