1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-12 22:33:35 +00:00

applied i18n to background context menus

This commit is contained in:
Kyle Spearrin
2016-10-18 19:03:40 -04:00
parent bfe2edcdea
commit 03e614e58b
5 changed files with 17 additions and 7 deletions

View File

@@ -77,21 +77,21 @@ function buildContextMenu() {
type: 'normal',
id: 'autofill',
contexts: ['all'],
title: 'Auto-fill'
title: i18nService.autoFill
});
chrome.contextMenus.create({
type: 'normal',
id: 'copy-username',
contexts: ['all'],
title: 'Copy Username'
title: i18nService.copyUsername
});
chrome.contextMenus.create({
type: 'normal',
id: 'copy-password',
contexts: ['all'],
title: 'Copy Password'
title: i18nService.copyPassword
});
chrome.contextMenus.create({
@@ -102,7 +102,7 @@ function buildContextMenu() {
type: 'normal',
id: 'generate-password',
contexts: ['all'],
title: 'Generate Password (copied)'
title: i18nService.generatePasswordCopied
});
}