Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.
TypeScript boardcollaborationdocdocxexceloffce365officepdfpptpptxpresentationsdksheetslidesspreadsheetuniverwordwordprocessorworkspacexlsx
fix(docs-ui): add localized confirm and cancel text for `DocOpenPageSettingCommand` (#5388)
白熱2aa4b0681e6c
diff --git a/packages/docs-ui/src/commands/operations/open-page-setting.operation.ts b/packages/docs-ui/src/commands/operations/open-page-setting.operation.tsindex 436e926b6a..5cc9e20a59 100644--- a/packages/docs-ui/src/commands/operations/open-page-setting.operation.ts+++ b/packages/docs-ui/src/commands/operations/open-page-setting.operation.ts@@ -53,6 +53,8 @@ export const DocOpenPageSettingCommand: ICommand = {pageSize: paperSize,} as IDocPageSetupCommandParams);},+ confirmText: localeService.t('page-settings.confirm'),+ cancelText: localeService.t('page-settings.cancel'),});return true;