diff --git a/library/optparse.po b/library/optparse.po index 74c3a9d2..e19468de 100644 --- a/library/optparse.po +++ b/library/optparse.po @@ -36,17 +36,14 @@ msgstr "انتخاب یک کتابخانه تجزیه آرگومان" msgid "The standard library includes three argument parsing libraries:" msgstr "کتابخانه استاندارد شامل ۳ کتابخانه تجزیه آرگومان است:" -#, fuzzy msgid ":mod:`getopt`: a module that closely mirrors the procedural C ``getopt`` API." -msgstr ":mod:`getopt`: ماژولی که API رویه‌ای ``getopt`` در زبان C را به‌دقت بازتاب می‌دهد. از پیش از نخستین انتشار Python 1.0 در کتابخانه استاندارد گنجانده شده است." +msgstr ":mod:`getopt`: ماژولی که API رویه‌ای ``getopt`` در زبان C را به‌دقت بازتاب می‌دهد." -#, fuzzy msgid ":mod:`!optparse`: a declarative replacement for ``getopt`` that provides equivalent functionality without requiring each application to implement its own procedural option parsing logic." -msgstr ":mod:`!optparse`: جایگزینی اعلانی برای ``getopt`` که قابلیت معادلی را بدون نیاز به اینکه هر برنامه منطق تجزیه گزینه‌های خود را به‌صورت رویه‌ای پیاده‌سازی کند، فراهم می‌کند. از نسخه Python 2.3 در کتابخانه استاندارد گنجانده شده است." +msgstr ":mod:`!optparse`: جایگزینی اعلانی برای ``getopt`` که قابلیت معادلی را بدون نیاز به اینکه هر برنامه منطق تجزیه گزینه‌های خود را به‌صورت رویه‌ای پیاده‌سازی کند، فراهم می‌کند." -#, fuzzy msgid ":mod:`argparse`: a more opinionated alternative to ``optparse`` that provides more functionality by default, at the expense of reduced application flexibility in controlling exactly how arguments are processed." -msgstr ":mod:`argparse`: جایگزینی سخت‌گیرانه‌تر برای ``optparse`` که به‌طور پیش‌فرض قابلیت‌های بیشتری فراهم می‌کند، اما به بهای کاهش انعطاف‌پذیری برنامه در کنترل دقیق چگونگی پردازش آرگومان‌ها. از زمان انتشار Python 2.7 و Python 3.2 در کتابخانه استاندارد گنجانده شده است." +msgstr ":mod:`argparse`: جایگزینی سخت‌گیرانه‌تر برای ``optparse`` که به‌طور پیش‌فرض قابلیت‌های بیشتری فراهم می‌کند، اما به بهای کاهش انعطاف‌پذیری برنامه در کنترل دقیق چگونگی پردازش آرگومان‌ها." msgid "In the absence of more specific argument parsing design constraints, :mod:`argparse` is the recommended choice for implementing command line applications, as it offers the highest level of baseline functionality with the least application level code." msgstr "در نبود محدودیت‌های طراحی خاص‌تر برای تجزیه آرگومان، :mod:`argparse` گزینه توصیه‌شده برای پیاده‌سازی برنامه‌های خط فرمان است، زیرا بالاترین سطح از قابلیت‌های پایه را با کمترین کد در سطح برنامه ارائه می‌دهد." diff --git a/library/uuid.po b/library/uuid.po index 23a2b4ad..ae2860d3 100644 --- a/library/uuid.po +++ b/library/uuid.po @@ -48,9 +48,8 @@ msgstr "UUID به‌صورت ایمن برای چندپردازشی تولید msgid "The platform does not provide information on whether the UUID was generated safely or not." msgstr "پلتفرم اطلاعاتی درباره‌ی اینکه UUID به‌صورت ایمن تولید شده است یا خیر ارائه نمی‌دهد." -#, fuzzy msgid "Create a UUID from either a string of 32 hexadecimal digits, a 16-byte :class:`bytes` object in big-endian order as the *bytes* argument, a 16-byte :class:`bytes` object in little-endian order as the *bytes_le* argument, a tuple of six integers (32-bit *time_low*, 16-bit *time_mid*, 16-bit *time_hi_version*, 8-bit *clock_seq_hi_variant*, 8-bit *clock_seq_low*, 48-bit *node*) as the *fields* argument, or a single 128-bit integer as the *int* argument. When a string of hex digits is given, curly braces, hyphens, and a URN prefix are all optional. For example, these expressions all yield the same UUID::" -msgstr "یک UUID را از یکی از این موارد ایجاد کنید: رشته‌ای از ۳۲ رقم مبنای شانزده، رشته‌ای از ۱۶ بایت به ترتیب big-endian به‌عنوان آرگومان *bytes*، رشته‌ای از ۱۶ بایت به ترتیب little-endian به‌عنوان آرگومان *bytes_le*، یک تاپل از شش عدد صحیح (*time_low* ۳۲ بیتی، *time_mid* ۱۶ بیتی، *time_hi_version* ۱۶ بیتی، *clock_seq_hi_variant* ۸ بیتی، *clock_seq_low* ۸ بیتی، *node* ۴۸ بیتی) به‌عنوان آرگومان *fields*، یا یک عدد صحیح ۱۲۸ بیتی به‌عنوان آرگومان *int*. هنگامی که رشته‌ای از رقم‌های مبنای شانزده داده شود، آکولادها، خط‌تیره‌ها و پیشوند URN همگی اختیاری هستند. برای مثال، این عبارت‌ها همگی یک UUID یکسان را برمی‌گردانند::" +msgstr "یک UUID را از یکی از این موارد ایجاد کنید: رشته‌ای از ۳۲ رقم مبنای شانزده، شیء :class:`bytes` ۱۶ بایتی به ترتیب big-endian به‌عنوان آرگومان *bytes*، شیء :class:`bytes` ۱۶ بایتی به ترتیب little-endian به‌عنوان آرگومان *bytes_le*، یک تاپل از شش عدد صحیح (*time_low* ۳۲ بیتی، *time_mid* ۱۶ بیتی، *time_hi_version* ۱۶ بیتی، *clock_seq_hi_variant* ۸ بیتی، *clock_seq_low* ۸ بیتی، *node* ۴۸ بیتی) به‌عنوان آرگومان *fields*، یا یک عدد صحیح ۱۲۸ بیتی به‌عنوان آرگومان *int*. هنگامی که رشته‌ای از رقم‌های مبنای شانزده داده شود، آکولادها، خط‌تیره‌ها و پیشوند URN همگی اختیاری هستند. برای مثال، این عبارت‌ها همگی یک UUID یکسان را برمی‌گردانند::" msgid "" "UUID('{12345678-1234-5678-1234-567812345678}')\n" @@ -83,13 +82,11 @@ msgstr "``str(uuid)`` رشته‌ای به شکل ``12345678-1234-5678-1234-5678 msgid ":class:`UUID` instances have these read-only attributes:" msgstr "نمونه‌های :class:`UUID` این ویژگی‌های فقط‌خواندنی را دارند:" -#, fuzzy msgid "The UUID as a 16-byte :class:`bytes` object (containing the six integer fields in big-endian byte order)." -msgstr "UUID به‌عنوان یک رشته‌ی ۱۶ بایتی (شامل شش فیلد عدد صحیح با ترتیب بایت big-endian)." +msgstr "UUID به‌عنوان یک شیء :class:`bytes` ۱۶ بایتی (شامل شش فیلد عدد صحیح با ترتیب بایت big-endian)." -#, fuzzy msgid "The UUID as a 16-byte :class:`bytes` object (with *time_low*, *time_mid*, and *time_hi_version* in little-endian byte order)." -msgstr "UUID به‌صورت یک رشته‌ی ۱۶ بایتی (با *time_low*، *time_mid* و *time_hi_version* در ترتیب بایت‌های little-endian)." +msgstr "UUID به‌صورت یک شیء :class:`bytes` ۱۶ بایتی (با *time_low*، *time_mid* و *time_hi_version* در ترتیب بایت‌های little-endian)." msgid "A tuple of the six integer fields of the UUID, which are also available as six individual attributes and two derived attributes:" msgstr "تاپلی از ۶ فیلد عدد صحیحی UUID، که به‌صورت ۶ ویژگی جداگانه و ۲ ویژگی مشتق‌شده نیز در دسترس هستند:" @@ -268,7 +265,6 @@ msgstr "مثال" msgid "Here are some examples of typical usage of the :mod:`!uuid` module::" msgstr "در ادامه چند نمونه از کاربردهای معمول ماژول :mod:`!uuid` آمده است::" -#, fuzzy msgid "" ">>> import uuid\n" "\n" @@ -358,7 +354,7 @@ msgstr "" ">>> x.bytes\n" "b'\\x00\\x01\\x02\\x03\\x04\\x05\\x06\\x07\\x08\\t\\n\\x0b\\x0c\\r\\x0e\\x0f'\n" "\n" -">>> # make a UUID from a 16-byte string\n" +">>> # make a UUID from a 16-byte bytes object\n" ">>> uuid.UUID(bytes=x.bytes)\n" "UUID('00010203-0405-0607-0809-0a0b0c0d0e0f')\n" "\n"