Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add translations #707

Merged
merged 1 commit into from
Mar 16, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/battle_asserts/issues/chess_row_color.clj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@

(def level :easy)

(def description "Identify the color of a square of the chessboard. Square A1 is black.")
(def description
{:en "Identify the color of a square of the chessboard. Square A1 is black."
:ru "Найдите цвет квадрата шахматной доски. Квадрат А1 черный."})

(def signature
{:input [{:argument-name "row" :type {:name "string"}}
Expand Down
4 changes: 3 additions & 1 deletion src/battle_asserts/issues/clock_angle.clj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@

(def level :easy)

(def description "Calculate the angle between the hour and the minute hand of a clock at a given time.")
(def description
{:en "Calculate the angle between the hour and the minute hand of a clock at a given time."
:ru "Вычислите угол между часовой и минутной стрелкой в заданном времени."})

(def signature
{:input [{:argument-name "hour" :type {:name "integer"}}
Expand Down
4 changes: 3 additions & 1 deletion src/battle_asserts/issues/convert_and_reverse.clj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@

(def level :easy)

(def description "Reverse input number and convert it to string. Keep number sign.")
(def description
{:en "Reverse input number and convert it to string. Keep number sign."
:ru "Переверните введенное число и конвертируйте его в строку, сохраняя знак."})

(def signature
{:input [{:argument-name "number" :type {:name "integer"}}]
Expand Down
4 changes: 3 additions & 1 deletion src/battle_asserts/issues/counting_array_elements.clj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@

(def level :easy)

(def description "Return a hash map that shows how many times each element occurs in the given array.")
(def description
{:en "Return a hash map that shows how many times each element occurs in the given array."
:ru "Верните ассоциативный массив, который отражает, сколько раз элементы повторяются в полученном массиве."})

(def signature
{:input [{:argument-name "arr"
Expand Down
4 changes: 3 additions & 1 deletion src/battle_asserts/issues/cube_sum.clj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@

(def level :elementary)

(def description "Calculate sum of cubes in array from 0 to n.")
(def description
{:en "Calculate sum of cubes in array from 0 to `n`."
:ru "Рассчитайте сумму кубов в массиве от 0 до `n`."})

(def signature
{:input [{:argument-name "num" :type {:name "integer"}}]
Expand Down
4 changes: 3 additions & 1 deletion src/battle_asserts/issues/drop_every_n_element.clj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@

(def level :elementary)

(def description "Drop every N'th element from a list.")
(def description
{:en "Drop every N'th element from a list."
:ru "Удалите каждый `n`-ый элемент из массива."})

(def signature
{:input [{:argument-name "num" :type {:name "integer"}}
Expand Down
4 changes: 3 additions & 1 deletion src/battle_asserts/issues/even_array_square_sum.clj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@

(def level :elementary)

(def description "Find the sum of the squares of all even numbers in the array.")
(def description
{:en "Find the sum of the squares of all even numbers in the array."
:ru "Найдите сумму квадратов всех четных элементов в массиве."})

(def signature
{:input [{:argument-name "arr" :type {:name "array" :nested {:name "integer"}}}]
Expand Down
5 changes: 3 additions & 2 deletions src/battle_asserts/issues/fibonacci.clj
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@

(def level :easy)

(def description "Return the N'th item in the Fibonacci sequence.
Hint: The first item in the sequence is 0.")
(def description
{:en "Return the N'th item in the Fibonacci sequence Hint: The first item in the sequence is 0."
:ru "Верните `n`-ый элемент последовательности Фиббоначи. Подсказка: первый элемент последовательности равен 0."})

(def signature
{:input [{:argument-name "num" :type {:name "integer"}}]
Expand Down
4 changes: 3 additions & 1 deletion src/battle_asserts/issues/get_file.clj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@

(def level :elementary)

(def description "Implement a function that returns the filename with extension from a given path.")
(def description
{:en "Implement a function that returns the filename with extension from a given path."
:ru "Создайте функцию, которая возвращает имя файла с раширением из переданного пути."})

(def signature
{:input [{:argument-name "sentence" :type {:name "string"}}]
Expand Down
4 changes: 3 additions & 1 deletion src/battle_asserts/issues/greatest_common_divisor.clj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@

(def level :easy)

(def description "Create a function that calculates GCD (Greatest Common Divisor).")
(def description
{:en "Create a function that calculates GCD (Greatest Common Divisor)."
:ru "Создайте функцию, которая находит наибольший общий делитель."})

(def signature
{:input [{:argument-name "x" :type {:name "integer"}}
Expand Down