aboutsummaryrefslogtreecommitdiff
path: root/files/ru/web/api/canvas_api
diff options
context:
space:
mode:
authorAlexey Pyltsyn <lex61rus@gmail.com>2021-10-18 20:28:37 +0300
committerGitHub <noreply@github.com>2021-10-18 20:28:37 +0300
commit05564d56aa54eb11cbdc3684e1b4a843a3b9196c (patch)
treea3fc1bf9cbc05337af99495d6892ee886236b279 /files/ru/web/api/canvas_api
parent8bd9f80b24f0312c6138cfaa125eebb8f3aa7a3e (diff)
downloadtranslated-content-05564d56aa54eb11cbdc3684e1b4a843a3b9196c.tar.gz
translated-content-05564d56aa54eb11cbdc3684e1b4a843a3b9196c.tar.bz2
translated-content-05564d56aa54eb11cbdc3684e1b4a843a3b9196c.zip
[RU] Fix live samples (#2767)
Diffstat (limited to 'files/ru/web/api/canvas_api')
-rw-r--r--files/ru/web/api/canvas_api/tutorial/advanced_animations/index.html4
-rw-r--r--files/ru/web/api/canvas_api/tutorial/applying_styles_and_colors/index.html2
-rw-r--r--files/ru/web/api/canvas_api/tutorial/basic_animations/index.html6
-rw-r--r--files/ru/web/api/canvas_api/tutorial/drawing_text/index.html4
-rw-r--r--files/ru/web/api/canvas_api/tutorial/transformations/index.html2
5 files changed, 9 insertions, 9 deletions
diff --git a/files/ru/web/api/canvas_api/tutorial/advanced_animations/index.html b/files/ru/web/api/canvas_api/tutorial/advanced_animations/index.html
index a5172106db..44f0185bad 100644
--- a/files/ru/web/api/canvas_api/tutorial/advanced_animations/index.html
+++ b/files/ru/web/api/canvas_api/tutorial/advanced_animations/index.html
@@ -149,7 +149,7 @@ canvas.addEventListener('mouseout', function(e) {
ball.draw();</pre>
</div>
-<p>{{EmbedLiveSample("First_demo", "610", "310")}}</p>
+<p>{{EmbedLiveSample("Первое_демо", "610", "310")}}</p>
<h2 id="Ускорение">Ускорение</h2>
@@ -360,7 +360,7 @@ ball.draw();
<p><span class="notranslate">Переместите шар с помощью мыши и отпустите его одним щелчком.</span></p>
-<p>{{EmbedLiveSample("Adding_mouse_control", "610", "310")}}</p>
+<p>{{EmbedLiveSample("Добавление_управления_мышью", "610", "310")}}</p>
<h2 id="Breakout(арканоид)">Breakout(арканоид)</h2>
diff --git a/files/ru/web/api/canvas_api/tutorial/applying_styles_and_colors/index.html b/files/ru/web/api/canvas_api/tutorial/applying_styles_and_colors/index.html
index 9a750e66cc..688e8a5b54 100644
--- a/files/ru/web/api/canvas_api/tutorial/applying_styles_and_colors/index.html
+++ b/files/ru/web/api/canvas_api/tutorial/applying_styles_and_colors/index.html
@@ -452,7 +452,7 @@ function march() {
march();</pre>
-<p>{{EmbedLiveSample("Используемый штрих", "120", "120", "https://mdn.mozillademos.org/files/9853/marching-ants.png")}}</p>
+<p>{{EmbedLiveSample("Использование_штрихов", "120", "120", "https://mdn.mozillademos.org/files/9853/marching-ants.png")}}</p>
<h2 id="Градиенты">Градиенты</h2>
diff --git a/files/ru/web/api/canvas_api/tutorial/basic_animations/index.html b/files/ru/web/api/canvas_api/tutorial/basic_animations/index.html
index eb1304bc4d..0719240b2c 100644
--- a/files/ru/web/api/canvas_api/tutorial/basic_animations/index.html
+++ b/files/ru/web/api/canvas_api/tutorial/basic_animations/index.html
@@ -116,7 +116,7 @@ init();
<pre class="brush: html">&lt;canvas id="canvas" width="300" height="300"&gt;&lt;/canvas&gt;</pre>
</div>
-<p>{{EmbedLiveSample("An_animated_solar_system", "310", "310", "https://mdn.mozillademos.org/files/202/Canvas_animation1.png")}}</p>
+<p>{{EmbedLiveSample("Анимированная_солнечная_система", "310", "310", "https://mdn.mozillademos.org/files/202/Canvas_animation1.png")}}</p>
<h2 id="Анимированные_часы">Анимированные часы</h2>
@@ -225,7 +225,7 @@ window.requestAnimationFrame(clock);</pre>
<pre class="brush: html">&lt;canvas id="canvas" width="150" height="150"&gt;&lt;/canvas&gt;</pre>
</div>
-<p>{{EmbedLiveSample("An_animated_clock", "180", "180", "https://mdn.mozillademos.org/files/203/Canvas_animation2.png")}}</p>
+<p>{{EmbedLiveSample("Анимированные_часы", "180", "180", "https://mdn.mozillademos.org/files/203/Canvas_animation2.png")}}</p>
<h2 id="Зацикленная_панорама">Зацикленная панорама</h2>
@@ -295,7 +295,7 @@ function draw() {
<pre class="brush: html">&lt;canvas id="canvas" width="800" height="200"&gt;&lt;/canvas&gt;</pre>
-<p>{{EmbedLiveSample("A_looping_panorama", "830", "230")}}</p>
+<p>{{EmbedLiveSample("Зацикленная_панорама", "830", "230")}}</p>
<h2 id="Other_examples" name="Other_examples">Другие примеры</h2>
diff --git a/files/ru/web/api/canvas_api/tutorial/drawing_text/index.html b/files/ru/web/api/canvas_api/tutorial/drawing_text/index.html
index c9d29cacd2..0464d884bf 100644
--- a/files/ru/web/api/canvas_api/tutorial/drawing_text/index.html
+++ b/files/ru/web/api/canvas_api/tutorial/drawing_text/index.html
@@ -43,7 +43,7 @@ original_slug: Web/API/Canvas_API/Tutorial/Рисование_текста
<pre class="brush: js notranslate">draw();</pre>
</div>
-<p>{{EmbedLiveSample("A_fillText_example", 310, 110)}}</p>
+<p>{{EmbedLiveSample("Пример_fillText", 310, 110)}}</p>
<h3 id="Пример_strokeText">Пример <code>strokeText</code></h3>
@@ -61,7 +61,7 @@ original_slug: Web/API/Canvas_API/Tutorial/Рисование_текста
<pre class="brush: js notranslate">draw();</pre>
</div>
-<p>{{EmbedLiveSample("A_strokeText_example", 310, 110)}}</p>
+<p>{{EmbedLiveSample("Пример_strokeText", 310, 110)}}</p>
<h2 id="Стилизация_текста">Стилизация текста</h2>
diff --git a/files/ru/web/api/canvas_api/tutorial/transformations/index.html b/files/ru/web/api/canvas_api/tutorial/transformations/index.html
index 96e9083bed..9fbcbf30e7 100644
--- a/files/ru/web/api/canvas_api/tutorial/transformations/index.html
+++ b/files/ru/web/api/canvas_api/tutorial/transformations/index.html
@@ -270,6 +270,6 @@ translation_of: Web/API/Canvas_API/Tutorial/Transformations
<pre class="brush: js notranslate">draw();</pre>
</div>
-<p>{{EmbedLiveSample("Example_for_transform_and_setTransform", "230", "280", "https://mdn.mozillademos.org/files/255/Canvas_transform.png")}}</p>
+<p>{{EmbedLiveSample("Пример_использования_transform_и_setTransform", "230", "280", "https://mdn.mozillademos.org/files/255/Canvas_transform.png")}}</p>
<p>{{PreviousNext("Web/API/Canvas_API/Tutorial/Using_images", "Web/API/Canvas_API/Tutorial/Compositing")}}</p>