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.

7.4 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';
import emojiLocale from './emoji-locale/zh-HK.generated';

const locale: typeof enUS = {
    ui: {
        clearFormatting: '清除格式',
        formatPainter: '複製格式',
        accessibility: {
            menu: '選單',
            zoom: '縮放',
            zoomIn: '放大',
            zoomOut: '縮小',
            resetZoom: '重設縮放',
        },
        objectPermission: {
            operationDenied: '此內容已受保護,無法執行此操作。',
            remove: '刪除保護',
            roleOwner: '檔案擁有者',
            roleEditor: '檔案編輯者',
            selectedCount: '已選擇 {0} 人',
            searchPeople: '搜尋人員',
            noMatchingPeople: '沒有符合的人員',
            loadMore: '載入更多',
            fileHint: '檔案成員由分享功能管理;此處設定成員可以執行的操作。',
            documentParent: '此節同時受整份文件的編輯權限限制。',
            paragraphParent: '此段落同時受整份文件及所在節的編輯權限限制。',
            documentObjectParent: '此物件還可能受到整份文件及其所在或錨定段落、節的編輯權限限制。',
            slideParent: '同時受整份簡報的編輯權限限制。',
            slideObjectParent: '同時受整份簡報及所在頁面或母片的編輯權限限制。',
            baseParent: '同時受整個 Base 的編輯權限限制。',
            baseObjectParent: '同時受整個 Base 及所在表的編輯權限限制。',
            recordParent: '同時受整個 Base 及所在表的限制;修改欄位值還需具備對應欄位的編輯權限。',
            boardParent: '此物件同時受整個白板的編輯權限限制。',
            ownerInherit: '檔案擁有者,繼承權限',
            peopleError: '人員清單載入失敗,請重試。',
            document: '文件',
            section: '節',
            paragraph: '段落',
            entity: '物件',
            presentation: '簡報',
            page: '頁面',
            master: '母版檢視',
            base: '多維表格',
            table: '資料表',
            field: '欄位',
            record: '記錄',
            view: '檢視',
            board: '白板',
            objectName: '{0}:{1}',

            search: '搜尋物件',
            empty: '沒有匹配的物件',
            more: '顯示前 100 個物件,請搜尋以缩小範圍。',
            title: '權限',
            cancel: '取消',
            save: '儲存',
            saving: '正在儲存…',
            loading: '正在載入…',
            conflict: '權限已被修改,請重新載入后再儲存。',
            error: '无法讀取或儲存權限,已保留你的修改。',
            reload: '重新載入',
            denied: '你沒有管理此物件權限的權限。',
            edit: '誰可以編輯',
            all: '所有文件編輯者',
            owner: '僅物件所有者',
            members: '指定成員',
            copy: '允許編輯者複製',
            print: '允許編輯者列印',
            export: '允許編輯者匯出',
            comment: '允許編輯者評論',
            parentHint: '仍受檔案及上級物件權限的限制。',
        },
        featureSearch: {
            title: '搜尋功能',
            placeholder: '輸入功能或選單名稱…',
            empty: '找不到目前可用的功能',
            ribbon: '功能區',
            contextMenu: '內容選單',
        },
        emojiPicker: {
            search: '搜尋',
            random: '隨機表情',
            recents: '最近使用',
            emojis: '表情',
            animals: '動物',
            food: '食物',
            activities: '活動',
            places: '地點',
            objects: '物品',
            symbols: '符號',
            searchResults: '搜尋結果',
            noResults: '找不到表情',
            ...emojiLocale,
        },
        symbolPicker: {
            mathematics: '數學',
            greek: '希臘字母',
            common: '常用',
        },
        toolbar: {
            heading: {
                normal: '正文',
                title: '標題',
                subTitle: '副標題',
                1: '標題 1',
                2: '標題 2',
                3: '標題 3',
                4: '標題 4',
                5: '標題 5',
            },
        },
        ribbon: {
            start: '開始',
            startDesc: '初始化工作表並設定基本參數。',
            insert: '插入',
            insertDesc: '插入行、列、圖表和各種其他元素。',
            formulas: '公式',
            formulasDesc: '使用函數和公式進行數據計算。',
            data: '資料',
            dataDesc: '管理資料,包括匯入、排序和篩選。',
            view: '視圖',
            viewDesc: '切換視圖模式並調整顯示效果。',
            others: '其他',
            othersDesc: '其他功能和設定。',
            more: '更多',
            groups: {
                clipboard: '剪貼簿',
                font: '字型',
                layout: '對齊與版面配置',
                number: '數字格式',
                tools: '工具',
                editing: '編輯',
                media: '媒體',
                cells: '儲存格',
                formulas: '公式',
                rules: '規則',
                organization: '資料整理',
                display: '顯示',
                visibility: '可見性',
            },
        },
        fontFamily: {
            'not-supported': '系統中未找到該字型,使用預設字型。',
        },
        'shortcut-panel': {
            title: '快捷鍵面板',
        },
        shortcut: {
            undo: '撤銷',
            redo: '重做',
            cut: '剪切',
            copy: '複製',
            paste: '貼上',
            'shortcut-panel': '開啟收起快捷鍵面板',
        },
        'common-edit': '常用編輯',
        'toggle-shortcut-panel': '開啟收起快速鍵面板',
        navigation: {
            back: '返回',
            previous: '上一個',
            next: '下一個',
        },
        sidebar: {
            panel: '側邊欄',
            resize: '調整側邊欄大小',
            close: '關閉側邊欄',
        },
        beforeClose: {
            title: '部分變更尚未儲存',
        },
        clipboard: {
            authentication: {
                title: '無法存取剪貼簿',
                content: '請允許 Univer 存取您的剪貼簿。 ',
            },
        },
        rangeSelector: {
            cancel: '取消',
        },
        'global-shortcut': '全域快捷鍵',
        row: '列',
        column: '欄',
    },
};

export default locale;