Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 35d5aa8

Browse files
committed
[po] auto sync bot
1 parent 3f4ff21 commit 35d5aa8

13 files changed

Lines changed: 4103 additions & 4069 deletions

File tree

bugs.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
# Junkai Shao <[email protected]>, 2018
1414
# Larry Wang <[email protected]>, 2018
1515
# zkonge, 2018
16-
# ppcfish <[email protected]>, 2019
1716
# rpish yao <[email protected]>, 2019
1817
# Freesand Leo <[email protected]>, 2019
18+
# ppcfish <[email protected]>, 2019
1919
#
2020
#, fuzzy
2121
msgid ""
@@ -24,7 +24,7 @@ msgstr ""
2424
"Report-Msgid-Bugs-To: \n"
2525
"POT-Creation-Date: 2019-01-10 10:19+0900\n"
2626
"PO-Revision-Date: 2017-02-16 17:31+0000\n"
27-
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2019\n"
27+
"Last-Translator: ppcfish <ppcfish@gmail.com>, 2019\n"
2828
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2929
"MIME-Version: 1.0\n"
3030
"Content-Type: text/plain; charset=UTF-8\n"
@@ -130,8 +130,8 @@ msgid ""
130130
"the \"Type\" field, select the type of your problem; also select the "
131131
"\"Component\" and \"Versions\" to which the bug relates."
132132
msgstr ""
133-
" "
134-
"表单中有几个空栏。请在“标题”栏填入一个对问题的非常简短的描述;一个好的描述应当少于十个字。在“类型”栏,选择您的问题的类型;同样地,选择bug相对应的“组件”“版本”。"
133+
"表单中有几个空栏。请在 “标题” 栏填入一个对问题的非常简短的描述;一个好的描述应当少于十个字。在 “类型” "
134+
"栏,选择您的问题的类型;同样地,选择bug相对应的 “组件”“版本” 。"
135135

136136
#: ../../bugs.rst:59
137137
msgid ""

c-api/memory.po

Lines changed: 45 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ msgid ""
1616
msgstr ""
1717
"Project-Id-Version: Python 3.7\n"
1818
"Report-Msgid-Bugs-To: \n"
19-
"POT-Creation-Date: 2019-01-01 10:14+0900\n"
19+
"POT-Creation-Date: 2019-04-12 11:10+0900\n"
2020
"PO-Revision-Date: 2017-02-16 17:37+0000\n"
2121
"Last-Translator: Shengjing Zhu <[email protected]>, 2019\n"
2222
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -502,19 +502,19 @@ msgid ""
502502
"fields:"
503503
msgstr ""
504504

505-
#: ../../c-api/memory.rst:368 ../../c-api/memory.rst:506
505+
#: ../../c-api/memory.rst:368 ../../c-api/memory.rst:513
506506
msgid "Field"
507507
msgstr ""
508508

509-
#: ../../c-api/memory.rst:368 ../../c-api/memory.rst:506
509+
#: ../../c-api/memory.rst:368 ../../c-api/memory.rst:513
510510
msgid "Meaning"
511511
msgstr "意义"
512512

513-
#: ../../c-api/memory.rst:370 ../../c-api/memory.rst:508
513+
#: ../../c-api/memory.rst:370 ../../c-api/memory.rst:515
514514
msgid "``void *ctx``"
515515
msgstr ""
516516

517-
#: ../../c-api/memory.rst:370 ../../c-api/memory.rst:508
517+
#: ../../c-api/memory.rst:370 ../../c-api/memory.rst:515
518518
msgid "user context passed as first argument"
519519
msgstr ""
520520

@@ -647,52 +647,53 @@ msgstr ""
647647

648648
#: ../../c-api/memory.rst:443
649649
msgid ""
650-
"Newly allocated memory is filled with the byte ``0xCB``, freed memory is "
651-
"filled with the byte ``0xDB``."
650+
"Newly allocated memory is filled with the byte ``0xCD`` (``CLEANBYTE``), "
651+
"freed memory is filled with the byte ``0xDD`` (``DEADBYTE``). Memory blocks "
652+
"are surrounded by \"forbidden bytes\" (``FORBIDDENBYTE``: byte ``0xFD``)."
652653
msgstr ""
653654

654-
#: ../../c-api/memory.rst:446
655+
#: ../../c-api/memory.rst:447
655656
msgid "Runtime checks:"
656657
msgstr ""
657658

