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
/**
* Copyright 2023-present DreamNum Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
const locale = {
'drawing-ui': {
ole: {
progressReading: 'Reading attachment…',
progressUploading: 'Uploading attachment…',
progressCreating: 'Creating online file…',
progressSaving: 'Saving link…',
externalAttachment: 'Linked attachment',
externalHint: 'The original file referenced by this attachment is not embedded in this document. Preview and download are unavailable.',
missingHint: 'This document is missing the attachment data. Preview and download are unavailable.',
unavailableSummary: 'This document contains {0} unavailable attachments. Their placeholders have been kept. Hover over the warning icon for details.',
rename: 'Rename',
saveName: 'Save name',
cancel: 'Cancel',
invalidName: 'Enter a valid file name of at most 255 characters.',
renameFailed: 'Unable to rename this attachment. Please retry.',
actions: 'Attachment actions',
linkSaveFailed: 'The online file was created, but its link could not be saved. Retry to save the link.',
conversionFailed: 'Unable to convert this attachment. Please retry.',
converted: 'Conversion complete',
open: 'Open',
converting: 'Converting…',
openSlide: 'Open online presentation in new tab',
openDoc: 'Open online document in new tab',
openSheet: 'Open online spreadsheet in new tab',
convertSlide: 'Convert to online presentation',
convertDoc: 'Convert to online document',
convertSheet: 'Convert to online spreadsheet',
nativePreviewHint: 'If the browser cannot display this file, download the original.',
attachment: 'OLE attachment',
external: 'External file unavailable',
missing: 'Attachment data unavailable',
opaque: 'Original OLE binary (download available)',
download: 'Download',
preview: 'Preview',
remove: 'Delete',
failed: 'Unable to read the original attachment. Please retry.',
unsupported: 'Online preview is unavailable for this file. You can download the original.',
},
mobile: { close: 'Close', more: 'More' },
'image-cropper': {
error: 'Cannot crop non-image objects.',
},
objectListPanel: {
title: 'Layers',
empty: 'No objects',
showAll: 'Show all',
hideAll: 'Hide all',
lockAll: 'Lock all',
unlockAll: 'Unlock all',
moveForward: 'Bring forward',
moveBackward: 'Send backward',
close: 'Close',
show: 'Show',
hide: 'Hide',
lock: 'Lock',
unlock: 'Unlock',
lockHint: 'Lock to prevent accidental selection',
unlockHint: 'Locked. Click to unlock',
name: 'Name',
nameInput: 'Object name',
description: 'Description',
descriptionPlaceholder: 'Add description',
details: 'Details',
locate: 'Locate',
expand: 'Expand',
collapse: 'Collapse',
dragToReorder: 'Drag to reorder',
search: 'Search objects',
filterAll: 'All',
filterHidden: 'Hidden',
filterLocked: 'Locked',
sectionCanvas: 'Canvas layer',
sectionFloating: 'Floating layer',
typeNames: {
object: 'Object',
shape: 'Shape',
connector: 'Connector',
image: 'Image',
chart: 'Chart',
table: 'Table',
smartArt: 'SmartArt',
video: 'Video',
group: 'Group',
unit: 'Unit',
dom: 'DOM',
text: 'Text',
placeholder: 'Placeholder',
container: 'Container',
},
noSelection: 'Select an object to edit its details',
},
'image-panel': {
arrange: {
title: 'Arrange',
forward: 'Bring Forward',
backward: 'Send Backward',
front: 'Bring to Front',
back: 'Send to Back',
},
transform: {
title: 'Transform',
rotate: 'Rotate (°)',
x: 'X (px)',
y: 'Y (px)',
width: 'Width (px)',
height: 'Height (px)',
lock: 'Lock Ratio (%)',
},
crop: {
cancel: 'Cancel',
apply: 'Done',
title: 'Crop',
start: 'Start Crop',
mode: 'Free',
},
group: {
title: 'Group',
group: 'Group',
unGroup: 'Ungroup',
},
align: {
title: 'Align',
default: 'Select Align Type',
left: 'Align Left',
center: 'Align Center',
right: 'Align Right',
top: 'Align Top',
middle: 'Align Middle',
bottom: 'Align Bottom',
horizon: 'Distribute Horizontally ',
vertical: 'Distribute Vertically ',
},
null: 'No Object Selection',
},
'image-text-wrap': {
square: 'Square',
topAndBottom: 'Top and Bottom',
inline: 'In line with text',
behindText: 'Behind text',
inFrontText: 'In front of text',
},
},
};
export default locale;