7
7
msgstr ""
8
8
"Project-Id-Version : Python 3.11\n "
9
9
"Report-Msgid-Bugs-To : \n "
10
- "POT-Creation-Date : 2022-11-05 00:19 +0000\n "
10
+ "POT-Creation-Date : 2023-01-06 00:32 +0000\n "
11
11
"PO-Revision-Date : 2018-05-23 16:05+0000\n "
12
12
"
Last-Translator :
Adrian Liaw <[email protected] >\n "
13
13
"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
@@ -727,15 +727,21 @@ msgid ""
727
727
"affected by this category."
728
728
msgstr ""
729
729
730
- #: ../../library/locale.rst:514
730
+ #: ../../library/locale.rst:511
731
+ msgid ""
732
+ "This value may not be available on operating systems not conforming to the "
733
+ "POSIX standard, most notably Windows."
734
+ msgstr ""
735
+
736
+ #: ../../library/locale.rst:517
731
737
msgid ""
732
738
"Locale category for formatting numbers. The functions :func:`.format`, :"
733
739
"func:`atoi`, :func:`atof` and :func:`.str` of the :mod:`locale` module are "
734
740
"affected by that category. All other numeric formatting operations are not "
735
741
"affected."
736
742
msgstr ""
737
743
738
- #: ../../library/locale.rst:522
744
+ #: ../../library/locale.rst:525
739
745
msgid ""
740
746
"Combination of all locale settings. If this flag is used when the locale is "
741
747
"changed, setting the locale for all categories is attempted. If that fails "
@@ -745,32 +751,32 @@ msgid ""
745
751
"settings."
746
752
msgstr ""
747
753
748
- #: ../../library/locale.rst:531
754
+ #: ../../library/locale.rst:534
749
755
msgid ""
750
756
"This is a symbolic constant used for different values returned by :func:"
751
757
"`localeconv`."
752
758
msgstr ""
753
759
754
- #: ../../library/locale.rst:535
760
+ #: ../../library/locale.rst:538
755
761
msgid "Example::"
756
762
msgstr ""
757
763
"範例:\n"
758
764
"\n"
759
765
"::"
760
766
761
- #: ../../library/locale.rst:548
767
+ #: ../../library/locale.rst:551
762
768
msgid "Background, details, hints, tips and caveats"
763
769
msgstr ""
764
770
765
- #: ../../library/locale.rst:550
771
+ #: ../../library/locale.rst:553
766
772
msgid ""
767
773
"The C standard defines the locale as a program-wide property that may be "
768
774
"relatively expensive to change. On top of that, some implementations are "
769
775
"broken in such a way that frequent locale changes may cause core dumps. "
770
776
"This makes the locale somewhat painful to use correctly."
771
777
msgstr ""
772
778
773
- #: ../../library/locale.rst:555
779
+ #: ../../library/locale.rst:558
774
780
msgid ""
775
781
"Initially, when a program is started, the locale is the ``C`` locale, no "
776
782
"matter what the user's preferred locale is. There is one exception: the :"
@@ -780,15 +786,15 @@ msgid ""
780
786
"categories by calling ``setlocale(LC_ALL, '')``."
781
787
msgstr ""
782
788
783
- #: ../../library/locale.rst:562
789
+ #: ../../library/locale.rst:565
784
790
msgid ""
785
791
"It is generally a bad idea to call :func:`setlocale` in some library "
786
792
"routine, since as a side effect it affects the entire program. Saving and "
787
793
"restoring it is almost as bad: it is expensive and affects other threads "
788
794
"that happen to run before the settings have been restored."
789
795
msgstr ""
790
796
791
- #: ../../library/locale.rst:567
797
+ #: ../../library/locale.rst:570
792
798
msgid ""
793
799
"If, when coding a module for general use, you need a locale independent "
794
800
"version of an operation that is affected by the locale (such as certain "
@@ -799,14 +805,14 @@ msgid ""
799
805
"settings."
800
806
msgstr ""
801
807
802
- #: ../../library/locale.rst:574
808
+ #: ../../library/locale.rst:577
803
809
msgid ""
804
810
"The only way to perform numeric operations according to the locale is to use "
805
811
"the special functions defined by this module: :func:`atof`, :func:`atoi`, :"
806
812
"func:`.format`, :func:`.str`."
807
813
msgstr ""
808
814
809
- #: ../../library/locale.rst:578
815
+ #: ../../library/locale.rst:581
810
816
msgid ""
811
817
"There is no way to perform case conversions and character classifications "
812
818
"according to the locale. For (Unicode) text strings these are done "
@@ -817,19 +823,19 @@ msgid ""
817
823
"whitespace."
818
824
msgstr ""
819
825
820
- #: ../../library/locale.rst:589
826
+ #: ../../library/locale.rst:592
821
827
msgid "For extension writers and programs that embed Python"
822
828
msgstr ""
823
829
824
- #: ../../library/locale.rst:591
830
+ #: ../../library/locale.rst:594
825
831
msgid ""
826
832
"Extension modules should never call :func:`setlocale`, except to find out "
827
833
"what the current locale is. But since the return value can only be used "
828
834
"portably to restore it, that is not very useful (except perhaps to find out "
829
835
"whether or not the locale is ``C``)."
830
836
msgstr ""
831
837
832
- #: ../../library/locale.rst:596
838
+ #: ../../library/locale.rst:599
833
839
msgid ""
834
840
"When Python code uses the :mod:`locale` module to change the locale, this "
835
841
"also affects the embedding application. If the embedding application "
@@ -839,11 +845,11 @@ msgid ""
839
845
"accessible as a shared library."
840
846
msgstr ""
841
847
842
- #: ../../library/locale.rst:607
848
+ #: ../../library/locale.rst:610
843
849
msgid "Access to message catalogs"
844
850
msgstr ""
845
851
846
- #: ../../library/locale.rst:615
852
+ #: ../../library/locale.rst:618
847
853
msgid ""
848
854
"The locale module exposes the C library's gettext interface on systems that "
849
855
"provide this interface. It consists of the functions :func:`!gettext`, :"
@@ -854,7 +860,7 @@ msgid ""
854
860
"for locating message catalogs."
855
861
msgstr ""
856
862
857
- #: ../../library/locale.rst:622
863
+ #: ../../library/locale.rst:625
858
864
msgid ""
859
865
"Python applications should normally find no need to invoke these functions, "
860
866
"and should use :mod:`gettext` instead. A known exception to this rule are "
0 commit comments