Translation fix for inform-with-the-paragraph-element.russian.md (#31836)

- Translated headings;
- Fixed translation mistakes.
This commit is contained in:
Redhairedgadget
2019-04-25 08:46:16 +02:00
committed by Randell Dawson
parent d02ff3d783
commit 1c5c0f3ee3

View File

@ -3,16 +3,16 @@ id: bad87fee1348bd9aedf08801
title: Inform with the Paragraph Element title: Inform with the Paragraph Element
challengeType: 0 challengeType: 0
videoUrl: '' videoUrl: ''
localeTitle: Информировать элемент абзаца localeTitle: Передайте информацию с помощью элемента "параграф"
--- ---
## Description ## Описание
<section id="description"> <code>p</code> элементов являются предпочтительным элементом текста абзаца на веб-сайтах. <code>p</code> является коротким для «абзаца». Вы можете создать элемент абзаца следующим образом: <code>&lt;p&gt;I&#39;m ap tag!&lt;/p&gt;</code> </section> <section id="description"> Для создания текста параграфа веб-сайта лучше использовать элемент <code>p</code>. <code>p</code> - это сокращение от слова «paragraph» (параграф). Вы можете создать параграф с этим элементом следующим образом: <code>&lt;p&gt;I&#39;m a p tag!&lt;/p&gt;</code> </section>
## Instructions ## Инструкции
<section id="instructions"> Создайте <code>p</code> элемент под вашим элементом <code>h2</code> и дайте ему текст «Hello Paragraph». </section> <section id="instructions"> Создайте <code>p</code> элемент под вашим элементом <code>h2</code> с текстом «Hello Paragraph». </section>
## Tests ## Тесты
<section id='tests'> <section id='tests'>
```yml ```yml
@ -21,14 +21,14 @@ tests:
testString: 'assert(($("p").length > 0), "Create a <code>p</code> element.");' testString: 'assert(($("p").length > 0), "Create a <code>p</code> element.");'
- text: Ваш элемент <code>p</code> должен иметь текст «Hello Paragraph». - text: Ваш элемент <code>p</code> должен иметь текст «Hello Paragraph».
testString: 'assert.isTrue((/hello(\s)+paragraph/gi).test($("p").text()), "Your <code>p</code> element should have the text "Hello Paragraph".");' testString: 'assert.isTrue((/hello(\s)+paragraph/gi).test($("p").text()), "Your <code>p</code> element should have the text "Hello Paragraph".");'
- text: 'Убедитесь, что ваш элемент <code>p</code> имеет закрывающий тег.' - text: 'Убедитесь, что ваш элемент <code>p</code> имеет конечный тег.'
testString: 'assert(code.match(/<\/p>/g) && code.match(/<\/p>/g).length === code.match(/<p/g).length, "Make sure your <code>p</code> element has a closing tag.");' testString: 'assert(code.match(/<\/p>/g) && code.match(/<\/p>/g).length === code.match(/<p/g).length, "Make sure your <code>p</code> element has a closing tag.");'
``` ```
</section> </section>
## Challenge Seed ## Исходной код
<section id='challengeSeed'> <section id='challengeSeed'>
<div id='html-seed'> <div id='html-seed'>
@ -45,7 +45,7 @@ tests:
</section> </section>
## Solution ## Решение
<section id='solution'> <section id='solution'>
```js ```js