Skip to content

Commit 14799cb

Browse files
committed
Update russian translations from transifex
1 parent a12c1f7 commit 14799cb

12 files changed

Lines changed: 579 additions & 216 deletions

‎source/locale/ru/LC_MESSAGES/conditional_loops.po‎

Lines changed: 53 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,34 @@
1+
# SOME DESCRIPTIVE TITLE.
2+
# Copyright (C) 2012, OpenTechSchool and contributors
3+
# This file is distributed under the same license as the Introduction to Programming with Python package.
14
#
5+
# Translators:
6+
# Артём Демаков <dearalcher@gmail.com>, 2013
27
msgid ""
38
msgstr ""
4-
"Project-Id-Version: Introduction to Programming with Python 0.1\n"
9+
"Project-Id-Version: Python for beginners\n"
510
"Report-Msgid-Bugs-To: \n"
6-
"POT-Creation-Date: 2013-10-25 09:14\n"
7-
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
8-
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
9-
"Language-Team: LANGUAGE <LL@li.org>\n"
11+
"POT-Creation-Date: 2013-10-25 09:37\n"
12+
"PO-Revision-Date: 2013-11-20 12:58+0000\n"
13+
"Last-Translator: Артём Демаков <dearalcher@gmail.com>\n"
14+
"Language-Team: Russian (http://www.transifex.com/projects/p/python-for-beginners/language/ru/)\n"
1015
"MIME-Version: 1.0\n"
1116
"Content-Type: text/plain; charset=UTF-8\n"
1217
"Content-Transfer-Encoding: 8bit\n"
18+
"Language: ru\n"
19+
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
1320

21+
# 0ebffb4008364c84b28bbdbc83a58dd0
1422
#: ../../../source/conditional_loops.rst:2
1523
msgid "Conditional Loops"
16-
msgstr ""
24+
msgstr "Условные циклы"
1725

26+
# c001aa827a0c4efeace6c64237e071b2
1827
#: ../../../source/conditional_loops.rst:4
1928
msgid "Introduction"
20-
msgstr ""
29+
msgstr "Введение"
2130

31+
# 286bdc49c4f54f99a59f5aa3e5f89fa1
2232
#: ../../../source/conditional_loops.rst:6
2333
msgid ""
2434
"Conditional loops are way to repeat something while a certain condition is "
@@ -28,75 +38,90 @@ msgid ""
2838
"defined with the ``while`` statement::"
2939
msgstr ""
3040

41+
# dca5de2f82e543c4a48463876e388415
3142
#: ../../../source/conditional_loops.rst:23
3243
msgid "We call this part of the code the 'conditional': ``'.' not in word``"
3344
msgstr ""
3445

46+
# 9d1aa6649ba94e21908cff558d8e8826
3547
#: ../../../source/conditional_loops.rst:25
3648
msgid ""
3749
"Whether the conditional return True or not determines whether the code "
3850
"inside the ``while`` loop runs."
3951
msgstr ""
4052

53+
# 7fc839b4812d49c087116e5c082b0654
4154
#: ../../../source/conditional_loops.rst:28
4255
msgid ""
4356
"Read the code above, and see if you can summarise in your head what it what "
4457
"it do (what its final output will be)."
4558
msgstr ""
4659

60+
# 18c22a5fe65440de8c2100ef541567b0
4761
#: ../../../source/conditional_loops.rst:31
4862
msgid ""
4963
"Then copy it into a file, say :file:`sentence.py` and run it - see exactly "
5064
"what it does. Does that match up with what you thought?"
5165
msgstr ""
5266

67+
# 400050782b514b07b884a224a79f4915
5368
#: ../../../source/conditional_loops.rst:36
5469
msgid ""
5570
"If you are using Python 2, you will need to replace ``input`` with "
5671
"``raw_input`` to run the program correctly."
57-
msgstr ""
72+
msgstr "Если ты используешь Python 2, замени ``input`` на ``raw_input`` для корректной работы программы."
5873

74+
# 893ffd73db564e45bf4edc62de0c4aec
5975
#: ../../../source/conditional_loops.rst:40
6076
msgid "Turtle prison"
61-
msgstr ""
77+
msgstr "Тюрьма для черепашки"
6278

79+
# 45292113e45d41e7b1b92ccf9d813a8b
80+
# 324bbaf285c5445f846e9ad7f3d79213
6381
#: ../../../source/conditional_loops.rst:43
6482
#: ../../../source/conditional_loops.rst:87
6583
msgid "Exercise"
66-
msgstr ""
84+
msgstr "Упражнение"
6785

