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.5 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-table-ui': {
        defaultStyleNumber: 'Default style {0}',
        customStyleNumber: 'Custom style {0}',
        removeCustomStyle: 'Delete custom style {0}',
        calculatedColumn: 'Calculated column',
        columnFormula: 'Formula',
        columnFormulaHint: 'Apply replaces all {0} data cells in this column immediately. Header and footer are excluded. Stop preserves existing cells. Changes can be undone.',
        applyColumnFormula: 'Apply to entire column',
        stopColumnFormula: 'Stop automatic fill',
        columnFormulaApplied: 'Column setting applied',
        settings: 'Table Settings',
        showFilterButtons: 'Show filter buttons',
        columnFilterButtons: 'Column filter buttons',
        filterButtonsHint: 'Hiding buttons keeps existing filter criteria.',
        settingsError: 'Unable to save. The table may have changed. Reopen settings and try again.',
        title: 'Table',
        selectRange: 'Select Table Range',
        rename: 'Rename Table',
        renamePlaceholder: 'Enter table name',
        updateRange: 'Update Table Range',
        tableRangeWithMergeError: 'Table range cannot overlap with merged cells',
        tableRangeWithOtherTableError: 'Table range cannot overlap with other tables',
        tableRangeSingleRowError: 'Table range cannot be a single row',
        updateError: 'Cannot set table range to an area that does not overlap with the original and is not in the same row',
        tableStyle: 'Table Style',
        defaultStyle: 'Default Style',
        customStyle: 'Custom Style',
        customTooMore: 'The number of custom themes exceeds the maximum limit, please delete some unnecessary themes and add them again',
        setTheme: 'Set Table Theme',
        removeTable: 'Remove Table',
        cancel: 'Cancel',
        confirm: 'Confirm',
        header: 'Header',
        footer: 'Footer',
        firstLine: 'First Line',
        secondLine: 'Second Line',
        tableNameError: 'Table name cannot contain spaces, cannot start with a number, and cannot be identical to an existing table name',
        columnMenu: {
            'insert-left': 'Insert 1 table column left',
            'insert-right': 'Insert 1 table column right',
            delete: 'Delete table column',
        },

        sort: {
            'sort-asc': 'Ascending',
            'sort-desc': 'Descending',
        },

        insert: {
            main: 'Insert Table',
            row: 'Insert Table Row',
            col: 'Insert Table Column',
        },

        remove: {
            main: 'Remove Table',
            row: 'Remove Table Row',
            col: 'Remove Table Column',
        },
        condition: {
            string: 'Text',
            number: 'Number',
            date: 'Date',

            empty: '(Empty)',
        },
        string: {
            compare: {
                equal: 'Equal to',
                notEqual: 'Not equal to',
                contains: 'Contains',
                notContains: 'Does not contain',
                startsWith: 'Starts with',
                endsWith: 'Ends with',
            },
        },
        number: {
            compare: {
                equal: 'Equal to',
                notEqual: 'Not equal to',
                greaterThan: 'Greater than',
                greaterThanOrEqual: 'Greater than or equal to',
                lessThan: 'Less than',
                lessThanOrEqual: 'Less than or equal to',
                between: 'Between',
                notBetween: 'Not between',
                above: 'Above',
                below: 'Below',
                topN: 'Top {0}',
            },
        },
        date: {
            compare: {
                equal: 'Equal to',
                notEqual: 'Not equal to',
                after: 'After',
                afterOrEqual: 'After or equal to',
                before: 'Before',
                beforeOrEqual: 'Before or equal to',
                between: 'Between',
                notBetween: 'Not between',
                today: 'Today',
                yesterday: 'Yesterday',
                tomorrow: 'Tomorrow',
                thisWeek: 'This week',
                lastWeek: 'Last week',
                nextWeek: 'Next week',
                thisMonth: 'This month',
                lastMonth: 'Last month',
                nextMonth: 'Next month',
                thisQuarter: 'This quarter',
                lastQuarter: 'Last quarter',
                nextQuarter: 'Next quarter',
                thisYear: 'This year',
                nextYear: 'Next year',
                lastYear: 'Last year',
                quarter: 'By quarter',
                month: 'By month',
                q1: 'First quarter',
                q2: 'Second quarter',
                q3: 'Third quarter',
                q4: 'Fourth quarter',
                m1: 'January',
                m2: 'February',
                m3: 'March',
                m4: 'April',
                m5: 'May',
                m6: 'June',
                m7: 'July',
                m8: 'August',
                m9: 'September',
                m10: 'October',
                m11: 'November',
                m12: 'December',
            },
        },
        filter: {
            title: 'Filter',
            'by-values': 'By Values',
            'by-colors': 'By Colors',
            'by-conditions': 'By Conditions',
            back: 'Back',
            resize: 'Resize',
            'filter-by-cell-fill-color': 'Cell fill color',
            'filter-by-cell-text-color': 'Cell text color',
            'filter-by-color-none': 'This column contains only one color',
            'clear-filter': 'Clear Filter',
            cancel: 'Cancel',
            confirm: 'Confirm',
            'search-placeholder': 'Use space to separate keywords',
            'input-values-placeholder': 'Input Values',
            'select-all': 'Select All',
        },
    },
};

export default locale;