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.8 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-formula-ui': {
        calculation: {
            circularTitle: 'Circular Reference',
            title: 'Calculation Options',
            enable: 'Enable iterative calculation',
            iterations: 'Maximum iterations (1–{0})',
            change: 'Maximum change',
            workbook: 'These settings apply to the current workbook.',
            invalidIterations: 'Maximum iterations must be an integer from 1 to {0}.',
            invalidChange: 'Maximum change must be a finite positive number.',
            cancel: 'Cancel',
            confirm: 'OK',
            circular: 'This formula contains a circular reference. Open Calculation Options to enable iterative calculation.',
            action: 'Iterative Calculation',
        },

        shortcut: {
            'quick-sum': 'Quick Sum',
        },

        insert: {
            tooltip: 'Functions',
            common: 'Common Functions',
        },
        prompt: {
            helpExample: 'EXAMPLE',
            helpAbstract: 'ABOUT',
            required: 'Required.',
            optional: 'Optional.',
        },
        error: {
            title: 'Error',
            divByZero: 'Divide by zero error',
            name: 'Invalid name error',
            value: 'Error in value',
            num: 'Number error',
            na: 'Value not available error',
            cycle: 'Circular reference error',
            ref: 'Invalid cell reference error',
            spill: "Spill range isn't blank",
            calc: 'Calculation error',
            error: 'Error',
            connect: 'Getting data',
            null: 'Null Error',
        },

        functionType: {
            financial: 'Financial',
            date: 'Date & Time',
            math: 'Math & Trig',
            statistical: 'Statistical',
            lookup: 'Lookup & Reference',
            database: 'Database',
            text: 'Text',
            logical: 'Logical',
            information: 'Information',
            engineering: 'Engineering',
            cube: 'Cube',
            compatibility: 'Compatibility',
            web: 'Web',
            array: 'Array',
            univer: 'Univer',
            user: 'User Defined',
            definedname: 'Defined Name',
        },
        moreFunctions: {
            confirm: 'Confirm',
            prev: 'Previous',
            next: 'Next',
            searchFunctionPlaceholder: 'Search function',
            allFunctions: 'All Functions',
            syntax: 'SYNTAX',
        },
        mobileFunction: {
            title: 'Insert function',
            recommended: 'Recommended',
            recent: 'Recent',
            details: 'Details',
            insert: 'Insert function',
            empty: 'No functions',
            close: 'Close',
        },
        operation: {
            copyFormulaOnly: 'Copy Formula Only',
            pasteFormula: 'Paste Formula',
        },

        rangeSelector: {
            title: 'Select a data range',
            addAnotherRange: 'Add range',
            buttonTooltip: 'Select data range',
            placeHolder: 'Select range or enter.',
            confirm: 'Confirm',
            cancel: 'Cancel',
        },
    },
};

export default locale;