aboutsummaryrefslogtreecommitdiff
path: root/files/ru/webassembly
diff options
context:
space:
mode:
authorAlexey Pyltsyn <lex61rus@gmail.com>2021-03-23 21:32:09 +0300
committerGitHub <noreply@github.com>2021-03-23 21:32:09 +0300
commit9a96229818a3971444a77c238cc5ae45921db1bf (patch)
treeeb49956807321447f47ebdd01c4d71e1f46779cf /files/ru/webassembly
parenta4f49f9a14007bf65efdbe671d6383e8b233ac5b (diff)
downloadtranslated-content-9a96229818a3971444a77c238cc5ae45921db1bf.tar.gz
translated-content-9a96229818a3971444a77c238cc5ae45921db1bf.tar.bz2
translated-content-9a96229818a3971444a77c238cc5ae45921db1bf.zip
Fix capitalization of Russian pronouns (#294)
* Fix capitalization of Russian pronouns * Apply suggestions from code review Co-authored-by: Alexander Myshov <myshov@users.noreply.github.com> * Update files/ru/web/mathml/element/math/index.html Co-authored-by: Alexander Myshov <myshov@users.noreply.github.com> Co-authored-by: Alexander Myshov <myshov@users.noreply.github.com>
Diffstat (limited to 'files/ru/webassembly')
-rw-r--r--files/ru/webassembly/c_to_wasm/index.html2
-rw-r--r--files/ru/webassembly/loading_and_running/index.html2
-rw-r--r--files/ru/webassembly/understanding_the_text_format/index.html6
-rw-r--r--files/ru/webassembly/using_the_javascript_api/index.html12
4 files changed, 11 insertions, 11 deletions
diff --git a/files/ru/webassembly/c_to_wasm/index.html b/files/ru/webassembly/c_to_wasm/index.html
index 28517bca19..f0cfd57bfe 100644
--- a/files/ru/webassembly/c_to_wasm/index.html
+++ b/files/ru/webassembly/c_to_wasm/index.html
@@ -105,7 +105,7 @@ int main(int argc, char ** argv) {
</ol>
<div class="note">
-<p><strong>Примечание</strong>: Вы можете указать компилятору создавать только JavaScript кода, без HTML, используя внутри флага <code>-o</code>, <code>.js</code> вместо <code>.html</code> для формата выходного файла, например <code>emcc -o hello2.js hello2.c -O3 -s WASM=1</code>. После этого вы должны создать свой собственный HTML файл с нуля. Однако так делать не рекомендуется — Emscripten требуется большое количество связывающего кода для обработки операций выделения памяти, утечек памяти и других проблем, которые уже включены в предоставляемый шаблон. Намного легче использовать уже готовое решение, чем создавать свои собственные версии самому.</p>
+<p><strong>Примечание</strong>: вы можете указать компилятору создавать только JavaScript кода, без HTML, используя внутри флага <code>-o</code>, <code>.js</code> вместо <code>.html</code> для формата выходного файла, например <code>emcc -o hello2.js hello2.c -O3 -s WASM=1</code>. После этого вы должны создать свой собственный HTML файл с нуля. Однако так делать не рекомендуется — Emscripten требуется большое количество связывающего кода для обработки операций выделения памяти, утечек памяти и других проблем, которые уже включены в предоставляемый шаблон. Намного легче использовать уже готовое решение, чем создавать свои собственные версии самому.</p>
</div>
<h3 id="Вызов_пользовательской_функции_определённой_в_Си">Вызов пользовательской функции, определённой в Си</h3>
diff --git a/files/ru/webassembly/loading_and_running/index.html b/files/ru/webassembly/loading_and_running/index.html
index ead3996e3d..5f59713240 100644
--- a/files/ru/webassembly/loading_and_running/index.html
+++ b/files/ru/webassembly/loading_and_running/index.html
@@ -110,5 +110,5 @@ request.onload = function() {
};</pre>
<div class="note">
-<p><strong>Примечание</strong>: Вы можете увидеть пример этого в действии в <a href="https://mdn.github.io/webassembly-examples/js-api-examples/xhr-wasm.html">xhr-wasm.html</a>.</p>
+<p><strong>Примечание</strong>: вы можете увидеть пример этого в действии в <a href="https://mdn.github.io/webassembly-examples/js-api-examples/xhr-wasm.html">xhr-wasm.html</a>.</p>
</div>
diff --git a/files/ru/webassembly/understanding_the_text_format/index.html b/files/ru/webassembly/understanding_the_text_format/index.html
index 226a873888..84417f2586 100644
--- a/files/ru/webassembly/understanding_the_text_format/index.html
+++ b/files/ru/webassembly/understanding_the_text_format/index.html
@@ -164,7 +164,7 @@ translation_of: WebAssembly/Understanding_the_text_format
});</pre>
<div class="note">
-<p><strong>Примечание</strong>: Вы можете найти этот пример на GitHub в файле <a href="https://github.com/mdn/webassembly-examples/blob/master/understanding-text-format/add.html">add.html</a> (смотрите также это <a href="https://mdn.github.io/webassembly-examples/understanding-text-format/add.html">вживую</a>). Также смотрите {{jsxref("WebAssembly.instantiateStreaming()")}} для получения более подробной информации о функции создания экземпляра модуля.</p>
+<p><strong>Примечание</strong>: вы можете найти этот пример на GitHub в файле <a href="https://github.com/mdn/webassembly-examples/blob/master/understanding-text-format/add.html">add.html</a> (смотрите также это <a href="https://mdn.github.io/webassembly-examples/understanding-text-format/add.html">вживую</a>). Также смотрите {{jsxref("WebAssembly.instantiateStreaming()")}} для получения более подробной информации о функции создания экземпляра модуля.</p>
</div>
<h2 id="Изучение_основ">Изучение основ</h2>
@@ -201,7 +201,7 @@ translation_of: WebAssembly/Understanding_the_text_format
});</pre>
<div class="note">
-<p><strong>Примечание</strong>: Вы можете найти этот пример на GitHub как <a href="https://github.com/mdn/webassembly-examples/blob/master/understanding-text-format/call.html">call.html</a> (смотрите также <a href="https://mdn.github.io/webassembly-examples/understanding-text-format/call.html">вживую</a>). Ещё посмотрите <a href="https://github.com/mdn/webassembly-examples/blob/master/wasm-utils.js">wasm-utils.js</a> для метода <code>fetchAndInstantiate()</code>.</p>
+<p><strong>Примечание</strong>: вы можете найти этот пример на GitHub как <a href="https://github.com/mdn/webassembly-examples/blob/master/understanding-text-format/call.html">call.html</a> (смотрите также <a href="https://mdn.github.io/webassembly-examples/understanding-text-format/call.html">вживую</a>). Ещё посмотрите <a href="https://github.com/mdn/webassembly-examples/blob/master/wasm-utils.js">wasm-utils.js</a> для метода <code>fetchAndInstantiate()</code>.</p>
</div>
<h3 id="Импорт_функций_из_JavaScript">Импорт функций из JavaScript</h3>
@@ -322,7 +322,7 @@ WebAssembly.instantiateStreaming(fetch('logger2.wasm'), importObject)
});</pre>
<div class="note">
-<p><strong>Примечание</strong>: Вы можете найти полный исходный код на GitHub в файле <a href="https://github.com/mdn/webassembly-examples/blob/master/understanding-text-format/logger2.html">logger2.html</a> (также смотрите это <a href="https://mdn.github.io/webassembly-examples/understanding-text-format/logger2.html">вживую</a>).</p>
+<p><strong>Примечание</strong>: вы можете найти полный исходный код на GitHub в файле <a href="https://github.com/mdn/webassembly-examples/blob/master/understanding-text-format/logger2.html">logger2.html</a> (также смотрите это <a href="https://mdn.github.io/webassembly-examples/understanding-text-format/logger2.html">вживую</a>).</p>
</div>
<h3 id="Таблицы_WebAssembly">Таблицы WebAssembly</h3>
diff --git a/files/ru/webassembly/using_the_javascript_api/index.html b/files/ru/webassembly/using_the_javascript_api/index.html
index ecc973376c..1840b83b92 100644
--- a/files/ru/webassembly/using_the_javascript_api/index.html
+++ b/files/ru/webassembly/using_the_javascript_api/index.html
@@ -20,7 +20,7 @@ translation_of: WebAssembly/Using_the_JavaScript_API
<p>Давайте запустим несколько примеров, которые объяснят как использовать WebAssembly JavaScript API, и как использовать его для загрузки wasm-модуля в web-странице.</p>
<div class="note">
-<p><strong>Примечание</strong>: Вы можете найти примеры кода в нашем репозитории <a href="https://github.com/mdn/webassembly-examples">webassembly-examples</a> на GitHub.</p>
+<p><strong>Примечание</strong>: вы можете найти примеры кода в нашем репозитории <a href="https://github.com/mdn/webassembly-examples">webassembly-examples</a> на GitHub.</p>
</div>
<h3 id="Подготовка_примера">Подготовка примера</h3>
@@ -139,7 +139,7 @@ translation_of: WebAssembly/Using_the_JavaScript_API
<p>Скопируйте файл <a href="https://github.com/mdn/webassembly-examples/raw/master/js-api-examples/memory.wasm">memory.wasm</a> в локальную директорию в которой вы работаете.</p>
<div class="note">
- <p><strong>Примечание</strong>: Вы можете увидеть текстовое представление модуля в файле <a href="https://github.com/mdn/webassembly-examples/blob/master/js-api-examples/memory.wat">memory.wat</a>.</p>
+ <p><strong>Примечание</strong>: вы можете увидеть текстовое представление модуля в файле <a href="https://github.com/mdn/webassembly-examples/blob/master/js-api-examples/memory.wat">memory.wat</a>.</p>
</div>
</li>
<li>
@@ -174,7 +174,7 @@ console.log(sum);</pre>
</ul>
<div class="note">
-<p><strong>Примечание</strong>: Вы можете найти полную демонстрацию в файле <a href="https://github.com/mdn/webassembly-examples/blob/master/js-api-examples/memory.html">memory.html</a> (<a href="https://mdn.github.io/webassembly-examples/js-api-examples/memory.html">см. её также вживую</a>) — эта версия использует функцию <code><a href="https://github.com/mdn/webassembly-examples/blob/master/wasm-utils.js">fetchAndInstantiate()</a></code>.</p>
+<p><strong>Примечание</strong>: вы можете найти полную демонстрацию в файле <a href="https://github.com/mdn/webassembly-examples/blob/master/js-api-examples/memory.html">memory.html</a> (<a href="https://mdn.github.io/webassembly-examples/js-api-examples/memory.html">см. её также вживую</a>) — эта версия использует функцию <code><a href="https://github.com/mdn/webassembly-examples/blob/master/wasm-utils.js">fetchAndInstantiate()</a></code>.</p>
</div>
<h2 id="Таблицы">Таблицы</h2>
@@ -198,7 +198,7 @@ console.log(sum);</pre>
<p>Сделайте локальную копию файла <a href="https://github.com/mdn/webassembly-examples/raw/master/js-api-examples/table.wasm">table.wasm</a> в новой директории.</p>
<div class="note">
- <p><strong>Примечание</strong>: Вы можете посмотреть текстовое представление модуля в файле <a href="https://github.com/mdn/webassembly-examples/blob/master/js-api-examples/table.wat">table.wat</a>.</p>
+ <p><strong>Примечание</strong>: вы можете посмотреть текстовое представление модуля в файле <a href="https://github.com/mdn/webassembly-examples/blob/master/js-api-examples/table.wat">table.wat</a>.</p>
</div>
</li>
<li>
@@ -224,7 +224,7 @@ console.log(tbl.get(1)());  // 42</pre>
<p>Этот код получает доступ к каждой ссылке на функцию, которая размещена в таблице, после чего вызывает её и выводит хранимое значение в консоль. Обратите внимание, что каждая ссылка на функцию получена с помощью вызова метода <code><a href="/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Table/get">Table.prototype.get()</a></code>, после чего мы добавили пару круглых скобок для вызова самой функции.</p>
<div class="note">
-<p><strong>Примечание</strong>: Вы можете найти нашу полную демонстрацию в файле <a href="https://github.com/mdn/webassembly-examples/blob/master/js-api-examples/table.html">table.html</a> (см. её также <a href="https://mdn.github.io/webassembly-examples/js-api-examples/table.html">вживую</a>) — эта версия использует функцию <code><a href="https://github.com/mdn/webassembly-examples/blob/master/wasm-utils.js">fetchAndInstantiate()</a></code>.</p>
+<p><strong>Примечание</strong>: вы можете найти нашу полную демонстрацию в файле <a href="https://github.com/mdn/webassembly-examples/blob/master/js-api-examples/table.html">table.html</a> (см. её также <a href="https://mdn.github.io/webassembly-examples/js-api-examples/table.html">вживую</a>) — эта версия использует функцию <code><a href="https://github.com/mdn/webassembly-examples/blob/master/wasm-utils.js">fetchAndInstantiate()</a></code>.</p>
</div>
<h2 id="Глобальные_переменные">Глобальные переменные</h2>
@@ -273,7 +273,7 @@ WebAssembly.instantiateStreaming(fetch('global.wasm'), { js: { global } })
});</pre>
<div class="note">
-<p><strong>Примечание</strong>: Вы можете увидеть этот пример вживую на <a href="https://mdn.github.io/webassembly-examples/js-api-examples/global.html"> GitHub</a>; смотрите также <a href="https://github.com/mdn/webassembly-examples/blob/master/js-api-examples/global.html">исходники</a>.</p>
+<p><strong>Примечание</strong>: вы можете увидеть этот пример вживую на <a href="https://mdn.github.io/webassembly-examples/js-api-examples/global.html"> GitHub</a>; смотрите также <a href="https://github.com/mdn/webassembly-examples/blob/master/js-api-examples/global.html">исходники</a>.</p>
</div>
<h2 id="Множественность">Множественность</h2>