mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-11-16 06:44:24 +08:00
fix(i18n): use English runtime text and localize system UI
This commit is contained in:
@@ -33,3 +33,7 @@ jobs:
|
||||
- name: Run ESLint
|
||||
working-directory: frontend
|
||||
run: npx eslint . --max-warnings 0
|
||||
|
||||
- name: Check translation catalogs and runtime language
|
||||
working-directory: frontend
|
||||
run: node scripts/merge-i18n-fragments.mjs && pnpm check:i18n
|
||||
|
||||
@@ -25,7 +25,7 @@ jobs:
|
||||
|
||||
// if any unchecked, fail the workflow
|
||||
if (unchecked.length > 0) {
|
||||
core.setFailed(`PR checklist 未全部勾选,请确保所有 checklist 项都已勾选。未勾选项如下:\n${unchecked.join('\n')}`);
|
||||
core.setFailed(`Complete all PR checklist items. Unchecked items:\n${unchecked.join('\n')}`);
|
||||
} else {
|
||||
console.log('all checklist items are checked.');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user