@@ -11,7 +11,7 @@ msgid ""
1111msgstr ""
1212"Project-Id-Version : Python 3.13\n "
1313"Report-Msgid-Bugs-To : \n "
14- "POT-Creation-Date : 2024-11-22 14:17 +0000\n "
14+ "POT-Creation-Date : 2024-12-13 14:18 +0000\n "
1515"PO-Revision-Date : 2024-05-11 01:08+0000\n "
1616"
Last-Translator :
Maciej Olko <[email protected] >, 2024\n "
1717"Language-Team : Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n "
@@ -410,17 +410,22 @@ msgid ""
410410"mode. You should ensure that:"
411411msgstr ""
412412
413- msgid ":c:member:` UTF-8 mode < PyPreConfig.utf8_mode>` is *enabled*;"
413+ msgid "UTF-8 mode (:c:member:` PyPreConfig.utf8_mode`) is *enabled*;"
414414msgstr ""
415415
416- msgid ":c:member:`Buffered stdio < PyConfig.buffered_stdio>` is *disabled*;"
416+ msgid "Buffered stdio ( :c:member:`PyConfig.buffered_stdio`) is *disabled*;"
417417msgstr ""
418418
419- msgid ":c:member:`Writing bytecode < PyConfig.write_bytecode>` is *disabled*;"
419+ msgid "Writing bytecode ( :c:member:`PyConfig.write_bytecode`) is *disabled*;"
420420msgstr ""
421421
422422msgid ""
423- ":c:member:`Signal handlers <PyConfig.install_signal_handlers>` are *enabled*;"
423+ "Signal handlers (:c:member:`PyConfig.install_signal_handlers`) are *enabled*;"
424+ msgstr ""
425+
426+ msgid ""
427+ "System logging (:c:member:`PyConfig.use_system_logger`) is *enabled* "
428+ "(optional, but strongly recommended);"
424429msgstr ""
425430
426431msgid ""
@@ -471,6 +476,61 @@ msgid ""
471476"folder is included as part of the ``PYTHONPATH`` configuration in step 10."
472477msgstr ""
473478
479+ msgid "Testing a Python package"
480+ msgstr ""
481+
482+ msgid ""
483+ "The CPython source tree contains :source:`a testbed project <iOS/testbed>` "
484+ "that is used to run the CPython test suite on the iOS simulator. This "
485+ "testbed can also be used as a testbed project for running your Python "
486+ "library's test suite on iOS."
487+ msgstr ""
488+
489+ msgid ""
490+ "After building or obtaining an iOS XCFramework (See :source:`iOS/README.rst` "
491+ "for details), create a clone of the Python iOS testbed project by running:"
492+ msgstr ""
493+
494+ msgid ""
495+ "$ python iOS/testbed clone --framework <path/to/Python.xcframework> --app "
496+ "<path/to/module1> --app <path/to/module2> app-testbed"
497+ msgstr ""
498+
499+ msgid ""
500+ "You will need to modify the ``iOS/testbed`` reference to point to that "
501+ "directory in the CPython source tree; any folders specified with the ``--"
502+ "app`` flag will be copied into the cloned testbed project. The resulting "
503+ "testbed will be created in the ``app-testbed`` folder. In this example, the "
504+ "``module1`` and ``module2`` would be importable modules at runtime. If your "
505+ "project has additional dependencies, they can be installed into the ``app-"
506+ "testbed/iOSTestbed/app_packages`` folder (using ``pip install --target app-"
507+ "testbed/iOSTestbed/app_packages`` or similar)."
508+ msgstr ""
509+
510+ msgid ""
511+ "You can then use the ``app-testbed`` folder to run the test suite for your "
512+ "app, For example, if ``module1.tests`` was the entry point to your test "
513+ "suite, you could run:"
514+ msgstr ""
515+
516+ msgid "$ python app-testbed run -- module1.tests"
517+ msgstr ""
518+
519+ msgid ""
520+ "This is the equivalent of running ``python -m module1.tests`` on a desktop "
521+ "Python build. Any arguments after the ``--`` will be passed to the testbed "
522+ "as if they were arguments to ``python -m`` on a desktop machine."
523+ msgstr ""
524+
525+ msgid "You can also open the testbed project in Xcode by running:"
526+ msgstr ""
527+
528+ msgid "$ open app-testbed/iOSTestbed.xcodeproj"
529+ msgstr ""
530+
531+ msgid "This will allow you to use the full Xcode suite of tools for debugging."
532+ msgstr ""
533+
474534msgid "App Store Compliance"
475535msgstr ""
476536
0 commit comments