Skip to content

I added a few pages translated into Turkish.#1038

Closed
hamer1818 wants to merge 4 commits intowithastro:mainfrom
hamer1818:main
Closed

I added a few pages translated into Turkish.#1038
hamer1818 wants to merge 4 commits intowithastro:mainfrom
hamer1818:main

Conversation

@hamer1818
Copy link
Copy Markdown

What kind of changes does this PR include?

  • Changes or translations of Starlight docs site content

Description

  • I added a few pages translated into Turkish.

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Nov 3, 2023

⚠️ No Changeset found

Latest commit: 0eaddd9

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

@netlify
Copy link
Copy Markdown

netlify bot commented Nov 3, 2023

Deploy Preview for astro-starlight ready!

Name Link
🔨 Latest commit 0eaddd9
🔍 Latest deploy log https://app.netlify.com/sites/astro-starlight/deploys/654abe2bb20ddf000877a34c
😎 Deploy Preview https://deploy-preview-1038--astro-starlight.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 100 (no change from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 92 (no change from production)
PWA: -
View the detailed breakdown and full score reports

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

@github-actions github-actions bot added i18n Anything to do with internationalization & translation efforts 📚 docs Documentation website changes labels Nov 3, 2023
Copy link
Copy Markdown
Contributor

@astrobot-houston astrobot-houston left a comment

Choose a reason for hiding this comment

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

Hello! Thank you for opening your first PR to Starlight! ✨

Here’s what will happen next:

  1. Our GitHub bots will run to check your changes.
    If they spot any issues 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.

Copy link
Copy Markdown
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 translations 🙌

I have not reviewed any of the translations yet but I am suggesting a few changes to make the build pass in case this can help.

To explain what is happening, some relative import paths need to be updated as the Turkish translations are in a nested tr folder compared to the English ones.

@hamer1818
Copy link
Copy Markdown
Author

Thanks for the translations 🙌

I have not reviewed any of the translations yet but I am suggesting a few changes to make the build pass in case this can help.

To explain what is happening, some relative import paths need to be updated as the Turkish translations are in a nested tr folder compared to the English ones.

I never thought of this, thank you.

Co-authored-by: HiDeoo <494699+HiDeoo@users.noreply.github.com>
Copy link
Copy Markdown
Member

@delucis delucis 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 this big PR @hamer1818! I appreciate you taking the time to help make our docs available to readers of Turkish.

Took me a while to go through, but left quite a few comments. 90% of these are making sure that links point to the /tr/ version of pages and use the correct # links for headings translated to Turkish. I also noticed a few formatting fixes and left a couple of questions.


Oh and one thing: I noticed you clicked “Resolve conversation” on @HiDeoo’s suggestions, but this doesn’t apply them. To apply, you can click the “Commit suggestion” button below the code suggestion:

image

Or switch to the “Files changed” tab, which lets you use the “Add suggestion to batch” to collect a bunch of suggestions before committing.

Starlight Tailwind eklentisi aşağıdaki yapılandırmayı uygular:

- Tailwind'in `dark:` varyantlarını Starlight'ın karanlık moduyla uyumlu hale getirir.
- Starlight'ın kullanıcı arayüzünde Tailwind [tema renklerini ve yazı tiplerini](#styling-starlight-with-tailwind) kullanır.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This link needs to match the translated heading on this page:

Suggested change
- Starlight'ın kullanıcı arayüzünde Tailwind [tema renklerini ve yazı tiplerini](#styling-starlight-with-tailwind) kullanır.
- Starlight'ın kullanıcı arayüzünde Tailwind [tema renklerini ve yazı tiplerini](#starlightı-tailwind-ile-stilize-etme) kullanır.

