Skip to content

Commit

Permalink
Merge pull request #761 from burenkov-anton/add_translations
Browse files Browse the repository at this point in the history
Add translations
  • Loading branch information
solar05 committed May 12, 2021
2 parents fad6f60 + 5f9e414 commit b47d6de
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
4 changes: 3 additions & 1 deletion src/battle_asserts/issues/levenshtein_distance.clj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@

(def tags ["math" "strings"])

(def description "Calculate the Levenshtein distance.")
(def description
{:en "Calculate the Levenshtein distance."
:ru "Рассчитайте расстояние Левенштейна."})

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

(def tags ["strings"])

(def description "Given a sentence, sort characters in each word alphabetically.")
(def description
{:en "Given a sentence, sort characters in each word alphabetically."
:ru "Дано предложение, отсортируйте в алфавитном порядке символы в каждом слове."})

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

(def tags ["collections"])

(def description "Create a function that takes an array of numbers and return both the minimum and maximum numbers, in that order.")
(def description
{:en "Create a function that takes an array of numbers and return both the minimum and maximum numbers, in that order."
:ru "Напишите функцию, которая принимает массив чисел и возвращает его минимальное и максимальное значения в указанном порядке."})

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

(def tags ["math"])

(def description "Given an array that represents elements of an arithmetic progression in order.
One element is missing in the progression. Return the missing number.")
(def description
{:en "Given an array that represents elements of an arithmetic progression in order.
One element is missing in the progression. Return the missing number."
:ru "Дан массив чисел представляющий собой упорядоченную арифметическую прогрессию.
Один элемент прогрессии пропущен. Верните пропущенный элемент."})

(def signature
{:input [{:argument-name "sentence" :type {:name "array" :nested {:name "integer"}}}]
Expand Down

0 comments on commit b47d6de

Please sign in to comment.