86+
# a2660c48dad44766bde0bf90b2ad0528
6887
#: ../../../source/conditional_loops.rst:45
6988
msgid ""
7089
"The turtle has been up to its usual tricks again, robbing liqour stores and "
7190
"building up huge gambling debts. It's time for turtle to be put into a cell "
7291
"that it can't get out of."
7392
msgstr ""
7493

94+
# c903bbaa30ea41c99d255de554d25a44
7595
#: ../../../source/conditional_loops.rst:49
7696
msgid ""
7797
"Let's make a new version of ``forward()``. One that will turn the turtle "
7898
"around if it tries to go further than 100 from the origin. We'll need a "
7999
"``while`` loop, and some new turtle functions:"
80-
msgstr ""
100+
msgstr "Давайте сделаем новую версию ``forward()``, которая будет поворачивать черепашку, если она слишком далеко (более, чем на 100) отойдёт от начала координатной сетки. . Нам понадобится цикл ``while`` и несколько новых функций для черепашки:"
81101

102+
# 3ce77ae318ca4616805a1fe13f9c94f0
82103
#: ../../../source/conditional_loops.rst:53
83104
msgid "``turtle.distance(0,0)`` - Distance of the turtle from the origin"
84-
msgstr ""
105+
msgstr "``turtle.distance(0,0)`` - Расстояние до черепашки от начала координат"
85106

107+
# 2743f0601d844fd5827dc8ca59a5161b
86108
#: ../../../source/conditional_loops.rst:54
87109
msgid "``turtle.towards(0,0)`` - The angle to get back to origin"
88-
msgstr ""
110+
msgstr "``turtle.towards(0,0)`` - Градусная мера угла для возвращения к началу координат"
89111

112+
# 735068e95dbb4feb83bc42382501dba0
90113
#: ../../../source/conditional_loops.rst:55
91114
msgid "``turtle.setheading(angle)`` - Directly sets the turtle direction"
92-
msgstr ""
115+
msgstr "``turtle.setheading(angle)`` - Ручная установка направления черепашки"
93116

117+
# 0122ec4586504984bd958b7f612c62f6
94118
#: ../../../source/conditional_loops.rst:57
95119
msgid ""
96120
"You could try playing with a turtle in the interpreter and using these "
97121
"functions to check exactly what they do, if you like."
98122
msgstr ""
99123

124+
# 0e6c0ed6971b4e538b809f9a0cd1f136
100125
#: ../../../source/conditional_loops.rst:60
101126
msgid ""
102127
"Now you will need to implement the prison logic using these turtle "
@@ -105,22 +130,27 @@ msgid ""
105130
" or another student."
106131
msgstr ""
107132

133+
# 1b49d73c3a5e4021ac2fe477151ecc2f
134+
# 14cab36de06d4023b20c5be256604d50
108135
#: ../../../source/conditional_loops.rst:66
109136
#: ../../../source/conditional_loops.rst:104
110137
msgid "Solution"
111-
msgstr ""
138+
msgstr "Решение"
112139

140+
# 352a42136ca6400ab20cf89a1ab398b3
113141
#: ../../../source/conditional_loops.rst:80
114142
msgid "Draw a spiral"
115-
msgstr ""
143+
msgstr "Рисуем спираль"
116144

145+
# 6aeef203d95c4a34bd5bd692b99ebe55
117146
#: ../../../source/conditional_loops.rst:82
118147
msgid ""
119148
"Loops can be interrupted with the ``break`` statement. This is especially "
120149
"useful if you write an *infinite loop*, which is a loop where the "
121150
"conditional is always **True**."
122-
msgstr ""
151+
msgstr "Циклы могут быть прерваны командой ``break``. Она особенно полезна, если ты пишешь *бесконечный цикл*, т.е. цикл, условие которого всегда истинно."
123152

153+
# 217e80c3d8024535a12d1b844ab5475a
124154
#: ../../../source/conditional_loops.rst:89
125155
msgid ""
126156
"Write a ``while`` loop with a condition that is always **True** to draw a "
@@ -129,23 +159,27 @@ msgid ""
129159
"distance to the point defined by the coordinates ``x`` and ``y``."
130160
msgstr ""
131161

162+
# bd8e43cfe2964a199f111a74393dff96
132163
#: ../../../source/conditional_loops.rst:94
133164
msgid ""
134165
"To do this you will need the ``turtle.xcor()`` and ``turtle.ycor()`` "
135166
"functions, which return the position of the turtle in X and Y axes "
136167
"respectively."
137168
msgstr ""
138169

170+
# 88a12b054e8245ca96d6e8180a7d0212
139171
#: ../../../source/conditional_loops.rst:100
140172
msgid ""
141173
"To draw a spiral, the turtle has to rotate by a constant value and move "
142174
"forward by an increasing value."
143-
msgstr ""
175+
msgstr "Чтобы нарисовать спираль, черепашка должна поворачиваться на неизменяемую величину и двигаться вперёд на постоянно увеличивающееся расстояние"
144176

