Skip to content

Commit 5ba82bb

Browse files
Fix Russian translation typos
fixes #1781, #1630, #1729, #1665: Co-authored-by: Ekaterina Kiryanova <[email protected]>
1 parent 894cc11 commit 5ba82bb

File tree

4 files changed

+79
-7
lines changed

4 files changed

+79
-7
lines changed

locale/ru/LC_MESSAGES/getting_started/getting_started_cartridge.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ msgid ""
259259
"The final thing to do before you can run the application is to add your "
260260
"role to the list of available cluster roles in the ``init.lua`` file."
261261
msgstr ""
262-
"Последнее, что осталось сделать -- это добавить ваше роль в список "
262+
"Последнее, что осталось сделать это добавить вашу роль в список "
263263
"доступных ролей кластера, в файл ``init.lua``."
264264

265265
msgid ""

locale/ru/LC_MESSAGES/reference/reference_lua/box_index/examples.po

Lines changed: 73 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,18 @@ msgid ""
122122
"- error: 'This tuple already has 3 fields'\n"
123123
"..."
124124
msgstr ""
125+
"tarantool> box.space.tester:delete(1000)\n"
126+
"---\n"
127+
"- [1000, '264ee2da03634f24972be76c43808254', '1391037015.6809']\n"
128+
"...\n"
129+
"tarantool> example(1000)\n"
130+
"---\n"
131+
"- 2014-01-29 16:11:51.1582\n"
132+
"...\n"
133+
"tarantool> example(1000)\n"
134+
"---\n"
135+
"- error: 'This tuple already has 3 fields'\n"
136+
"..."
125137

126138
msgid "Example showing a user-defined iterator"
127139
msgstr "Пример с заданным пользователем итератором"
@@ -156,6 +168,17 @@ msgid ""
156168
" end\n"
157169
"end"
158170
msgstr ""
171+
"function paged_iter(search_key, tuples_per_page)\n"
172+
" local iterator_string = \"GE\"\n"
173+
" return function ()\n"
174+
" local page = box.space.t.index[0]:select(search_key,\n"
175+
" {iterator = iterator_string, limit=tuples_per_page})\n"
176+
" if #page == 0 then return nil end\n"
177+
" search_key = page[#page][1]\n"
178+
" iterator_string = \"GT\"\n"
179+
" return page\n"
180+
" end\n"
181+
"end"
159182

160183
msgid ""
161184
"Programmers who use ``paged_iter`` do not need to know why it works, they"
@@ -185,12 +208,18 @@ msgid ""
185208
" end\n"
186209
"end"
187210
msgstr ""
211+
"for page in paged_iter(\"X\", 10) do\n"
212+
" print(\"New Page. Number Of Tuples = \" .. #page)\n"
213+
" for i = 1, #page, 1 do\n"
214+
" print(page[i])\n"
215+
" end\n"
216+
"end"
188217

189218
msgid ""
190219
"Example showing submodule `box.index` with index type = RTREE for spatial"
191220
" searches"
192221
msgstr ""
193-
"Пример использования `box.index` с индексом типа RTREE для посика в "
222+
"Пример использования `box.index` с индексом типа RTREE для поиска в "
194223
"пространственных данных"
195224

196225
msgid ""
@@ -308,6 +337,16 @@ msgid ""
308337
" > parts = {2, 'ARRAY'}\n"
309338
" > })"
310339
msgstr ""
340+
"tarantool> s = box.schema.space.create('rectangles')\n"
341+
"tarantool> i = s:create_index('primary', {\n"
342+
" > type = 'HASH',\n"
343+
" > parts = {1, 'unsigned'}\n"
344+
" > })\n"
345+
"tarantool> r = s:create_index('rtree', {\n"
346+
" > type = 'RTREE',\n"
347+
" > unique = false,\n"
348+
" > parts = {2, 'ARRAY'}\n"
349+
" > })"
311350

312351
msgid ""
313352
"Field#1 doesn't matter, we just make it because we need a primary-key "
@@ -328,6 +367,8 @@ msgid ""
328367
"tarantool> s:insert{1, {3, 5, 9, 10}}\n"
329368
"tarantool> s:insert{2, {10, 11}}"
330369
msgstr ""
370+
"tarantool> s:insert{1, {3, 5, 9, 10}}\n"
371+
"tarantool> s:insert{2, {10, 11}}"
331372

