Improved translation (#28107)

pull/35277/head
Misha Fabrikov 2019-02-18 19:47:55 +03:00 committed by Gregory Gubarev
parent 63d15e0d98
commit c9ba864d58
1 changed files with 3 additions and 2 deletions

View File

@ -4,6 +4,7 @@ title: Add Borders Around Your Elements
challengeType: 0 challengeType: 0
guideUrl: 'https://russian.freecodecamp.org/guide/certificates/add-borders-around-your-elements' guideUrl: 'https://russian.freecodecamp.org/guide/certificates/add-borders-around-your-elements'
videoUrl: '' videoUrl: ''
localeTitle: Добавьте рамки вокруг ваших элементов localeTitle: Добавьте рамки вокруг ваших элементов
--- ---
@ -22,9 +23,9 @@ tests:
testString: 'assert($("img").hasClass("smaller-image"), "Your <code>img</code> element should have the class <code>smaller-image</code>.");' testString: 'assert($("img").hasClass("smaller-image"), "Your <code>img</code> element should have the class <code>smaller-image</code>.");'
- text: Ваш элемент <code>img</code> должен обладать классом <code>thick-green-border</code> . - text: Ваш элемент <code>img</code> должен обладать классом <code>thick-green-border</code> .
testString: 'assert($("img").hasClass("thick-green-border"), "Your <code>img</code> element should have the class <code>thick-green-border</code>.");' testString: 'assert($("img").hasClass("thick-green-border"), "Your <code>img</code> element should have the class <code>thick-green-border</code>.");'
- text: Дайте вашему изображению ширину границы 10 <code>10px</code> . - text: Задайте вашему изображению ширину границы <code>10px</code> .
testString: 'assert($("img").hasClass("thick-green-border") && parseInt($("img").css("border-top-width"), 10) >= 8 && parseInt($("img").css("border-top-width"), 10) <= 12, "Give your image a border width of <code>10px</code>.");' testString: 'assert($("img").hasClass("thick-green-border") && parseInt($("img").css("border-top-width"), 10) >= 8 && parseInt($("img").css("border-top-width"), 10) <= 12, "Give your image a border width of <code>10px</code>.");'
- text: Дайте вашему изображению стиль границы <code>solid</code> . - text: Задайте вашему изображению стиль границы <code>solid</code> .
testString: 'assert($("img").css("border-right-style") === "solid", "Give your image a border style of <code>solid</code>.");' testString: 'assert($("img").css("border-right-style") === "solid", "Give your image a border style of <code>solid</code>.");'
- text: Граница вокруг вашего элемента <code>img</code> должна быть зеленой. - text: Граница вокруг вашего элемента <code>img</code> должна быть зеленой.
testString: 'assert($("img").css("border-left-color") === "rgb(0, 128, 0)", "The border around your <code>img</code> element should be green.");' testString: 'assert($("img").css("border-left-color") === "rgb(0, 128, 0)", "The border around your <code>img</code> element should be green.");'