Skip to content

Commit

Permalink
chore: add translation
Browse files Browse the repository at this point in the history
  • Loading branch information
lumixraku committed Feb 13, 2025
1 parent a128240 commit 4f0effa
Show file tree
Hide file tree
Showing 7 changed files with 41 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/sheets-ui/src/locale/en-US.ts
Original file line number Diff line number Diff line change
Expand Up @@ -319,8 +319,8 @@ const locale: typeof zhCN = {
insert: 'Insert',
insertRow: 'Insert Row',
insertRowBefore: 'Insert Row Before',
insertRowsAbove: 'Insert',
insertRowsAfter: 'Insert',
insertRowsAbove: 'Insert',
insertRowsAfterSuffix: 'rows after',
insertRowsAboveSuffix: 'rows above',
insertColumn: 'Insert Column',
Expand Down
8 changes: 8 additions & 0 deletions packages/sheets-ui/src/locale/fa-IR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -319,8 +319,16 @@ const locale: typeof zhCN = {
insert: 'درج',
insertRow: 'درج سطر',
insertRowBefore: 'درج سطر قبل از',
insertRowsAfter: 'صفوف بعد ذلك',
insertRowsAbove: 'صفوف بعد ذلك',
insertRowsAfterSuffix: 'أدخل',
insertRowsAboveSuffix: 'أدخل',
insertColumn: 'درج ستون',
insertColumnBefore: 'درج ستون قبل از',
insertColsLeft: 'أعمدة إلى اليسار',
insertColsRight: 'صفوف إلى اليمين',
insertColsLeftSuffix: 'أدخل',
insertColsRightSuffix: 'أدخل',
delete: 'حذف',
deleteCell: 'حذف سلول',
insertCell: 'درج سلول',
Expand Down
8 changes: 8 additions & 0 deletions packages/sheets-ui/src/locale/fr-FR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -319,8 +319,16 @@ const locale: typeof enUS = {
insert: 'Insérer',
insertRow: 'Insérer une ligne',
insertRowBefore: 'Insérer une ligne avant',
insertRowsAbove: 'Insérer',
insertRowsAfter: 'Insérer',
insertRowsAfterSuffix: 'lignes après',
insertRowsAboveSuffix: 'lignes au-dessus',
insertColumn: 'Insérer une colonne',
insertColumnBefore: 'Insérer une colonne avant',
insertColsLeft: 'Insérer',
insertColsRight: 'Insérer',
insertColsLeftSuffix: 'colonnes à gauche',
insertColsRightSuffix: 'colonnes à droite',
delete: 'Supprimer',
deleteCell: 'Supprimer la cellule',
insertCell: 'Insérer une cellule',
Expand Down
9 changes: 8 additions & 1 deletion packages/sheets-ui/src/locale/ru-RU.ts
Original file line number Diff line number Diff line change
Expand Up @@ -318,9 +318,17 @@ const locale: typeof zhCN = {
pasteBesidesBorder: 'Вставить кроме стилей границы',
insert: 'Вставить',
insertRow: 'Вставить строку',
insertRowsAfter: 'Вставить',
insertRowsAbove: 'Вставить',
insertRowBefore: 'Вставить строку выше',
insertRowsAfterSuffix: 'строк после',
insertRowsAboveSuffix: 'строк выше',
insertColumn: 'Вставить столбец',
insertColumnBefore: 'Вставить столбец слева',
insertColsLeft: 'Вставить',
insertColsRight: 'Вставить',
insertColsLeftSuffix: 'столбцов слева',
insertColsRightSuffix: 'столбцов справа',
delete: 'Удалить',
deleteCell: 'Удалить ячейку',
insertCell: 'Вставить ячейку',
Expand Down Expand Up @@ -635,4 +643,3 @@ const locale: typeof zhCN = {
};

export default locale;

8 changes: 8 additions & 0 deletions packages/sheets-ui/src/locale/vi-VN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -319,8 +319,16 @@ const locale: typeof zhCN = {
delete: 'Xóa',
insertRow: 'Chèn hàng',
insertRowBefore: 'Chèn hàng phía trên',
insertRowsAbove: 'chèn',
insertRowsAfter: 'chèn',
insertRowsAfterSuffix: 'dòng sau',
insertRowsAboveSuffix: 'dòng ở trên',
insertColumn: 'Chèn cột',
insertColumnBefore: 'Chèn cột bên trái',
insertColsLeft: 'chèn',
insertColsRight: 'chèn',
insertColsLeftSuffix: 'cột sang trái',
insertColsRightSuffix: 'cột sang phải',
deleteCell: 'Xóa ô',
insertCell: 'Chèn ô',
deleteSelected: 'Xóa đã chọn',
Expand Down
8 changes: 8 additions & 0 deletions packages/sheets-ui/src/locale/zh-TW.ts
Original file line number Diff line number Diff line change
Expand Up @@ -320,8 +320,16 @@ const locale: typeof zhCN = {
delete: '刪除',
insertRow: '插入行',
insertRowBefore: '上方插入行',
insertRowsAbove: '在上方插入',
insertRowsAfter: '在下方插入',
insertRowsAfterSuffix: '行',
insertRowsAboveSuffix: '行',
insertColumn: '插入列',
insertColumnBefore: '在左側插入列',
insertColsLeft: '在左側插入列',
insertColsRight: '在右側插入列',
insertColsLeftSuffix: '列',
insertColsRightSuffix: '列',
deleteCell: '刪除儲存格',
insertCell: '插入儲存格',
deleteSelected: '刪除選取',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ describe('Test insert and remove rows cols commands', () => {
InsertRowAfterCommand,
InsertMultiRowsAboveCommand,
InsertMultiRowsAfterCommand,
InsertRowByRangeCommand,
InsertColAfterCommand,
InsertColBeforeCommand,
InsertMultiColsLeftCommand,
Expand Down

0 comments on commit 4f0effa

Please sign in to comment.