1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 16:53:34 +00:00

use base i18n service

This commit is contained in:
Kyle Spearrin
2018-04-25 08:31:48 -04:00
parent 1a85017d18
commit 13af362fde
3 changed files with 16 additions and 101 deletions

View File

@@ -15,8 +15,6 @@ import { StorageService } from 'jslib/abstractions/storage.service';
import { ConstantsService } from 'jslib/services/constants.service';
import { SupportedTranslationLocales } from '../../services/i18n.service';
@Component({
selector: 'app-settings',
templateUrl: 'settings.component.html',
@@ -49,7 +47,7 @@ export class SettingsComponent implements OnInit {
];
this.localeOptions = [{ name: i18nService.t('default'), value: null }];
SupportedTranslationLocales.forEach((locale) => {
i18nService.supportedTranslationLocales.forEach((locale) => {
this.localeOptions.push({ name: locale, value: locale });
});
}