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.

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

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

const locale: typeof enUS = {
    'sheets-conditional-formatting-ui': {
        title: '条件格式',
        menu: {
            manageConditionalFormatting: '管理条件格式',
            createConditionalFormatting: '新建条件格式',
            clearRangeRules: '清除所选区域的规则',
            clearWorkSheetRules: '清除整个工作表的规则',

        },
        form: {
            lessThan: '该值必须小于 {0}',
            lessThanOrEqual: '该值必须小于等于 {0}',
            greaterThan: '该值必大于 {0}',
            greaterThanOrEqual: '该值必大于等于 {0}',
        },
        iconSet: {
            direction: '方向',
            shape: '形状',
            rank: '等级',
            rule: '规则',
            icon: '图标',
            type: '类型',
            value: '值',
            reverseIconOrder: '反转图标次序',
            and: '且',
            when: '当值',
            onlyShowIcon: '仅显示图标',
            noCellIcon: '无单元格图标',
        },
        symbol: {
            greaterThan: '>',
            greaterThanOrEqual: '>=',
            lessThan: '<',
            lessThanOrEqual: '<=',
        },
        panel: {
            stopIfTrue: '如果为真则停止',
            createRule: '新增规则',
            clear: '清空所有规则',
            range: '应用范围',
            styleType: '样式类型',
            submit: '确认',
            cancel: '取消',
            rankAndAverage: '最前/最后/平均值',
            styleRule: '样式规则',
            isNotBottom: '最前',
            isBottom: '最后',
            greaterThanAverage: '大于平均值',
            lessThanAverage: '小于平均值',
            medianValue: '中间值',
            fillType: '填充方式',
            pureColor: '纯色',
            gradient: '渐变',
            colorSet: '颜色设置',
            positive: '正值',
            native: '负值',
            workSheet: '整张工作表',
            selectedRange: '所选单元格',
            managerRuleSelect: '管理 {0} 的规则',
            onlyShowDataBar: '仅显示数据条',
        },
        preview: {
            describe: {
                beginsWith: '开头为{0}',
                endsWith: '结尾为{0}',
                containsText: '文本包含{0}',
                notContainsText: '文本不包含{0}',
                equal: '等于{0}',
                notEqual: '不等于{0}',
                containsBlanks: '为空',
                notContainsBlanks: '不为空',
                containsErrors: '错误',
                notContainsErrors: '非错误',
                greaterThan: '大于{0}',
                greaterThanOrEqual: '大于等于{0}',
                lessThan: '小于{0}',
                lessThanOrEqual: '小于等于{0}',
                notBetween: '不介于{0}和{1}之间',
                between: '介于{0}和{1}之间',
                yesterday: '昨日',
                tomorrow: '明日',
                last7Days: '最近7天',
                thisMonth: '本月',
                lastMonth: '上个月',
                nextMonth: '下个月',
                thisWeek: '本周',
                lastWeek: '上周',
                nextWeek: '下周',
                today: '今日',
                topN: '前{0}项',
                bottomN: '后{0}项',
                topNPercent: '前{0}%',
                bottomNPercent: '后{0}%',
            },
        },
        operator: {
            beginsWith: '开头为',
            endsWith: '结尾为',
            containsText: '文本包含',
            notContainsText: '文本不包含',
            equal: '等于',
            notEqual: '不等于',
            containsBlanks: '为空',
            notContainsBlanks: '不为空',
            containsErrors: '错误',
            notContainsErrors: '非错误',
            greaterThan: '大于',
            greaterThanOrEqual: '大于等于',
            lessThan: '小于',
            lessThanOrEqual: '小于等于',
            notBetween: '不介于',
            between: '介于',
            yesterday: '昨日',
            tomorrow: '明日',
            last7Days: '最近 7 天',
            thisMonth: '本月',
            lastMonth: '上个月',
            nextMonth: '下个月',
            thisWeek: '本周',
            lastWeek: '上周',
            nextWeek: '下周',
            today: '今日',
        },
        ruleType: {
            highlightCell: '突出显示单元格',
            dataBar: '数据条',
            colorScale: '色阶',
            formula: '自定义公式',
            iconSet: '图标集',

        },
        subRuleType: {
            uniqueValues: '唯一值',
            duplicateValues: '重复值',
            text: '文本',
            timePeriod: '时间日期',
            number: '数值',
            average: '平均值',
        },
        valueType: {
            num: '数值',
            min: '最小值',
            max: '最大值',
            percent: '百分比',
            percentile: '百分点',
            formula: '公式',
            none: '无',
        },
        errorMessage: {
            notBlank: '条件不能为空',
            rangeError: '选区错误',
            formulaError: '公式错误',
        },
        permission: {
            dialog: {
                setStyleErr: '该范围已被保护,目前无设置样式权限。如需设置样式,请联系创建者。',
            },
        },
    },
};

export default locale;