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.

2.9 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.
 */

import type enUS from './en-US';

const locale: typeof enUS = {
    'docs-drawing-ui': {
        title: '图片',
        upload: {
            float: '插入图片',
        },
        shape: {
            insert: {
                title: '插入图形',
                rectangle: '插入矩形',
                ellipse: '插入椭圆',
            },
        },
        panel: {
            title: '编辑图片',
        },
        'image-popup': {
            delete: '删除',
            edit: '编辑',
            crop: '裁剪',
            reset: '重置大小',
        },
        'image-text-wrap': {
            title: '文字环绕',
            wrappingStyle: '环绕方式',
            square: '四周型',
            topAndBottom: '上下型',
            inline: '嵌入型',
            behindText: '衬于文字下方',
            inFrontText: '浮于文字上方',
            wrapText: '自动换行',
            bothSide: '两侧',
            leftOnly: '左侧',
            rightOnly: '右侧',
            distanceFromText: '距正文',
            top: '上(px)',
            left: '左(px)',
            bottom: '下(px)',
            right: '右(px)',
        },
        'image-position': {
            title: '位置',
            horizontal: '水平',
            vertical: '垂直',
            absolutePosition: '绝对位置(px)',
            toTheRightOf: '右侧',
            bellow: '下方',
            options: '选项',
            moveObjectWithText: '对象随文字移动',
            column: '栏',
            margin: '页边距',
            page: '页面',
            line: '行',
            paragraph: '段落',
        },
        'update-status': {
            exceedMaxSize: '图片大小超过限制, 限制为{0}M',
            invalidImageType: '图片类型错误',
            exceedMaxCount: '图片只能一次上传{0}张',
            invalidImage: '无效图片',
        },
        shortcut: {
            'drawing-view': '绘图视图',
            'drawing-move-down': '下移绘图',
            'drawing-move-up': '上移绘图',
            'drawing-move-left': '左移绘图',
            'drawing-move-right': '右移绘图',
            'drawing-delete': '删除绘图',
        },
    },
};

export default locale;