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.3 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-table-ui': {
        defaultStyleNumber: '預設樣式 {0}',
        customStyleNumber: '自訂樣式 {0}',
        removeCustomStyle: '刪除自訂樣式 {0}',
        calculatedColumn: '計算欄',
        columnFormula: '公式',
        columnFormulaHint: '套用後立即覆寫此欄的 {0} 個資料儲存格,不含標題和合計列。停止自動填入會保留現有儲存格。操作可復原。',
        applyColumnFormula: '套用至整欄',
        stopColumnFormula: '停止自動填入',
        columnFormulaApplied: '已套用欄設定',
        settings: '表格設定',
        showFilterButtons: '顯示篩選按鈕',
        columnFilterButtons: '各欄篩選按鈕',
        filterButtonsHint: '隱藏按鈕會保留現有篩選條件。',
        settingsError: '儲存失敗,表格可能已變更。請重新開啟設定後重試。',
        title: '表格',
        selectRange: '選擇表格範圍',
        rename: '重新命名表格',
        renamePlaceholder: '輸入表格名稱',
        updateRange: '更新表格範圍',
        tableRangeWithMergeError: '表格範圍不能與合併儲存格重疊',
        tableRangeWithOtherTableError: '表格範圍不能與其他表格重疊',
        tableRangeSingleRowError: '表格範圍不能只有一列',
        updateError: '不能將表格範圍設定為與原範圍不重疊且不在同一列的範圍',
        tableStyle: '表格樣式',
        defaultStyle: '預設樣式',
        customStyle: '自訂樣式',
        customTooMore: '自訂主題數量超出上限,請刪除一些不需要的主題後再新增',
        setTheme: '設定表格主題',
        removeTable: '刪除表格',
        cancel: '取消',
        confirm: '確認',
        header: '頁首',
        footer: '頁尾',
        firstLine: '第一列',
        secondLine: '第二列',
        tableNameError: '表格名稱不能包含空格、以數字開頭或與現有表格名稱重複',
        columnMenu: {
            'insert-left': '向左插入 1 個表格欄',
            'insert-right': '向右插入 1 個表格欄',
            delete: '刪除表格欄',
        },

        sort: {
            'sort-asc': '升序',
            'sort-desc': '降序',
        },

        insert: {
            main: '表格插入',
            row: '插入表格列',
            col: '插入表格欄',
        },

        remove: {
            main: '表格刪除',
            row: '刪除表格列',
            col: '刪除表格欄',
        },

        condition: {
            string: '文字',
            number: '數字',
            date: '日期',

            empty: '(空白)',

        },
        string: {
            compare: {
                equal: '等於',
                notEqual: '不等於',
                contains: '包含',
                notContains: '不包含',
                startsWith: '開始於',
                endsWith: '結束於',
            },
        },
        number: {
            compare: {
                equal: '等於',
                notEqual: '不等於',
                greaterThan: '大於',
                greaterThanOrEqual: '大於等於',
                lessThan: '小於',
                lessThanOrEqual: '小於等於',
                between: '介於',
                notBetween: '不介於',
                above: '大於',
                below: '小於',
                topN: '前{0}個',
            },
        },
        date: {
            compare: {
                equal: '等於',
                notEqual: '不等於',
                after: '晚於',
                afterOrEqual: '晚於等於',
                before: '早於',
                beforeOrEqual: '早於等於',
                between: '介於',
                notBetween: '不介於',
                today: '今天',
                yesterday: '昨天',
                tomorrow: '明天',
                thisWeek: '本週',
                lastWeek: '上週',
                nextWeek: '下週',
                thisMonth: '本月',
                lastMonth: '上月',
                nextMonth: '下月',
                thisQuarter: '本季度',
                lastQuarter: '上季度',
                nextQuarter: '下季度',
                thisYear: '今年',
                nextYear: '明年',
                lastYear: '去年',
                quarter: '按季度',
                month: '按月份',
                q1: '第一季度',
                q2: '第二季度',
                q3: '第三季度',
                q4: '第四季度',
                m1: '一月',
                m2: '二月',
                m3: '三月',
                m4: '四月',
                m5: '五月',
                m6: '六月',
                m7: '七月',
                m8: '八月',
                m9: '九月',
                m10: '十月',
                m11: '十一月',
                m12: '十二月',
            },
        },
        filter: {
            title: '篩選',
            'by-values': '按值',
            'by-colors': '按顏色',
            'by-conditions': '按條件',
            back: '返回',
            resize: '調整大小',
            'filter-by-cell-fill-color': '儲存格填滿顏色',
            'filter-by-cell-text-color': '儲存格文字顏色',
            'filter-by-color-none': '此欄僅包含一種顏色',
            'clear-filter': '清除篩選',
            cancel: '取消',
            confirm: '確認',
            'search-placeholder': '使用空格分隔關鍵字',
            'input-values-placeholder': '請輸入',
            'select-all': '全選',
        },
    },
};

export default locale;