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.
TypeScript boardcollaborationdocdocxexceloffce365officepdfpptpptxpresentationsdksheetslidesspreadsheetuniverwordwordprocessorworkspacexlsx
feat(i18n): support ja-JP (#6153)
白熱9dad84f1db74
diff --git a/README-es.md b/README-es.mdindex c27ff5564f..4262263b6e 100644--- a/README-es.md+++ b/README-es.md@@ -116,6 +116,7 @@ Univer soporta múltiples idiomas, incluyendo:- `ru-RU`- `vi-VN`- `fa-IR`+- `ja-JP`- `ko-KR`- `es-ES`- `ca-ES`diff --git a/README-ja.md b/README-ja.mdindex 062a4adfea..35d80cb240 100644--- a/README-ja.md+++ b/README-ja.md@@ -116,6 +116,7 @@ Univer は多言語をサポートしており、以下の言語が利用可能- `ru-RU`- `vi-VN`- `fa-IR`+- `ja-JP`- `ko-KR`- `es-ES`- `ca-ES`diff --git a/README-zh.md b/README-zh.mdindex 0dd8d8dd12..d3ff27fb04 100644--- a/README-zh.md+++ b/README-zh.md@@ -116,6 +116,7 @@ Univer 内置多种语言支持,包括:- `ru-RU`- `vi-VN`- `fa-IR`+- `ja-JP`- `ko-KR`- `es-ES`- `ca-ES`diff --git a/README.md b/README.mdindex 4790a0e95b..eed1658b0b 100644--- a/README.md+++ b/README.md@@ -116,6 +116,7 @@ Univer supports multiple languages, including:- `ru-RU`- `vi-VN`- `fa-IR`+- `ja-JP`- `ko-KR`- `es-ES`- `ca-ES`diff --git a/examples/src/sheets/main.ts b/examples/src/sheets/main.tsindex 8c6d069c5d..aebd8815e5 100644--- a/examples/src/sheets/main.ts+++ b/examples/src/sheets/main.ts@@ -27,6 +27,7 @@ import enUS from '@univerjs/mockdata/locales/en-US';import esES from '@univerjs/mockdata/locales/es-ES';import faIR from '@univerjs/mockdata/locales/fa-IR';import frFR from '@univerjs/mockdata/locales/fr-FR';+import jaJP from '@univerjs/mockdata/locales/ja-JP';import koKR from '@univerjs/mockdata/locales/ko-KR';import ruRU from '@univerjs/mockdata/locales/ru-RU';import viVN from '@univerjs/mockdata/locales/vi-VN';@@ -105,6 +106,7 @@ function createNewInstance() {[LocaleType.ES_ES]: esES,[LocaleType.FA_IR]: faIR,[LocaleType.FR_FR]: frFR,+ [LocaleType.JA_JP]: jaJP,[LocaleType.KO_KR]: koKR,[LocaleType.RU_RU]: ruRU,[LocaleType.VI_VN]: viVN,diff --git a/mockdata/scripts/generate-locales.ts b/mockdata/scripts/generate-locales.tsindex 4cb46fe4c7..f2cdc64adb 100644--- a/mockdata/scripts/generate-locales.ts+++ b/mockdata/scripts/generate-locales.ts@@ -29,6 +29,7 @@ const locales = ['vi-VN','fa-IR','ko-KR',+ 'ja-JP','es-ES','ca-ES',];diff --git a/packages-experimental/debugger/src/views/use-locale.ts b/packages-experimental/debugger/src/views/use-locale.tsindex 7f757ec56c..0bf356dd95 100644--- a/packages-experimental/debugger/src/views/use-locale.ts+++ b/packages-experimental/debugger/src/views/use-locale.ts@@ -43,6 +43,10 @@ const locales = [label: 'Tiếng Việt',value: LocaleType.VI_VN,},+ {+ label: '日本語',+ value: LocaleType.JA_JP,+ },{label: '한국어',value: LocaleType.KO_KR,@@ -78,6 +82,9 @@ export function useLocale() {case LocaleType.VI_VN:locales = await import('@univerjs/mockdata/locales/vi-VN');break;+ case LocaleType.JA_JP:+ locales = await import('@univerjs/mockdata/locales/ja-JP');+ break;case LocaleType.KO_KR:locales = await import('@univerjs/mockdata/locales/ko-KR');break;diff --git a/packages-experimental/uni-formula-ui/src/locale/ja-JP.ts b/packages-experimental/uni-formula-ui/src/locale/ja-JP.tsnew file mode 100644index 0000000000..bd1096dd55--- /dev/null+++ b/packages-experimental/uni-formula-ui/src/locale/ja-JP.ts@@ -0,0 +1,38 @@+/**+ * 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 = {+ 'uni-formula': {+ popup: {+ title: {+ new: '新しい数式を作成',+ existing: '数式を編集',+ },+ placeholder: '数式を挿入するか、入力を続けて閉じます...',+ button: {+ confirm: '確定',+ cancel: 'キャンセル',+ },+ },+ command: {+ 'stream-placeholder': 'Uni Formula',+ },+ },+};++export default locale;diff --git a/packages/action-recorder/src/locale/ja-JP.ts b/packages/action-recorder/src/locale/ja-JP.tsnew file mode 100644index 0000000000..a7730ed548--- /dev/null+++ b/packages/action-recorder/src/locale/ja-JP.ts@@ -0,0 +1,31 @@+/**+ * 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 = {+ 'action-recorder': {+ menu: {+ title: '操作記録',+ record: '記録を開始...',+ 'replay-local': 'ローカルの記録で置き換え...',+ 'replay-local-name': 'サブ単位ごとにローカルの記録で置き換え...',+ 'replay-local-active': '現在のサブ単位をローカルの記録で置き換え...',+ },+ },+};++export default locale;diff --git a/packages/core/src/types/enum/locale-type.ts b/packages/core/src/types/enum/locale-type.tsindex fe27e6ad54..20b2539bbe 100644--- a/packages/core/src/types/enum/locale-type.ts+++ b/packages/core/src/types/enum/locale-type.ts@@ -25,6 +25,7 @@ export enum LocaleType {ZH_TW = 'zhTW',VI_VN = 'viVN',FA_IR = 'faIR',+ JA_JP = 'jaJP',KO_KR = 'koKR',ES_ES = 'esES',CA_ES = 'caES',diff --git a/packages/design/src/locale/ja-JP.ts b/packages/design/src/locale/ja-JP.tsnew file mode 100644index 0000000000..d7f0452df9--- /dev/null+++ b/packages/design/src/locale/ja-JP.ts@@ -0,0 +1,57 @@+/**+ * 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 = {+ design: {+ Confirm: {+ cancel: 'キャンセル',+ confirm: '確認',+ },+ CascaderList: {+ empty: '該当なし',+ },+ Calendar: {+ year: '年',+ weekDays: ['日', '月', '火', '水', '木', '金', '土'],+ months: [+ '1月',+ '2月',+ '3月',+ '4月',+ '5月',+ '6月',+ '7月',+ '8月',+ '9月',+ '10月',+ '11月',+ '12月',+ ],+ },+ Select: {+ empty: '該当なし',+ },+ ColorPicker: {+ more: 'その他の色',+ cancel: 'キャンセル',+ confirm: '確認',+ },+ },+};++export default locale;diff --git a/packages/docs-drawing-ui/src/locale/ja-JP.ts b/packages/docs-drawing-ui/src/locale/ja-JP.tsnew file mode 100644index 0000000000..75a77e7190--- /dev/null+++ b/packages/docs-drawing-ui/src/locale/ja-JP.ts@@ -0,0 +1,81 @@+/**+ * 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 = {+ docImage: {+ title: '画像',++ upload: {+ float: '画像を挿入',+ },++ panel: {+ title: '画像の編集',+ },+ },+ 'image-popup': {+ replace: '置換',+ delete: '削除',+ edit: '編集',+ crop: 'トリミング',+ reset: 'サイズをリセット',+ },+ 'image-text-wrap': {+ title: '文字列の折り返し',+ wrappingStyle: '折り返しのスタイル',+ square: '四角形',+ topAndBottom: '上下',+ inline: '行内',+ behindText: '文字列の背面',+ inFrontText: '文字列の前面',+ wrapText: '文字列の折り返し',+ bothSide: '両側',+ leftOnly: '左のみ',+ rightOnly: '右のみ',+ distanceFromText: '文字列からの距離',+ top: '上(px)',+ left: '左(px)',+ bottom: '下(px)',+ right: '右(px)',+ },+ 'image-position': {+ title: '位置',+ horizontal: '水平方向',+ vertical: '垂直方向',+ absolutePosition: '絶対位置(px)',+ relativePosition: '相対位置',+ toTheRightOf: '右側に',+ relativeTo: '基準に対して',+ bellow: '下に',+ options: 'オプション',+ moveObjectWithText: '文字列と一緒にオブジェクトを移動',+ column: '列',+ margin: '余白',+ page: 'ページ',+ line: '行',+ paragraph: '段落',+ },+ 'update-status': {+ exceedMaxSize: '画像のサイズが制限を超えています。制限: {0}MB',+ invalidImageType: '無効な画像形式です',+ exceedMaxCount: '一度にアップロードできる最大数は{0}件です',+ invalidImage: '無効な画像です',+ },+};++export default locale;diff --git a/packages/docs-hyper-link-ui/src/locale/ja-JP.ts b/packages/docs-hyper-link-ui/src/locale/ja-JP.tsnew file mode 100644index 0000000000..cbbd6b7120--- /dev/null+++ b/packages/docs-hyper-link-ui/src/locale/ja-JP.ts@@ -0,0 +1,43 @@+/**+ * 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 = {+ docLink: {+ edit: {+ confirm: 'OK',+ cancel: 'キャンセル',+ title: 'リンク',+ address: 'アドレス',+ placeholder: 'リンクのURLを入力してください',+ addressError: 'URLが正しくありません!',+ label: '表示文字列',+ labelError: 'リンクの表示文字列を入力してください',+ },+ info: {+ copy: 'コピー',+ edit: '編集',+ cancel: 'リンク解除',+ coped: 'リンクがクリップボードにコピーされました',+ },+ menu: {+ tooltip: 'ハイパーリンクの挿入',+ },+ },+};++export default locale;diff --git a/packages/docs-quick-insert-ui/src/locale/ja-JP.ts b/packages/docs-quick-insert-ui/src/locale/ja-JP.tsnew file mode 100644index 0000000000..d34cacccfe--- /dev/null+++ b/packages/docs-quick-insert-ui/src/locale/ja-JP.ts@@ -0,0 +1,37 @@+/**+ * 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 = {+ docQuickInsert: {+ menu: {+ numberedList: '番号付きリスト',+ bulletedList: '箇条書き',+ divider: '区切り線',+ text: 'テキスト',+ table: '表',+ image: '画像',+ },+ group: {+ basics: '基本',+ },+ placeholder: '結果がありません',+ keywordInputPlaceholder: 'キーワードを入力',+ },+};++export default locale;diff --git a/packages/docs-ui/src/locale/ja-JP.ts b/packages/docs-ui/src/locale/ja-JP.tsnew file mode 100644index 0000000000..49b2c8da8c--- /dev/null+++ b/packages/docs-ui/src/locale/ja-JP.ts@@ -0,0 +1,142 @@+/**+ * 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 = {+ toolbar: {+ undo: '元に戻す',+ redo: 'やり直し',+ font: 'フォント',+ fontSize: 'フォントサイズ',+ bold: '太字',+ italic: '斜体',+ strikethrough: '取り消し線',+ subscript: '下付き文字',+ superscript: '上付き文字',+ underline: '下線',+ textColor: {+ main: '文字の色',+ right: '色を選択',+ },+ fillColor: {+ main: '塗りつぶしの色',+ right: '色を選択',+ },+ table: {+ main: '表',+ insert: '表の挿入',+ colCount: '列数',+ rowCount: '行数',+ },+ resetColor: '既定の色に戻す',+ order: '番号付きリスト',+ unorder: '箇条書き',+ checklist: 'チェックリスト',+ documentFlavor: 'モダンモード',+ alignLeft: '左揃え',+ alignCenter: '中央揃え',+ alignRight: '右揃え',+ alignJustify: '両端揃え',+ horizontalLine: '横線の挿入',+ headerFooter: 'ヘッダーとフッター',+ pageSetup: 'ページ設定',+ },+ table: {+ insert: '挿入',+ insertRowAbove: '上に行を挿入',+ insertRowBelow: '下に行を挿入',+ insertColumnLeft: '左に列を挿入',+ insertColumnRight: '右に列を挿入',+ delete: '表を削除',+ deleteRows: '行を削除',+ deleteColumns: '列を削除',+ deleteTable: '表を削除',+ },+ headerFooter: {+ header: 'ヘッダー',+ footer: 'フッター',+ panel: 'ヘッダーとフッターの設定',+ firstPageCheckBox: '先頭ページを別設定',+ oddEvenCheckBox: '奇数/偶数ページを別設定',+ headerTopMargin: 'ヘッダー上余白(px)',+ footerBottomMargin: 'フッター下余白(px)',+ closeHeaderFooter: 'ヘッダー/フッターを閉じる',+ disableText: 'ヘッダーとフッターの設定は無効です',+ },+ doc: {+ menu: {+ paragraphSetting: '段落設定',+ },+ slider: {+ paragraphSetting: '段落設定',+ },+ paragraphSetting: {+ alignment: '配置',+ indentation: 'インデント',+ left: '左',+ right: '右',+ firstLine: '先頭行',+ hanging: 'ぶら下げ',+ spacing: '間隔',+ before: '前の間隔',+ after: '後の間隔',+ lineSpace: '行間',+ multiSpace: '複数行間',+ fixedValue: '固定値(px)',+ },+ },+ rightClick: {+ copy: 'コピー',+ cut: '切り取り',+ paste: '貼り付け',+ delete: '削除',+ bulletList: '箇条書き',+ orderList: '番号付きリスト',+ checkList: 'チェックリスト',+ insertBellow: '下に挿入',+ },+ 'page-settings': {+ 'document-setting': '文書設定',+ 'paper-size': '用紙サイズ',+ 'page-size': {+ main: '用紙サイズ',+ a4: 'A4',+ a3: 'A3',+ a5: 'A5',+ b4: 'B4',+ b5: 'B5',+ letter: 'Letter',+ legal: 'Legal',+ tabloid: 'Tabloid',+ statement: 'Statement',+ executive: 'Executive',+ folio: 'Folio',+ },+ orientation: '方向',+ portrait: '縦',+ landscape: '横',+ 'custom-paper-size': 'カスタム用紙サイズ',+ top: '上',+ bottom: '下',+ left: '左',+ right: '右',+ cancel: 'キャンセル',+ confirm: '確認',+ },+};++export default locale;diff --git a/packages/drawing-ui/src/locale/ja-JP.ts b/packages/drawing-ui/src/locale/ja-JP.tsnew file mode 100644index 0000000000..4c2ed72ff2--- /dev/null+++ b/packages/drawing-ui/src/locale/ja-JP.ts@@ -0,0 +1,82 @@+/**+ * 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 = {+ 'image-popup': {+ replace: '置換',+ delete: '削除',+ edit: '編集',+ crop: 'トリミング',+ reset: 'サイズをリセット',+ },+ 'image-cropper': {+ error: '画像以外のオブジェクトはトリミングできません。',+ },+ 'image-panel': {+ arrange: {+ title: '配置',+ forward: '前面へ移動',+ backward: '背面へ移動',+ front: '最前面へ移動',+ back: '最背面へ移動',+ },+ transform: {+ title: '変形',+ rotate: '回転 (°)',+ x: 'X座標 (px)',+ y: 'Y座標 (px)',+ width: '幅 (px)',+ height: '高さ (px)',+ lock: '縦横比を固定 (%)',+ },+ crop: {+ title: 'トリミング',+ start: 'トリミングを開始',+ mode: '自由モード',+ },+ group: {+ title: 'グループ',+ group: 'グループ化',+ reGroup: '再グループ化',+ unGroup: 'グループ解除',+ },+ align: {+ title: '整列',+ default: '整列タイプを選択',+ left: '左揃え',+ center: '中央揃え',+ right: '右揃え',+ top: '上揃え',+ middle: '中央揃え',+ bottom: '下揃え',+ horizon: '水平間隔を均等に配分',+ vertical: '垂直間隔を均等に配分',+ },+ null: '選択されたオブジェクトがありません',+ },+ 'drawing-view': '描画',+ shortcut: {+ 'drawing-move-down': '図形を下へ移動',+ 'drawing-move-up': '図形を上へ移動',+ 'drawing-move-left': '図形を左へ移動',+ 'drawing-move-right': '図形を右へ移動',+ 'drawing-delete': '図形を削除',+ },+};++export default locale;diff --git a/packages/find-replace/src/locale/ja-JP.ts b/packages/find-replace/src/locale/ja-JP.tsnew file mode 100644index 0000000000..dcec10ab4a--- /dev/null+++ b/packages/find-replace/src/locale/ja-JP.ts@@ -0,0 +1,69 @@+/**+ * 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 = {+ 'find-replace': {+ toolbar: '検索と置換',+ shortcut: {+ 'open-find-dialog': '検索ダイアログを開く',+ 'open-replace-dialog': '置換ダイアログを開く',+ 'close-dialog': '検索と置換ダイアログを閉じる',+ 'go-to-next-match': '次の検索結果へ移動',+ 'go-to-previous-match': '前の検索結果へ移動',+ 'focus-selection': '選択範囲へ移動',+ },+ dialog: {+ title: '検索',+ find: '検索',+ replace: '置換',+ 'replace-all': 'すべて置換',+ 'case-sensitive': '大文字と小文字を区別',+ 'find-placeholder': 'このシートで検索',+ 'advanced-finding': '詳細な検索と置換',+ 'replace-placeholder': '置換後の文字列を入力',+ 'match-the-whole-cell': 'セル全体を一致させる',+ 'find-direction': {+ title: '検索方向',+ row: '行単位で検索',+ column: '列単位で検索',+ },+ 'find-scope': {+ title: '検索範囲',+ 'current-sheet': '現在のシート',+ workbook: 'ブック全体',+ },+ 'find-by': {+ title: '検索対象',+ value: '値で検索',+ formula: '数式で検索',+ },+ 'no-match': '検索は完了しましたが、一致する項目がありませんでした。',+ 'no-result': '検索結果なし',+ },+ replace: {+ 'all-success': '合計 {0} 件、すべて置換しました',+ 'all-failure': '置換に失敗しました',+ confirm: {+ title: 'すべての一致項目を置換しますか?',+ },+ },+ },+ 'find-replace-shortcuts': '検索と置換',+};++export default locale;diff --git a/packages/sheets-conditional-formatting-ui/src/locale/ja-JP.ts b/packages/sheets-conditional-formatting-ui/src/locale/ja-JP.tsnew file mode 100644index 0000000000..34cb650172--- /dev/null+++ b/packages/sheets-conditional-formatting-ui/src/locale/ja-JP.ts@@ -0,0 +1,179 @@+/**+ * 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 = {+ sheet: {+ cf: {+ title: '조건부 서식',+ menu: {+ manageConditionalFormatting: '조건부 서식 관리',+ createConditionalFormatting: '조건부 서식 만들기',+ clearRangeRules: '선택 영역 규칙 지우기',+ clearWorkSheetRules: '시트 전체 규칙 지우기',+ },+ form: {+ lessThan: '{0}보다 작음',+ lessThanOrEqual: '{0} 이하',+ greaterThan: '{0}보다 큼',+ greaterThanOrEqual: '{0} 이상',+ rangeSelector: '범위 선택 또는 값 입력',+ },+ iconSet: {+ direction: '방향',+ shape: '모양',+ mark: '표식',+ rank: '순위',+ rule: '규칙',+ icon: '아이콘',+ type: '유형',+ value: '값',+ reverseIconOrder: '아이콘 순서 반대로',+ and: '그리고',+ when: '조건',+ onlyShowIcon: '아이콘만 표시',+ },+ symbol: {+ greaterThan: '>',+ greaterThanOrEqual: '≥',+ lessThan: '<',+ lessThanOrEqual: '≤',+ },+ panel: {+ 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: '아이콘 집합',+ duplicateValues: '중복 값',+ uniqueValues: '고유 값',+ },+ subRuleType: {+ uniqueValues: '고유 값',+ duplicateValues: '중복 값',+ rank: '순위',+ text: '텍스트',+ timePeriod: '기간',+ number: '숫자',+ average: '평균',+ },+ valueType: {+ num: '숫자',+ min: '최소값',+ max: '최대값',+ percent: '백분율',+ percentile: '백분위수',+ formula: '수식',+ none: '없음',+ },+ errorMessage: {+ notBlank: '조건을 비울 수 없습니다.',+ formulaError: '잘못된 수식입니다.',+ rangeError: '잘못된 선택 영역입니다.',+ },+ },+ },+};++export default locale;diff --git a/packages/sheets-note-ui/src/locale/index.ts b/packages/sheets-crosshair-highlight/src/locale/ja-JP.tssimilarity index 67%rename from packages/sheets-note-ui/src/locale/index.tsrename to packages/sheets-crosshair-highlight/src/locale/ja-JP.tsindex df49e1fc99..f9d6add85f 100644--- a/packages/sheets-note-ui/src/locale/index.ts+++ b/packages/sheets-crosshair-highlight/src/locale/ja-JP.ts@@ -14,10 +14,14 @@* limitations under the License.*/-export { default as enUS } from './en-US';-export { default as faIR } from './fa-IR';-export { default as frFR } from './fr-FR';-export { default as ruRU } from './ru-RU';-export { default as viVN } from './vi-VN';-export { default as zhCN } from './zh-CN';-export { default as zhTW } from './zh-TW';+import type enUS from './en-US';++const locale: typeof enUS = {+ crosshair: {+ button: {+ tooltip: '십자선 강조',+ },+ },+};++export default locale;diff --git a/packages/sheets-data-validation-ui/src/locale/ja-JP.ts b/packages/sheets-data-validation-ui/src/locale/ja-JP.tsnew file mode 100644index 0000000000..1024c91c1d--- /dev/null+++ b/packages/sheets-data-validation-ui/src/locale/ja-JP.ts@@ -0,0 +1,199 @@+/**+ * 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 = {+ dataValidation: {+ title: '데이터 유효성 검사',+ validFail: {+ value: '값을 입력하세요',+ common: '값 또는 수식을 입력하세요',+ number: '숫자 또는 수식을 입력하세요',+ formula: '수식을 입력하세요',+ integer: '정수 또는 수식을 입력하세요',+ date: '날짜 또는 수식을 입력하세요',+ list: '목록 옵션을 입력하세요',+ listInvalid: '목록 소스는 구분된 목록이거나 단일 행 또는 열 참조여야 합니다',+ checkboxEqual: '선택된 값과 선택되지 않은 값에 서로 다른 값을 입력하세요',+ formulaError: '참조 범위에 보이지 않는 데이터가 포함되어 있습니다. 범위를 다시 설정하세요',+ listIntersects: '선택한 범위가 규칙 범위와 겹칠 수 없습니다',+ primitive: '사용자 지정 선택/미선택 값에는 수식을 사용할 수 없습니다',+ },+ panel: {+ title: '데이터 유효성 검사 관리',+ addTitle: '새 데이터 유효성 검사 추가',+ removeAll: '모두 제거',+ add: '규칙 추가',+ range: '적용 범위',+ type: '유형',+ options: '고급 옵션',+ operator: '연산자',+ removeRule: '규칙 제거',+ done: '완료',+ formulaPlaceholder: '값 또는 수식 입력',+ valuePlaceholder: '값 입력',+ formulaAnd: '그리고',+ invalid: '유효하지 않음',+ showWarning: '경고 표시',+ rejectInput: '입력 거부',+ messageInfo: '도움말 메시지',+ showInfo: '선택한 셀에 도움말 표시',+ rangeError: '범위가 올바르지 않습니다',+ allowBlank: '빈 셀 허용',+ },+ operators: {+ between: '사이',+ greaterThan: '초과',+ greaterThanOrEqual: '이상',+ lessThan: '미만',+ lessThanOrEqual: '이하',+ equal: '같음',+ notEqual: '같지 않음',+ notBetween: '사이가 아님',+ legal: '유효한 형식',+ },+ ruleName: {+ between: '{FORMULA1}와 {FORMULA2} 사이',+ greaterThan: '{FORMULA1} 초과',+ greaterThanOrEqual: '{FORMULA1} 이상',+ lessThan: '{FORMULA1} 미만',+ lessThanOrEqual: '{FORMULA1} 이하',+ equal: '{FORMULA1}와 같음',+ notEqual: '{FORMULA1}와 다름',+ notBetween: '{FORMULA1}와 {FORMULA2} 사이 아님',+ legal: '유효한 {TYPE} 형식',+ },+ errorMsg: {+ between: '값은 {FORMULA1}와 {FORMULA2} 사이여야 합니다',+ greaterThan: '값은 {FORMULA1} 초과여야 합니다',+ greaterThanOrEqual: '값은 {FORMULA1} 이상이어야 합니다',+ lessThan: '값은 {FORMULA1} 미만이어야 합니다',+ lessThanOrEqual: '값은 {FORMULA1} 이하이어야 합니다',+ equal: '값은 {FORMULA1}와 같아야 합니다',+ notEqual: '값은 {FORMULA1}와 달라야 합니다',+ notBetween: '값은 {FORMULA1}와 {FORMULA2} 사이가 아니어야 합니다',+ legal: '값은 유효한 {TYPE} 형식이어야 합니다',+ },+ any: {+ title: '모든 값',+ error: '이 셀의 내용이 유효성 검사 규칙을 위반했습니다',+ },+ date: {+ title: '날짜',+ operators: {+ between: '사이',+ greaterThan: '이후',+ greaterThanOrEqual: '이거나 이후',+ lessThan: '이전',+ lessThanOrEqual: '이거나 이전',+ equal: '같음',+ notEqual: '다름',+ notBetween: '사이가 아님',+ legal: '유효한 날짜',+ },+ ruleName: {+ between: '{FORMULA1}와 {FORMULA2} 사이',+ greaterThan: '{FORMULA1} 이후',+ greaterThanOrEqual: '{FORMULA1} 이거나 이후',+ lessThan: '{FORMULA1} 이전',+ lessThanOrEqual: '{FORMULA1} 이거나 이전',+ equal: '{FORMULA1}와 같음',+ notEqual: '{FORMULA1}와 다름',+ notBetween: '{FORMULA1}와 {FORMULA2} 사이 아님',+ legal: '유효한 날짜',+ },+ errorMsg: {+ between: '값은 유효한 날짜이며 {FORMULA1}와 {FORMULA2} 사이여야 합니다',+ greaterThan: '값은 유효한 날짜이며 {FORMULA1} 이후여야 합니다',+ greaterThanOrEqual: '값은 유효한 날짜이며 {FORMULA1} 이거나 이후여야 합니다',+ lessThan: '값은 유효한 날짜이며 {FORMULA1} 이전이어야 합니다',+ lessThanOrEqual: '값은 유효한 날짜이며 {FORMULA1} 이거나 이전이어야 합니다',+ equal: '값은 유효한 날짜이며 {FORMULA1}와 같아야 합니다',+ notEqual: '값은 유효한 날짜이며 {FORMULA1}와 달라야 합니다',+ notBetween: '값은 유효한 날짜이며 {FORMULA1}와 {FORMULA2} 사이가 아니어야 합니다',+ legal: '값은 유효한 날짜여야 합니다',+ },+ },+ list: {+ title: '목록',+ name: '목록 범위 내 값',+ error: '입력 값이 지정된 범위 내에 있어야 합니다',+ emptyError: '값을 입력하세요',+ add: '추가',+ dropdown: '목록 표시',+ options: '옵션',+ customOptions: '사용자 지정',+ refOptions: '범위 참조',+ formulaError: '목록 소스는 구분된 목록이거나 단일 행 또는 열 참조여야 합니다',+ edit: '수정',+ },+ listMultiple: {+ title: '복수 선택 목록',+ dropdown: '여러 항목 선택',+ },+ textLength: {+ title: '텍스트 길이',+ errorMsg: {+ between: '텍스트 길이는 {FORMULA1}와 {FORMULA2} 사이여야 합니다',+ greaterThan: '텍스트 길이는 {FORMULA1} 초과여야 합니다',+ greaterThanOrEqual: '텍스트 길이는 {FORMULA1} 이상이어야 합니다',+ lessThan: '텍스트 길이는 {FORMULA1} 미만이어야 합니다',+ lessThanOrEqual: '텍스트 길이는 {FORMULA1} 이하이어야 합니다',+ equal: '텍스트 길이는 {FORMULA1}와 같아야 합니다',+ notEqual: '텍스트 길이는 {FORMULA1}와 달라야 합니다',+ notBetween: '텍스트 길이는 {FORMULA1}와 {FORMULA2} 사이가 아니어야 합니다',+ },+ },+ decimal: {+ title: '숫자',+ },+ whole: {+ title: '정수',+ },+ checkbox: {+ title: '체크박스',+ error: '이 셀의 내용이 유효성 검사 규칙을 위반했습니다',+ tips: '셀 내 사용자 지정 값을 사용하세요',+ checked: '선택된 값',+ unchecked: '선택되지 않은 값',+ },+ custom: {+ title: '사용자 지정 수식',+ error: '이 셀의 내용이 유효성 검사 규칙을 위반했습니다',+ validFail: '유효한 수식을 입력하세요',+ ruleName: '사용자 지정 수식: {FORMULA1}',+ },+ alert: {+ title: '오류',+ ok: '확인',+ },+ error: {+ title: '잘못된 값:',+ },+ renderMode: {+ arrow: '화살표',+ chip: '칩',+ text: '일반 텍스트',+ label: '표시 스타일',+ },+ showTime: {+ label: '시간 선택기 표시',+ },+ },+};++export default locale;diff --git a/packages/sheets-drawing-ui/src/locale/ja-JP.ts b/packages/sheets-drawing-ui/src/locale/ja-JP.tsnew file mode 100644index 0000000000..5d59e592da--- /dev/null+++ b/packages/sheets-drawing-ui/src/locale/ja-JP.ts@@ -0,0 +1,58 @@+/**+ * 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 = {+ sheetImage: {+ title: '이미지',++ upload: {+ float: '플로팅 이미지',+ cell: '셀 내 이미지',+ },++ panel: {+ title: '이미지 편집',+ },+ },+ 'image-popup': {+ replace: '바꾸기',+ delete: '삭제',+ edit: '편집',+ crop: '자르기',+ reset: '원래 크기',+ },+ 'drawing-anchor': {+ title: '고정 위치 설정',+ both: '셀과 함께 이동 및 크기 조절',+ position: '셀과 함께 이동하되 크기 변경 안 함',+ none: '셀과 함께 이동 및 크기 조절 안 함',+ },+ 'update-status': {+ exceedMaxSize: '이미지 크기가 제한({0}MB)을 초과했습니다',+ invalidImageType: '지원하지 않는 이미지 형식입니다',+ exceedMaxCount: '한 번에 {0}개까지만 업로드할 수 있습니다',+ invalidImage: '유효하지 않은 이미지입니다',+ },+ 'cell-image': {+ pasteTitle: '셀 이미지로 붙여넣기',+ pasteContent: '셀 이미지 붙여넣기는 기존 셀 내용을 덮어씁니다. 계속 진행하시겠습니까?',+ pasteError: '이 단위에서는 시트 셀 이미지 복사 붙여넣기를 지원하지 않습니다',+ },+};++export default locale;diff --git a/packages/sheets-filter-ui/src/locale/ja-JP.ts b/packages/sheets-filter-ui/src/locale/ja-JP.tsnew file mode 100644index 0000000000..ac643fa423--- /dev/null+++ b/packages/sheets-filter-ui/src/locale/ja-JP.ts@@ -0,0 +1,102 @@+/**+ * 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-filter': {+ toolbar: {+ 'smart-toggle-filter-tooltip': 'フィルタの切替',+ 'clear-filter-criteria': 'フィルタ条件をクリア',+ 're-calc-filter-conditions': 'フィルタ条件を再計算',+ },+ command: {+ 'not-valid-filter-range': '選択範囲に1行しか含まれていないため、フィルタを適用できません。',+ },+ shortcut: {+ 'smart-toggle-filter': 'フィルタの切替',+ },+ panel: {+ 'clear-filter': 'フィルタをクリア',+ cancel: 'キャンセル',+ confirm: '確認',+ 'by-values': '値でフィルタ',+ 'by-colors': '色でフィルタ',+ 'filter-by-cell-fill-color': 'セルの塗りつぶし色でフィルタ',+ 'filter-by-cell-text-color': 'セルの文字色でフィルタ',+ 'filter-by-color-none': 'この列は単一の色のみを含んでいます',+ 'by-conditions': '条件でフィルタ',+ 'filter-only': 'フィルタのみ表示',+ 'search-placeholder': '検索語はスペースで区切る',+ 'select-all': 'すべて選択',+ 'input-values-placeholder': '値を入力',+ and: 'AND',+ or: 'OR',+ empty: '(空白)',+ '?': '「?」は任意の1文字',+ '*': '「*」は任意の複数文字',+ },+ conditions: {+ none: 'なし',+ empty: '空白セル',+ 'not-empty': '空白ではない',+ 'text-contains': '文字列を含む',+ 'does-not-contain': '文字列を含まない',+ 'starts-with': '前方一致',+ 'ends-with': '後方一致',+ equals: '一致',+ 'greater-than': 'より大きい',+ 'greater-than-or-equal': '以上',+ 'less-than': 'より小さい',+ 'less-than-or-equal': '以下',+ equal: '等しい',+ 'not-equal': '等しくない',+ between: '範囲内',+ 'not-between': '範囲外',+ custom: 'カスタム',+ },+ msg: {+ 'filter-header-forbidden': 'フィルタヘッダー行は移動できません。',+ },+ date: {+ 1: '1月',+ 2: '2月',+ 3: '3月',+ 4: '4月',+ 5: '5月',+ 6: '6月',+ 7: '7月',+ 8: '8月',+ 9: '9月',+ 10: '10月',+ 11: '11月',+ 12: '12月',+ },+ sync: {+ title: 'フィルタを全員が表示可能',+ statusTips: {+ on: '有効にすると、すべての共同作業者がフィルタ結果を表示できます。',+ off: '無効にすると、自分のみフィルタ結果を表示できます。',+ },+ switchTips: {+ on: '「フィルタを全員が表示可能」が有効な場合、すべての共同作業者がフィルタ結果を表示できます。',+ off: '「フィルタを全員が表示可能」が無効な場合、自分のみフィルタ結果を表示できます。',+ },+ },+ },+};++export default locale;diff --git a/packages/sheets-find-replace/src/locale/ja-JP.ts b/packages/sheets-find-replace/src/locale/ja-JP.tsnew file mode 100644index 0000000000..0310002337--- /dev/null+++ b/packages/sheets-find-replace/src/locale/ja-JP.ts@@ -0,0 +1,28 @@+/**+ * 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 = {+ 'sheet-find-replace': {+ replace: {+ 'partial-failure': '一部のセルの置換に失敗しました',+ failure: 'すべてのセルの置換に失敗しました',+ },+ },+};++export default locale;diff --git a/packages/sheets-formula-ui/src/locale/ja-JP.ts b/packages/sheets-formula-ui/src/locale/ja-JP.tsnew file mode 100644index 0000000000..58177ea5c3--- /dev/null+++ b/packages/sheets-formula-ui/src/locale/ja-JP.ts@@ -0,0 +1,122 @@+/**+ * 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 array from './function-list/array/ja-JP';+import compatibility from './function-list/compatibility/ja-JP';+import cube from './function-list/cube/ja-JP';+import database from './function-list/database/ja-JP';+import date from './function-list/date/ja-JP';+import engineering from './function-list/engineering/ja-JP';+import financial from './function-list/financial/ja-JP';+import information from './function-list/information/ja-JP';+import logical from './function-list/logical/ja-JP';+import lookup from './function-list/lookup/ja-JP';+import math from './function-list/math/ja-JP';+import statistical from './function-list/statistical/ja-JP';+import text from './function-list/text/ja-JP';+import univer from './function-list/univer/ja-JP';+import web from './function-list/web/ja-JP';++const locale: typeof enUS = {+ shortcut: {+ 'sheets-formula-ui': {+ 'quick-sum': 'クイック合計',+ },+ },+ formula: {+ insert: {+ tooltip: '関数',+ sum: 'SUM',+ average: 'AVERAGE',+ count: 'COUNT',+ max: 'MAX',+ min: 'MIN',+ more: 'その他の関数...',+ },+ functionList: {+ ...financial,+ ...date,+ ...math,+ ...statistical,+ ...lookup,+ ...database,+ ...text,+ ...logical,+ ...information,+ ...engineering,+ ...cube,+ ...compatibility,+ ...web,+ ...array,+ ...univer,+ },+ prompt: {+ helpExample: '例',+ helpAbstract: '説明',+ required: '必須.',+ optional: '省略.',+ },+ error: {+ title: 'エラー',+ divByZero: '0での除算エラー',+ name: '名前エラー',+ value: '値エラー',+ num: '数値エラー',+ na: '利用できない値エラー',+ cycle: '循環参照エラー',+ ref: '不正なセル参照エラー',+ spill: 'スピル範囲のエラー',+ calc: '計算エラー',+ error: 'エラー',+ connect: 'データ取得中',+ null: 'Null エラー',+ },++ functionType: {+ financial: '財務',+ date: '日付と時刻',+ math: '数学および三角関数',+ statistical: '統計',+ lookup: '検索と参照',+ database: 'データベース',+ text: 'テキスト',+ logical: '論理',+ information: '情報',+ engineering: '工学',+ cube: 'キューブ',+ compatibility: '互換性',+ web: 'Web',+ array: '配列',+ univer: 'Univer',+ user: 'ユーザー定義',+ definedname: '定義済みの名前',+ },+ moreFunctions: {+ confirm: 'OK',+ prev: '前へ',+ next: '次へ',+ searchFunctionPlaceholder: '関数を検索',+ allFunctions: 'すべての関数',+ syntax: '構文',+ },+ operation: {+ pasteFormula: '数式を貼り付け',+ },+ },+};++export default locale;diff --git a/packages/sheets-formula/src/locale/ja-JP.ts b/packages/sheets-formula/src/locale/ja-JP.tsnew file mode 100644index 0000000000..5f6875cede--- /dev/null+++ b/packages/sheets-formula/src/locale/ja-JP.ts@@ -0,0 +1,31 @@+/**+ * 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 = {+ formula: {+ progress: {+ analyzing: '解析中',+ calculating: '計算中',+ 'array-analysis': '配列の解析',+ 'array-calculation': '配列の計算',+ done: '完了',+ },+ },+};++export default locale;diff --git a/packages/sheets-hyper-link-ui/src/locale/ja-JP.ts b/packages/sheets-hyper-link-ui/src/locale/ja-JP.tsnew file mode 100644index 0000000000..ca5172dd28--- /dev/null+++ b/packages/sheets-hyper-link-ui/src/locale/ja-JP.ts@@ -0,0 +1,55 @@+/**+ * 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 = {+ hyperLink: {+ form: {+ editTitle: 'リンクの編集',+ addTitle: 'リンクの挿入',+ label: '表示文字列',+ type: '種類',+ link: 'リンク',+ linkPlaceholder: 'リンクを入力',+ range: '範囲',+ worksheet: 'ワークシート',+ definedName: '定義済みの名前',+ ok: 'OK',+ cancel: 'キャンセル',+ labelPlaceholder: '表示する文字列を入力',+ inputError: '値を入力してください',+ selectError: '選択してください',+ linkError: '有効なリンクを入力してください',+ },+ menu: {+ add: 'リンクの挿入',+ },+ message: {+ noSheet: '対象のワークシートが削除されました',+ refError: '無効な範囲です',+ hiddenSheet: 'リンクを開けません。参照先のワークシートが非表示です',+ coped: 'リンクがクリップボードにコピーされました',+ },+ popup: {+ copy: 'リンクをコピー',+ edit: 'リンクの編集',+ cancel: 'リンク解除',+ },+ },+};++export default locale;diff --git a/packages/sheets-note-ui/src/locale/ja-JP.ts b/packages/sheets-note-ui/src/locale/ja-JP.tsnew file mode 100644index 0000000000..723c9ad802--- /dev/null+++ b/packages/sheets-note-ui/src/locale/ja-JP.ts@@ -0,0 +1,30 @@+/**+ * 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 = {+ rightClick: {+ addNote: 'コメントを追加',+ deleteNote: 'コメントを削除',+ toggleNote: 'コメントの表示/非表示',+ },+ note: {+ placeholder: 'ここに入力',+ },+};++export default locale;diff --git a/packages/sheets-numfmt-ui/src/locale/ja-JP.ts b/packages/sheets-numfmt-ui/src/locale/ja-JP.tsnew file mode 100644index 0000000000..9c8e017f6d--- /dev/null+++ b/packages/sheets-numfmt-ui/src/locale/ja-JP.ts@@ -0,0 +1,59 @@+/**+ * 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 = {+ sheet: {+ numfmt: {+ title: '表示形式',+ numfmtType: '形式の種類',+ cancel: 'キャンセル',+ confirm: '確認',+ general: '標準',+ accounting: '会計',+ text: '文字列',+ number: '数値',+ percent: 'パーセンテージ',+ scientific: '指数表示',+ currency: '通貨',+ date: '日付',+ time: '時刻',+ thousandthPercentile: '桁区切り',+ preview: 'プレビュー',+ dateTime: '日付と時刻',+ decimalLength: '小数点以下の桁数',+ currencyType: '通貨記号',+ moreFmt: 'その他の表示形式',+ financialValue: '財務値',+ roundingCurrency: '通貨の丸め',+ timeDuration: '時間の長さ',+ currencyDes: '通貨表示形式は一般的な通貨の値を表示するために使用します。会計表示形式は小数点で値を揃えます。',+ accountingDes: '会計表示形式は通貨記号と小数点で値を揃えます。',+ dateType: '日付の種類',+ dateDes: '日付表示形式は日付や時刻の値を所定の日付書式で表示します。',+ negType: '負数の表示形式',+ generalDes: '標準表示形式は特定の数値表示形式を適用しません。',+ thousandthPercentileDes: 'パーセンテージ表示形式は通常の数値をパーセンテージとして表示します。通貨や会計は金額表示に特化しています。',+ addDecimal: '小数点以下の桁数を増やす',+ subtractDecimal: '小数点以下の桁数を減らす',+ customFormat: 'ユーザー定義表示形式',+ customFormatDes: '既存の表示形式を基にユーザー定義の数値表示形式を作成します。',+ },+ },+};++export default locale;diff --git a/packages/sheets-sort-ui/src/locale/ja-JP.ts b/packages/sheets-sort-ui/src/locale/ja-JP.tsnew file mode 100644index 0000000000..f73c846936--- /dev/null+++ b/packages/sheets-sort-ui/src/locale/ja-JP.ts@@ -0,0 +1,50 @@+/**+ * 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-sort': {+ general: {+ sort: '並べ替え',+ 'sort-asc': '昇順',+ 'sort-desc': '降順',+ 'sort-custom': 'カスタム順序',+ 'sort-asc-ext': '昇順(拡張)',+ 'sort-desc-ext': '降順(拡張)',+ 'sort-asc-cur': '昇順',+ 'sort-desc-cur': '降順',+ },+ error: {+ 'merge-size': '選択範囲に異なるサイズの結合セルが含まれているため、並べ替えができません。',+ empty: '選択範囲にデータがないため、並べ替えができません。',+ single: '選択範囲に1行しか含まれていないため、並べ替えができません。',+ 'formula-array': '選択範囲に配列数式が含まれているため、並べ替えができません。',+ },+ dialog: {+ 'sort-reminder': '並べ替えの確認',+ 'sort-reminder-desc': '範囲を拡張して並べ替えますか、それとも範囲を維持して並べ替えますか?',+ 'sort-reminder-ext': '範囲を拡張して並べ替え',+ 'sort-reminder-no': '範囲を維持して並べ替え',+ 'first-row-check': '先頭行を並べ替えの対象に含めない',+ 'add-condition': '条件を追加',+ cancel: 'キャンセル',+ confirm: '確認',+ },+ },+};++export default locale;diff --git a/packages/sheets-sort/src/locale/ja-JP.ts b/packages/sheets-sort/src/locale/ja-JP.tsnew file mode 100644index 0000000000..bcce769471--- /dev/null+++ b/packages/sheets-sort/src/locale/ja-JP.ts@@ -0,0 +1,35 @@+/**+ * 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 = {+ sheetsSort: {+ title: '並べ替え',+ toolbar: {+ 'sort-asc': '昇順',+ 'sort-desc': '降順',+ 'sort-custom': 'カスタム順序',+ },+ 'context-menu': {+ 'sort-asc': '昇順',+ 'sort-desc': '降順',+ 'sort-custom': 'カスタム順序',+ },+ },+};++export default locale;diff --git a/packages/sheets-table-ui/src/locale/ja-JP.ts b/packages/sheets-table-ui/src/locale/ja-JP.tsnew file mode 100644index 0000000000..2bec73eb12--- /dev/null+++ b/packages/sheets-table-ui/src/locale/ja-JP.ts@@ -0,0 +1,145 @@+/**+ * 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': {+ title: '表',+ selectRange: '表の範囲を選択',+ rename: '表の名前を変更',+ updateRange: '表の範囲を更新',+ tableRangeWithMergeError: '表の範囲は結合セルと重複できません',+ tableRangeWithOtherTableError: '表の範囲は他の表と重複できません',+ tableRangeSingleRowError: '表の範囲は1行のみでは構成できません',+ updateError: '表の範囲は元の範囲と重複しない、または同じ行上にない場合に設定できます',+ tableStyle: '表のスタイル',+ defaultStyle: '既定のスタイル',+ customStyle: 'ユーザー設定のスタイル',+ customTooMore: 'ユーザー定義テーマの数が上限を超えています。いくつか削除してから再度追加してください',+ setTheme: '表のテーマを設定',+ removeTable: '表を削除',+ cancel: 'キャンセル',+ confirm: '確認',+ header: 'ヘッダー',+ footer: 'フッター',+ firstLine: '先頭行',+ secondLine: '2行目',+ columnPrefix: '列',+ tablePrefix: '表',+ tableNameError: '表の名前は空白を含めることはできず、数字で始めることはできず、既存の表名と重複できません',++ 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: '第1四半期',+ q2: '第2四半期',+ q3: '第3四半期',+ q4: '第4四半期',+ m1: '1月',+ m2: '2月',+ m3: '3月',+ m4: '4月',+ m5: '5月',+ m6: '6月',+ m7: '7月',+ m8: '8月',+ m9: '9月',+ m10: '10月',+ m11: '11月',+ m12: '12月',+ },+ },+ filter: {+ 'by-values': '値でフィルタ',+ 'by-conditions': '条件でフィルタ',+ 'clear-filter': 'フィルタをクリア',+ cancel: 'キャンセル',+ confirm: '確認',+ 'search-placeholder': '検索語はスペースで区切る',+ 'select-all': 'すべて選択',+ },+ },+};++export default locale;diff --git a/packages/sheets-thread-comment-ui/src/locale/ja-JP.ts b/packages/sheets-thread-comment-ui/src/locale/ja-JP.tsnew file mode 100644index 0000000000..29078bf3be--- /dev/null+++ b/packages/sheets-thread-comment-ui/src/locale/ja-JP.ts@@ -0,0 +1,28 @@+/**+ * 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 = {+ sheetThreadComment: {+ menu: {+ addComment: 'コメントを追加',+ commentManagement: 'コメント管理',+ },+ },+};++export default locale;diff --git a/packages/sheets-ui/src/locale/ja-JP.ts b/packages/sheets-ui/src/locale/ja-JP.tsnew file mode 100644index 0000000000..ed7105b972--- /dev/null+++ b/packages/sheets-ui/src/locale/ja-JP.ts@@ -0,0 +1,484 @@+/**+ * 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 = {+ spreadsheetLabel: 'スプレッドシート',+ spreadsheetRightLabel: 'シートを追加',++ toolbar: {+ undo: '元に戻す',+ redo: 'やり直す',+ formatPainter: '書式のコピー',+ font: 'フォント',+ fontSize: 'フォントサイズ',+ fontSizeIncrease: 'フォントサイズを拡大',+ fontSizeDecrease: 'フォントサイズを縮小',+ bold: '太字',+ italic: '斜体',+ strikethrough: '取り消し線',+ subscript: '下付き文字',+ superscript: '上付き文字',+ underline: '下線',+ textColor: {+ main: '文字色',+ right: '色を選択',+ },+ resetColor: '初期化',+ fillColor: {+ main: '塗りつぶし色',+ right: '色を選択',+ },+ border: {+ main: '罫線',+ right: '罫線スタイル',+ },+ mergeCell: {+ main: 'セル結合',+ right: '結合タイプを選択',+ },+ horizontalAlignMode: {+ main: '横方向の配置',+ right: '配置',+ },+ verticalAlignMode: {+ main: '縦方向の配置',+ right: '配置',+ },+ textWrapMode: {+ main: '文字の折り返し',+ right: '折り返しモード',+ },+ textRotateMode: {+ main: '文字の回転',+ right: '回転モード',+ },+ more: 'その他',+ toggleGridlines: 'グリッド線の表示/非表示',+ },+ align: {+ left: '左寄せ',+ center: '中央',+ right: '右寄せ',++ top: '上',+ middle: '中央',+ bottom: '下',+ },++ button: {+ confirm: '確認',+ cancel: 'キャンセル',+ close: '閉じる',+ update: '更新',+ delete: '削除',+ insert: '挿入',+ prevPage: '前へ',+ nextPage: '次へ',+ total: '合計:',+ },+ punctuation: {+ tab: 'タブ',+ semicolon: 'セミコロン',+ comma: 'カンマ',+ space: 'スペース',+ },+ colorPicker: {+ collapse: '縮小',+ customColor: 'カスタムカラー',+ change: '変更',+ confirmColor: '確認',+ cancelColor: 'キャンセル',+ },+ borderLine: {+ borderTop: '上',+ borderBottom: '下',+ borderLeft: '左',+ borderRight: '右',+ borderNone: 'なし',+ borderAll: '全て',+ borderOutside: '外側',+ borderInside: '内側',+ borderHorizontal: '横罫線',+ borderVertical: '縦罫線',+ borderColor: '罫線の色',+ borderSize: '罫線の太さ',+ borderType: '罫線の種類',+ },+ merge: {+ all: 'すべて結合',+ vertical: '縦に結合',+ horizontal: '横に結合',+ cancel: '結合解除',+ overlappingError: '重なっている範囲は結合できません',+ partiallyError: '部分的に結合されたセルには操作できません',+ confirm: {+ title: '結合すると左上セル以外の値は削除されます。続行しますか?',+ cancel: '結合をキャンセル',+ confirm: '結合を続行',+ warning: '警告',+ dismantleMergeCellWarning: '一部の結合セルが解除されます。続行しますか?',+ },+ },+ filter: {+ confirm: {+ error: '問題が発生しました',+ notAllowedToInsertRange: 'フィルターがクリアされるまで、ここにセルを移動できません',+ },+ },+ textWrap: {+ overflow: 'オーバーフロー',+ wrap: '折り返す',+ clip: '切り取り',+ },+ textRotate: {+ none: 'なし',+ angleUp: '傾き (上)',+ angleDown: '傾き (下)',+ vertical: '縦書き',+ rotationUp: '上へ回転',+ rotationDown: '下へ回転',+ },+ sheetConfig: {+ delete: '削除',+ copy: 'コピー',+ rename: '名前を変更',+ changeColor: '色を変更',+ hide: '非表示',+ unhide: '表示',+ moveLeft: '左へ移動',+ moveRight: '右へ移動',+ resetColor: '色をリセット',+ cancelText: 'キャンセル',+ chooseText: '色を選択',++ tipNameRepeat: 'タブページ名は重複できません。別の名前を入力してください',+ noMoreSheet: 'ブックには少なくとも1つのシートが必要です。選択したシートを削除するには、新しいシートを挿入するか、非表示のシートを表示してください。',+ confirmDelete: '削除しますか?',+ redoDelete: 'Ctrl+Zで元に戻せます',+ noHide: '少なくとも1つのシートタブを保持する必要があります',+ chartEditNoOpt: 'チャート編集モードではこの操作は許可されていません!',+ sheetNameErrorTitle: '問題が発生しました',+ sheetNameSpecCharError: '名前は31文字を超えず、先頭または末尾に空白を含めず、[ ] : \ ? * / を含めることはできません',+ sheetNameCannotIsEmptyError: 'シート名は空にできません。',+ sheetNameAlreadyExistsError: '同じシート名が既に存在します。別の名前を入力してください。',+ deleteSheet: 'シートを削除',+ deleteSheetContent: 'このシートを削除してもよいですか?削除後は復元できません。本当に削除しますか?',+ addProtectSheet: 'シート保護を追加',+ removeProtectSheet: 'シート保護を解除',+ changeSheetPermission: 'シート権限を変更',+ viewAllProtectArea: 'すべての保護範囲を表示',+ },+ rightClick: {+ copy: 'コピー',+ cut: '切り取り',+ paste: '貼り付け',+ pasteSpecial: '形式を選択して貼り付け',+ pasteValue: '値を貼り付け',+ pasteFormat: '書式を貼り付け',+ pasteColWidth: '列幅を貼り付け',+ pasteBesidesBorder: '罫線スタイルを貼り付け',+ insert: '挿入',+ insertRow: '行を挿入',+ insertRowBefore: '前に行を挿入',+ insertRowsAfter: '下に行を挿入',+ insertRowsAbove: '上に行を挿入',+ insertRowsAfterSuffix: '下に行',+ insertRowsAboveSuffix: '上に行',+ insertColumn: '列を挿入',+ insertColumnBefore: '前に列を挿入',+ insertColsLeft: '左に列を挿入',+ insertColsRight: '右に列を挿入',+ insertColsLeftSuffix: '列の左',+ insertColsRightSuffix: '列の右',+ delete: '削除',+ deleteCell: 'セルを削除',+ insertCell: 'セルを挿入',+ deleteSelected: '選択項目を削除',+ hide: '非表示',+ hideSelected: '選択項目を非表示',+ showHide: '非表示項目の表示/非表示',+ toTopAdd: '上に追加',+ toBottomAdd: '下に追加',+ toLeftAdd: '左に追加',+ toRightAdd: '右に追加',+ deleteSelectedRow: '選択した行を削除',+ deleteSelectedColumn: '選択した列を削除',+ hideSelectedRow: '選択した行を非表示',+ showHideRow: '行の表示/非表示',+ rowHeight: '行の高さ',+ hideSelectedColumn: '選択した列を非表示',+ showHideColumn: '列の表示/非表示',+ columnWidth: '列幅',+ moveLeft: '左へ移動',+ moveUp: '上へ移動',+ moveRight: '右へ移動',+ moveDown: '下へ移動',+ add: '追加',+ row: '行',+ column: '列',+ confirm: '確認',+ clearSelection: '選択をクリア',+ clearContent: '内容をクリア',+ clearFormat: '書式をクリア',+ clearAll: 'すべてクリア',+ root: 'ルート',+ log: 'ログ',+ delete0: '端の0を削除',+ removeDuplicate: '重複を削除',+ byRow: '行ごと',+ byCol: '列ごと',+ generateNewMatrix: '新しい行列を生成',+ fitContent: '内容に合わせる',+ freeze: '固定',+ freezeCol: 'この列を固定',+ freezeRow: 'この行を固定',+ cancelFreeze: '固定を解除',+ deleteAllRowsAlert: 'すべての行を削除できません',+ deleteAllColumnsAlert: 'すべての列を削除できません',+ hideAllRowsAlert: 'すべての行を非表示にできません',+ hideAllColumnsAlert: 'すべての列を非表示にできません',+ protectRange: '行と列を保護',+ editProtectRange: '保護範囲を編集',+ removeProtectRange: '保護範囲を削除',+ turnOnProtectRange: '保護範囲を追加',+ viewAllProtectArea: 'すべての保護範囲を表示',+ },+ info: {+ tooltip: 'ツールチップ',+ error: 'エラー',+ notChangeMerge: '結合セルに対して部分的な変更はできません',+ detailUpdate: '再読み込み',+ detailSave: 'ローカルキャッシュを復元',+ row: '',+ column: '',+ loading: '読み込み中...',++ copy: 'コピー',+ return: '終了',+ rename: '名前を変更',+ tips: 'ヒント',+ noName: '無題のスプレッドシート',+ wait: '更新待ち',++ add: '追加',+ addLast: '下に行を追加',+ backTop: '先頭へ移動',+ // eslint-disable-next-line no-template-curly-in-string+ pageInfo: '合計 ${total} 件、${totalPage} ページ、現在 ${currentPage} ページ',+ nextPage: '次へ',++ tipInputNumber: '数字を入力してください',+ tipInputNumberLimit: '増分は1〜100の範囲で制限されます',++ tipRowHeightLimit: '行の高さは0〜545の範囲である必要があります',+ tipColumnWidthLimit: '列幅は0〜2038の範囲である必要があります',+ // eslint-disable-next-line no-template-curly-in-string+ pageInfoFull: '合計 ${total} 件、${totalPage} ページ、すべてのデータを表示',+ problem: '問題が発生しました',+ forceStringInfo: '数値がテキストとして保存されました',+ },+ clipboard: {+ paste: {+ exceedMaxCells: '貼り付けるセル数が最大セル数を超えています',+ overlappingMergedCells: '貼り付け領域が結合セルと重なっています',+ },+ shortCutNotify: {+ title: 'キーボードショートカットで貼り付けてください。',+ useShortCutInstead: 'Excelの内容が検出されました。キーボードショートカットで貼り付けてください。',+ },+ },+ statusbar: {+ sum: '合計',+ average: '平均',+ min: '最小',+ max: '最大',+ count: '数値の個数',+ countA: '個数',+ clickToCopy: 'クリックしてコピー',+ copied: 'コピーしました',+ },+ autoFill: {+ copy: 'セルのコピー',+ series: '連続データの入力',+ formatOnly: '書式のみをコピー',+ noFormat: '書式なし',+ },++ rangeSelector: {+ placeholder: '範囲を選択するか値を入力',+ tooltip: '範囲を選択',+ },++ shortcut: {+ sheet: {+ 'zoom-in': '拡大',+ 'zoom-out': '縮小',+ 'reset-zoom': 'ズームをリセット',+ 'select-below-cell': '下のセルを選択',+ 'select-up-cell': '上のセルを選択',+ 'select-left-cell': '左のセルを選択',+ 'select-right-cell': '右のセルを選択',+ 'select-next-cell': '次のセルを選択',+ 'select-previous-cell': '前のセルを選択',+ 'select-up-value-cell': '値のある上のセルを選択',+ 'select-below-value-cell': '値のある下のセルを選択',+ 'select-left-value-cell': '値のある左のセルを選択',+ 'select-right-value-cell': '値のある右のセルを選択',+ 'expand-selection-down': '選択範囲を下に拡張',+ 'expand-selection-up': '選択範囲を上に拡張',+ 'expand-selection-left': '選択範囲を左に拡張',+ 'expand-selection-right': '選択範囲を右に拡張',+ 'expand-selection-to-left-gap': '選択範囲を左に拡張',+ 'expand-selection-to-below-gap': '選択範囲を下に拡張',+ 'expand-selection-to-right-gap': '選択範囲を右に拡張',+ 'expand-selection-to-up-gap': '選択範囲を上に拡張',+ 'select-all': 'すべて選択',+ 'toggle-editing': '編集モードを切替',+ 'delete-and-start-editing': '削除して編集を開始',+ 'abort-editing': '編集を中止',+ 'break-line': '改行',+ 'set-bold': '太字',+ 'start-editing': '編集を開始(エディタ選択)',+ 'set-italic': '斜体',+ 'set-underline': '下線',+ 'set-strike-through': '取り消し線',+ },+ },+ 'sheet-view': 'シート表示',+ 'sheet-edit': 'シート編集',++ definedName: {+ managerTitle: '名前の管理',+ managerDescription: 'セルまたは数式を選択し、名前を入力して名前を作成します。',+ addButton: '名前を追加',+ featureTitle: '名前の管理',+ ratioRange: '範囲',+ ratioFormula: '数式',+ confirm: '確認',+ cancel: 'キャンセル',+ scopeWorkbook: 'ブック',+ inputNamePlaceholder: '名前を入力してください(空白不可)',+ inputCommentPlaceholder: 'コメントを入力してください',+ inputRangePlaceholder: '範囲を入力してください(空白不可)',+ inputFormulaPlaceholder: '数式を入力してください(空白不可)',+ nameEmpty: '名前は空にできません',+ nameDuplicate: '名前は既に存在します',+ formulaOrRefStringEmpty: '数式または参照文字列は空にできません',+ formulaOrRefStringInvalid: '無効な数式または参照文字列',+ defaultName: 'デフォルト',+ updateButton: '更新',+ deleteButton: '削除',+ deleteConfirmText: 'この名前を削除しますか?',+ nameConflict: '名前が関数名と衝突しています',+ nameInvalid: '名前が無効です',+ nameSheetConflict: '名前がシート名と衝突しています',+ },+ uploadLoading: {+ loading: '読み込み中...',+ error: 'エラー',+ },+ permission: {+ toolbarMenu: '保護',+ panel: {+ title: '行と列の保護',+ name: '名前',+ protectedRange: '保護範囲',+ permissionDirection: '権限の説明',+ permissionDirectionPlaceholder: '権限の説明を入力してください',+ editPermission: '権限を編集',+ onlyICanEdit: '自分のみ編集可能',+ designedUserCanEdit: '指定ユーザーのみ編集可能',+ viewPermission: '権限を表示',+ othersCanView: '他のユーザーは閲覧のみ可能',+ noOneElseCanView: '他のユーザーは表示不可',+ designedPerson: '指定ユーザー',+ addPerson: 'ユーザーを追加',+ canEdit: '編集可能',+ canView: '閲覧可能',+ delete: '削除',+ currentSheet: '現在のシート',+ allSheet: 'すべてのシート',+ edit: '編集',+ Print: '印刷',+ Comment: 'コメント',+ Copy: 'コピー',+ SetCellStyle: 'セルスタイルを設定',+ SetCellValue: 'セル値を設定',+ SetHyperLink: 'ハイパーリンクを設定',+ Sort: '並べ替え',+ Filter: 'フィルター',+ PivotTable: 'ピボットテーブル',+ FloatImage: '浮動画像',+ RowHeightColWidth: '行高と列幅',+ RowHeightColWidthReadonly: '読み取り専用の行高と列幅',+ FilterReadonly: '読み取り専用のフィルター',+ nameError: '名前は空にできません',+ created: '作成済み',+ iCanEdit: '自分のみ編集可能',+ iCanNotEdit: '自分は編集不可',+ iCanView: '自分のみ閲覧可能',+ iCanNotView: '自分は閲覧不可',+ emptyRangeError: '範囲は空にできません',+ rangeOverlapError: '範囲が重なっています',+ rangeOverlapOverPermissionError: '同じ権限を持つ範囲と重なることはできません',+ InsertHyperlink: 'ハイパーリンクを挿入',+ SetRowStyle: '行のスタイルを設定',+ SetColumnStyle: '列のスタイルを設定',+ InsertColumn: '列を挿入',+ InsertRow: '行を挿入',+ DeleteRow: '行を削除',+ DeleteColumn: '列を削除',+ EditExtraObject: '追加オブジェクトを編集',+ },+ dialog: {+ allowUserToEdit: 'ユーザーによる編集を許可',+ allowedPermissionType: '許可された権限タイプ',+ setCellValue: 'セル値を設定',+ setCellStyle: 'セルスタイルを設定',+ copy: 'コピー',+ alert: '警告',+ search: '検索',+ alertContent: 'この範囲は保護されており、現在編集権限がありません。編集するには作成者に連絡してください。',+ userEmpty: '指定されたユーザーがいません。特定のユーザーを招待するためにリンクを共有してください。',+ listEmpty: '保護された範囲やシートがまだ設定されていません。',+ commonErr: 'この範囲は保護されており、この操作を実行できません。編集するには作成者に連絡してください。',+ editErr: 'この範囲は保護されており、編集権限がありません。編集するには作成者に連絡してください。',+ pasteErr: 'この範囲は保護されており、貼り付け権限がありません。貼り付けるには作成者に連絡してください。',+ setStyleErr: 'この範囲は保護されており、スタイルを変更する権限がありません。変更するには作成者に連絡してください。',+ copyErr: 'この範囲は保護されており、コピー権限がありません。コピーするには作成者に連絡してください。',+ workbookCopyErr: 'このワークブックは保護されており、コピーできません。コピーするには作成者に連絡してください。',+ setRowColStyleErr: 'この範囲は保護されており、行/列のスタイルを設定する権限がありません。変更するには作成者に連絡してください。',+ moveRowColErr: 'この範囲は保護されており、行または列を移動できません。移動するには作成者に連絡してください。',+ moveRangeErr: 'この範囲は保護されており、選択範囲を移動できません。移動するには作成者に連絡してください。',+ autoFillErr: 'この範囲は保護されており、オートフィルを使用できません。使用するには作成者に連絡してください。',+ filterErr: 'この範囲は保護されており、フィルター権限がありません。フィルターを使用するには作成者に連絡してください。',+ operatorSheetErr: 'このワークシートは保護されており、操作できません。操作するには作成者に連絡してください。',+ insertOrDeleteMoveRangeErr: '挿入または削除した範囲が保護された範囲と重複しているため、この操作は現在サポートされていません。',+ printErr: 'このワークシートは保護されており、印刷できません。印刷するには作成者に連絡してください。',+ formulaErr: 'この範囲または参照された範囲は保護されており、数式を編集できません。編集するには作成者に連絡してください。',+ hyperLinkErr: 'この範囲は保護されており、ハイパーリンクを設定する権限がありません。設定するには作成者に連絡してください。',+ },+ button: {+ confirm: '確認',+ cancel: 'キャンセル',+ addNewPermission: '新しい権限を追加',+ },+ },+};++export default locale;diff --git a/packages/sheets-zen-editor/src/locale/ja-JP.ts b/packages/sheets-zen-editor/src/locale/ja-JP.tsnew file mode 100644index 0000000000..297cc20cd1--- /dev/null+++ b/packages/sheets-zen-editor/src/locale/ja-JP.ts@@ -0,0 +1,31 @@+/**+ * 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 = {+ rightClick: {+ zenEditor: '禅モード',+ },+ shortcut: {+ sheet: {+ 'zen-edit-cancel': '禅モードをキャンセル',+ 'zen-edit-confirm': '禅モードに移行',+ },+ },+};++export default locale;diff --git a/packages/sheets-zen-editor/src/locale/ko-KR.ts b/packages/sheets-zen-editor/src/locale/ko-KR.tsindex 3d51450af7..2dd07e1bc9 100644--- a/packages/sheets-zen-editor/src/locale/ko-KR.ts+++ b/packages/sheets-zen-editor/src/locale/ko-KR.ts@@ -18,12 +18,12 @@ import type enUS from './en-US';const locale: typeof enUS = {rightClick: {- zenEditor: '전체 화면 편집기',+ zenEditor: '젠 에디터',},shortcut: {sheet: {- 'zen-edit-cancel': '전체 화면 편집 취소',- 'zen-edit-confirm': '전체 화면 편집 확인',+ 'zen-edit-cancel': '젠 편집 취소',+ 'zen-edit-confirm': '젠 편집 확인',},},};diff --git a/packages/sheets/src/locale/ja-JP.ts b/packages/sheets/src/locale/ja-JP.tsnew file mode 100644index 0000000000..2d32577dfb--- /dev/null+++ b/packages/sheets/src/locale/ja-JP.ts@@ -0,0 +1,34 @@+/**+ * 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: {+ tabs: {+ sheetCopy: '(복사본{0})',+ sheet: '시트',+ },+ info: {+ overlappingSelections: '겹치는 영역에서는 해당 명령을 사용할 수 없습니다.',+ acrossMergedCell: '병합된 셀을 가로지름',+ partOfCell: '병합된 셀의 일부만 선택됨',+ hideSheet: '이 시트를 숨기면 표시되는 시트가 없습니다.',+ },+ },+};++export default locale;diff --git a/packages/slides-ui/src/locale/ja-JP.ts b/packages/slides-ui/src/locale/ja-JP.tsnew file mode 100644index 0000000000..d3299bf1fc--- /dev/null+++ b/packages/slides-ui/src/locale/ja-JP.ts@@ -0,0 +1,63 @@+/**+ * 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 = {+ slide: {+ append: 'スライドを追加',++ text: {+ insert: {+ title: 'テキストの挿入',+ },+ },++ shape: {+ insert: {+ title: '図形の挿入',+ rectangle: '四角形を挿入',+ ellipse: '楕円を挿入',+ },+ },++ image: {+ insert: {+ title: '画像の挿入',+ float: 'フローティング画像を挿入',+ },+ },++ popup: {+ edit: '編集',+ delete: '削除',+ },++ sidebar: {+ text: 'テキスト編集',+ shape: '図形編集',+ image: '画像編集',+ },++ panel: {+ fill: {+ title: '塗りつぶしの色',+ },+ },+ },+};++export default locale;diff --git a/packages/thread-comment-ui/src/locale/ja-JP.ts b/packages/thread-comment-ui/src/locale/ja-JP.tsnew file mode 100644index 0000000000..79779aa536--- /dev/null+++ b/packages/thread-comment-ui/src/locale/ja-JP.ts@@ -0,0 +1,54 @@+/**+ * 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 = {+ threadCommentUI: {+ panel: {+ title: 'コメント管理',+ empty: 'まだコメントはありません',+ filterEmpty: '一致する結果がありません',+ reset: 'フィルタをリセット',+ addComment: 'コメントを追加',+ solved: '解決済み',+ },+ editor: {+ placeholder: '返信または@で他のユーザーを追加',+ reply: '返信',+ cancel: 'キャンセル',+ save: '保存',+ },+ item: {+ edit: '編集',+ delete: 'コメントを削除',+ },+ filter: {+ sheet: {+ all: 'すべてのシート',+ current: '現在のシート',+ },+ status: {+ all: 'すべてのコメント',+ resolved: '解決済み',+ unsolved: '未解決',+ concernMe: '自分に関連',+ },+ },+ },+};++export default locale;diff --git a/packages/ui/src/locale/ja-JP.ts b/packages/ui/src/locale/ja-JP.tsnew file mode 100644index 0000000000..bc4dbc54ad--- /dev/null+++ b/packages/ui/src/locale/ja-JP.ts@@ -0,0 +1,104 @@+/**+ * 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 = {+ toolbar: {+ heading: {+ normal: '標準',+ title: 'タイトル',+ subTitle: 'サブタイトル',+ 1: '見出し 1',+ 2: '見出し 2',+ 3: '見出し 3',+ 4: '見出し 4',+ 5: '見出し 5',+ 6: '見出し 6',+ tooltip: '見出しを設定',+ },+ },+ ribbon: {+ start: '開始',+ startDesc: 'ワークシートを初期化し、基本パラメータを設定します。',+ insert: '挿入',+ insertDesc: '行、列、グラフなどさまざまな要素を挿入します。',+ formulas: '数式',+ formulasDesc: 'データ計算のための関数と数式を使用します。',+ data: 'データ',+ dataDesc: 'データの管理(インポート、並べ替え、フィルタリングを含む)。',+ view: '表示',+ viewDesc: '表示モードを切り替え、表示効果を調整します。',+ others: 'その他',+ othersDesc: 'その他の機能と設定。',+ more: 'もっと見る',+ },+ fontFamily: {+ TimesNewRoman: 'Times New Roman',+ Arial: 'Arial',+ Tahoma: 'Tahoma',+ Verdana: 'Verdana',+ MicrosoftYaHei: 'Microsoft YaHei',+ SimSun: 'SimSun',+ SimHei: 'SimHei',+ Kaiti: 'Kaiti',+ FangSong: 'FangSong',+ NSimSun: 'NSimSun',+ STXinwei: 'STXinwei',+ STXingkai: 'STXingkai',+ STLiti: 'STLiti',+ HanaleiFill: 'HanaleiFill',+ Anton: 'Anton',+ Pacifico: 'Pacifico',+ },+ 'shortcut-panel': {+ title: 'ショートカット',+ },+ shortcut: {+ undo: '元に戻す',+ redo: 'やり直す',+ cut: '切り取り',+ copy: 'コピー',+ paste: '貼り付け',+ 'shortcut-panel': 'ショートカットパネルを切り替え',+ },+ 'common-edit': '一般編集ショートカット',+ 'toggle-shortcut-panel': 'ショートカットパネルを切り替え',+ clipboard: {+ authentication: {+ title: '権限が拒否されました',+ content: 'Univerにクリップボードアクセスの権限を付与してください。',+ },+ },+ textEditor: {+ formulaError: '有効な数式を入力してください。例: =SUM(A1)',+ rangeError: '有効な範囲を入力してください。例: A1:B10',+ },+ rangeSelector: {+ title: 'データ範囲の選択',+ addAnotherRange: '範囲を追加',+ buttonTooltip: 'データ範囲を選択',+ placeHolder: '範囲を選択または入力してください。',+ confirm: '確認',+ cancel: 'キャンセル',+ },+ 'global-shortcut': '전역 단축키',+ 'zoom-slider': {+ resetTo: 'リセット',+ },+};++export default locale;diff --git a/packages/uniscript/src/locale/ja-JP.ts b/packages/uniscript/src/locale/ja-JP.tsnew file mode 100644index 0000000000..b829939f29--- /dev/null+++ b/packages/uniscript/src/locale/ja-JP.ts@@ -0,0 +1,37 @@+/**+ * 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 = {+ 'script-panel': {+ title: 'Uniscript',+ tooltip: {+ 'menu-button': 'Uniscriptパネルを切り替え',+ },+ panel: {+ execute: 'スクリプトを実行',+ },+ },+ uniscript: {+ message: {+ success: '実行に成功しました',+ failed: '実行に失敗しました',+ },+ },+};++export default locale;