From 75a039aefc21ebf75efd8361e856cdb60aa3e0ff Mon Sep 17 00:00:00 2001
From: javad-jafari <65780584+javad-jafari@users.noreply.github.com>
Date: Sat, 3 Aug 2024 00:28:21 +0330
Subject: [PATCH] fix(fa.po):Day1:Morning (#2259)
---
po/fa.po | 113 ++++++++++++++++++++++++++++++-------------------------
1 file changed, 62 insertions(+), 51 deletions(-)
diff --git a/po/fa.po b/po/fa.po
index a237a045d8f8..1d50b9f92b66 100644
--- a/po/fa.po
+++ b/po/fa.po
@@ -77,7 +77,7 @@ msgstr "مزیتهای زبان Rust"
#: src/SUMMARY.md src/hello-world.md src/hello-world/playground.md:1
msgid "Playground"
-msgstr ""
+msgstr "Playground"
#: src/SUMMARY.md src/running-the-course/course-structure.md:17
#: src/welcome-day-1.md src/types-and-values.md
@@ -132,11 +132,11 @@ msgstr "حلقهها"
#: src/SUMMARY.md src/control-flow-basics/loops/for.md:1
msgid "`for`"
-msgstr ""
+msgstr "`for`"
#: src/SUMMARY.md src/control-flow-basics/loops/loop.md:1
msgid "`loop`"
-msgstr ""
+msgstr "`loop`"
#: src/SUMMARY.md src/control-flow-basics/break-continue.md:1
msgid "`break` and `continue`"
@@ -2635,7 +2635,7 @@ msgstr ""
#: src/welcome-day-1.md
msgid "Types and type inference."
-msgstr ""
+msgstr "Types and type inference."
#: src/welcome-day-1.md
msgid "Control flow constructs: loops, conditionals, and so on."
@@ -2764,13 +2764,15 @@ msgstr "۱۰ دقیقه"
#: src/memory-management.md src/concurrency/channels.md
#: src/concurrency/send-sync.md
msgid "2 minutes"
-msgstr "2 دقیقه"
+msgstr "۲ دقیقه"
#: src/hello-world/what-is-rust.md:3
msgid ""
"Rust is a new programming language which had its [1.0 release in 2015]"
"(https://blog.rust-lang.org/2015/05/15/Rust-1.0.html):"
msgstr ""
+"Rust یک زبان برنامهنویسی جدید است که [نسخه 1.0 آن در سال 2015 منتشر شد]"
+"(https://blog.rust-lang.org/2015/05/15/Rust-1.0.html):"
#: src/hello-world/what-is-rust.md:5
msgid "Rust is a statically compiled language in a similar role as C++"
@@ -3039,7 +3041,7 @@ msgstr ""
#: src/types-and-values.md src/control-flow-basics.md src/modules.md
msgid "This segment should take about 40 minutes. It contains:"
-msgstr "این بخش باید حدود 40 دقیقه طول بکشد. آن شامل:"
+msgstr "این بخش باید حدود ۴۰ دقیقه طول بکشد. آن شامل:"
#: src/types-and-values/hello-world.md:3
msgid ""
@@ -3051,7 +3053,7 @@ msgstr ""
#: src/types-and-values/hello-world.md:8
msgid "\"Hello 🌍!\""
-msgstr ""
+msgstr "\"Hello 🌍!\""
#: src/types-and-values/hello-world.md:12
msgid "What you see:"
@@ -3151,13 +3153,15 @@ msgstr ""
#: src/types-and-values/variables.md:9 src/control-flow-basics/loops/for.md:9
#: src/control-flow-basics/blocks-and-scopes.md:17
msgid "\"x: {x}\""
-msgstr ""
+msgstr "\"x: {x}\""
#: src/types-and-values/variables.md:10
msgid ""
"// x = 20;\n"
" // println!(\"x: {x}\");\n"
msgstr ""
+"// x = 20;\n"
+" // println!(\"x: {x}\");\n"
#: src/types-and-values/variables.md:18
msgid ""
@@ -3227,7 +3231,7 @@ msgstr "اعداد با ممیز شناور"
#: src/types-and-values/values.md:10
msgid "`f32`, `f64`"
-msgstr ""
+msgstr "`f32`, `f64`"
#: src/types-and-values/values.md:10
msgid "`3.14`, `-10.0e20`, `2_f32`"
@@ -3241,11 +3245,11 @@ msgstr "مقادیر عددی یونیکد"
#: src/types-and-values/values.md:11 src/android/aidl/types/primitives.md:9
msgid "`char`"
-msgstr ""
+msgstr "`char`"
#: src/types-and-values/values.md:11
msgid "`'a'`, `'α'`, `'∞'`"
-msgstr ""
+msgstr "`'a'`, `'α'`, `'∞'`"
#: src/types-and-values/values.md:12
msgid "Booleans"
@@ -3253,11 +3257,11 @@ msgstr "بولینها"
#: src/types-and-values/values.md:12 src/android/aidl/types/primitives.md:7
msgid "`bool`"
-msgstr ""
+msgstr "`bool`"
#: src/types-and-values/values.md:12
msgid "`true`, `false`"
-msgstr ""
+msgstr "`true`, `false`"
#: src/types-and-values/values.md:14
msgid "The types have widths as follows:"
@@ -3296,7 +3300,7 @@ msgstr ""
#: src/types-and-values/arithmetic.md:9
msgid "\"result: {}\""
-msgstr ""
+msgstr "\"result: {}\""
#: src/types-and-values/arithmetic.md:16
msgid ""
@@ -3382,7 +3386,7 @@ msgstr ""
#: src/types-and-values/inference.md:46
msgid "// ERROR: no implementation for `{float} == {integer}`\n"
-msgstr ""
+msgstr "// ERROR: no implementation for `{float} == {integer}`\n"
#: src/types-and-values/exercise.md:3
msgid ""
@@ -3403,7 +3407,7 @@ msgstr ""
#: src/types-and-values/exercise.md:12
msgid "// The base case.\n"
-msgstr ""
+msgstr "//حالت پایه\n"
#: src/types-and-values/exercise.md:13 src/types-and-values/exercise.md:16
#: src/control-flow-basics/exercise.md:27
@@ -3414,11 +3418,11 @@ msgstr "پیاده سازی"
#: src/types-and-values/exercise.md:15
msgid "// The recursive case.\n"
-msgstr ""
+msgstr "// حالت بازگشتی\n"
#: src/types-and-values/exercise.md:22 src/types-and-values/solution.md:14
msgid "\"fib({n}) = {}\""
-msgstr ""
+msgstr "\"fib({n}) = {}\""
#: src/control-flow-basics.md
msgid "if Expressions"
@@ -3427,7 +3431,7 @@ msgstr "عبارت if"
#: src/control-flow-basics.md src/pattern-matching.md src/concurrency/async.md
#: src/concurrency/async-control-flow.md
msgid "4 minutes"
-msgstr ""
+msgstr "۴ دقیقه"
#: src/control-flow-basics.md
msgid "break and continue"
@@ -3447,15 +3451,15 @@ msgstr ""
#: src/control-flow-basics/if.md:11
msgid "\"zero!\""
-msgstr ""
+msgstr "\"zero!\""
#: src/control-flow-basics/if.md:13
msgid "\"biggish\""
-msgstr ""
+msgstr "\"biggish\""
#: src/control-flow-basics/if.md:15
msgid "\"huge\""
-msgstr ""
+msgstr "\"huge\""
#: src/control-flow-basics/if.md:20
msgid ""
@@ -3467,15 +3471,15 @@ msgstr ""
#: src/control-flow-basics/if.md:26
msgid "\"small\""
-msgstr ""
+msgstr "\"کوچک\""
#: src/control-flow-basics/if.md:26
msgid "\"large\""
-msgstr ""
+msgstr "\"بزرگ\""
#: src/control-flow-basics/if.md:27
msgid "\"number size: {}\""
-msgstr ""
+msgstr "\"اندازه عدد: {}\""
#: src/control-flow-basics/if.md:34
msgid ""
@@ -3517,7 +3521,7 @@ msgstr ""
#: src/control-flow-basics/loops.md:18
msgid "\"Final x: {x}\""
-msgstr ""
+msgstr "\"خروجی x: {x}\""
#: src/control-flow-basics/loops/for.md:3
msgid ""
@@ -3529,7 +3533,7 @@ msgstr ""
#: src/control-flow-basics/loops/for.md:13
msgid "\"elem: {elem}\""
-msgstr ""
+msgstr "\"elem: {elem}\""
#: src/control-flow-basics/loops/for.md:20
msgid ""
@@ -3560,7 +3564,7 @@ msgstr ""
#: src/control-flow-basics/loops/loop.md:11
msgid "\"{i}\""
-msgstr ""
+msgstr "\"{i}\""
#: src/control-flow-basics/break-continue.md:3
msgid ""
@@ -3589,7 +3593,7 @@ msgstr ""
#: src/android/interoperability/cpp/rust-bridge.md:17
#: src/concurrency/async-pitfalls/cancellation.md:59
msgid "\"{}\""
-msgstr ""
+msgstr "\"{}\""
#: src/control-flow-basics/break-continue/labels.md:3
msgid ""
@@ -3601,7 +3605,7 @@ msgstr ""
#: src/control-flow-basics/break-continue/labels.md:19
msgid "\"elements searched: {elements_searched}\""
-msgstr ""
+msgstr "\"elements searched: {elements_searched}\""
#: src/control-flow-basics/break-continue/labels.md:25
msgid ""
@@ -3628,7 +3632,7 @@ msgstr ""
#: src/control-flow-basics/blocks-and-scopes.md:14
msgid "\"y: {y}\""
-msgstr ""
+msgstr "\"y: {y}\""
#: src/control-flow-basics/blocks-and-scopes.md:21
msgid ""
@@ -3647,7 +3651,7 @@ msgstr ""
#: src/control-flow-basics/blocks-and-scopes/scopes.md:3
msgid "A variable's scope is limited to the enclosing block."
-msgstr ""
+msgstr "محدوده (scope) یک متغیر محدود به بلاک محاصرهکننده آن است."
#: src/control-flow-basics/blocks-and-scopes/scopes.md:5
msgid ""
@@ -3659,25 +3663,25 @@ msgstr ""
#: src/control-flow-basics/blocks-and-scopes/scopes.md:11
msgid "\"before: {a}\""
-msgstr ""
+msgstr "\"before: {a}\""
#: src/control-flow-basics/blocks-and-scopes/scopes.md:13
#: src/generics/exercise.md:18 src/generics/solution.md:20
#: src/std-traits/from-and-into.md:7 src/std-traits/from-and-into.md:19
msgid "\"hello\""
-msgstr ""
+msgstr "\"hello\""
#: src/control-flow-basics/blocks-and-scopes/scopes.md:14
msgid "\"inner scope: {a}\""
-msgstr ""
+msgstr "\"inner scope: {a}\""
#: src/control-flow-basics/blocks-and-scopes/scopes.md:17
msgid "\"shadowed in inner scope: {a}\""
-msgstr ""
+msgstr "\"shadowed in inner scope: {a}\""
#: src/control-flow-basics/blocks-and-scopes/scopes.md:20
msgid "\"after: {a}\""
-msgstr ""
+msgstr "\"after: {a}\""
#: src/control-flow-basics/blocks-and-scopes/scopes.md:26
msgid ""
@@ -3740,7 +3744,8 @@ msgstr ""
#: src/control-flow-basics/functions.md:30
msgid ""
"Overloading is not supported -- each function has a single implementation."
-msgstr "هر تابع فقط یک پیاده سازی دارد:"
+msgstr ""
+"بارگذاری مجدد (overloading) پشتیبانی نمیشود -- هر تابع فقط یک پیادهسازی دارد."
#: src/control-flow-basics/functions.md:31
msgid ""
@@ -3805,7 +3810,7 @@ msgstr ""
#: src/control-flow-basics/macros.md:32
msgid "\"{n}! = {}\""
-msgstr ""
+msgstr "\"{n}! = {}\""
#: src/control-flow-basics/macros.md:39
msgid ""
@@ -3831,68 +3836,74 @@ msgid ""
"The [Collatz Sequence](https://en.wikipedia.org/wiki/Collatz_conjecture) is "
"defined as follows, for an arbitrary n1 greater than zero:"
msgstr ""
-"[دنباله Collatz](https://en.wikipedia.org/wiki/Collatz_conjecture) برای یک n "
-"دلخواه به صورت زیر تعریف می شود"
+"[Collatz Sequence](https://en.wikipedia.org/wiki/Collatz_conjecture) به شرح "
+"زیر تعریف میشود، برای هر n۱ دلخواه بزرگتر از صفر:"
#: src/control-flow-basics/exercise.md:6
msgid ""
"If _ni_ is 1, then the sequence terminates at _ni_."
msgstr ""
+"اگر _ni_ = ۱ باشد، دنباله (sequence) در _ni_ پایان "
+"مییابد."
#: src/control-flow-basics/exercise.md:7
msgid "If _ni_ is even, then _ni+1 = ni / 2_."
msgstr ""
+"اگر _ni_ زوج باشد، آنگاه _ni+۱_ = _ni_/۲."
#: src/control-flow-basics/exercise.md:8
msgid ""
"If _ni_ is odd, then _ni+1 = 3 * ni + 1_."
msgstr ""
+"اگر _ni_ فرد باشد، آنگاه _ni+۱_ = ۳ * _ni_ "
+"+ ۱."
#: src/control-flow-basics/exercise.md:10
msgid "For example, beginning with _n1_ = 3:"
-msgstr ""
+msgstr "به عنوان مثال، با شروع از _ni_ = ۳:"
#: src/control-flow-basics/exercise.md:12
msgid "3 is odd, so _n2_ = 3 * 3 + 1 = 10;"
-msgstr ""
+msgstr "۳ فرد است، پس _n2_ = ۳ * ۳ + ۱ = 10;"
#: src/control-flow-basics/exercise.md:13
msgid "10 is even, so _n3_ = 10 / 2 = 5;"
-msgstr ""
+msgstr "۱۰ زوج است، پس _n3_ = ۱۰ / ۲ = ۵;"
#: src/control-flow-basics/exercise.md:14
msgid "5 is odd, so _n4_ = 3 * 5 + 1 = 16;"
-msgstr ""
+msgstr "۵ فرد است، پس _n4_ = ۳ * ۵ + ۱ = 16;"
#: src/control-flow-basics/exercise.md:15
msgid "16 is even, so _n5_ = 16 / 2 = 8;"
-msgstr ""
+msgstr "۱۶ زوج است، پس _n5_ = ۱۶ / ۲ = 8;"
#: src/control-flow-basics/exercise.md:16
msgid "8 is even, so _n6_ = 8 / 2 = 4;"
-msgstr ""
+msgstr "۸ زوج است، پس _n6_ = ۸ / ۲ = 4;"
#: src/control-flow-basics/exercise.md:17
msgid "4 is even, so _n7_ = 4 / 2 = 2;"
-msgstr ""
+msgstr "۴ زوج است، پس _n7_ = ۴ / ۲ = ۲;"
#: src/control-flow-basics/exercise.md:18
msgid "2 is even, so _n8_ = 1; and"
-msgstr ""
+msgstr "۲ زوج است، پس _n۸_ = ۱; و"
#: src/control-flow-basics/exercise.md:19
msgid "the sequence terminates."
-msgstr ""
+msgstr "دنباله به پایان میرسد."
#: src/control-flow-basics/exercise.md:21
msgid ""
"Write a function to calculate the length of the collatz sequence for a given "
"initial `n`."
msgstr ""
+"یک تابع بنویسید تا طول دنباله Collatz برای یک n اولیه داده شده را محاسبه کند."
#: src/control-flow-basics/exercise.md:25 src/control-flow-basics/solution.md:4
msgid "/// Determine the length of the collatz sequence beginning at `n`.\n"
-msgstr ""
+msgstr "/// Determine the length of the collatz sequence beginning at `n`.\n"
#: src/control-flow-basics/solution.md:20 src/concurrency/threads/scoped.md:11
#: src/concurrency/threads/scoped.md:30