feat(editor): add i18n support for block meta display (#10831)

This commit is contained in:
Saul-Mirone
2025-03-13 11:28:56 +00:00
parent 0c9591f08e
commit 05f3069efd
7 changed files with 59 additions and 30 deletions
@@ -1,26 +1,26 @@
{
"ar": 99,
"ar": 98,
"ca": 4,
"da": 5,
"de": 99,
"el-GR": 99,
"de": 98,
"el-GR": 98,
"en": 100,
"es-AR": 99,
"es-AR": 98,
"es-CL": 100,
"es": 99,
"fa": 99,
"fr": 99,
"es": 98,
"fa": 98,
"fr": 98,
"hi": 2,
"it-IT": 99,
"it-IT": 98,
"it": 1,
"ja": 99,
"ja": 98,
"ko": 62,
"pl": 99,
"pt-BR": 99,
"ru": 99,
"sv-SE": 99,
"uk": 99,
"pl": 98,
"pt-BR": 98,
"ru": 98,
"sv-SE": 98,
"uk": 98,
"ur": 2,
"zh-Hans": 99,
"zh-Hant": 99
"zh-Hans": 98,
"zh-Hant": 98
}
+14
View File
@@ -577,6 +577,14 @@ export function useAFFiNEI18N(): {
* `Zoom out`
*/
["Zoom out"](): string;
/**
* `Unknown User`
*/
["Unknown User"](): string;
/**
* `Deleted User`
*/
["Deleted User"](): string;
/**
* `all`
*/
@@ -3105,6 +3113,12 @@ export function useAFFiNEI18N(): {
* `Select all`
*/
["com.affine.page.group-header.select-all"](): string;
/**
* `Created by {{name}}`
*/
["com.affine.page.toolbar.created_by"](options: {
readonly name: string;
}): string;
/**
* `Doc mode`
*/
@@ -133,6 +133,8 @@
"Workspace saved locally": "{{name}} is saved locally",
"Zoom in": "Zoom in",
"Zoom out": "Zoom out",
"Unknown User": "Unknown User",
"Deleted User": "Deleted User",
"all": "all",
"com.affine.aboutAFFiNE.autoCheckUpdate.description": "Automatically check for new updates periodically.",
"com.affine.aboutAFFiNE.autoCheckUpdate.title": "Check for updates automatically",
@@ -775,6 +777,7 @@
"com.affine.page.toolbar.selected_one": "<0>{{count}}</0> doc selected",
"com.affine.page.toolbar.selected_other": "<0>{{count}}</0> doc(s) selected",
"com.affine.page.toolbar.selected_others": "<0>{{count}}</0> doc(s) selected",
"com.affine.page.toolbar.created_by": "Created by {{name}}",
"com.affine.pageMode": "Doc mode",
"com.affine.pageMode.all": "all",
"com.affine.pageMode.edgeless": "Edgeless",