Skip to content

Commit

Permalink
Adds language support for upstream Sabaki feature.
Browse files Browse the repository at this point in the history
SabakiHQ/Sabaki#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.
  • Loading branch information
RobertChrist committed Oct 19, 2023
1 parent 2f4fff4 commit a617b51
Show file tree
Hide file tree
Showing 10 changed files with 30 additions and 10 deletions.
4 changes: 3 additions & 1 deletion src/en.i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
4 changes: 3 additions & 1 deletion src/es.i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
4 changes: 3 additions & 1 deletion src/fr.i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
4 changes: 3 additions & 1 deletion src/ja.i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -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': '探索',
Expand Down
4 changes: 3 additions & 1 deletion src/ko.i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -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': '찾기',
Expand Down
4 changes: 3 additions & 1 deletion src/pt-br.i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
4 changes: 3 additions & 1 deletion src/ru.i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -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': 'Найти',
Expand Down
4 changes: 3 additions & 1 deletion src/template.i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 3 additions & 1 deletion src/zh-Hans.i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ module.exports = {
'Shift Right': '右移',
'Flatten': '清空该节点前的所有变化',
'Remove Node': '删除节点',
'Remove Other Variations': '删除此外的所有变化'
'Remove Other Variations': '删除此外的所有变化',
'Annotate': '评注',
'Toggle Show Comments': '切换显示注释'
},
'menu.find': {
'Find': '查找',
Expand Down
4 changes: 3 additions & 1 deletion src/zh-Hant.i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ module.exports = {
'Shift Right': '右移',
'Flatten': '清空該節點前的所有變化',
'Remove Node': '刪除節點',
'Remove Other Variations': '刪除其他變化'
'Remove Other Variations': '刪除其他變化',
'Annotate': '評註',
'Toggle Show Comments': '切換顯示註釋'
},
'menu.find': {
'Find': '尋找',
Expand Down

0 comments on commit a617b51

Please sign in to comment.