From 40c5d4384e3f37463fd7c6bc36e979e4e38e036f Mon Sep 17 00:00:00 2001 From: Gregory Gubarev Date: Mon, 6 Apr 2020 01:51:10 +0400 Subject: [PATCH] Improved Russian translate (#37538) * Improved Russian translate * Update curriculum/challenges/russian/03-front-end-libraries/bootstrap/add-font-awesome-icons-to-our-buttons.russian.md Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com> * Update curriculum/challenges/russian/03-front-end-libraries/bootstrap/add-font-awesome-icons-to-our-buttons.russian.md Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com> * Like fixed Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com> --- .../add-font-awesome-icons-to-our-buttons.russian.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/curriculum/challenges/russian/03-front-end-libraries/bootstrap/add-font-awesome-icons-to-our-buttons.russian.md b/curriculum/challenges/russian/03-front-end-libraries/bootstrap/add-font-awesome-icons-to-our-buttons.russian.md index 53bd44e092..460fdbef77 100644 --- a/curriculum/challenges/russian/03-front-end-libraries/bootstrap/add-font-awesome-icons-to-our-buttons.russian.md +++ b/curriculum/challenges/russian/03-front-end-libraries/bootstrap/add-font-awesome-icons-to-our-buttons.russian.md @@ -24,13 +24,15 @@ Font Awesome - удобная библиотека иконок. Эти знач ```yml tests: - - text: Добавьте i-элемент с классами fas и fa-thumbs-up. + + - text: Добавьте элемент i с классами fas и fa-thumbs-up. testString: assert($("i").is(".fas.fa-thumbs-up") || $("span").is(".fas.fa-thumbs-up")); - - text: Ваша fa-thumbs-up-иконка должна находиться внутри кнопки "Like". + - text: Ваша иконка fa-thumbs-up должен находиться внутри вашей кнопки «Like». testString: assert(($("i.fa-thumbs-up").parent().text().match(/Like/gi) && $(".btn-primary > i").is(".fas.fa-thumbs-up")) || ($("span.fa-thumbs-up").parent().text().match(/Like/gi) && $(".btn-primary > span").is(".fas.fa-thumbs-up"))); - - text: Поместите ваш i-элемент внутрь вашего button-элемента. + - text: Вставьте элемент i в ваш элемент button. + testString: assert($("button").children("i").length > 0 || $("button").children("span").length > 0); - - text: Make sure your icon element has a closing tag. + - text: Убедитесь, что ваш значок элемента имеет закрывающий тег. testString: assert(code.match(/<\/i>|<\/span>/g)); ```