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 #759

Merged
merged 1 commit into from
May 10, 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
13 changes: 9 additions & 4 deletions src/battle_asserts/issues/kinetic_energy.clj
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,15 @@

(def tags ["physics"])

(def description "Create a function that calculates kinetic energy with the following formula:
`KE = 1/2 * m * v^2`
`m` is mass in kg, `v` is velocity in m/s, `KE` is kinetic energy in J.
Round answer to the nearest integer.")
(def description
{:en "Create a function that calculates kinetic energy with the following formula:
`KE = 1/2 * m * v^2`
`m` is mass in kg, `v` is velocity in m/s, `KE` is kinetic energy in J.
Round answer to the nearest integer."
:ru "Создайте функцию, которая рассчитывает кинетическую энергию по следующей формуле:
`KE = 1/2 * m * v^2`
`m` - это масса в кг, `v` - это скорость в м/с, `KE` - это кинетическая энергия в Дж.
Округлите ответ до ближайшего целого."})

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

(def tags ["collections"])

(def description "Given an array of integers, find the largest pair sum in it. For example,
the largest pair sum in [12, 34, 10, 6, 40] is 74.")
(def description
{:en "Given an array of integers, find the largest pair sum in it. For example,
the largest pair sum in [12, 34, 10, 6, 40] is 74."
:ru "Дан массив целых чисел, найдите в нем сумму набольшей пары чисел.
Например сумма наибольшей пары чисел в [12, 34, 10, 6, 40] - это 74."})

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