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

[ru]: update Web/HTML/Element/title translation #24294

Closed
wants to merge 14 commits into from
Closed

Conversation

sedlukha
Copy link
Contributor

@sedlukha sedlukha commented Oct 31, 2024

Description

This PR updates Web/HTML/Element/title translation in ru locale.

  • добавлен l10n.sourceCommit
  • атрибуты - исправлена ссылка на глобальные атрибуты
  • примечание - минимально обновлен текст с целью упростить читаемость
  • доступность - обновлено описание (как в en версии), добавлена заметка (NOTE)
  • примеры - изменен заголовок, перемещен в конец документа перед технической сводкой
  • техническая сводка - переделана на html-верстку, перемещена в конец документа

@sedlukha sedlukha requested a review from a team as a code owner October 31, 2024 20:15
@sedlukha sedlukha requested review from saionaro and removed request for a team October 31, 2024 20:15
@github-actions github-actions bot added the l10n-ru Issues related to Russian content. label Oct 31, 2024
Copy link
Contributor

github-actions bot commented Oct 31, 2024

Preview URLs

Flaws (25)

URL: /ru/docs/Web/HTML/Element/title
Title: <title>: элемент заголовка документа
Flaw count: 25

  • macros:
    • /ru/docs/Web/HTML/Attributes/accept does not exist but fell back to /en-US/docs/Web/HTML/Attributes/accept
    • /ru/docs/Web/HTML/Attributes/autocomplete does not exist but fell back to /en-US/docs/Web/HTML/Attributes/autocomplete
    • /ru/docs/Web/HTML/Attributes/capture does not exist but fell back to /en-US/docs/Web/HTML/Attributes/capture
    • /ru/docs/Web/HTML/Attributes/dirname does not exist but fell back to /en-US/docs/Web/HTML/Attributes/dirname
    • /ru/docs/Web/HTML/Attributes/disabled does not exist but fell back to /en-US/docs/Web/HTML/Attributes/disabled
    • and 18 more flaws omitted
  • broken_links:
    • Can't resolve /ru/docs/Web/Guide/HTML/Content_categories
    • Can't resolve /ru/docs/Web/Guide/HTML/Content_categories#метаданные
External URLs (1)

URL: /ru/docs/Web/HTML/Element/title
Title: <title>: элемент заголовка документа

(comment last updated: 2024-12-05 17:21:59)

Copy link
Contributor

github-actions bot commented Nov 5, 2024

This pull request has merge conflicts that must be resolved before it can be merged.

@github-actions github-actions bot added the merge conflicts 🚧 This pull request has merge conflicts that must be resolved. label Nov 5, 2024
# Conflicts:
#	files/ru/web/html/element/title/index.md
@github-actions github-actions bot removed the merge conflicts 🚧 This pull request has merge conflicts that must be resolved. label Nov 5, 2024
sedlukha and others added 2 commits November 10, 2024 20:10
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@sedlukha sedlukha changed the title [ru]: <title> docs sync [ru]: update Web/HTML/Element/title translation Nov 10, 2024
@sedlukha sedlukha marked this pull request as draft November 24, 2024 14:41
@sedlukha sedlukha marked this pull request as ready for review November 24, 2024 18:55

{{HTMLSidebar}}

The **`<link>`** [HTML](/en-US/docs/Web/HTML) element specifies relationships between the current document and an external resource.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[mdn-linter] reported by reviewdog 🐶

Suggested change
The **`<link>`** [HTML](/en-US/docs/Web/HTML) element specifies relationships between the current document and an external resource.
The **`<link>`** [HTML](/ru/docs/Web/HTML) element specifies relationships between the current document and an external resource.

<link href="main.css" rel="stylesheet" />
```

This example provides the path to the stylesheet inside an `href` attribute and a [`rel`](/en-US/docs/Web/HTML/Attributes/rel) attribute with a value of `stylesheet`. The `rel` stands for "relationship", and is one of the key features of the `<link>` element — the value denotes how the item being linked to is related to the containing document.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[mdn-linter] reported by reviewdog 🐶

Suggested change
This example provides the path to the stylesheet inside an `href` attribute and a [`rel`](/en-US/docs/Web/HTML/Attributes/rel) attribute with a value of `stylesheet`. The `rel` stands for "relationship", and is one of the key features of the `<link>` element — the value denotes how the item being linked to is related to the containing document.
This example provides the path to the stylesheet inside an `href` attribute and a [`rel`](/ru/docs/Web/HTML/Attributes/rel) attribute with a value of `stylesheet`. The `rel` stands for "relationship", and is one of the key features of the `<link>` element — the value denotes how the item being linked to is related to the containing document.

crossorigin="anonymous" />
```

A `rel` value of `preload` indicates that the browser should preload this resource (see [`rel="preload"`](/en-US/docs/Web/HTML/Attributes/rel/preload) for more details), with the `as` attribute indicating the specific class of content being fetched.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[mdn-linter] reported by reviewdog 🐶