658-
#: ../../c-api/memory.rst:448
659+
#: ../../c-api/memory.rst:449
659660
msgid ""
660661
"Detect API violations, ex: :c:func:`PyObject_Free` called on a buffer "
661662
"allocated by :c:func:`PyMem_Malloc`"
662663
msgstr ""
663664

664-
#: ../../c-api/memory.rst:450
665+
#: ../../c-api/memory.rst:451
665666
msgid "Detect write before the start of the buffer (buffer underflow)"
666667
msgstr ""
667668

668-
#: ../../c-api/memory.rst:451
669+
#: ../../c-api/memory.rst:452
669670
msgid "Detect write after the end of the buffer (buffer overflow)"
670671
msgstr ""
671672

672-
#: ../../c-api/memory.rst:452
673+
#: ../../c-api/memory.rst:453
673674
msgid ""
674675
"Check that the :term:`GIL <global interpreter lock>` is held when allocator "
675676
"functions of :c:data:`PYMEM_DOMAIN_OBJ` (ex: :c:func:`PyObject_Malloc`) and "
676677
":c:data:`PYMEM_DOMAIN_MEM` (ex: :c:func:`PyMem_Malloc`) domains are called"
677678
msgstr ""
678679

679-
#: ../../c-api/memory.rst:457
680+
#: ../../c-api/memory.rst:458
680681
msgid ""
681682
"On error, the debug hooks use the :mod:`tracemalloc` module to get the "
682683
"traceback where a memory block was allocated. The traceback is only "
683684
"displayed if :mod:`tracemalloc` is tracing Python memory allocations and the"
684685
" memory block was traced."
685686
msgstr ""
686687

687-
#: ../../c-api/memory.rst:462
688+
#: ../../c-api/memory.rst:463
688689
msgid ""
689690
"These hooks are :ref:`installed by default <default-memory-allocators>` if "
690691
"Python is compiled in debug mode. The :envvar:`PYTHONMALLOC` environment "
691692
"variable can be used to install debug hooks on a Python compiled in release "
692693
"mode."
693694
msgstr ""
694695

695-
#: ../../c-api/memory.rst:467
696+
#: ../../c-api/memory.rst:468
696697
msgid ""
697698
"This function now also works on Python compiled in release mode. On error, "
698699
"the debug hooks now use :mod:`tracemalloc` to get the traceback where a "
@@ -701,11 +702,18 @@ msgid ""
701702
":c:data:`PYMEM_DOMAIN_MEM` domains are called."
702703
msgstr ""
703704

704-
#: ../../c-api/memory.rst:478
705+
#: ../../c-api/memory.rst:475
706+
msgid ""
707+
"Byte patterns ``0xCB`` (``CLEANBYTE``), ``0xDB`` (``DEADBYTE``) and ``0xFB``"
708+
" (``FORBIDDENBYTE``) have been replaced with ``0xCD``, ``0xDD`` and ``0xFD``"
709+
" to use the same values than Windows CRT debug ``malloc()`` and ``free()``."
710+
msgstr ""
711+
712+
#: ../../c-api/memory.rst:485
705713
msgid "The pymalloc allocator"
706714
msgstr ""
707715

708-
#: ../../c-api/memory.rst:480
716+
#: ../../c-api/memory.rst:487
709717
msgid ""
710718
"Python has a *pymalloc* allocator optimized for small objects (smaller or "
711719
"equal to 512 bytes) with a short lifetime. It uses memory mappings called "
@@ -714,83 +722,83 @@ msgid ""
714722
"larger than 512 bytes."
715723
msgstr ""
716724

717-
#: ../../c-api/memory.rst:485
725+
#: ../../c-api/memory.rst:492
718726
msgid ""
719727
"*pymalloc* is the :ref:`default allocator <default-memory-allocators>` of "
720728
"the :c:data:`PYMEM_DOMAIN_MEM` (ex: :c:func:`PyMem_Malloc`) and "
721729
":c:data:`PYMEM_DOMAIN_OBJ` (ex: :c:func:`PyObject_Malloc`) domains."
722730
msgstr ""
723731

724-
#: ../../c-api/memory.rst:489
732+
#: ../../c-api/memory.rst:496
725733
msgid "The arena allocator uses the following functions:"
726734
msgstr ""
727735

728-
#: ../../c-api/memory.rst:491
736+
#: ../../c-api/memory.rst:498
729737
msgid ":c:func:`VirtualAlloc` and :c:func:`VirtualFree` on Windows,"
730738
msgstr ""
731739

732-
#: ../../c-api/memory.rst:492
740+
#: ../../c-api/memory.rst:499
733741
msgid ":c:func:`mmap` and :c:func:`munmap` if available,"
734742
msgstr ""
735743

736-
#: ../../c-api/memory.rst:493
744+
#: ../../c-api/memory.rst:500
737745
msgid ":c:func:`malloc` and :c:func:`free` otherwise."
738746
msgstr ""
739747

740-
#: ../../c-api/memory.rst:496
748+
#: ../../c-api/memory.rst:503
741749
msgid "Customize pymalloc Arena Allocator"
742750
msgstr ""
743751

744-
#: ../../c-api/memory.rst:502
752+
#: ../../c-api/memory.rst:509
745753
msgid ""
746754
"Structure used to describe an arena allocator. The structure has three "
747755
"fields:"
748756
msgstr ""
749757

750-
#: ../../c-api/memory.rst:510
758+
#: ../../c-api/memory.rst:517
751759
msgid "``void* alloc(void *ctx, size_t size)``"
752760
msgstr ""
753761

754-
#: ../../c-api/memory.rst:510
762+
#: ../../c-api/memory.rst:517
755763
msgid "allocate an arena of size bytes"
756764
msgstr ""
757765

758-
#: ../../c-api/memory.rst:512
766+
#: ../../c-api/memory.rst:519
759767
msgid "``void free(void *ctx, size_t size, void *ptr)``"
760768
msgstr ""
761769

762-
#: ../../c-api/memory.rst:512
770+
#: ../../c-api/memory.rst:519
763771
msgid "free an arena"
764772
msgstr ""
765773

766-
#: ../../c-api/memory.rst:517
774+
#: ../../c-api/memory.rst:524
767775
msgid "Get the arena allocator."
768776
msgstr ""
769777

770-
#: ../../c-api/memory.rst:521
778+
#: ../../c-api/memory.rst:528
771779
msgid "Set the arena allocator."
772780
msgstr ""
773781

774-
#: ../../c-api/memory.rst:525
782+
#: ../../c-api/memory.rst:532
775783
msgid "tracemalloc C API"
776784
msgstr ""
777785

778-
#: ../../c-api/memory.rst:549
786+
#: ../../c-api/memory.rst:556
779787
msgid "Examples"
780788
msgstr "示例"
781789

782-
#: ../../c-api/memory.rst:551
790+
#: ../../c-api/memory.rst:558
783791
msgid ""
784792
"Here is the example from section :ref:`memoryoverview`, rewritten so that "
785793
"the I/O buffer is allocated from the Python heap by using the first function"
786794
" set::"
787795
msgstr ""
788796

789-
#: ../../c-api/memory.rst:564
797+
#: ../../c-api/memory.rst:571
790798
msgid "The same code using the type-oriented function set::"
791799
msgstr ""
792800

793-
#: ../../c-api/memory.rst:576
801+
#: ../../c-api/memory.rst:583
794802
msgid ""
795803
"Note that in the two examples above, the buffer is always manipulated via "
796804
"functions belonging to the same set. Indeed, it is required to use the same "
@@ -800,15 +808,15 @@ msgid ""
800808
" different allocators operating on different heaps. ::"
801809
msgstr ""
802810

803-
#: ../../c-api/memory.rst:591
811+
#: ../../c-api/memory.rst:598
804812
msgid ""
805813
"In addition to the functions aimed at handling raw memory blocks from the "
806814
"Python heap, objects in Python are allocated and released with "
807815
":c:func:`PyObject_New`, :c:func:`PyObject_NewVar` and "
808816
":c:func:`PyObject_Del`."
809817
msgstr ""
810818

811-
#: ../../c-api/memory.rst:595
819+
#: ../../c-api/memory.rst:602
812820
msgid ""
813821
"These will be explained in the next chapter on defining and implementing new"
814822
" object types in C."

library/asyncio-exceptions.po

Lines changed: 24 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
11
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2018, Python Software Foundation
2+
# Copyright (C) 2001-2019, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
6+
# Translators:
7+
# ww song <[email protected]>, 2018
8+
# ppcfish <[email protected]>, 2019
9+
#
610
#, fuzzy
711
msgid ""
812
msgstr ""
913
"Project-Id-Version: Python 3.7\n"
1014
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2018-09-18 09:12+0900\n"
12-
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13-
"Last-Translator: ww song <sww4718168@gmail.com>, 2018\n"
15+
"POT-Creation-Date: 2019-01-01 10:14+0900\n"
16+
"PO-Revision-Date: 2018-09-18 00:23+0000\n"
17+
"Last-Translator: ppcfish <ppcfish@gmail.com>, 2019\n"
1418
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1519
"MIME-Version: 1.0\n"
1620
"Content-Type: text/plain; charset=UTF-8\n"
@@ -24,16 +28,16 @@ msgstr "异常"
2428

