Skip to content

Commit

Permalink
i18n(ko-KR): update errors/ (withastro#9264)
Browse files Browse the repository at this point in the history
* i18n(ko-KR): update `errors/`

* i18n(ko-KR): update `errors/`

* fix: broken link

* Fix link

---------

Co-authored-by: Yan <[email protected]>
  • Loading branch information
jsparkdev and yanthomasdev authored Aug 30, 2024
1 parent cb10df6 commit 6e75246
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ i18nReady: true
githubURL: https://github.com/withastro/astro/blob/main/packages/astro/src/core/errors/errors-data.ts
---

> **ActionCalledFromServerError**: Action called from a server page or endpoint without using `Astro.callAction()`.
> **ActionCalledFromServerError**: Action called from a server page or endpoint without using `Astro.callAction()`. This wrapper must be used to call actions from server code.
## 무엇이 잘못되었나요?
`Astro.callAction()`을 사용하지 않고 서버 페이지 또는 엔드포인트에서 호출된 액션입니다.
`Astro.callAction()`을 사용하지 않고 서버 페이지 또는 엔드포인트에서 호출된 액션입니다.

**더 보기:**
- [`Astro.callAction()` 참조](/ko/reference/api-reference/#astrocallaction)
13 changes: 13 additions & 0 deletions src/content/docs/ko/reference/errors/action-not-found-error.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
title: Action not found.
i18nReady: true
githubURL: https://github.com/withastro/astro/blob/main/packages/astro/src/core/errors/errors-data.ts
---

> **ActionNotFoundError**: The server received a request for an action named `ACTION_NAME` but could not find a match. If you renamed an action, check that you've updated your `actions/index` file and your calling code to match.
## 무엇이 잘못되었나요?
서버가 액션 요청을 받았지만 이름이 같은 일치하는 항목을 찾을 수 없습니다.



Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ i18nReady: true
githubURL: https://github.com/withastro/astro/blob/main/packages/astro/src/core/errors/errors-data.ts
---

:::caution[사용되지 않음]
이 오류는 이전 버전의 Astro에서 발생한 것으로 더 이상 사용되지 않습니다. 프로젝트를 최신 버전으로 업그레이드할 수 없는 경우 [이전 문서의 관리되지 않는 스냅샷](/ko/upgrade-astro/#이전-문서-관리되지-않음)을 참조하여 도움을 받을 수 있습니다.
:::

> **ActionQueryStringInvalidError**: The server received the query string `?_astroAction=ACTION_NAME`, but could not find an action with that name. If you changed an action's name in development, remove this query param from your URL and refresh.
## 무엇이 잘못되었나요?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ githubURL: https://github.com/withastro/astro/blob/main/packages/astro/src/core/
액션 핸들러가 잘못된 데이터를 반환했습니다. 핸들러는 직렬화 가능한 데이터 타입을 반환해야 하며 응답 객체를 반환할 수 없습니다.

**더 보기:**
- [Actions RFC](https://github.com/withastro/roadmap/blob/actions/proposals/0046-actions.md)
- [Actions 핸들러 참조](/ko/reference/api-reference/#handler-속성)


0 comments on commit 6e75246

Please sign in to comment.