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

i18n(ru): update translations for imports.mdx #9907

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

Gennad-r
Copy link

@Gennad-r Gennad-r commented Nov 4, 2024

Description (required)

Russian translations for imports.mdx

First-time contributor to Astro Docs?

yes

Copy link

netlify bot commented Nov 4, 2024

Deploy Preview for astro-docs-2 ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 115a6f3
🔍 Latest deploy log https://app.netlify.com/sites/astro-docs-2/deploys/67449212e76f1900084f9626
😎 Deploy Preview https://deploy-preview-9907--astro-docs-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@github-actions github-actions bot added the i18n Anything to do with internationalization & translation efforts - ask @YanThomas for help! label Nov 4, 2024
@astrobot-houston
Copy link
Contributor

Hello! Thank you for opening your first PR to Astro’s Docs! 🎉

Here’s what will happen next:

  1. Our GitHub bots will run to check your changes.
    If they spot any broken links you will see some error messages on this PR.
    Don’t hesitate to ask any questions if you’re not sure what these mean!

  2. In a few minutes, you’ll be able to see a preview of your changes on Netlify 🥳.

  3. One or more of our maintainers will take a look and may ask you to make changes.
    We try to be responsive, but don’t worry if this takes a few days.

@astrobot-houston
Copy link
Contributor

astrobot-houston commented Nov 4, 2024

Lunaria Status Overview

🌕 This pull request will trigger status changes.

Learn more

By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.

You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

File Note
ru/guides/imports.mdx Localization added, will be marked as complete.
Warnings reference
Icon Description
🔄️ The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

Copy link
Contributor

@jsparkdev jsparkdev left a comment

Choose a reason for hiding this comment

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

Welcome to your first contribution!

src/content/docs/ru/guides/imports.mdx Outdated Show resolved Hide resolved
src/content/docs/ru/guides/imports.mdx Outdated Show resolved Hide resolved
src/content/docs/ru/guides/imports.mdx Outdated Show resolved Hide resolved
src/content/docs/ru/guides/imports.mdx Outdated Show resolved Hide resolved
src/content/docs/ru/guides/imports.mdx Show resolved Hide resolved

Шаблон glob - это путь к файлу, который поддерживает специальные символы подстановки. Это используется для ссылки на несколько файлов в вашем проекте одновременно.

Например, шаблон glob `./pages/**/*.{md,mdx}` начинается в подкаталог�� pages, просматривает все его подкаталоги (`/**`) и соответствует любому имени файла (`/*`), которое заканчи��ается на `.md` или `.mdx` (`.{md,mdx}`).
Copy link
Contributor

Choose a reason for hiding this comment

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

Some strings don't seem to be rendering correctly.

src/content/docs/ru/guides/imports.mdx Outdated Show resolved Hide resolved
Gennad-r and others added 9 commits November 12, 2024 09:59
Co-authored-by: Junseong Park <39112954+jsparkdev@users.noreply.github.com>
Co-authored-by: Junseong Park <39112954+jsparkdev@users.noreply.github.com>
Co-authored-by: Junseong Park <39112954+jsparkdev@users.noreply.github.com>
Co-authored-by: Junseong Park <39112954+jsparkdev@users.noreply.github.com>
Co-authored-by: Junseong Park <39112954+jsparkdev@users.noreply.github.com>
Co-authored-by: Junseong Park <39112954+jsparkdev@users.noreply.github.com>
Copy link
Contributor

@jsparkdev jsparkdev left a comment

Choose a reason for hiding this comment

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

Thank you for your contribution.

A few things need to be corrected.

src/content/docs/ru/guides/imports.mdx Outdated Show resolved Hide resolved

#### `Astro.glob()` vs `getCollection()`

[Коллекции контента](/ru/guides/content-collections/) предоставляют API [`getCollection()`](/ru/reference/modules/astro-content/#getcollection) для загрузки нескольких файлов вместо `Astro.glob()`. Если ваши файлы контента (например, Mark загружает и инициализирует запрошенный файл коллекции в каталоге `src/content/`), используйте `getCollection()`, чтобы [запросить коллекцию](/ru/guides/content-collections/#querying-collections) и вернуть записи контента.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
[Коллекции контента](/ru/guides/content-collections/) предоставляют API [`getCollection()`](/ru/reference/modules/astro-content/#getcollection) для загрузки нескольких файлов вместо `Astro.glob()`. Если ваши файлы контента (например, Mark загружает и инициализирует запрошенный файл коллекции в каталоге `src/content/`), используйте `getCollection()`, чтобы [запросить коллекцию](/ru/guides/content-collections/#querying-collections) и вернуть записи контента.
[Коллекции контента](/ru/guides/content-collections/) предоставляют API [`getCollection()`](/ru/reference/modules/astro-content/#getcollection) для загрузки нескольких файлов вместо `Astro.glob()`. Если ваши файлы контента (например, Mark загружает и инициализирует запрошенный файл коллекции в каталоге `src/content/`), используйте `getCollection()`, чтобы [запросить коллекцию](/ru/guides/content-collections/#запрос-к-коллекциям) и вернуть записи контента.


[Коллекции контента](/ru/guides/content-collections/) предоставляют API [`getCollection()`](/ru/reference/modules/astro-content/#getcollection) для загрузки нескольких файлов вместо `Astro.glob()`. Если ваши файлы контента (например, Mark загружает и инициализирует запрошенный файл коллекции в каталоге `src/content/`), используйте `getCollection()`, чтобы [запросить коллекцию](/ru/guides/content-collections/#querying-collections) и вернуть записи контента.

<ReadMore>Узнайте больше о [подключении коллекций](/ru/guides/content-collections/#запрос-к-коллекциям) и возврате записей контента.</ReadMore>
Copy link
Contributor

@jsparkdev jsparkdev Nov 13, 2024

Choose a reason for hiding this comment

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

Looks like I made a mistake!

<ReadMore> component doesn't seem to exist in the original documentation.

If you have any other thoughts, let me know!

const wasm = await WebAssembly.instantiateStreaming(fetch('/example.wasm'));
```

Astro поддерживает загрузку WASM файлов напрямую в ваше приложение, используя API браузера [`WebAssembly`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly).
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Astro поддерживает загрузку WASM файлов напрямую в ваше приложение, используя API браузера [`WebAssembly`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly).
Astro поддерживает загрузку WASM файлов напрямую в ваше приложение, используя API браузера [`WebAssembly`](https://developer.mozilla.org/ru/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly).

Gennad-r and others added 2 commits November 21, 2024 11:31
@sarah11918
Copy link
Member

Hi @Gennad-r ! Same comment here as the other PR! I'm sorry for the delay but we will wait to merge this one into v5 docs!

Copy link
Member

@sarah11918 sarah11918 left a comment

Choose a reason for hiding this comment

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

Just putting a block on this so it does not get accidentally merged into v4 docs!

See you in v5! 😄

@sarah11918
Copy link
Member

OK @Gennad-r ! V5 is out, so I'm taking off the block, but please do update your branch because the site has changed A LOT since this PR was made. 😅 I'm sorry if there might be conflicts to deal with!

@sarah11918 sarah11918 dismissed their stale review December 5, 2024 18:41

v5 is out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
i18n Anything to do with internationalization & translation efforts - ask @YanThomas for help!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants