From b67ac2fbf5ca85ff74c02f83e1fd1d6ea6d64c92 Mon Sep 17 00:00:00 2001 From: skpanagiotis Date: Thu, 20 Feb 2025 19:13:19 +0200 Subject: [PATCH 1/4] Translate significant files --- about.po | 16 ++-- faq/programming.po | 5 ++ reference/introduction.po | 1 - sphinx.po | 61 +++++++++---- tutorial/modules.po | 179 ++++++++++++++++++++++++++++++++++++-- 5 files changed, 226 insertions(+), 36 deletions(-) diff --git a/about.po b/about.po index 9353a65f..0d786b53 100644 --- a/about.po +++ b/about.po @@ -18,18 +18,16 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" #: about.rst:3 -#, fuzzy msgid "About this documentation" -msgstr "Σχετικά με τα έγγραφα" +msgstr "Σχετικά με την τεκμηρίωση" #: about.rst:6 -#, fuzzy msgid "" "Python's documentation is generated from `reStructuredText`_ sources using " "`Sphinx`_, a documentation generator originally created for Python and now " "maintained as an independent project." msgstr "" -"Αυτά τα έγραφα έχουν δημιουργηθεί από τα `reStructuredText`_ sources του " +"Η τεκμηρίωση της Python έχει δημιουργηθεί από τα `reStructuredText`_ sources του " "`Sphinx`_, έναν επεξεργαστή εγγράφων που έχει δημιουργηθεί ειδικά για τα " "έγγραφα της Python." @@ -50,13 +48,12 @@ msgid "Many thanks go to:" msgstr "Πολλές ευχαριστίες πηγαίνουν στους:" #: about.rst:23 -#, fuzzy msgid "" "Fred L. Drake, Jr., the creator of the original Python documentation toolset " "and author of much of the content;" msgstr "" -"Fred L. Drake, Jr., τον δημιουργό των αρχικών εργαλείων των εγγράφων της " -"Python και συντάκτη αρκετού περιεχομένου'" +"Fred L. Drake, Jr., τον δημιουργό των αρχικών εργαλείων της τεκμηρίωσης της " +"Python και συντάκτη αρκετού περιεχομένου·" #: about.rst:25 msgid "" @@ -64,7 +61,7 @@ msgid "" "reStructuredText and the Docutils suite;" msgstr "" "το `Docutils `_ πρότζεκτ για την " -"δημιουργία των εφαρμογών reStructuredText και Docutils'" +"δημιουργία των εφαρμογών reStructuredText και Docutils·" #: about.rst:27 msgid "" @@ -75,9 +72,8 @@ msgstr "" "οποίο το Sphinx πήρε πολύ καλές ιδέες." #: about.rst:32 -#, fuzzy msgid "Contributors to the Python documentation" -msgstr "Συντελεστές στα έγγραφα της Python" +msgstr "Συντελεστές στη τεκμηρίωση της Python" #: about.rst:34 msgid "" diff --git a/faq/programming.po b/faq/programming.po index 391ab0a6..bf454842 100644 --- a/faq/programming.po +++ b/faq/programming.po @@ -870,6 +870,11 @@ msgid "" " ...\n" " g(x, *args, **kwargs)" msgstr "" +"def f(x, *args, **kwargs):\n" +" ...\n" +" kwargs['width'] = '14.3c'\n" +" ...\n" +" g(x, *args, **kwargs)" #: faq/programming.rst:415 msgid "What is the difference between arguments and parameters?" diff --git a/reference/introduction.po b/reference/introduction.po index 190d3382..33db319a 100644 --- a/reference/introduction.po +++ b/reference/introduction.po @@ -179,7 +179,6 @@ msgid "PyPy" msgstr "PyPy" #: reference/introduction.rst:72 -#, fuzzy msgid "" "An implementation of Python written completely in Python. It supports " "several advanced features not found in other implementations like stackless " diff --git a/sphinx.po b/sphinx.po index 6475dd0a..db1bb7d5 100644 --- a/sphinx.po +++ b/sphinx.po @@ -40,107 +40,127 @@ msgstr "Κατεβάστε την τεκμηρίωση της Python %(dl_versio #: tools/templates/download.html:18 msgid "Last updated on: %(last_updated)s." -msgstr "" +msgstr "Τελευταία ενημέρωση στις: %(last_updated)s." #: tools/templates/download.html:20 msgid "" "To download an archive containing all the documents for this version of\n" "Python in one of various formats, follow one of links in this table." msgstr "" +"Για λήψη ενός αρχείου που περιέχει όλα τα έγγραφα για αυτήν την έκδοση της\n" +"Python σε μία από τις διάφορες μορφές, ακολουθήστε έναν από τους συνδέσμου σε αυτόν τον πίνακα.σ" #: tools/templates/download.html:25 msgid "Format" -msgstr "" +msgstr "Διάταξη" #: tools/templates/download.html:26 msgid "Packed as .zip" -msgstr "" +msgstr "Συσκευασμένο ως .zip" #: tools/templates/download.html:27 msgid "Packed as .tar.bz2" -msgstr "" +msgstr "Συσκευασμένο ως .tar.bz2" #: tools/templates/download.html:30 msgid "PDF" -msgstr "" +msgstr "PDF" #: tools/templates/download.html:31 msgid "" "Download " "(ca. %(download_size)s MiB)" msgstr "" +"Download " +"(ca. %(download_size)s MiB)" #: tools/templates/download.html:32 msgid "" "Download (ca. %(download_size)s MiB)" msgstr "" +"Download (ca. %(download_size)s MiB)" #: tools/templates/download.html:35 msgid "HTML" -msgstr "" +msgstr "HTML" #: tools/templates/download.html:36 msgid "" "Download " "(ca. %(download_size)s MiB)" msgstr "" +"Download " +"(ca. %(download_size)s MiB)" #: tools/templates/download.html:37 msgid "" "Download " "(ca. %(download_size)s MiB)" msgstr "" +"Download " +"(ca. %(download_size)s MiB)" #: tools/templates/download.html:40 msgid "Plain text" -msgstr "" +msgstr "Απλό κείμενο" #: tools/templates/download.html:41 msgid "" "Download " "(ca. %(download_size)s MiB)" msgstr "" +"Download " +"(ca. %(download_size)s MiB)" #: tools/templates/download.html:42 msgid "" "Download " "(ca. %(download_size)s MiB)" msgstr "" +"Download " +"(ca. %(download_size)s MiB)" #: tools/templates/download.html:45 msgid "Texinfo" -msgstr "" +msgstr "Texinfo" #: tools/templates/download.html:46 msgid "" "Download " "(ca. %(download_size)s MiB)" msgstr "" +"Download " +"(ca. %(download_size)s MiB)" #: tools/templates/download.html:47 msgid "" "Download (ca. %(download_size)s MiB)" msgstr "" +"Download (ca. %(download_size)s MiB)" #: tools/templates/download.html:50 msgid "EPUB" -msgstr "" +msgstr "EPUB" #: tools/templates/download.html:51 msgid "" "Download (ca. " "%(download_size)s MiB)" msgstr "" +"Download (ca. " +"%(download_size)s MiB)" #: tools/templates/download.html:56 msgid "These archives contain all the content in the documentation." -msgstr "" +msgstr "Αυτά τα αρχεία περιέχουν όλο το περιεχόμενο της τεκμηρίωσης." #: tools/templates/download.html:59 msgid "Unpacking" -msgstr "" +msgstr "Αποσυμπίεση" #: tools/templates/download.html:61 msgid "" @@ -152,16 +172,23 @@ msgid "" "the\n" "best compression and fastest download times." msgstr "" +"Οι χρήστες Unix θα πρέπει να κατεβάσουν τα αρχεία .tar.bz2· αυτά τα αρχεία " +"tar\narchines με μορφή bzip μπορούν να τα χειριστούν με τον συνήθη τρόπο " +"χρησιμοποιώντας το tar και το πρόγραμμα bzip2\n. Το πρόγραμμα αποσυμπίεσης Info-ZIP " +"μπορεί να\n χρησιμοποιηθεί για το χειρισμό των αρχείων ZIP εάν το επιθυμείτε. Τα αρχεία " +".tar.bz2 παρέχουν την καλύτερη συμπίεση και τους ταχύτερους χρόνους λήψης." #: tools/templates/download.html:67 msgid "" "Windows users can use the ZIP archives since those are customary on that\n" "platform. These are created on Unix using the Info-ZIP zip program." msgstr "" +"Οι χρήστες των Windows μπορούν να χρησιμοποιήσουν τα αρχεία ZIP αφού αυτά είναι συνηθισμένα σε αυτήν " +"την\nπλατφόρμα. Αυτά δημιουργούνται στο Unix χρησιμοποιώντας το πρόγραμμα zip Info-ZIP." #: tools/templates/download.html:71 msgid "Problems" -msgstr "" +msgstr "Προβλήματα" #: tools/templates/download.html:73 msgid "" @@ -169,10 +196,12 @@ msgid "" "send\n" "email to docs@python.org." msgstr "" +"Εάν έχετε σχόλια ή προτάσεις για την τεκμηρίωση της Python, στείλτε\n" +"email στη διεύθυνση docs@python.org." #: tools/templates/dummy.html:6 msgid "Availability" -msgstr "" +msgstr "Διαθεσιμότητα" #: tools/templates/dummy.html:10 msgid "Part of the" @@ -267,7 +296,7 @@ msgstr "" #: tools/templates/indexcontent.html:10 msgid "Documentation sections:" -msgstr "" +msgstr "Ενότητες Τεκμηρίωσης:" #: tools/templates/indexcontent.html:13 msgid "What's new in Python %(version)s?" @@ -287,7 +316,7 @@ msgstr "Tutorial" #: tools/templates/indexcontent.html:16 msgid "Start here: a tour of Python's syntax and features" -msgstr "" +msgstr "Ξεκινήστε εδώ, μια περιήγηση στη σύνταξη και τις δυνατότητες της Python" #: tools/templates/indexcontent.html:17 msgid "Library reference" @@ -295,7 +324,7 @@ msgstr "Αναφορά βιβλιοθήκης" #: tools/templates/indexcontent.html:18 msgid "Standard library and builtins" -msgstr "" +msgstr "Τυπική Βιβλιοθήκη και builtins" #: tools/templates/indexcontent.html:19 msgid "Language reference" diff --git a/tutorial/modules.po b/tutorial/modules.po index 94d26bb9..08dae206 100644 --- a/tutorial/modules.po +++ b/tutorial/modules.po @@ -94,6 +94,22 @@ msgid "" " a, b = b, a+b\n" " return result" msgstr "" +"# Fibonacci numbers module\n" +"\n" +"def fib(n): # write Fibonacci series up to n\n" +" a, b = 0, 1\n" +" while a < n:\n" +" print(a, end=' ')\n" +" a, b = b, a+b\n" +" print()\n" +"\n" +"def fib2(n): # return Fibonacci series up to n\n" +" result = []\n" +" a, b = 0, 1\n" +" while a < n:\n" +" result.append(a)\n" +" a, b = b, a+b\n" +" return result" #: tutorial/modules.rst:45 msgid "" @@ -105,7 +121,7 @@ msgstr "" #: tutorial/modules.rst:48 msgid ">>> import fibo" -msgstr "" +msgstr ">>> import fibo" #: tutorial/modules.rst:50 msgid "" @@ -129,6 +145,12 @@ msgid "" ">>> fibo.__name__\n" "'fibo'" msgstr "" +">>> fibo.fib(1000)\n" +"0 1 1 2 3 5 8 13 21 34 55 89 144 233 377 610 987\n" +">>> fibo.fib2(100)\n" +"[0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89]\n" +">>> fibo.__name__\n" +"'fibo'" #: tutorial/modules.rst:62 msgid "" @@ -143,6 +165,9 @@ msgid "" ">>> fib(500)\n" "0 1 1 2 3 5 8 13 21 34 55 89 144 233 377" msgstr "" +">>> fib = fibo.fib\n" +">>> fib(500)\n" +"0 1 1 2 3 5 8 13 21 34 55 89 144 233 377" #: tutorial/modules.rst:72 msgid "More on Modules" @@ -208,6 +233,9 @@ msgid "" ">>> fib(500)\n" "0 1 1 2 3 5 8 13 21 34 55 89 144 233 377" msgstr "" +">>> from fibo import fib, fib2\n" +">>> fib(500)\n" +"0 1 1 2 3 5 8 13 21 34 55 89 144 233 377" #: tutorial/modules.rst:98 msgid "" @@ -229,6 +257,9 @@ msgid "" ">>> fib(500)\n" "0 1 1 2 3 5 8 13 21 34 55 89 144 233 377" msgstr "" +">>> from fibo import *\n" +">>> fib(500)\n" +"0 1 1 2 3 5 8 13 21 34 55 89 144 233 377" #: tutorial/modules.rst:107 msgid "" @@ -268,6 +299,9 @@ msgid "" ">>> fib.fib(500)\n" "0 1 1 2 3 5 8 13 21 34 55 89 144 233 377" msgstr "" +">>> import fibo as fib\n" +">>> fib.fib(500)\n" +"0 1 1 2 3 5 8 13 21 34 55 89 144 233 377" #: tutorial/modules.rst:125 msgid "" @@ -290,6 +324,9 @@ msgid "" ">>> fibonacci(500)\n" "0 1 1 2 3 5 8 13 21 34 55 89 144 233 377" msgstr "" +">>> from fibo import fib as fibonacci\n" +">>> fibonacci(500)\n" +"0 1 1 2 3 5 8 13 21 34 55 89 144 233 377" #: tutorial/modules.rst:137 msgid "" @@ -315,7 +352,7 @@ msgstr "Όταν εκτελείτε ένα Python module με::" #: tutorial/modules.rst:151 msgid "python fibo.py " -msgstr "" +msgstr "python fibo.py " #: tutorial/modules.rst:153 msgid "" @@ -333,6 +370,9 @@ msgid "" " import sys\n" " fib(int(sys.argv[1]))" msgstr "" +"if __name__ == \"__main__\":\n" +" import sys\n" +" fib(int(sys.argv[1]))" #: tutorial/modules.rst:161 msgid "" @@ -349,6 +389,8 @@ msgid "" "$ python fibo.py 50\n" "0 1 1 2 3 5 8 13 21 34" msgstr "" +"0 1 1 2 3 5 8 13 21 34" + #: tutorial/modules.rst:170 msgid "If the module is imported, the code is not run::" @@ -359,6 +401,8 @@ msgid "" ">>> import fibo\n" ">>>" msgstr "" +">>> import fibo\n" +">>>" #: tutorial/modules.rst:175 msgid "" @@ -594,6 +638,15 @@ msgid "" "Yuck!\n" "C>" msgstr "" +">>> import sys\n" +">>> sys.ps1\n" +"'>>> '\n" +">>> sys.ps2\n" +"'... '\n" +">>> sys.ps1 = 'C> '\n" +"C> print('Yuck!')\n" +"Yuck!\n" +"C>" #: tutorial/modules.rst:292 msgid "" @@ -623,6 +676,8 @@ msgid "" ">>> import sys\n" ">>> sys.path.append('/ufs/guido/lib/python')" msgstr "" +">>> import sys\n" +">>> sys.path.append('/ufs/guido/lib/python')" #: tutorial/modules.rst:307 msgid "The :func:`dir` Function" @@ -671,6 +726,38 @@ msgid "" "'version_info',\n" " 'warnoptions']" msgstr "" +">>> import fibo, sys\n" +">>> dir(fibo)\n" +"['__name__', 'fib', 'fib2']\n" +">>> dir(sys) \n" +"['__breakpointhook__', '__displayhook__', '__doc__', '__excepthook__',\n" +" '__interactivehook__', '__loader__', '__name__', '__package__', " +"'__spec__',\n" +" '__stderr__', '__stdin__', '__stdout__', '__unraisablehook__',\n" +" '_clear_type_cache', '_current_frames', '_debugmallocstats', '_framework',\n" +" '_getframe', '_git', '_home', '_xoptions', 'abiflags', 'addaudithook',\n" +" 'api_version', 'argv', 'audit', 'base_exec_prefix', 'base_prefix',\n" +" 'breakpointhook', 'builtin_module_names', 'byteorder', 'call_tracing',\n" +" 'callstats', 'copyright', 'displayhook', 'dont_write_bytecode', " +"'exc_info',\n" +" 'excepthook', 'exec_prefix', 'executable', 'exit', 'flags', 'float_info',\n" +" 'float_repr_style', 'get_asyncgen_hooks', " +"'get_coroutine_origin_tracking_depth',\n" +" 'getallocatedblocks', 'getdefaultencoding', 'getdlopenflags',\n" +" 'getfilesystemencodeerrors', 'getfilesystemencoding', 'getprofile',\n" +" 'getrecursionlimit', 'getrefcount', 'getsizeof', 'getswitchinterval',\n" +" 'gettrace', 'hash_info', 'hexversion', 'implementation', 'int_info',\n" +" 'intern', 'is_finalizing', 'last_traceback', 'last_type', 'last_value',\n" +" 'maxsize', 'maxunicode', 'meta_path', 'modules', 'path', 'path_hooks',\n" +" 'path_importer_cache', 'platform', 'prefix', 'ps1', 'ps2', " +"'pycache_prefix',\n" +" 'set_asyncgen_hooks', 'set_coroutine_origin_tracking_depth', " +"'setdlopenflags',\n" +" 'setprofile', 'setrecursionlimit', 'setswitchinterval', 'settrace', " +"'stderr',\n" +" 'stdin', 'stdout', 'thread_info', 'unraisablehook', 'version', " +"'version_info',\n" +" 'warnoptions']" #: tutorial/modules.rst:338 msgid "" @@ -687,6 +774,11 @@ msgid "" ">>> dir()\n" "['__builtins__', '__name__', 'a', 'fib', 'fibo', 'sys']" msgstr "" +">>> a = [1, 2, 3, 4, 5]\n" +">>> import fibo\n" +">>> fib = fibo.fib\n" +">>> dir()\n" +"['__builtins__', '__name__', 'a', 'fib', 'fibo', 'sys']" #: tutorial/modules.rst:346 msgid "" @@ -740,6 +832,38 @@ msgid "" " 'sorted', 'staticmethod', 'str', 'sum', 'super', 'tuple', 'type', 'vars',\n" " 'zip']" msgstr "" +">>> import builtins\n" +">>> dir(builtins) \n" +"['ArithmeticError', 'AssertionError', 'AttributeError', 'BaseException',\n" +" 'BlockingIOError', 'BrokenPipeError', 'BufferError', 'BytesWarning',\n" +" 'ChildProcessError', 'ConnectionAbortedError', 'ConnectionError',\n" +" 'ConnectionRefusedError', 'ConnectionResetError', 'DeprecationWarning',\n" +" 'EOFError', 'Ellipsis', 'EnvironmentError', 'Exception', 'False',\n" +" 'FileExistsError', 'FileNotFoundError', 'FloatingPointError',\n" +" 'FutureWarning', 'GeneratorExit', 'IOError', 'ImportError',\n" +" 'ImportWarning', 'IndentationError', 'IndexError', 'InterruptedError',\n" +" 'IsADirectoryError', 'KeyError', 'KeyboardInterrupt', 'LookupError',\n" +" 'MemoryError', 'NameError', 'None', 'NotADirectoryError', " +"'NotImplemented',\n" +" 'NotImplementedError', 'OSError', 'OverflowError',\n" +" 'PendingDeprecationWarning', 'PermissionError', 'ProcessLookupError',\n" +" 'ReferenceError', 'ResourceWarning', 'RuntimeError', 'RuntimeWarning',\n" +" 'StopIteration', 'SyntaxError', 'SyntaxWarning', 'SystemError',\n" +" 'SystemExit', 'TabError', 'TimeoutError', 'True', 'TypeError',\n" +" 'UnboundLocalError', 'UnicodeDecodeError', 'UnicodeEncodeError',\n" +" 'UnicodeError', 'UnicodeTranslateError', 'UnicodeWarning', 'UserWarning',\n" +" 'ValueError', 'Warning', 'ZeroDivisionError', '_', '__build_class__',\n" +" '__debug__', '__doc__', '__import__', '__name__', '__package__', 'abs',\n" +" 'all', 'any', 'ascii', 'bin', 'bool', 'bytearray', 'bytes', 'callable',\n" +" 'chr', 'classmethod', 'compile', 'complex', 'copyright', 'credits',\n" +" 'delattr', 'dict', 'dir', 'divmod', 'enumerate', 'eval', 'exec', 'exit',\n" +" 'filter', 'float', 'format', 'frozenset', 'getattr', 'globals', 'hasattr',\n" +" 'hash', 'help', 'hex', 'id', 'input', 'int', 'isinstance', 'issubclass',\n" +" 'iter', 'len', 'license', 'list', 'locals', 'map', 'max', 'memoryview',\n" +" 'min', 'next', 'object', 'oct', 'open', 'ord', 'pow', 'print', 'property',\n" +" 'quit', 'range', 'repr', 'reversed', 'round', 'set', 'setattr', 'slice',\n" +" 'sorted', 'staticmethod', 'str', 'sum', 'super', 'tuple', 'type', 'vars',\n" +" 'zip']" #: tutorial/modules.rst:389 msgid "Packages" @@ -817,6 +941,29 @@ msgid "" " karaoke.py\n" " ..." msgstr "" +"sound/ Top-level package\n" +" __init__.py Initialize the sound package\n" +" formats/ Subpackage for file format conversions\n" +" __init__.py\n" +" wavread.py\n" +" wavwrite.py\n" +" aiffread.py\n" +" aiffwrite.py\n" +" auread.py\n" +" auwrite.py\n" +" ...\n" +" effects/ Subpackage for sound effects\n" +" __init__.py\n" +" echo.py\n" +" surround.py\n" +" reverse.py\n" +" ...\n" +" filters/ Subpackage for filters\n" +" __init__.py\n" +" equalizer.py\n" +" vocoder.py\n" +" karaoke.py\n" +" ..." #: tutorial/modules.rst:436 msgid "" @@ -856,7 +1003,7 @@ msgstr "" #: tutorial/modules.rst:450 msgid "import sound.effects.echo" -msgstr "" +msgstr "import sound.effects.echo" #: tutorial/modules.rst:452 msgid "" @@ -868,7 +1015,7 @@ msgstr "" #: tutorial/modules.rst:455 msgid "sound.effects.echo.echofilter(input, output, delay=0.7, atten=4)" -msgstr "" +msgstr "sound.effects.echo.echofilter(input, output, delay=0.7, atten=4)" #: tutorial/modules.rst:457 msgid "An alternative way of importing the submodule is::" @@ -876,7 +1023,7 @@ msgstr "Ένα εναλλακτικός τρόπος για την εισαγω #: tutorial/modules.rst:459 msgid "from sound.effects import echo" -msgstr "" +msgstr "from sound.effects import echo" #: tutorial/modules.rst:461 msgid "" @@ -888,7 +1035,7 @@ msgstr "" #: tutorial/modules.rst:464 msgid "echo.echofilter(input, output, delay=0.7, atten=4)" -msgstr "" +msgstr "echo.echofilter(input, output, delay=0.7, atten=4)" #: tutorial/modules.rst:466 msgid "" @@ -900,7 +1047,7 @@ msgstr "" #: tutorial/modules.rst:468 msgid "from sound.effects.echo import echofilter" -msgstr "" +msgstr "from sound.effects.echo import echofilter" #: tutorial/modules.rst:470 msgid "" @@ -912,7 +1059,7 @@ msgstr "" #: tutorial/modules.rst:473 msgid "echofilter(input, output, delay=0.7, atten=4)" -msgstr "" +msgstr "echofilter(input, output, delay=0.7, atten=4)" #: tutorial/modules.rst:475 msgid "" @@ -988,7 +1135,7 @@ msgstr "" #: tutorial/modules.rst:511 msgid "__all__ = [\"echo\", \"surround\", \"reverse\"]" -msgstr "" +msgstr "__all__ = [\"echo\", \"surround\", \"reverse\"]" #: tutorial/modules.rst:513 msgid "" @@ -1025,6 +1172,14 @@ msgid "" "def reverse(msg: str): # <-- this name shadows the 'reverse.py' submodule\n" " return msg[::-1] # in the case of a 'from sound.effects import *'" msgstr "" +"__all__ = [\n" +" \"echo\", # refers to the 'echo.py' file\n" +" \"surround\", # refers to the 'surround.py' file\n" +" \"reverse\", # !!! refers to the 'reverse' function now !!!\n" +"]\n" +"\n" +"def reverse(msg: str): # <-- this name shadows the 'reverse.py' submodule\n" +" return msg[::-1] # in the case of a 'from sound.effects import *'" #: tutorial/modules.rst:532 msgid "" @@ -1054,6 +1209,9 @@ msgid "" "import sound.effects.surround\n" "from sound.effects import *" msgstr "" +"import sound.effects.echo\n" +"import sound.effects.surround\n" +"from sound.effects import *" #: tutorial/modules.rst:545 msgid "" @@ -1127,6 +1285,9 @@ msgid "" "from .. import formats\n" "from ..filters import equalizer" msgstr "" +"from . import echo\n" +"from .. import formats\n" +"from ..filters import equalizer" #: tutorial/modules.rst:580 msgid "" From d3864f1bc7d1944a68bcb12d6db5e571ad65542f Mon Sep 17 00:00:00 2001 From: skpanagiotis Date: Thu, 20 Feb 2025 19:13:39 +0200 Subject: [PATCH 2/4] Update requirements --- requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 0acdc631..7a669487 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ -r cpython/Doc/requirements.txt -poutils==0.15.4 +poutils==0.15.5 +potodo==0.23.1 pre-commit==3.7.1 From 16a744245cb70e09a3c8cf6b87e9368f6ff61d58 Mon Sep 17 00:00:00 2001 From: skpanagiotis Date: Thu, 20 Feb 2025 19:37:07 +0200 Subject: [PATCH 3/4] Fixes in translation and update dictionary --- about.po | 4 ++-- dictionaries/main.txt | 6 ++++++ library/collections.abc.po | 2 +- sphinx.po | 24 ++++++++++++++++-------- tutorial/modules.po | 4 +--- 5 files changed, 26 insertions(+), 14 deletions(-) diff --git a/about.po b/about.po index 0d786b53..73f0b7bc 100644 --- a/about.po +++ b/about.po @@ -27,8 +27,8 @@ msgid "" "`Sphinx`_, a documentation generator originally created for Python and now " "maintained as an independent project." msgstr "" -"Η τεκμηρίωση της Python έχει δημιουργηθεί από τα `reStructuredText`_ sources του " -"`Sphinx`_, έναν επεξεργαστή εγγράφων που έχει δημιουργηθεί ειδικά για τα " +"Η τεκμηρίωση της Python έχει δημιουργηθεί από τα `reStructuredText`_ sources " +"του `Sphinx`_, έναν επεξεργαστή εγγράφων που έχει δημιουργηθεί ειδικά για τα " "έγγραφα της Python." #: about.rst:16 diff --git a/dictionaries/main.txt b/dictionaries/main.txt index 0178dbc3..0bc4aee9 100644 --- a/dictionaries/main.txt +++ b/dictionaries/main.txt @@ -75,6 +75,7 @@ Foundation Fraction Fred Fredrik +Garcia Gay General Generics @@ -96,6 +97,7 @@ Inc Indent Index Inf +Info Initiatives Input Insert @@ -258,6 +260,7 @@ any api append apple +archives arg args argument @@ -319,6 +322,8 @@ bytecode bytecodes bytes bytestring +bz +bzip c cache cached @@ -1019,6 +1024,7 @@ tab tabs tag tangerine +tar target task tasks diff --git a/library/collections.abc.po b/library/collections.abc.po index fa448194..3249d26d 100644 --- a/library/collections.abc.po +++ b/library/collections.abc.po @@ -913,7 +913,7 @@ msgstr "" "s1 = ListBasedSet('abcdef')\n" "s2 = ListBasedSet('defghi')\n" "overlap = s1 & s2 # The __and__() method is supported " -"automaticallyautomatically" +"automatically" #: library/collections.abc.rst:418 msgid "Notes on using :class:`Set` and :class:`MutableSet` as a mixin:" diff --git a/sphinx.po b/sphinx.po index db1bb7d5..8e30c9c7 100644 --- a/sphinx.po +++ b/sphinx.po @@ -48,7 +48,8 @@ msgid "" "Python in one of various formats, follow one of links in this table." msgstr "" "Για λήψη ενός αρχείου που περιέχει όλα τα έγγραφα για αυτήν την έκδοση της\n" -"Python σε μία από τις διάφορες μορφές, ακολουθήστε έναν από τους συνδέσμου σε αυτόν τον πίνακα.σ" +"Python σε μία από τις διάφορες μορφές, ακολουθήστε έναν από τους συνδέσμου " +"σε αυτόν τον πίνακα.σ" #: tools/templates/download.html:25 msgid "Format" @@ -173,18 +174,24 @@ msgid "" "best compression and fastest download times." msgstr "" "Οι χρήστες Unix θα πρέπει να κατεβάσουν τα αρχεία .tar.bz2· αυτά τα αρχεία " -"tar\narchines με μορφή bzip μπορούν να τα χειριστούν με τον συνήθη τρόπο " -"χρησιμοποιώντας το tar και το πρόγραμμα bzip2\n. Το πρόγραμμα αποσυμπίεσης Info-ZIP " -"μπορεί να\n χρησιμοποιηθεί για το χειρισμό των αρχείων ZIP εάν το επιθυμείτε. Τα αρχεία " -".tar.bz2 παρέχουν την καλύτερη συμπίεση και τους ταχύτερους χρόνους λήψης." +"tar\n" +"archives με μορφή bzip μπορούν να τα χειριστούν με τον συνήθη τρόπο " +"χρησιμοποιώντας το tar και το πρόγραμμα bzip2\n" +". Το πρόγραμμα αποσυμπίεσης Info-" +"ZIP μπορεί να\n" +" χρησιμοποιηθεί για το χειρισμό των αρχείων ZIP εάν το επιθυμείτε. Τα " +"αρχεία .tar.bz2 παρέχουν την καλύτερη συμπίεση και τους ταχύτερους χρόνους " +"λήψης." #: tools/templates/download.html:67 msgid "" "Windows users can use the ZIP archives since those are customary on that\n" "platform. These are created on Unix using the Info-ZIP zip program." msgstr "" -"Οι χρήστες των Windows μπορούν να χρησιμοποιήσουν τα αρχεία ZIP αφού αυτά είναι συνηθισμένα σε αυτήν " -"την\nπλατφόρμα. Αυτά δημιουργούνται στο Unix χρησιμοποιώντας το πρόγραμμα zip Info-ZIP." +"Οι χρήστες των Windows μπορούν να χρησιμοποιήσουν τα αρχεία ZIP αφού αυτά " +"είναι συνηθισμένα σε αυτήν την\n" +"πλατφόρμα. Αυτά δημιουργούνται στο Unix χρησιμοποιώντας το πρόγραμμα zip " +"Info-ZIP." #: tools/templates/download.html:71 msgid "Problems" @@ -316,7 +323,8 @@ msgstr "Tutorial" #: tools/templates/indexcontent.html:16 msgid "Start here: a tour of Python's syntax and features" -msgstr "Ξεκινήστε εδώ, μια περιήγηση στη σύνταξη και τις δυνατότητες της Python" +msgstr "" +"Ξεκινήστε εδώ, μια περιήγηση στη σύνταξη και τις δυνατότητες της Python" #: tools/templates/indexcontent.html:17 msgid "Library reference" diff --git a/tutorial/modules.po b/tutorial/modules.po index 08dae206..870efd89 100644 --- a/tutorial/modules.po +++ b/tutorial/modules.po @@ -388,9 +388,7 @@ msgstr "" msgid "" "$ python fibo.py 50\n" "0 1 1 2 3 5 8 13 21 34" -msgstr "" -"0 1 1 2 3 5 8 13 21 34" - +msgstr "0 1 1 2 3 5 8 13 21 34" #: tutorial/modules.rst:170 msgid "If the module is imported, the code is not run::" From d7774b212dfdd0778c7ea7f5173e13e128504e19 Mon Sep 17 00:00:00 2001 From: Panagiotis Skias Date: Fri, 21 Feb 2025 10:25:35 +0200 Subject: [PATCH 4/4] Update tutorial/modules.po Co-authored-by: Theofanis Petkos --- tutorial/modules.po | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tutorial/modules.po b/tutorial/modules.po index 870efd89..4dbfda22 100644 --- a/tutorial/modules.po +++ b/tutorial/modules.po @@ -388,7 +388,9 @@ msgstr "" msgid "" "$ python fibo.py 50\n" "0 1 1 2 3 5 8 13 21 34" -msgstr "0 1 1 2 3 5 8 13 21 34" +msgstr "" +"$ python fibo.py 50\n" +"0 1 1 2 3 5 8 13 21 34" #: tutorial/modules.rst:170 msgid "If the module is imported, the code is not run::"