diff --git a/src/_locales/en/messages.json b/src/_locales/en/messages.json index a026e6d0aeb..75fc9e9871a 100644 --- a/src/_locales/en/messages.json +++ b/src/_locales/en/messages.json @@ -965,5 +965,8 @@ }, "favorites": { "message": "Favorites" + }, + "popOutNewWindow": { + "message": "Pop out to a new window" } } diff --git a/src/popup/app/components/action-buttons.component.ts b/src/popup/app/components/action-buttons.component.ts index 1960e43ae5e..552f0a8b79c 100644 --- a/src/popup/app/components/action-buttons.component.ts +++ b/src/popup/app/components/action-buttons.component.ts @@ -11,7 +11,7 @@ export class ActionButtonsController implements ng.IController { constants: any; constructor(private i18nService: any, private $analytics: any, private constantsService: any, private toastr: any, - private $timeout: any, private $window: any, private utilsService: UtilsService) { + private $timeout: any, private $window: any, private utilsService: UtilsService) { this.i18n = i18nService; this.constants = constantsService; } diff --git a/src/popup/app/components/cipher-items.component.ts b/src/popup/app/components/cipher-items.component.ts index 9fa35d0eff6..93b5da03c35 100644 --- a/src/popup/app/components/cipher-items.component.ts +++ b/src/popup/app/components/cipher-items.component.ts @@ -4,8 +4,10 @@ export class CipherItemsController implements ng.IController { onSelected: Function; onView: Function; - constructor(private i18nService: any) { + i18n: any; + constructor(private i18nService: any) { + this.i18n = i18nService; } view(cipher: any) { diff --git a/src/popup/app/components/pop-out.component.html b/src/popup/app/components/pop-out.component.html index 1da31f8b3d9..27d98975a6d 100644 --- a/src/popup/app/components/pop-out.component.html +++ b/src/popup/app/components/pop-out.component.html @@ -1 +1,3 @@ - + + + diff --git a/src/popup/app/components/pop-out.component.ts b/src/popup/app/components/pop-out.component.ts index 9d861c608ae..3ba85bf66fe 100644 --- a/src/popup/app/components/pop-out.component.ts +++ b/src/popup/app/components/pop-out.component.ts @@ -3,7 +3,11 @@ import * as template from './pop-out.component.html'; import { UtilsService } from '../../../services/abstractions/utils.service'; export class PopOutController implements ng.IController { - constructor(private $analytics: any, private $window: any, private utilsService: UtilsService) { + i18n: any; + + constructor(private $analytics: any, private $window: any, private utilsService: UtilsService, + private i18nService: any) { + this.i18n = i18nService; } expand() { diff --git a/src/popup/app/current/current.component.html b/src/popup/app/current/current.component.html index 50375c8d9d8..67a8eed96d3 100644 --- a/src/popup/app/current/current.component.html +++ b/src/popup/app/current/current.component.html @@ -8,7 +8,7 @@