File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ Detect locale from `accept-language` header:
4444
4545``` ts
4646import { Hono } from ' hono'
47- import { getHeaderLocale } from ' @intlify/h3 '
47+ import { getHeaderLocale } from ' @intlify/hono '
4848
4949const app = new Hono ()
5050
@@ -59,7 +59,7 @@ Detect locale from URL query:
5959
6060``` ts
6161import { Hono } from ' hono'
62- import { getQueryLocale } from ' @intlify/h3 '
62+ import { getQueryLocale } from ' @intlify/hono '
6363
6464const app = new Hono ()
6565
@@ -164,7 +164,7 @@ import { Hono } from 'hono'
164164import { defineIntlifyMiddleware , getCookieLocale } from ' @intlify/hono'
165165
166166import type { Context } from ' hono'
167- import type { DefineLocaleMessage , CoreContext } from ' @intlify/h3 '
167+ import type { DefineLocaleMessage , CoreContext } from ' @intlify/hono '
168168
169169const loader = (path : string ) => import (path ).then (m => m .default )
170170const messages: Record <string , () => ReturnType <typeof loader >> = {
You can’t perform that action at this time.
0 commit comments