1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-14 02:08:50 +02:00

placeholder support from interface

This commit is contained in:
Kyle Spearrin 2018-02-02 12:03:23 -05:00
parent 146254b646
commit 479346faf0

View File

@ -19,11 +19,11 @@ export default class I18n2Service implements I18nServiceAbstraction {
this.collator = new Intl.Collator(this.locale);
}
t(id: string): string {
t(id: string, p1?: string, p2?: string, p3?: string): string {
return this.translate(id);
}
translate(id: string): string {
translate(id: string, p1?: string, p2?: string, p3?: string): string {
return this.i18nService[id];
}
}