177+
# 8030819ae52e44e3a12fc6b6b071eb14
145178
#: ../../../source/conditional_loops.rst:120
146179
msgid "Bonus"
147-
msgstr ""
180+
msgstr "Дополнительно"
148181

182+
# 5d9767087dc74306a1046a3c8d5b7936
149183
#: ../../../source/conditional_loops.rst:122
150184
msgid ""
151185
"Can you make a conditional for this loop, so you don't need the infinite "
Lines changed: 50 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,34 @@
1+
# SOME DESCRIPTIVE TITLE.
2+
# Copyright (C) 2012, OpenTechSchool and contributors
3+
# This file is distributed under the same license as the Introduction to Programming with Python package.
14
#
5+
# Translators:
6+
# Артём Демаков <dearalcher@gmail.com>, 2013
27
msgid ""
38
msgstr ""
4-
"Project-Id-Version: Introduction to Programming with Python 0.1\n"
9+
"Project-Id-Version: Python for beginners\n"
510
"Report-Msgid-Bugs-To: \n"
6-
"POT-Creation-Date: 2013-10-25 09:14\n"
7-
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
8-
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
9-
"Language-Team: LANGUAGE <LL@li.org>\n"
11+
"POT-Creation-Date: 2013-10-25 09:37\n"
12+
"PO-Revision-Date: 2013-11-20 13:18+0000\n"
13+
"Last-Translator: Артём Демаков <dearalcher@gmail.com>\n"
14+
"Language-Team: Russian (http://www.transifex.com/projects/p/python-for-beginners/language/ru/)\n"
1015
"MIME-Version: 1.0\n"
1116
"Content-Type: text/plain; charset=UTF-8\n"
1217
"Content-Transfer-Encoding: 8bit\n"
18+
"Language: ru\n"
19+
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
1320

21+
# f954df04fd5940df83eec4b8c124a368
1422
#: ../../../source/conditionals.rst:2
1523
msgid "Conditional statements"
16-
msgstr ""
24+
msgstr "Условные операторы"
1725

26+
# 39482d0866b04905871aa775394f8581
1827
#: ../../../source/conditionals.rst:5
1928
msgid "Introduction"
20-
msgstr ""
29+
msgstr "Введение"
2130

31+
# 111401499d2c40a9996b761ebe449d84
2232
#: ../../../source/conditionals.rst:7
2333
msgid ""
2434
"So far we have accomplished predefined tasks, but in all honesty we were "
@@ -29,83 +39,99 @@ msgid ""
2939
"way if not. They are also commonly called by programmers *if statements*."
3040
msgstr ""
3141

42+
# 6ab33a31c9d445248ff5b58f0cf4f72d
3243
#: ../../../source/conditionals.rst:15
3344
msgid ""
3445
"To know if a condition is *True* of *False*, we need a new type of data: the"
3546
" booleans. They allow logical operations. A logic statement or operation can"
3647
" be evaluated to be *True* or *False*. Our conditional statement can then be"
3748
" understood like this:"
38-
msgstr ""
49+
msgstr "Чтобы узнать, *Истинно* или *Ложно* значение, нужен новый тип информации: логический, описываемый логическими операторами. Любое логическое значение или логическая операция могут быть оценены как \"Истина\" или \"Ложь\". Условные выражения следует понимать так:"
3950

51+
# df9289eacd1641e2a43ea2a25534e5c0
4052
#: ../../../source/conditionals.rst:20
4153
msgid "**if** *(a condition evaluates to True)*:"
42-
msgstr ""
54+
msgstr "**if** *(условие истинно)*:"
4355

56+
# 0ae1d5541cf74fbeabed31852dd3ab27
4457
#: ../../../source/conditionals.rst:21
4558
msgid "*then do these things only for 'True'*"
46-
msgstr ""
59+
msgstr "*делать это*"
4760

61+
# 3093566db649459bb19ecc1750cd6821
4862
#: ../../../source/conditionals.rst:23
4963
msgid "**else**:"
50-
msgstr ""
64+
msgstr "**else**:"
5165

66+
# 2d0805b64cc546dea95078db5e86937e
5267
#: ../../../source/conditionals.rst:23
5368
msgid "*otherwise do these things only for 'False'*."
54-
msgstr ""
69+
msgstr "*в противном случае делать это*"
5570

71+
# d73d211ecfcb43209a8729611cbd3add
5672
#: ../../../source/conditionals.rst:25
5773
msgid ""
5874
"The condition can be anything that evaluates as *True* or *False*. "
5975
"Comparisons always return *True* or *False*, for example ``==`` (equal to), "
6076
"``>`` (greater than), ``<`` (less than.)"
6177
msgstr ""
6278

