Skip to content

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.

3.1 KB
Raw Blame
/**
 * 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 = {
    'sheets-drawing-ui': {
        title: 'Image',
        backgroundImage: {
            title: 'Background Image',
            add: 'Add Background Image',
            delete: 'Delete Background Image',
        },
        uploadLoading: {
            loading: 'Loading..., remaining',
        },

        upload: {
            float: 'Float Image',
            cell: 'Cell Image',
        },

        panel: {
            title: 'Edit Image',
        },

        save: {
            title: 'Save Cell Images',
            menuLabel: 'Save Cell Images',
            imageCount: 'Image Count',
            fileNameConfig: 'File Name',
            useRowCol: 'Use Cell Address (A1, B2...)',
            useColumnValue: 'Use Column Value',
            selectColumn: 'Select Column',
            cancel: 'Cancel',
            confirm: 'Save',
            saving: 'Saving...',
            error: 'Failed to save cell images',
        },
        'image-popup': {
            delete: 'Delete',
            edit: 'Edit',
            crop: 'Crop',
            reset: 'Reset Size',
            flipH: 'Flip Horizontal',
            flipV: 'Flip Vertical',
        },
        'update-status': {
            exceedMaxSize: 'Image size exceeds limit, limit is {0}M',
            invalidImageType: 'Invalid image type',
            exceedMaxCount: 'Only {0} images can be uploaded at a time',
            invalidImage: 'Invalid image',
        },
        'image-transparency': {
            title: 'Transparency',
        },
        'drawing-anchor': {
            title: 'Anchor Properties',
            both: 'Move and size with cells',
            position: "Move but don't size with cells",
            none: "Don't move or size with cells",
        },
        'cell-image': {
            pasteTitle: 'Paste as cell image',
            pasteContent: 'Pasting a cell image will overwrite the existing content of the cell, continue pasting',
        },
        permission: {
            dialog: {
                editErr: 'The range is protected, and you do not have edit permission. To edit, please contact the creator.',
            },
        },
        shortcut: {
            'drawing-view': 'Drawing View',
            'drawing-move-down': 'Move Drawing down',
            'drawing-move-up': 'Move Drawing up',
            'drawing-move-left': 'Move Drawing left',
            'drawing-move-right': 'Move Drawing right',
            'drawing-delete': 'Delete Drawing',
        },
    },
};

export default locale;