Suggested change
A `rel` value of `preload` indicates that the browser should preload this resource (see [`rel="preload"`](/en-US/docs/Web/HTML/Attributes/rel/preload) for more details), with the `as` attribute indicating the specific class of content being fetched.
A `rel` value of `preload` indicates that the browser should preload this resource (see [`rel="preload"`](/ru/docs/Web/HTML/Attributes/rel/preload) for more details), with the `as` attribute indicating the specific class of content being fetched.

For example, the `stylesheet` link type is body-ok, and therefore `<link rel="stylesheet">` is permitted in the body.
However, this isn't a good practice to follow; it makes more sense to separate your `<link>` elements from your body content, putting them in the `<head>`.
- When using `<link>` to establish a favicon for a site, and your site uses a Content Security Policy (CSP) to enhance its security, the policy applies to the favicon.
If you encounter problems with the favicon not loading, verify that the {{HTTPHeader("Content-Security-Policy")}} header's [`img-src` directive](/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/img-src) is not preventing access to it.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[mdn-linter] reported by reviewdog 🐶

Suggested change
If you encounter problems with the favicon not loading, verify that the {{HTTPHeader("Content-Security-Policy")}} header's [`img-src` directive](/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/img-src) is not preventing access to it.
If you encounter problems with the favicon not loading, verify that the {{HTTPHeader("Content-Security-Policy")}} header's [`img-src` directive](/ru/docs/Web/HTTP/Headers/Content-Security-Policy/img-src) is not preventing access to it.


## Attributes

This element includes the [global attributes](/en-US/docs/Web/HTML/Global_attributes).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[mdn-linter] reported by reviewdog 🐶

Suggested change
This element includes the [global attributes](/en-US/docs/Web/HTML/Global_attributes).
This element includes the [global attributes](/ru/docs/Web/HTML/Global_attributes).


### Preload examples

You can find a number of `<link rel="preload">` examples in [Preloading content with `rel="preload"`](/en-US/docs/Web/HTML/Attributes/rel/preload).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[mdn-linter] reported by reviewdog 🐶

Suggested change
You can find a number of `<link rel="preload">` examples in [Preloading content with `rel="preload"`](/en-US/docs/Web/HTML/Attributes/rel/preload).
You can find a number of `<link rel="preload">` examples in [Preloading content with `rel="preload"`](/ru/docs/Web/HTML/Attributes/rel/preload).

<tbody>
<tr>
<th>
<a href="/en-US/docs/Web/HTML/Content_categories">Content categories</a>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[mdn-linter] reported by reviewdog 🐶

Suggested change
<a href="/en-US/docs/Web/HTML/Content_categories">Content categories</a>
<a href="/ru/docs/Web/HTML/Content_categories">Content categories</a>

Comment on lines +418 to +420
If <code><a href="/en-US/docs/Web/HTML/Global_attributes/itemprop">itemprop</a></code> is present:
<a href="/en-US/docs/Web/HTML/Content_categories#flow_content">Flow content</a> and
<a href="/en-US/docs/Web/HTML/Content_categories#phrasing_content">phrasing content</a>.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[mdn-linter] reported by reviewdog 🐶

Suggested change
If <code><a href="/en-US/docs/Web/HTML/Global_attributes/itemprop">itemprop</a></code> is present:
<a href="/en-US/docs/Web/HTML/Content_categories#flow_content">Flow content</a> and
<a href="/en-US/docs/Web/HTML/Content_categories#phrasing_content">phrasing content</a>.
If <code><a href="/ru/docs/Web/HTML/Global_attributes/itemprop">itemprop</a></code> is present:
<a href="/ru/docs/Web/HTML/Content_categories#flow_content">Flow content</a> and
<a href="/ru/docs/Web/HTML/Content_categories#phrasing_content">phrasing content</a>.

Comment on lines +435 to +436
If <a href="/en-US/docs/Web/HTML/Global_attributes/itemprop">itemprop</a> is present: any element that accepts
<a href="/en-US/docs/Web/HTML/Content_categories#phrasing_content">phrasing content</a>.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[mdn-linter] reported by reviewdog 🐶

Suggested change
If <a href="/en-US/docs/Web/HTML/Global_attributes/itemprop">itemprop</a> is present: any element that accepts
<a href="/en-US/docs/Web/HTML/Content_categories#phrasing_content">phrasing content</a>.
If <a href="/ru/docs/Web/HTML/Global_attributes/itemprop">itemprop</a> is present: any element that accepts
<a href="/ru/docs/Web/HTML/Content_categories#phrasing_content">phrasing content</a>.

</tr>
<tr>
<th scope="row">Implicit ARIA role</th>
<td><a href="/en-US/docs/Web/Accessibility/ARIA/Roles/link_role"><code>link</code></a> with <code>href</code> attribute</td>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[mdn-linter] reported by reviewdog 🐶

Suggested change
<td><a href="/en-US/docs/Web/Accessibility/ARIA/Roles/link_role"><code>link</code></a> with <code>href</code> attribute</td>
<td><a href="/ru/docs/Web/Accessibility/ARIA/Roles/link_role"><code>link</code></a> with <code>href</code> attribute</td>

@sedlukha sedlukha closed this Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
l10n-ru Issues related to Russian content.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant