feat(core): update i18n resources (#6362)

close TOV-769

<img width="712" alt="image" src="https://github.com/toeverything/AFFiNE/assets/102217452/902a0771-e8df-46e2-8d7c-1f453a7099e6">
This commit is contained in:
JimmFly
2024-03-28 10:11:24 +00:00
parent 7526dea705
commit 88d04e23e9
22 changed files with 810 additions and 1646 deletions

View File

@@ -74,7 +74,8 @@ test('allow creation of filters by favorite', async ({ page }) => {
await openHomePage(page);
await waitForEditorLoad(page);
await clickSideBarAllPageButton(page);
await createFirstFilter(page, 'Favourited');
// playwright first language is en-US
await createFirstFilter(page, 'Favorited');
await page
.locator('[data-testid="filter-arg"]', { hasText: 'true' })
.locator('div')

View File

@@ -42,11 +42,17 @@ function useRegisterCommands() {
languageHelper: {
onLanguageChange: () => {},
languagesList: [
{ tag: 'en', name: 'English', originalName: 'English' },
{
tag: 'en',
name: 'English',
originalName: 'English',
Completeness: 1,
},
{
tag: 'zh-Hans',
name: 'Simplified Chinese',
originalName: '简体中文',
Completeness: 1,
},
],
currentLanguage: undefined,