Skip to content

Commit 2ddfa03

Browse files
shuuji3autofix-ci[bot]danielroe
authored
feat(i18n): add Japanese translation (#288)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Daniel Roe <daniel@roe.dev>
1 parent f8ac710 commit 2ddfa03

5 files changed

Lines changed: 1209 additions & 12 deletions

File tree

.github/workflows/autofix.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ jobs:
3030
- name: 📦 Install browsers
3131
run: pnpm playwright install
3232

33+
- name: 🌍 Update lunaria data
34+
run: pnpm build:lunaria
35+
3336
- name: 🔠 Fix lint errors
3437
run: pnpm lint:fix
3538

@@ -39,9 +42,6 @@ jobs:
3942
- name: 🏃 Update component test snapshots
4043
run: pnpm test:nuxt -u
4144

42-
- name: 🌍 Update lunaria data
43-
run: pnpm build:lunaria
44-
4545
- name: 🖥️ Update browser test snapshots
4646
run: pnpm test:browser --update-snapshots
4747

.oxlintrc.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
"node_modules/**",
2424
"coverage/**",
2525
"playwright-report/**",
26-
"test-results/**",
27-
"lunaria/files/**"
26+
"test-results/**"
2827
]
2928
}

config/i18n.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -144,13 +144,13 @@ const locales: (Omit<LocaleObjectData, 'code'> & { code: string })[] = [
144144
code: 'zh-TW',
145145
file: 'zh-TW.json',
146146
name: '繁體中文',
147-
},
148-
{
149-
code: 'ja-JP',
150-
file: 'ja-JP.json',
151-
name: '日本語',
152-
},
153-
{
147+
},*/
148+
{
149+
code: 'ja-JP',
150+
file: 'ja-JP.json',
151+
name: '日本語',
152+
},
153+
/*{
154154
code: 'nl-NL',
155155
file: 'nl-NL.json',
156156
name: 'Nederlands',

0 commit comments

Comments
 (0)