Skip to content

Commit

Permalink
i18n(ko-KR): update error-reference.mdx and errors/ (#7874)
Browse files Browse the repository at this point in the history
* i18n(ko-KR): update `error-reference.mdx` and `errors/`

* Update src/content/docs/ko/reference/errors/incorrect-strategy-for-i18n.mdx

Co-authored-by: liruifengv <liruifeng1024@gmail.com>

---------

Co-authored-by: liruifengv <liruifeng1024@gmail.com>
Co-authored-by: Yan <61414485+yanthomasdev@users.noreply.github.com>
  • Loading branch information
3 people authored Apr 12, 2024
1 parent b7b538a commit 864633d
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/content/docs/ko/reference/error-reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ import DontEditWarning from '~/components/DontEditWarning.astro'
- [**FailedToFindPageMapSSR**](/ko/reference/errors/failed-to-find-page-map-ssr/)<br/>Astro가 렌더링할 올바른 페이지를 찾을 수 없습니다.
- [**MissingLocale**](/ko/reference/errors/missing-locale/)<br/>제공된 언어가 존재하지 않습니다.
- [**MissingIndexForInternationalization**](/ko/reference/errors/missing-index-for-internationalization/)<br/>색인 페이지를 찾을 수 없습니다.
- [**IncorrectStrategyForI18n**](/ko/reference/errors/incorrect-strategy-for-i18n/)<br/>현재 전략에는 현재 함수를 사용할 수 없습니다
- [**NoPrerenderedRoutesWithDomains**](/ko/reference/errors/no-prerendered-routes-with-domains/)<br/>국제화 도메인이 활성화된 경우 사전 렌더링된 경로는 지원되지 않습니다.
- [**MissingMiddlewareForInternationalization**](/ko/reference/errors/missing-middleware-for-internationalization/)<br/>미들웨어 없이 수동 국제화 라우팅을 활성화했습니다.
- [**CantRenderPage**](/ko/reference/errors/cant-render-page/)<br/>Astro가 경로를 렌더링할 수 없습니다.
- [**UnhandledRejection**](/ko/reference/errors/unhandled-rejection/)<br/>처리될 수 없는 오류가 발생했습니다.
- [**i18nNotEnabled**](/ko/reference/errors/i18n-not-enabled/)<br/>i18n이 활성화되지 않았습니다.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
title: You can't use the current function with the current strategy
i18nReady: true
githubURL: https://github.com/withastro/astro/blob/main/packages/astro/src/core/errors/errors-data.ts
---

> **IncorrectStrategyForI18n**: The function `FUNCTION_NAME` can only be used when the `i18n.routing.strategy` is set to `"manual"`.
## 무엇이 잘못되었나요?
일부 국제화 함수는 Astro의 자체 i18n 라우팅이 `i18n.routing: "manual"` 구성 설정에 의해 비활성화된 경우에만 사용할 수 있습니다.

**더 보기:**
- [`i18n` routing](/ko/guides/internationalization/#routing)
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: Enabled manual internationalization routing without having a middleware.
i18nReady: true
githubURL: https://github.com/withastro/astro/blob/main/packages/astro/src/core/errors/errors-data.ts
---

> **MissingMiddlewareForInternationalization**: Your configuration setting `i18n.routing: 'manual'` requires you to provide your own i18n `middleware` file.
## 무엇이 잘못되었나요?
사용자가 수동 라우팅을 활성화했지만 미들웨어 파일이 없으면 Astro에서 오류가 발생합니다.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ i18nReady: true
githubURL: https://github.com/withastro/astro/blob/main/packages/astro/src/core/errors/errors-data.ts
---

> **NoPrerenderedRoutesWithDomains**: Static pages aren't yet supported with multiple domains. If you wish to enable this feature, you have to disable prerendering for the page COMPONENT
> **NoPrerenderedRoutesWithDomains**: Static pages aren't yet supported with multiple domains. To enable this feature, you must disable prerendering for the page COMPONENT
## 무엇이 잘못되었나요?

Expand Down

0 comments on commit 864633d

Please sign in to comment.