Skip to content

Commit

Permalink
Merge pull request #826 from Keith-CY/enable-select-all
Browse files Browse the repository at this point in the history
feat(neuron-wallet): enable select all
  • Loading branch information
ashchan authored Aug 5, 2019
2 parents e7fcff4 + 5c0a577 commit 92b5e92
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/neuron-wallet/src/locales/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export default {
cut: 'Cut',
copy: 'Copy',
paste: 'Paste',
selectall: 'Select All',
},
view: {
label: 'View',
Expand Down
1 change: 1 addition & 0 deletions packages/neuron-wallet/src/locales/zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export default {
cut: '剪切',
copy: '复制',
paste: '粘贴',
selectall: '全部选中',
},
view: {
label: '视图',
Expand Down
5 changes: 5 additions & 0 deletions packages/neuron-wallet/src/utils/application-menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,11 @@ export const editMenuItem: MenuItemConstructorOptions = {
label: i18n.t('application-menu.edit.paste'),
role: 'paste',
},
separator,
{
label: i18n.t('application-menu.edit.selectall'),
role: 'selectall',
},
],
}

Expand Down

0 comments on commit 92b5e92

Please sign in to comment.