Skip to content
This repository has been archived by the owner on Jan 5, 2021. It is now read-only.

Commit

Permalink
Use autogenerated translation for remaining greek and turkish phrases
Browse files Browse the repository at this point in the history
  • Loading branch information
Varunram authored Jul 2, 2018
2 parents f916ef4 + 4f931e1 commit 505eeb0
Show file tree
Hide file tree
Showing 13 changed files with 277 additions and 225 deletions.
15 changes: 15 additions & 0 deletions interface/elements/msc-profile-view/msc-profile-view.js
Original file line number Diff line number Diff line change
Expand Up @@ -1401,6 +1401,9 @@ let cnLang = echo('profileJS_menu_Lang_Cn');
let frLang = echo('profileJS_menu_Lang_Fr');
let nlLang = echo('profileJS_menu_Lang_Nl');
let ptLang = echo('profileJS_menu_Lang_Pt');
let trLang = echo('profileJS_menu_Lang_Tr');
let grLang = echo('profileJS_menu_Lang_Gr');


account.append(new nw.MenuItem({
label: newAccount,
Expand Down Expand Up @@ -1764,6 +1767,18 @@ advanced.append(new nw.MenuItem({
document.querySelector("msc-profile-view").changeLanguage("pt");
}
}));
advanced.append(new nw.MenuItem({
label: trLang,
click: function() {
document.querySelector("msc-profile-view").changeLanguage("tr");
}
}));
advanced.append(new nw.MenuItem({
label: grLang,
click: function() {
document.querySelector("msc-profile-view").changeLanguage("gr");
}
}));

advanced.append(new nw.MenuItem({
type: 'separator'
Expand Down
2 changes: 2 additions & 0 deletions interface/styles/locales/cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,8 @@
"profileViewHtml_es_ar": "西班牙(阿根廷)",
"profileViewHtml_cn": "中文(英语)",
"profileViewHtml_cnt": "中文(繁体)",
"profileJS_menu_Lang_Tr": "Change language: Turkish",
"profileJS_menu_Lang_Gr": "Change language: Greek",
"profileViewHtml_wipeBlockChain": "在这里您可以擦除区块链数据:按 <OK> 继续",
"profileViewHtml_wipeBlockChain_warning1": "此操作将删除所有区块链数据",
"profileViewHtml_wipeBlockChain_warning2": "按 <确认> 后,请等待提示和指示",
Expand Down
2 changes: 2 additions & 0 deletions interface/styles/locales/cnt.json
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,8 @@
"profileViewHtml_es_ar": "西班牙(阿根廷)",
"profileViewHtml_cn": "簡體中文",
"profileViewHtml_cnt": "正體中文(台灣)",
"profileJS_menu_Lang_Tr": "Change language: Turkish",
"profileJS_menu_Lang_Gr": "Change language: Greek",
"profileViewHtml_wipeBlockChain": "在這裡您可以刪除區塊鏈資料:按 <OK> 繼續",
"profileViewHtml_wipeBlockChain_warning1": "此動作將刪除所有區塊鏈資料",
"profileViewHtml_wipeBlockChain_warning2": "按 <確認> 後,請等待提示和指示",
Expand Down
2 changes: 2 additions & 0 deletions interface/styles/locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,8 @@
"profileJS_menu_Lang_Cn": "Sprache ‰ndern: Chinesisch",
"profileJS_menu_Lang_Pt": "Sprache ‰ndern: Portugiesisch",
"profileJS_menu_Lang_Nl": "Sprache ‰ndern: Niederl‰ndisch",
"profileJS_menu_Lang_Tr": "Change language: Turkish",
"profileJS_menu_Lang_Gr": "Change language: Greek",
"profileJS_menu_DataDir": "Blockchain-Daten verschieben",
"profileJS_menu_logDir": "Log Ordner ˆffnen",
"profileJS_menu_removeGmcFolder": "Blockchain-Daten lˆschen",
Expand Down
2 changes: 2 additions & 0 deletions interface/styles/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,8 @@
"profileJS_menu_Lang_Cn": "Change language: Chinese",
"profileJS_menu_Lang_Pt": "Change language: Portuguese",
"profileJS_menu_Lang_Nl": "Change language: Dutch",
"profileJS_menu_Lang_Tr": "Change language: Turkish",
"profileJS_menu_Lang_Gr": "Change language: Greek",
"profileJS_menu_DataDir": "Move blockchain data",
"profileJS_menu_logDir": "Open logs directory",
"profileJS_menu_removeGmcFolder": "Wipe blockchain data",
Expand Down
2 changes: 2 additions & 0 deletions interface/styles/locales/es_ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,8 @@
"profileJS_menu_Lang_Fr": "Cambiar idioma: Francés",
"profileJS_menu_Lang_Pt": "Cambiar idioma: Portugués",
"profileJS_menu_Lang_Nl": "Cambiar idioma: Neerlandés",
"profileJS_menu_Lang_Tr": "Change language: Turkish",
"profileJS_menu_Lang_Gr": "Change language: Greek",
"profileJS_ntpClient_turn_sync": "Por favor habilite el servicio de sincronización del reloj en la sección de configuración. \n",
"profileJS_ntpClient_Notification": "El reloj del sistema parece incorrecto",
"mainStatusHtml_since_last_block": " desde el último bloque",
Expand Down
2 changes: 2 additions & 0 deletions interface/styles/locales/es_es.json
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,8 @@
"profileJS_menu_Lang_Fr": "Cambiar idioma: Francés",
"profileJS_menu_Lang_Pt": "Cambiar idioma: Portugués",
"profileJS_menu_Lang_Nl": "Cambiar idioma: Neerlandés",
"profileJS_menu_Lang_Tr": "Change language: Turkish",
"profileJS_menu_Lang_Gr": "Change language: Greek",
"profileJS_ntpClient_turn_sync": "Por favor habilite el servicio de sincronización del reloj en la configuración del sistema. \n",
"profileJS_ntpClient_Notification": "El reloj del sistema parece incorrecto",
"mainStatusHtml_since_last_block": " desde el último bloque",
Expand Down
2 changes: 2 additions & 0 deletions interface/styles/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,8 @@
"profileJS_menu_Lang_Cn": "Changer de langue: Chinois",
"profileJS_menu_Lang_Pt": "Changer de langue: Portugais",
"profileJS_menu_Lang_Nl": "Changer de langue: Néerlandais",
"profileJS_menu_Lang_Tr": "Change language: Turkish",
"profileJS_menu_Lang_Gr": "Change language: Greek",
"profileJS_menu_DataDir": "Déplacer les données de blockchain",
"profileJS_menu_logDir": "Ouvrir le répertoire de logs",
"profileJS_menu_removeGmcFolder": "Supprimer les données de blockchain",
Expand Down
Loading

0 comments on commit 505eeb0

Please sign in to comment.