diff options
| author | おさむのひと <46447427+samunohito@users.noreply.github.com> | 2025-11-30 13:27:44 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-30 13:27:44 +0900 |
| commit | fe01a5a28f34c873019ae3c34086acd6bd791a1d (patch) | |
| tree | f4d8e8c4a0e97c120b272c3d253ea62789cc4afd /packages/frontend-builder | |
| parent | fix(deps): update [frontend] update dependencies [ci skip] (#16901) (diff) | |
| download | misskey-fe01a5a28f34c873019ae3c34086acd6bd791a1d.tar.gz misskey-fe01a5a28f34c873019ae3c34086acd6bd791a1d.tar.bz2 misskey-fe01a5a28f34c873019ae3c34086acd6bd791a1d.zip | |
refactor: localesをworkspace管理下のパッケージに (#16895)
* refactor: localesをworkspace管理下のパッケージに
* fix copilot review
* move
* move
* rename
* fix ci
* revert unwanted indent changes
* fix
* fix
* fix
* fix
* 間違えてコミットしていたのを戻す
* 不要
* 追加漏れ
* ymlの場所だけ戻す
* localesの位置を戻したのでこの差分は不要
* 内容的にlocalesにある方が正しい
* i18nパッケージ用のREADME.mdを用意
* fix locale.yml
* fix locale.yml
---------
Co-authored-by: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com>
Diffstat (limited to 'packages/frontend-builder')
| -rw-r--r-- | packages/frontend-builder/locale-inliner.ts | 2 | ||||
| -rw-r--r-- | packages/frontend-builder/locale-inliner/apply-with-locale.ts | 2 | ||||
| -rw-r--r-- | packages/frontend-builder/package.json | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/packages/frontend-builder/locale-inliner.ts b/packages/frontend-builder/locale-inliner.ts index 9bef465eeb..191d7250a6 100644 --- a/packages/frontend-builder/locale-inliner.ts +++ b/packages/frontend-builder/locale-inliner.ts @@ -10,7 +10,7 @@ import { collectModifications } from './locale-inliner/collect-modifications.js' import { applyWithLocale } from './locale-inliner/apply-with-locale.js'; import { blankLogger } from './logger.js'; import type { Logger } from './logger.js'; -import type { Locale } from '../../locales/index.js'; +import type { Locale } from 'i18n'; import type { Manifest as ViteManifest } from 'vite'; export class LocaleInliner { diff --git a/packages/frontend-builder/locale-inliner/apply-with-locale.ts b/packages/frontend-builder/locale-inliner/apply-with-locale.ts index 5e601cdf12..78851d3029 100644 --- a/packages/frontend-builder/locale-inliner/apply-with-locale.ts +++ b/packages/frontend-builder/locale-inliner/apply-with-locale.ts @@ -5,7 +5,7 @@ import MagicString from 'magic-string'; import { assertNever } from '../utils.js'; -import type { Locale, ILocale } from '../../../locales/index.js'; +import type { ILocale, Locale } from 'i18n'; import type { TextModification } from '../locale-inliner.js'; import type { Logger } from '../logger.js'; diff --git a/packages/frontend-builder/package.json b/packages/frontend-builder/package.json index d01e4c86ed..37dd133fe6 100644 --- a/packages/frontend-builder/package.json +++ b/packages/frontend-builder/package.json @@ -18,6 +18,7 @@ "typescript": "5.9.3" }, "dependencies": { + "i18n": "workspace:*", "estree-walker": "3.0.3", "magic-string": "0.30.21", "vite": "7.2.4" |