Skip to content

Commit b56823a

Browse files
committed
Translate programming examples and footnotes
1 parent d4bc9bc commit b56823a

1 file changed

Lines changed: 12 additions & 5 deletions

File tree

‎locales/pa-IN/LC_MESSAGES/tutorial/introduction.po‎

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,9 @@ msgstr ":func:`print` ਫੰਕਸ਼ਨ ਉਸਨੂੰ ਦਿੱਤੇ ਗਏ
657657
msgid ">>> i = 256*256\n"
658658
">>> print('The value of i is', i)\n"
659659
"The value of i is 65536"
660-
msgstr ""
660+
msgstr ">>> i = 256*256\n"
661+
">>> print('The value of i is', i)\n"
662+
"The value of i is 65536"
661663

662664
#: ../../tutorial/introduction.rst:554
663665
msgid "The keyword argument *end* can be used to avoid the newline after the output, or end the output with a different string::"
@@ -670,19 +672,24 @@ msgid ">>> a, b = 0, 1\n"
670672
"... a, b = b, a+b\n"
671673
"...\n"
672674
"0,1,1,2,3,5,8,13,21,34,55,89,144,233,377,610,987,"
673-
msgstr ""
675+
msgstr ">>> a, b = 0, 1\n"
676+
">>> while a < 1000:\n"
677+
"... print(a, end=',')\n"
678+
"... a, b = b, a+b\n"
679+
"...\n"
680+
"0,1,1,2,3,5,8,13,21,34,55,89,144,233,377,610,987,"
674681

675682
#: ../../tutorial/introduction.rst:566
676683
msgid "Footnotes"
677-
msgstr ""
684+
msgstr "ਫੁੱਟਨੋਟ"
678685

679686
#: ../../tutorial/introduction.rst:567
680687
msgid "Since ``**`` has higher precedence than ``-``, ``-3**2`` will be interpreted as ``-(3**2)`` and thus result in ``-9``. To avoid this and get ``9``, you can use ``(-3)**2``."
681-
msgstr ""
688+
msgstr "ਕਿਉਂਕਿ ``**`` ਦੀ precedence ``-`` ਨਾਲੋਂ ਵੱਧ ਹੈ, ਇਸ ਲਈ ``-3**2`` ਨੂੰ ``-(3**2)`` ਵਜੋਂ ਸਮਝਿਆ ਜਾਵੇਗਾ ਅਤੇ ਨਤੀਜਾ ``-9`` ਆਵੇਗਾ। ਇਸ ਤੋਂ ਬਚਣ ਅਤੇ ``9`` ਪ੍ਰਾਪਤ ਕਰਨ ਲਈ ਤੁਸੀਂ ``(-3)**2`` ਵਰਤ ਸਕਦੇ ਹੋ।"
682689

683690
#: ../../tutorial/introduction.rst:571
684691
msgid "Unlike other languages, special characters such as ``\\n`` have the same meaning with both single (``'...'``) and double (``\"...\"``) quotes. The only difference between the two is that within single quotes you don't need to escape ``\"`` (but you have to escape ``\\'``) and vice versa."
685-
msgstr ""
692+
msgstr "ਹੋਰ ਭਾਸ਼ਾਵਾਂ ਤੋਂ ਵੱਖਰਾ, ``\\n`` ਵਰਗੇ special characters ਦਾ ਅਰਥ single (``'...'``) ਅਤੇ double (``\"...\"``) quotes ਦੋਵਾਂ ਵਿੱਚ ਇੱਕੋ ਜਿਹਾ ਹੁੰਦਾ ਹੈ। ਦੋਵਾਂ ਵਿੱਚ ਕੇਵਲ ਇਹ ਫਰਕ ਹੈ ਕਿ single quotes ਦੇ ਅੰਦਰ ਤੁਹਾਨੂੰ ``\"`` ਨੂੰ escape ਕਰਨ ਦੀ ਲੋੜ ਨਹੀਂ ਹੁੰਦੀ (ਪਰ ``\\'`` ਨੂੰ ਕਰਨਾ ਪੈਂਦਾ ਹੈ), ਅਤੇ double quotes ਵਿੱਚ ਇਸਦਾ ਉਲਟ ਹੁੰਦਾ ਹੈ।"
686693

687694
#: ../../tutorial/introduction.rst:20
688695
msgid "# (hash)"

0 commit comments

Comments
 (0)