Skip to content

Translation of the library/ main .po file - #60

Open
invincible627 wants to merge 9 commits into
python:3.14from
invincible627:Translation_of_the_library/__main__.po_file
Open

Translation of the library/ main .po file#60
invincible627 wants to merge 9 commits into
python:3.14from
invincible627:Translation_of_the_library/__main__.po_file

Conversation

@invincible627

@invincible627 invincible627 commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

خلاصه

سلام، امیدوارم حالتون خوب باشه☺🌟
من فایل library/main.po رو ترجمه کردم

فایل‌های تغییر یافته

library/main.po

تغییرات خاص

من یه معادل فارسی برای کلمه‌ی کامیونیتی نوشتم که انجمن رو کنارش انتخاب کردم
و توی واژه‌ی method هم روش رو هم اضافه کردم

چک‌لیست

  • می‌پذیرم که از آیین‌نامهٔ رفتاری PSF پیروی کنم.
  • msgfmt --check روی فایل‌های تغییر یافته با موفقیت اجرا شده است
  • python3 scripts/check_markup.py روی فایل‌های تغییر یافته اجرا شده است
  • نشانه‌گذاری‌های Sphinx (:class:، :func:، کد درون‌خطی) و جای‌گذارها (%s، {name}) دست‌نخورده مانده‌اند
  • ترجمه‌ها با واژه‌نامه (GLOSSARY.md) هماهنگ است
  • رشته‌های fuzzy بررسی و در صورت لزوم بازنویسی شده‌اند
  • فایل CONTRIBUTING.md با دقت خوانده شده است.

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
invincible627 marked this pull request as draft August 27, 2026 12:50
@invincible627
invincible627 marked this pull request as ready for review August 27, 2026 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant