mirror of
https://github.com/bitwarden/browser
synced 2025-12-23 19:53:43 +00:00
placeholder support from interface
This commit is contained in:
@@ -19,11 +19,11 @@ export default class I18n2Service implements I18nServiceAbstraction {
|
|||||||
this.collator = new Intl.Collator(this.locale);
|
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);
|
return this.translate(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
translate(id: string): string {
|
translate(id: string, p1?: string, p2?: string, p3?: string): string {
|
||||||
return this.i18nService[id];
|
return this.i18nService[id];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user