aboutsummaryrefslogtreecommitdiff
path: root/files/ru/web/manifest/short_name/index.html
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:42:52 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:42:52 -0500
commit074785cea106179cb3305637055ab0a009ca74f2 (patch)
treee6ae371cccd642aa2b67f39752a2cdf1fd4eb040 /files/ru/web/manifest/short_name/index.html
parentda78a9e329e272dedb2400b79a3bdeebff387d47 (diff)
downloadtranslated-content-074785cea106179cb3305637055ab0a009ca74f2.tar.gz
translated-content-074785cea106179cb3305637055ab0a009ca74f2.tar.bz2
translated-content-074785cea106179cb3305637055ab0a009ca74f2.zip
initial commit
Diffstat (limited to 'files/ru/web/manifest/short_name/index.html')
-rw-r--r--files/ru/web/manifest/short_name/index.html80
1 files changed, 80 insertions, 0 deletions
diff --git a/files/ru/web/manifest/short_name/index.html b/files/ru/web/manifest/short_name/index.html
new file mode 100644
index 0000000000..a11e2e2664
--- /dev/null
+++ b/files/ru/web/manifest/short_name/index.html
@@ -0,0 +1,80 @@
+---
+title: short_name
+slug: Web/Manifest/short_name
+tags:
+ - Manifest
+ - Web
+ - short-name
+translation_of: Web/Manifest/short_name
+---
+<div>{{QuickLinksWithSubpages("/ru/docs/Web/Manifest")}}</div>
+
+<table class="fullwidth-table standard-table">
+ <tbody>
+ <tr>
+ <th scope="row">Тип</th>
+ <td><code>String</code></td>
+ </tr>
+ <tr>
+ <th scope="row">Обязателен</th>
+ <td>Нет</td>
+ </tr>
+ <tr>
+ <th scope="row">Пример</th>
+ <td>
+ <pre class="brush: json">
+"short_name": "Awesome app"</pre>
+ </td>
+ </tr>
+ </tbody>
+</table>
+
+<p>Элемент <code>short_<dfn>name</dfn></code> -- это строка, которая определяет название веб-приложения показываемае пользователю, если для отображения <code><a href="./name">name</a></code> не достаточно места (например, в качестве надписи под иконкой приложения на экране телефона). <code>short_name</code> может отображаться слева-направо или справе-налево, в зависимости от значений элементов манифеста <code><a href="./dir">dir</a></code> and <code><a href="./lang">lang</a></code>.</p>
+
+<h2 id="Примеры">Примеры</h2>
+
+<p>Обычно <code>short_name</code> отображается слева-направо:</p>
+
+<pre class="brush: json">"name": "Awesome application",
+"short_name": "Awesome app"</pre>
+
+<p><code>short_name</code> на арабском отображается справа-налево:</p>
+
+<pre class="brush: json" dir="rtl"><code>"dir": "rtl",
+"lang": "ar",
+"nam</code>e": "تطبيق رائع",
+"short_name": "رائع"
+</pre>
+
+<h2 id="Specification">Specification</h2>
+
+<table>
+ <thead>
+ <tr>
+ <th scope="col">Specification</th>
+ <th scope="col">Status</th>
+ <th scope="col">Comment</th>
+ <th scope="col">Feedback</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>
+ <p>{{SpecName('Manifest', '#short_name-member', 'short_name')}}</p>
+ </td>
+ <td>
+ <p>{{Spec2('Manifest')}}</p>
+ </td>
+ <td>
+ <p>Initial definition.</p>
+ </td>
+ <td>
+ <p><a href="https://github.com/w3c/manifest/issues/">Web App Manifest Working Group drafts</a></p>
+ </td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="Поддержка_браузерами">Поддержка браузерами</h2>
+
+<p>{{Compat("html.manifest.name")}}</p>