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(id) Update components.mdx #1782

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

yudyananda
Copy link
Contributor

Description

Updating outdated and fix small error in translation

Copy link

changeset-bot bot commented Apr 24, 2024

⚠️ No Changeset found

Latest commit: c7a4605

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

vercel bot commented Apr 24, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
starlight ✅ Ready (Inspect) Visit Preview Apr 24, 2024 3:10am

@github-actions github-actions bot added i18n Anything to do with internationalization & translation efforts 📚 docs Documentation website changes labels Apr 24, 2024
@astrobot-houston
Copy link
Collaborator

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

Locale File Note
id guides/components.mdx Localization changed, 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
Member

@HiDeoo HiDeoo left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution 🙌

I left a few comments on the PR but this is looking really great 👍

Something I noticed in this PR, is that heading level 3 in the "Built-in components" section, e.g. ### Tabs, ### Cards, etc., are usually translated as they do not need to match component names. Do you think this is something that would make sense in this specific case? Totally fine if you think it's not necessary or would make the documentation less clear. Just wanted to bring it up in case you think it's a good idea and would like to make the change.

Setiap `<TabItem>` harus memiliki `label` untuk ditampilkan kepada pengguna.
Gunakan atribut opsional `icon` untuk mengikutsertakan salah satu [ikon bawaan Starlight ](#semua-icon) disamping label.

```mdx
import { Tabs, TabItem } from '@astrojs/starlight/components';
Copy link
Member

Choose a reason for hiding this comment

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

I cannot suggest a change for it but the example below is missing the icons from https://github.com/withastro/starlight/pull/1568/files#diff-bde0eef3b5aa6eb8762ac30b4992c55505bc9eb0373f4a05d81f58f39c05e3bd

@@ -69,7 +70,7 @@ import { Tabs, TabItem } from '@astrojs/starlight/components';
</Tabs>
```

Kode di atas akan menampilkan tab seperti berikut pada halaman:
Kode di atas akan menampilkan tab-tab berikut pada halaman:

<Tabs>
Copy link
Member

Choose a reason for hiding this comment

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

Same for this example regarding icons.

@@ -163,6 +164,198 @@ import { LinkCard } from '@astrojs/starlight/components';
<LinkCard title="Komponen" href="/id/guides/components/" />
</CardGrid>

### Aside

_Aside_ (dikenal juga sebagai “_admonition_” or “_callout_”) berguna untuk menampilkan informasi sekunder di samping konten utama halaman.
Copy link
Member

Choose a reason for hiding this comment

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

I assume there is no better word than the English "aside" one that would fit here and be well understood? Not an issue, it's perfectly fine, just asking for curiosity and you definitely know what is best.

Comment on lines +276 to +277

The following syntax can be used to customize the appearance of the file tree:
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
The following syntax can be used to customize the appearance of the file tree:

This is probably something forgotten.


<FileTree>

- astro.config.mjs an **important** file
Copy link
Member

Choose a reason for hiding this comment

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

Do you think it would make sense to translate the "an important file comment". We did it in other languages so if we can, I think it could help a bit. Let me know what you think.


<FileTree>

- astro.config.mjs an **important** file
Copy link
Member

Choose a reason for hiding this comment

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

Same question as the previous comment, if we translate it above, we need to update this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📚 docs Documentation website changes i18n Anything to do with internationalization & translation efforts
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants