Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Markdown conversion for ru - Replace - Manifest section ⚠️ Do not squash ⚠️ #8906

Merged
merged 3 commits into from
Oct 17, 2022
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 0 additions & 52 deletions files/ru/web/manifest/background_color/index.html

This file was deleted.

49 changes: 49 additions & 0 deletions files/ru/web/manifest/background_color/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
---
title: background_color
slug: Web/Manifest/background_color
tags:
- Manifest
- Web
- background_color
translation_of: Web/Manifest/background_color
---
{{QuickLinksWithSubpages('/ru/docs/Web/Manifest')}}

<table class="properties">
<tbody>
<tr>
<th scope="row">Type</th>
<td><code>String</code></td>
</tr>
<tr>
<th scope="row">Mandatory</th>
<td>No</td>
</tr>
<tr>
<th scope="row">Example</th>
<td>
<pre class="brush: json no-line-numbers">"background_color": "red"</pre>
</td>
</tr>
</tbody>
</table>

`background_color` определяет ожидаемый цвет фона для веб-приложения. Это значение повторяет то, что уже доступно в стилях приложения, но может быть использовано браузерами для отрисовки цвета фона приложения после того, как манифест станет доступен, но до того, как стили загрузятся. Это создаёт плавный переход между запуском приложения и загрузкой содержимого приложения.

Therefore `background_color` should match the {{cssxref("background-color")}} CSS property in the site’s stylesheet for a smooth transition between launching the web application and loading the site's content.

> **Примечание:** Свойство `background_color` предназначено только для улучшения удобства пользования, пока главная таблица стилей загружается из сети или с носителя; не должно быть использовано агентом пользователя как свойство CSS {{cssxref('background-color')}}, когда стили приложения станут доступны.

## Пример

```json
"background_color": "red"
```

## Спецификации

{{Specifications}}

## Совместимость

{{Compat}}
78 changes: 0 additions & 78 deletions files/ru/web/manifest/categories/index.html

This file was deleted.

51 changes: 51 additions & 0 deletions files/ru/web/manifest/categories/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
---
title: categories
slug: Web/Manifest/categories
tags:
- Manifest
- Web
- categories
translation_of: Web/Manifest/categories
---
{{QuickLinksWithSubpages("/ru/docs/Web/Manifest")}}

<table class="properties">
<tbody>
<tr>
<th scope="row">Type</th>
<td><code>Array</code> of <code>String</code>s</td>
</tr>
<tr>
<th scope="row">Mandatory</th>
<td>No</td>
</tr>
<tr>
<th scope="row">Example</th>
<td>
<pre class="brush: json no-line-numbers">"categories": ["music"]</pre>
</td>
</tr>
</tbody>
</table>

_`categories`_ - это массив строк, определяющих имена категорий, к которым, предположительно, относится приложение. Нет стандартного списка возможных значений, но W3C поддерживает [список известных категорий](https://github.com/w3c/manifest/wiki/Categories).

> **Примечание:** `categories` используются только в качестве подсказок для каталогов или магазинов, содержащих веб-приложения. Как и поисковые системы и meta ключевые слова, каталоги и магазины могут игнорировать их.

> **Примечание:**значения `categories` изменяются в каталогах и магазинах перед обработкой на нижний регистр, поэтому «Новости» и «новости» рассматриваются как одно и то же значение. Разработчикам рекомендуется использовать строчные буквы в первую очередь.

## Пример

```json
"categories": ["books", "education", "medical"]
```

## Specification

| Specification | Status | Comment | Feedback |
| -------------------------------------------------------------------------------- | ---------------------------- | ------------------- | -------------------------------------------------------------------------------- |
| {{SpecName('Manifest', '#categories-member', 'categories')}} | {{Spec2('Manifest')}} | Initial definition. | [Web App Manifest Working Group drafts](https://github.com/w3c/manifest/issues/) |

## Browser compatibility

{{Compat}}
77 changes: 0 additions & 77 deletions files/ru/web/manifest/description/index.html

This file was deleted.

59 changes: 59 additions & 0 deletions files/ru/web/manifest/description/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
---
title: description
slug: Web/Manifest/description
tags:
- Manifest
- Web
- description
translation_of: Web/Manifest/description
---
{{QuickLinksWithSubpages('/ru/docs/Web/Manifest')}}

<table class="properties">
<tbody>
<tr>
<th scope="row">Type</th>
<td><code>String</code></td>
</tr>
<tr>
<th scope="row">Mandatory</th>
<td>No</td>
</tr>
<tr>
<th scope="row">Example</th>
<td>
<pre class="brush: json no-line-numbers">
"description": "Удивительное приложение, которое поможет вам достичь вашей мечты."</pre
>
</td>
</tr>
</tbody>
</table>

_`description`_ это строка, в которой разработчики могут объяснить, что делает приложение. `description` способно к направленности, что означает, что оно может отображаться слева направо или справа налево на основе значений свойств [`dir`](./dir) and [`lang`](./lang) манифеста.

## Примеры

Простой `description` на языке слева направо:

```json
"description": "Удивительное приложение, которое поможет вам достичь вашей мечты."
```

`description` на арабском языке, который будет отображаться справа налево:

```json
"dir": "rtl",
"lang": "ar",
"description": ".تطبيق رائع سيساعدك على تحقيق أحلامك"
```

## Specification

| Specification | Status | Comment | Feedback |
| ------------------------------------------------------------------------------------ | ---------------------------- | ------------------- | -------------------------------------------------------------------------------- |
| {{SpecName('Manifest', '#description-member', 'description')}} | {{Spec2('Manifest')}} | Initial definition. | [Web App Manifest Working Group drafts](https://github.com/w3c/manifest/issues/) |

## Browser compatibility

{{Compat}}
Loading