79+
# 77c7b5b62fab41a580bbf8b711d4a2a0
6380
#: ../../../source/conditionals.rst:29
6481
msgid ""
6582
"The **else** part is optional. If you leave it off, nothing will happen if "
6683
"the conditional evaluates to 'False'."
67-
msgstr ""
84+
msgstr "Часть **else** необязательна. Если убрать её, при ложном значении ничего не произойдёт."
6885

86+
# 15270b28c4db44858ad24d8a5a1a94f5
6987
#: ../../../source/conditionals.rst:34
7088
msgid "Examples"
71-
msgstr ""
89+
msgstr "Примеры"
7290

91+
# 64365e8b331842cb82b2865a646b6e14
7392
#: ../../../source/conditionals.rst:36
7493
msgid ""
7594
"Here are some examples. You may want to read them over line-by-line and see "
7695
"what you think they do, or run them to be certain::"
77-
msgstr ""
96+
msgstr "Немного примеров. Можешь просмотреть их построчно и попытаться понять, что они делают (или запустить, чтобы быть уверенным)::"
7897

98+
# b5e742cfef1b46258ffe386e70d3d374
7999
#: ../../../source/conditionals.rst:54
80100
msgid "Giving Directions"
81101
msgstr ""
82102

103+
# d2308a4e4a234d5da113610124a1f0d0
83104
#: ../../../source/conditionals.rst:56
84105
msgid ""
85106
"Python turtles can be very good at following instructions. Let's use the "
86107
"``input()`` function to ask the user for a direction to move the turtle. To "
87108
"keep things easy we will only accept two instructions: \"left\" and "
88109
"\"right\"."
89-
msgstr ""
110+
msgstr "Python-черепашка хорошо работает с последовательными указаниями. Давайте с помощью функции ``input()`` будем принимать команды от пользователя, которые указывают направление движения черепашки. Чтобы не усложнять программу, предусмотрим только 2 инструкции: \"налево\" и \"направо\"."
90111

112+
# a8865376d13a4ac0876033a9e6899611
91113
#: ../../../source/conditionals.rst:63
92114
msgid "Using Python 2? The ``input()`` function is called ``raw_input()``."
93-
msgstr ""
115+
msgstr "Используешь Python 2? Функция ``input()`` называется ``raw_input()``."
94116

117+
# 337298bbc33a4e18a869f8788a145bfe
95118
#: ../../../source/conditionals.rst:65
96119
msgid "It's much easier to define this as a function, like so::"
97-
msgstr ""
120+
msgstr "Намного проще выделить это в функцию, вот так::"
98121

122+
# 03c556dba3c54816aab05ef1e9d597d7
99123
#: ../../../source/conditionals.rst:76
100124
msgid ""
101125
"Now whenever you use ``move()`` you are prompted to choose ``left`` or "
102126
"``right``."
103-
msgstr ""
127+
msgstr "Теперь, используя ``move()``, ты можешь выбрать, в какую сторону двигаться: влево (``left``) или вправо (``right``)."
104128

129+
# 93a25c13d04147449bec02723b02181b
105130
#: ../../../source/conditionals.rst:81
106131
msgid "\"data munging\""
107132
msgstr ""
108133

134+
# f783026a116745d48f6abd395d97c2ce
109135
#: ../../../source/conditionals.rst:83
110136
msgid ""
111137
"In this program, the turtle will only respond to exactly ``left`` or "
@@ -116,21 +142,24 @@ msgid ""
116142
"everything lower-case."
117143
msgstr ""
118144

145+
# 7809bb0040d246f9b697fca88fca775c
119146
#: ../../../source/conditionals.rst:90
120147
msgid ""
121148
"Here are some examples to print out the effects of ``.strip()`` and "
122149
"``.lower()``::"
123-
msgstr ""
150+
msgstr "Немного примеров, демонстрирующих работу ``.strip()`` и ``.lower()``::"
124151

152+
# 2609be470843427a931b85efbe540dab
125153
#: ../../../source/conditionals.rst:99
126154
msgid ""
127155
"Try adding ``direction = direction.strip().lower()`` to the ``move()`` "
128156
"function, to see the effect. We often call this kind of code \"data "
129157
"munging\", and it is very common."
130158
msgstr ""
131159

160+
# d26798a24e044d399280f7d78a8becea
132161
#: ../../../source/conditionals.rst:103
133162
msgid ""
134163
"Can you add some extra input choices to make the turtle draw other things? "
135164
"How about ``hexagon``?"
136-
msgstr ""
165+
msgstr "Можешь ли ты добавить дополнительные варианты движения, чтобы черепашка рисовала другие фигуры? Как насчёт шестиугольника?"

0 commit comments

Comments
 (0)