aboutsummaryrefslogtreecommitdiff
path: root/files/ru/orphaned/web/api/navigatorlanguage/language/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/ru/orphaned/web/api/navigatorlanguage/language/index.html')
-rw-r--r--files/ru/orphaned/web/api/navigatorlanguage/language/index.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/files/ru/orphaned/web/api/navigatorlanguage/language/index.html b/files/ru/orphaned/web/api/navigatorlanguage/language/index.html
index 7ec296b159..80ae09fc1c 100644
--- a/files/ru/orphaned/web/api/navigatorlanguage/language/index.html
+++ b/files/ru/orphaned/web/api/navigatorlanguage/language/index.html
@@ -8,16 +8,16 @@ original_slug: Web/API/NavigatorLanguage/language
<p><span id="result_box" lang="ru"><span>Свойство <code><strong>NavigatorLanguage.language</strong></code></span> <span class="hps">только для чтения, оно</span> <span class="hps">возвращает</span> <span class="hps">строку, представляющую</span> <span class="hps">предпочитаемый</span> <span class="hps">пользователем язык</span><span>, как правило это</span><span class="hps"> язык</span> <span class="hps">пользовательского интерфейса</span> <span class="hps">браузера</span><span>.</span></span></p>
-<h2 id="Syntax" name="Syntax">Синтаксис</h2>
+<h2 id="Syntax">Синтаксис</h2>
<pre class="eval"><em>lang</em> = <em>globalObj</em>.navigator.language
</pre>
-<h3 id="Parameters" name="Parameters">Значение</h3>
+<h3 id="Parameters">Значение</h3>
<p>Строка представляющая версию языка которая определена в <a class="external" href="http://tools.ietf.org/html/rfc4646">RFC 4646</a>. <span id="result_box" lang="ru"><span class="hps">Пример</span>ы <span class="hps">валидных</span> языковых кодов <span class="hps">включают </span><span class="atn hps">"</span><span>en</span><span>"</span><span>,</span> <span class="atn hps">"</span><span>EN-US</span><span>"</span><span>,</span> <span class="hps">"FR</span><span class="atn">", "</span><span>es</span><span>-ES"</span> <span class="hps">и т.д.</span></span></p>
-<h2 id="Example" name="Example">Пример</h2>
+<h2 id="Example">Пример</h2>
<pre class="brush: js">if ( window.navigator.language.slice(0, 2) !== "en" ) {
doLangSelect(window.navigator.language);
@@ -45,7 +45,7 @@ original_slug: Web/API/NavigatorLanguage/language
<p>{{Compat("api.NavigatorLanguage.language")}}</p>
-<h2 id="See_also" name="See_also">Смотрите также</h2>
+<h2 id="See_also">Смотрите также</h2>
<ul>
<li>{{domxref("NavigatorLanguage.languages","navigator.languages")}}</li>