Skip to content

Commit

Permalink
chore: update i18n metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
EYHN committed Jan 4, 2025
1 parent 22a8694 commit b14f1cd
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 16 deletions.
31 changes: 16 additions & 15 deletions packages/frontend/i18n/src/i18n-completenesses.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@
{
"ar": 68,
"ar": 100,
"ca": 5,
"da": 5,
"de": 26,
"el-GR": 0,
"de": 100,
"el-GR": 100,
"en": 100,
"es-AR": 12,
"es-CL": 14,
"es": 12,
"fr": 60,
"es-AR": 100,
"es-CL": 100,
"es": 100,
"fr": 100,
"hi": 2,
"it-IT": 1,
"it-IT": 100,
"it": 1,
"ja": 90,
"ja": 100,
"ko": 72,
"pl": 0,
"pt-BR": 78,
"ru": 66,
"sv-SE": 4,
"pl": 100,
"pt-BR": 100,
"ru": 100,
"sv-SE": 100,
"uk": 100,
"ur": 2,
"zh-Hans": 91,
"zh-Hant": 90
"zh-Hans": 100,
"zh-Hant": 100
}
14 changes: 13 additions & 1 deletion packages/frontend/i18n/src/i18n.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ export function useAFFiNEI18N(): {
*/
Select(): string;
/**
* `Sign in AFFiNE Cloud`
* `Sign in`
*/
["Sign in"](): string;
/**
Expand Down Expand Up @@ -5303,6 +5303,14 @@ export function useAFFiNEI18N(): {
* `Once enabled, users can edit edgeless canvas.`
*/
["com.affine.settings.workspace.experimental-features.enable-mobile-edgeless-editing.description"](): string;
/**
* `PDF embed preview`
*/
["com.affine.settings.workspace.experimental-features.enable-pdf-embed-preview.name"](): string;
/**
* `Once enabled, you can preview PDF in embed view.`
*/
["com.affine.settings.workspace.experimental-features.enable-pdf-embed-preview.description"](): string;
/**
* `Only an owner can edit the workspace avatar and name. Changes will be shown for everyone.`
*/
Expand Down Expand Up @@ -6477,6 +6485,10 @@ export function useAFFiNEI18N(): {
* `Got It`
*/
["com.affine.payment.sync-paused.member.member.confirm"](): string;
/**
* `Delete Server`
*/
["com.affine.server.delete"](): string;
} { const { t } = useTranslation(); return useMemo(() => createProxy((key) => t.bind(null, key)), [t]); }
function createComponent(i18nKey: string) {
return (props) => createElement(Trans, { i18nKey, shouldUnescape: true, ...props });
Expand Down

0 comments on commit b14f1cd

Please sign in to comment.