332373
msgid ""
333374
"And now, following the description of `RTREE iterator types`_, we can "
@@ -351,6 +392,19 @@ msgid ""
351392
" - [2, [10, 11]]\n"
352393
"..."
353394
msgstr ""
395+
"tarantool> r:select({10, 11, 10, 11}, {iterator = 'EQ'})\n"
396+
"---\n"
397+
"- - [2, [10, 11]]\n"
398+
"...\n"
399+
"tarantool> r:select({4, 7, 5, 9}, {iterator = 'GT'})\n"
400+
"---\n"
401+
"- - [1, [3, 5, 9, 10]]\n"
402+
"...\n"
403+
"tarantool> r:select({1, 2, 3, 4}, {iterator = 'NEIGHBOR'})\n"
404+
"---\n"
405+
"- - [1, [3, 5, 9, 10]]\n"
406+
" - [2, [10, 11]]\n"
407+
"..."
354408

355409
msgid ""
356410
"Request#1 returns 1 tuple because the point {10,11} is the same as the "
@@ -389,6 +443,14 @@ msgid ""
389443
" > parts = {2, 'ARRAY'}\n"
390444
" > })"
391445
msgstr ""
446+
"tarantool> s = box.schema.space.create('R')\n"
447+
"tarantool> i = s:create_index('primary', {parts = {1, 'unsigned'}})\n"
448+
"tarantool> r = s:create_index('S', {\n"
449+
" > type = 'RTREE',\n"
450+
" > unique = false,\n"
451+
" > dimension = 3,\n"
452+
" > parts = {2, 'ARRAY'}\n"
453+
" > })"
392454

393455
msgid ""
394456
"The additional option here is ``dimension=3``. The default dimension is "
@@ -405,6 +467,8 @@ msgid ""
405467
"tarantool> s:insert{1, {0, 3, 0, 3, 0, 3}}\n"
406468
"tarantool> r:select({1, 2, 1, 2, 1, 2}, {iterator = box.index.GT})"
407469
msgstr ""
470+
"tarantool> s:insert{1, {0, 3, 0, 3, 0, 3}}\n"
471+
"tarantool> r:select({1, 2, 1, 2, 1, 2}, {iterator = box.index.GT})"
408472

409473
msgid ""
410474
"Now let us create a space and index for Manhattan-style spatial objects, "
@@ -426,6 +490,14 @@ msgid ""
426490
" > parts = {2, 'ARRAY'}\n"
427491
" > })"
428492
msgstr ""
493+
"tarantool> s = box.schema.space.create('R')\n"
494+
"tarantool> i = s:create_index('primary', {parts = {1, 'unsigned'}})\n"
495+
"tarantool> r = s:create_index('S', {\n"
496+
" > type = 'RTREE',\n"
497+
" > unique = false,\n"
498+
" > distance = 'manhattan',\n"
499+
" > parts = {2, 'ARRAY'}\n"
500+
" > })"
429501

430502
msgid ""
431503
"The additional option here is ``distance='manhattan'``. The default "

locale/ru/LC_MESSAGES/reference/reference_lua/box_snapshot.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ msgid "Function `box.snapshot`"
33
msgstr "Функция `box.snapshot`"
44

55
msgid "**Memtx**"
6-
msgstr ""
6+
msgstr "**Memtx**"
77

88
msgid ""
99
"Take a snapshot of all data and store it in :ref:`memtx_dir <cfg_basic-"
@@ -141,7 +141,7 @@ msgstr ""
141141
"был ли корректно сделан снимок."
142142

143143
msgid "**Vinyl**"
144-
msgstr ""
144+
msgstr "**Vinyl**"
145145

146146
msgid ""
147147
"In vinyl, inserted data is stacked in memory until the limit, set in the "
@@ -157,7 +157,7 @@ msgid ""
157157
msgstr ""
158158
"При использовании vinyl'a вставляемые данные складываются в память до тех"
159159
" пор, пока не будет достигнут предел, установленный в параметре "
160-
":ref:`vinyl_memory <cfg_storage-vinyl_memory>`. Затем винил автоматически"
160+
":ref:`vinyl_memory <cfg_storage-vinyl_memory>`. Затем vinyl автоматически"
161161
" делает дамп на диск. ``box.snapshot()`` форсирует создание дампа, чтобы "
162162
"иметь возможность восстановить данные из этой контрольной точки. Файлы "
163163
"снимков хранятся в :samp:`{space_id}/{index_id}/*.run`. Таким образом, "

locale/ru/LC_MESSAGES/reference/reference_lua/box_txn_management/atomic.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
msgid "box.atomic()"
3-
msgstr ""
3+
msgstr "box.atomic()"
44

55
msgid ""
66
"Execute a function, acting as if the function starts with an implicit "
@@ -20,7 +20,7 @@ msgid "return"
2020
msgstr "возвращает"
2121

2222
msgid "the result of the function passed to ``atomic()`` as an argument."
23-
msgstr "результат функции передается в ``atomic()`` в качестве аргумента."
23+
msgstr "результат функции, которая передается в ``atomic()`` в качестве аргумента."
2424

2525
msgid "**Possible errors:**"
2626
msgstr "**Возможные ошибки:**"

0 commit comments

Comments
 (0)