Translation of the library/ main .po file - #60
Open
invincible627 wants to merge 9 commits into
Open
Conversation
This reverts commit eecf4a9.
msgid "Note that if the module didn't encapsulate code inside the ``main`` function but instead put it directly within the ``if __name__ == '__main__'`` block, the ``phrase`` variable would be global to the entire module. This is error-prone as other functions within the module could be unintentionally using the global variable instead of a local name. A ``main`` function solves this problem."
msgid "By proactively following this convention ourselves, our module will have the same behavior when run directly (i.e. ``python echo.py``) as it will have if we later package it as a console script entry-point in a pip-installable package."
invincible627
marked this pull request as draft
August 27, 2026 12:50
invincible627
marked this pull request as ready for review
August 27, 2026 14:44
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
خلاصه
سلام، امیدوارم حالتون خوب باشه☺🌟
من فایل library/main.po رو ترجمه کردم
فایلهای تغییر یافته
library/main.po
تغییرات خاص
من یه معادل فارسی برای کلمهی کامیونیتی نوشتم که انجمن رو کنارش انتخاب کردم
و توی واژهی method هم روش رو هم اضافه کردم
چکلیست
msgfmt --checkروی فایلهای تغییر یافته با موفقیت اجرا شده استpython3 scripts/check_markup.pyروی فایلهای تغییر یافته اجرا شده است:class:،:func:، کد درونخطی) و جایگذارها (%s،{name}) دستنخورده ماندهاندfuzzyبررسی و در صورت لزوم بازنویسی شدهاند