From a617b51a5f72bcf8b5d469893c7a19dd2a0dac31 Mon Sep 17 00:00:00 2001 From: Robert Christ Date: Tue, 4 Jul 2023 13:13:49 -0400 Subject: [PATCH] Adds language support for upstream Sabaki feature. https://github.com/SabakiHQ/Sabaki/issues/940 https://github.com/SabakiHQ/Sabaki/pull/942/files The above issue requires two new strings, which in turn require internationalization. This PR adds these new strings, and additionally adds the translation for those strings in English, Spanish, French, and both traditional and simplified Chinese. --- src/en.i18n.js | 4 +++- src/es.i18n.js | 4 +++- src/fr.i18n.js | 4 +++- src/ja.i18n.js | 4 +++- src/ko.i18n.js | 4 +++- src/pt-br.i18n.js | 4 +++- src/ru.i18n.js | 4 +++- src/template.i18n.js | 4 +++- src/zh-Hans.i18n.js | 4 +++- src/zh-Hant.i18n.js | 4 +++- 10 files changed, 30 insertions(+), 10 deletions(-) diff --git a/src/en.i18n.js b/src/en.i18n.js index b88d9d9..e265d29 100644 --- a/src/en.i18n.js +++ b/src/en.i18n.js @@ -68,7 +68,9 @@ module.exports = { 'Shift Right': 'Shift Ri&ght', 'Flatten': '&Flatten', 'Remove Node': '&Remove Node', - 'Remove Other Variations': 'Remove &Other Variations' + 'Remove Other Variations': 'Remove &Other Variations', + 'Annotate': 'Annotate', + 'Toggle Show Comments': 'Toggle Show Comments' }, 'menu.find': { 'Find': 'Fin&d', diff --git a/src/es.i18n.js b/src/es.i18n.js index e29c9d4..c3d4799 100644 --- a/src/es.i18n.js +++ b/src/es.i18n.js @@ -65,7 +65,9 @@ module.exports = { 'Shift Right': 'Mover Variante hacia la Derecha', 'Flatten': 'Aplanar', 'Remove Node': 'Eliminar Nodo', - 'Remove Other Variations': 'Eliminar las Demás Variantes' + 'Remove Other Variations': 'Eliminar las Demás Variantes', + 'Annotate': 'Anotar', + 'Toggle Show Comments': 'Conmutar Mostrar Comentarios' }, 'menu.find': { 'Find': '&Buscar', diff --git a/src/fr.i18n.js b/src/fr.i18n.js index ac7fc47..ec4a055 100644 --- a/src/fr.i18n.js +++ b/src/fr.i18n.js @@ -67,7 +67,9 @@ module.exports = { 'Shift Right': 'Déplacer vers la Droite', 'Flatten': 'Applatir', 'Remove Node': 'Supprimer le Noeud', - 'Remove Other Variations': 'Supprimer les Autres Variations' + 'Remove Other Variations': 'Supprimer les Autres Variations', + 'Annotate': 'Annoter', + 'Toggle Show Comments': 'Basculer Afficher les Commentaires' }, 'menu.find': { 'Find': 'Recherche', diff --git a/src/ja.i18n.js b/src/ja.i18n.js index 4b98060..15e4a42 100644 --- a/src/ja.i18n.js +++ b/src/ja.i18n.js @@ -68,7 +68,9 @@ module.exports = { 'Shift Right': '右にずらす', 'Flatten': '平板化', 'Remove Node': 'ノードを削除', - 'Remove Other Variations': '他の変化を削除' + 'Remove Other Variations': '他の変化を削除', + 'Annotate': null, + 'Toggle Show Comments': null }, 'menu.find': { 'Find': '探索', diff --git a/src/ko.i18n.js b/src/ko.i18n.js index a15ac65..c20628f 100644 --- a/src/ko.i18n.js +++ b/src/ko.i18n.js @@ -68,7 +68,9 @@ module.exports = { 'Shift Right': '오른쪽으로 옮기기', 'Flatten': '병합', 'Remove Node': '노드 제거', - 'Remove Other Variations': '다른 변화도 삭제' + 'Remove Other Variations': '다른 변화도 삭제', + 'Annotate': null, + 'Toggle Show Comments': null }, 'menu.find': { 'Find': '찾기', diff --git a/src/pt-br.i18n.js b/src/pt-br.i18n.js index f31f3c3..1001ad9 100644 --- a/src/pt-br.i18n.js +++ b/src/pt-br.i18n.js @@ -68,7 +68,9 @@ module.exports = { 'Shift Right': '&Deslocar à direita', 'Flatten': '&Nivelar', 'Remove Node': '&Remover Nó', - 'Remove Other Variations': '&Remover Outras Variações' + 'Remove Other Variations': '&Remover Outras Variações', + 'Annotate': null, + 'Toggle Show Comments': null }, 'menu.find': { 'Find': '&Procurar', diff --git a/src/ru.i18n.js b/src/ru.i18n.js index 25f8c77..8f6a989 100644 --- a/src/ru.i18n.js +++ b/src/ru.i18n.js @@ -68,7 +68,9 @@ module.exports = { 'Shift Right': 'Сдвинуть ветвь вправо', 'Flatten': 'Преобразовать в начальную позицию', 'Remove Node': 'Удалить', - 'Remove Other Variations': 'Удалить другие ветви' + 'Remove Other Variations': 'Удалить другие ветви', + 'Annotate': null, + 'Toggle Show Comments': null }, 'menu.find': { 'Find': 'Найти', diff --git a/src/template.i18n.js b/src/template.i18n.js index 27b3b13..a92b35e 100644 --- a/src/template.i18n.js +++ b/src/template.i18n.js @@ -61,7 +61,9 @@ module.exports = { 'Shift Right': null, 'Flatten': null, 'Remove Node': null, - 'Remove Other Variations': null + 'Remove Other Variations': null, + 'Annotate': null, + 'Toggle Show Comments': null }, 'menu.find': { 'Find': null, diff --git a/src/zh-Hans.i18n.js b/src/zh-Hans.i18n.js index 9c58d72..e23e11d 100644 --- a/src/zh-Hans.i18n.js +++ b/src/zh-Hans.i18n.js @@ -67,7 +67,9 @@ module.exports = { 'Shift Right': '右移', 'Flatten': '清空该节点前的所有变化', 'Remove Node': '删除节点', - 'Remove Other Variations': '删除此外的所有变化' + 'Remove Other Variations': '删除此外的所有变化', + 'Annotate': '评注', + 'Toggle Show Comments': '切换显示注释' }, 'menu.find': { 'Find': '查找', diff --git a/src/zh-Hant.i18n.js b/src/zh-Hant.i18n.js index 144a41a..657d20d 100644 --- a/src/zh-Hant.i18n.js +++ b/src/zh-Hant.i18n.js @@ -67,7 +67,9 @@ module.exports = { 'Shift Right': '右移', 'Flatten': '清空該節點前的所有變化', 'Remove Node': '刪除節點', - 'Remove Other Variations': '刪除其他變化' + 'Remove Other Variations': '刪除其他變化', + 'Annotate': '評註', + 'Toggle Show Comments': '切換顯示註釋' }, 'menu.find': { 'Find': '尋找',