Comment on lines +279 to +282
Bu temayı sitenize uygulamak için projenize aşağıdaki CSS kodunu [özel bir CSS dosyasına](#custom-css-styles) ekleyin:
</Fragment>
<Fragment slot="tailwind-docs">
Aşağıdaki örnek [Tailwind yapılandırma dosyası](#styling-starlight-with-tailwind),
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Same here:

Suggested change
Bu temayı sitenize uygulamak için projenize aşağıdaki CSS kodunu [özel bir CSS dosyasına](#custom-css-styles) ekleyin:
</Fragment>
<Fragment slot="tailwind-docs">
Aşağıdaki örnek [Tailwind yapılandırma dosyası](#styling-starlight-with-tailwind),
Bu temayı sitenize uygulamak için projenize aşağıdaki CSS kodunu [özel bir CSS dosyasına](#özel-css-stilleri) ekleyin:
</Fragment>
<Fragment slot="tailwind-docs">
Aşağıdaki örnek [Tailwind yapılandırma dosyası](#starlightı-tailwind-ile-stilize-etme),


</FileTree>

2. Logonuzun yolunu, `astro.config.mjs` dosyasındaki Starlight [`logo.src`](/reference/configuration/#logo) seçeneği olarak ekleyin:
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We should link to the Turkish version of this page here:

Suggested change
2. Logonuzun yolunu, `astro.config.mjs` dosyasındaki Starlight [`logo.src`](/reference/configuration/#logo) seçeneği olarak ekleyin:
2. Logonuzun yolunu, `astro.config.mjs` dosyasındaki Starlight [`logo.src`](/tr/reference/configuration/#logo) seçeneği olarak ekleyin:

Comment on lines +106 to +107
Sayfa ön bilgilerinde [`template: splash`](/reference/frontmatter/#template) olarak ayarlayarak kenar çubuksuz daha geniş bir sayfa düzeni uygulayabilirsiniz.
Bu özellikle giriş sayfaları için uygun bir seçenektir ve bu site'nin [anasayfasında](/) görmekte olduğunuz gibi çalışır.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Same here:

Suggested change
Sayfa ön bilgilerinde [`template: splash`](/reference/frontmatter/#template) olarak ayarlayarak kenar çubuksuz daha geniş bir sayfa düzeni uygulayabilirsiniz.
Bu özellikle giriş sayfaları için uygun bir seçenektir ve bu site'nin [anasayfasında](/) görmekte olduğunuz gibi çalışır.
Sayfa ön bilgilerinde [`template: splash`](/tr/reference/frontmatter/#template) olarak ayarlayarak kenar çubuksuz daha geniş bir sayfa düzeni uygulayabilirsiniz.
Bu özellikle giriş sayfaları için uygun bir seçenektir ve bu site'nin [anasayfasında](/tr/) görmekte olduğunuz gibi çalışır.

Comment on lines +191 to +193
Starlight, Starlight entegrasyonu içindeki [`social`](/reference/configuration/#social) seçeneği aracılığıyla site başlığına sosyal medya hesaplarınıza bağlantılar eklemeyi destekler.

Desteklenen bağlantı simgelerinin tam listesini [Yapılandırma Referansı]((/reference/configuration/#social)) sayfasında bulabilirsiniz.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
Starlight, Starlight entegrasyonu içindeki [`social`](/reference/configuration/#social) seçeneği aracılığıyla site başlığına sosyal medya hesaplarınıza bağlantılar eklemeyi destekler.
Desteklenen bağlantı simgelerinin tam listesini [Yapılandırma Referansı]((/reference/configuration/#social)) sayfasında bulabilirsiniz.
Starlight, Starlight entegrasyonu içindeki [`social`](/tr/reference/configuration/#social) seçeneği aracılığıyla site başlığına sosyal medya hesaplarınıza bağlantılar eklemeyi destekler.
Desteklenen bağlantı simgelerinin tam listesini [Yapılandırma Referansı](/tr/reference/configuration/#social) sayfasında bulabilirsiniz.


## Frontmatter alanları

### `title` (Gerekli)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Noticed that “gerekli” is lowercase in the configuration reference. Should it be the same here?

Suggested change
### `title` (Gerekli)
### `title` (gerekli)


**Tür:** `string | boolean`

[global `editLink` yapılandırmasını](/reference/configuration/#editlink) geçersiz kılar. Belirli bir sayfa için "Sayfayı Düzenle" bağlantısını devre dışı bırakmak için `false` olarak ayarlayın veya bu sayfanın içeriğinin düzenlenebileceği alternatif bir URL sağlayın.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Should the start of the sentence here be capitalised?

Suggested change
[global `editLink` yapılandırmasını](/reference/configuration/#editlink) geçersiz kılar. Belirli bir sayfa için "Sayfayı Düzenle" bağlantısını devre dışı bırakmak için `false` olarak ayarlayın veya bu sayfanın içeriğinin düzenlenebileceği alternatif bir URL sağlayın.
[Global `editLink` yapılandırmasını](/tr/reference/configuration/#editlink) geçersiz kılar. Belirli bir sayfa için "Sayfayı Düzenle" bağlantısını devre dışı bırakmak için `false` olarak ayarlayın veya bu sayfanın içeriğinin düzenlenebileceği alternatif bir URL sağlayın.


### `head`

**Tür:** [`HeadConfig[]`](/reference/configuration/#headconfig)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
**Tür:** [`HeadConfig[]`](/reference/configuration/#headconfig)
**Tür:** [`HeadConfig[]`](/tr/reference/configuration/#headconfig)

Comment on lines +78 to +79
**Tür:** `'doc' | 'splash'`
**varsayılan:** `'doc'`
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Noticing here that “Tür” capitalised but “varsayılan” is not. Should they be consistent?

There are a few places on this page like this.

maxHeadingLevel: 4
---

Starlight'ın yerleşik bileşenlerini, Starlight'ın [`components`](/reference/configuration#components) yapılandırma seçeneğinde yer değiştirme bileşenlerinin yolunu sağlayarak geçersiz kılabilirsiniz.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
Starlight'ın yerleşik bileşenlerini, Starlight'ın [`components`](/reference/configuration#components) yapılandırma seçeneğinde yer değiştirme bileşenlerinin yolunu sağlayarak geçersiz kılabilirsiniz.
Starlight'ın yerleşik bileşenlerini, Starlight'ın [`components`](/tr/reference/configuration#components) yapılandırma seçeneğinde yer değiştirme bileşenlerinin yolunu sağlayarak geçersiz kılabilirsiniz.

@hamer1818
Copy link
Copy Markdown
Author

i updated a new 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.

4 participants