forked from baron/baron-sso
fix: Vite import-analysis 에러 수정을 위해 locale 파일을 src 내부로 복사 및 경로 수정 #239
This commit is contained in:
@@ -108,10 +108,10 @@ function detectLocale(): Locale {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// eslint-disable-next-line import/no-unresolved
|
// eslint-disable-next-line import/no-unresolved
|
||||||
import enRaw from "../../../locales/en.toml?raw";
|
import enRaw from "../locales/en.toml?raw";
|
||||||
// Vite ?raw import는 런타임 상수로 번들됩니다.
|
// Vite ?raw import는 런타임 상수로 번들됩니다.
|
||||||
// eslint-disable-next-line import/no-unresolved
|
// eslint-disable-next-line import/no-unresolved
|
||||||
import koRaw from "../../../locales/ko.toml?raw";
|
import koRaw from "../locales/ko.toml?raw";
|
||||||
|
|
||||||
const translations: Record<Locale, TomlObject> = {
|
const translations: Record<Locale, TomlObject> = {
|
||||||
ko: parseToml(koRaw),
|
ko: parseToml(koRaw),
|
||||||
|
|||||||
1308
adminfront/src/locales/en.toml
Normal file
1308
adminfront/src/locales/en.toml
Normal file
File diff suppressed because one or more lines are too long
1308
adminfront/src/locales/ko.toml
Normal file
1308
adminfront/src/locales/ko.toml
Normal file
File diff suppressed because one or more lines are too long
1308
adminfront/src/locales/template.toml
Normal file
1308
adminfront/src/locales/template.toml
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user