2529
#: ../../library/asyncio-exceptions.rst:13
2630
msgid "The operation has exceeded the given deadline."
27-
msgstr ""
31+
msgstr "该操作已超过规定的截止日期。"
2832

2933
#: ../../library/asyncio-exceptions.rst:16
3034
msgid ""
3135
"This exception is different from the builtin :exc:`TimeoutError` exception."
32-
msgstr ""
36+
msgstr "这个异常与内置 :exc:`TimeoutError` 异常不同。"
3337

3438
#: ../../library/asyncio-exceptions.rst:22
3539
msgid "The operation has been cancelled."
36-
msgstr ""
40+
msgstr "该操作已被取消。"
3741

3842
#: ../../library/asyncio-exceptions.rst:24
3943
msgid ""
@@ -49,55 +53,55 @@ msgstr ""
4953

5054
#: ../../library/asyncio-exceptions.rst:40
5155
msgid "Instead, the following pattern should be used::"
52-
msgstr ""
56+
msgstr "相反,应使用以下模式::"
5357

5458
#: ../../library/asyncio-exceptions.rst:52
5559
msgid "Invalid internal state of :class:`Task` or :class:`Future`."
56-
msgstr ""
60+
msgstr ":class:`Task` 或 :class:`Future` 的内部状态无效。"
5761

5862
#: ../../library/asyncio-exceptions.rst:54
5963
msgid ""
6064
"Can be raised in situations like setting a result value for a *Future* "
6165
"object that already has a result value set."
62-
msgstr ""
66+
msgstr "在为已设置结果值的未来对象设置结果值等情况下,可以引发此问题。"
6367

6468
#: ../../library/asyncio-exceptions.rst:60
6569
msgid ""
6670
"The \"sendfile\" syscall is not available for the given socket or file type."
67-
msgstr ""
71+
msgstr "\"sendfile\" 系统调用不适用于给定的套接字或文件类型。"
6872

6973
#: ../../library/asyncio-exceptions.rst:63
7074
msgid "A subclass of :exc:`RuntimeError`."
71-
msgstr ""
75+
msgstr "子类 :exc:`RuntimeError` 。"
7276

7377
#: ../../library/asyncio-exceptions.rst:68
7478
msgid "The requested read operation did not complete fully."
75-
msgstr ""
79+
msgstr "请求的读取操作未完全完成。"
7680

7781
#: ../../library/asyncio-exceptions.rst:70
7882
msgid "Raised by the :ref:`asyncio stream APIs<asyncio-streams>`."
79-
msgstr ""
83+
msgstr "由 :ref:`asyncio stream APIs<asyncio-streams>` 提出"
8084

8185
#: ../../library/asyncio-exceptions.rst:72
8286
msgid "This exception is a subclass of :exc:`EOFError`."
83-
msgstr ""
87+
msgstr "此异常是 :exc:`EOFError` 的子类。"
8488

8589
#: ../../library/asyncio-exceptions.rst:76
8690
msgid "The total number (:class:`int`) of expected bytes."
87-
msgstr ""
91+
msgstr "预期字节的总数( :class:`int` )。"
8892

8993
#: ../../library/asyncio-exceptions.rst:80
9094
msgid "A string of :class:`bytes` read before the end of stream was reached."
91-
msgstr ""
95+
msgstr "到达流结束之前读取的 :class:`bytes` 字符串。"
9296

9397
#: ../../library/asyncio-exceptions.rst:85
9498
msgid "Reached the buffer size limit while looking for a separator."
95-
msgstr ""
99+
msgstr "在查找分隔符时达到缓冲区大小限制。"
96100

97101
#: ../../library/asyncio-exceptions.rst:87
98102
msgid "Raised by the :ref:`asyncio stream APIs <asyncio-streams>`."
99-
msgstr ""
103+
msgstr "由 :ref:`asyncio stream APIs <asyncio-streams>` 提出"
100104

101105
#: ../../library/asyncio-exceptions.rst:91
102106
msgid "The total number of to be consumed bytes."
103-
msgstr ""
107+
msgstr "要消耗的字节总数。"

0 commit comments

Comments
 (0)