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

Commit

Permalink
use i18n label in menu
Browse files Browse the repository at this point in the history
  • Loading branch information
ChihChengLiang committed Jun 14, 2016
1 parent 094605d commit 4591d5c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
6 changes: 5 additions & 1 deletion interface/i18n/mist.en.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@
"close": "Close",
"toFront": "Bring All to Front"
},
"settings": {
"label": "Settings",
"languages": "Languages"
},
"help": {
"label": "Help"
}
Expand Down Expand Up @@ -148,7 +152,7 @@
"title": {
"sendTransaction": "Send transaction",
"contractExecution": "Execute contract",
"createContract": "Create contract"
"createContract": "Create contract"
},
"contractExecutionInfo": "You are about to execute a function on a contract. This might involve transfer of value.",
"contractCreationInfo": "You are about to create a contract from the provided data.",
Expand Down
4 changes: 4 additions & 0 deletions interface/i18n/mist.zh-TW.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@
"close": "關閉",
"toFront": "全部前置"
},
"settings": {
"label": "設定",
"languages": "語言"
},
"help": {
"label": "幫助"
}
Expand Down
4 changes: 2 additions & 2 deletions modules/menuItems.js
Original file line number Diff line number Diff line change
Expand Up @@ -449,10 +449,10 @@ var menuTempl = function(webviews) {

// SETTINGS
menu.push({
label: 'settings',
label: i18n.t('mist.applicationMenu.settings.label'),
submenu: [
{
label: 'language',
label: i18n.t('mist.applicationMenu.settings.languages'),
submenu: languageMenu
}
]
Expand Down

0 comments on commit 4591d5c

Please sign in to comment.