diff --git a/frontend/app/app.module.ts b/frontend/app/app.module.ts
index 1aca9696..45694f80 100644
--- a/frontend/app/app.module.ts
+++ b/frontend/app/app.module.ts
@@ -3,8 +3,7 @@ import {
LOCALE_ID,
NgModule,
TRANSLATIONS,
- TRANSLATIONS_FORMAT,
- MissingTranslationStrategy
+ TRANSLATIONS_FORMAT
} from '@angular/core';
import {BrowserModule, HAMMER_GESTURE_CONFIG, HammerGestureConfig} from '@angular/platform-browser';
import {FormsModule} from '@angular/forms';
@@ -63,7 +62,7 @@ import {HttpClientModule} from '@angular/common/http';
import {DefaultUrlSerializer, UrlSerializer, UrlTree} from '@angular/router';
import {IndexingSettingsComponent} from './settings/indexing/indexing.settings.component';
import {LanguageComponent} from './language/language.component';
-import {I18n, MISSING_TRANSLATION_STRATEGY} from '@ngx-translate/i18n-polyfill';
+import {I18n} from '@ngx-translate/i18n-polyfill';
import {QueryService} from './model/query.service';
import {IconizeSortingMethod} from './pipes/IconizeSortingMethod';
import {StringifySortingMethod} from './pipes/StringifySortingMethod';
@@ -89,7 +88,6 @@ export class MyHammerConfig extends HammerGestureConfig {
}
-
export class CustomUrlSerializer implements UrlSerializer {
private _defaultUrlSerializer: DefaultUrlSerializer = new DefaultUrlSerializer();
@@ -197,13 +195,8 @@ export function translationsFactory(locale: string) {
useFactory: translationsFactory,
deps: [LOCALE_ID]
},
- I18n,
-
- {provide: TRANSLATIONS, useValue: translationsFactory('en')},
{provide: TRANSLATIONS_FORMAT, useValue: 'xlf'},
- {provide: LOCALE_ID, useValue: 'en'},
- {provide: MISSING_TRANSLATION_STRATEGY, useValue: MissingTranslationStrategy.Ignore},
-
+ I18n
],
bootstrap: [AppComponent]
})
diff --git a/frontend/app/gallery/navigator/navigator.gallery.component.ts b/frontend/app/gallery/navigator/navigator.gallery.component.ts
index 6fec6cb0..93e3f64b 100644
--- a/frontend/app/gallery/navigator/navigator.gallery.component.ts
+++ b/frontend/app/gallery/navigator/navigator.gallery.component.ts
@@ -11,7 +11,6 @@ import {SortingMethods} from '../../../../common/entities/SortingMethods';
import {Config} from '../../../../common/config/public/Config';
import {SearchResultDTO} from '../../../../common/entities/SearchResultDTO';
import {SearchTypes} from '../../../../common/entities/AutoCompleteItem';
-import {LightboxStates} from '../lightbox/lightbox.gallery.component';
@Component({
selector: 'app-gallery-navbar',
diff --git a/frontend/translate/messages.en.xlf b/frontend/translate/messages.en.xlf
index 90a1bcac..158d562d 100644
--- a/frontend/translate/messages.en.xlf
+++ b/frontend/translate/messages.en.xlf
@@ -1533,10 +1533,6 @@
frontend/app/gallery/navigator/navigator.gallery.component.ts
1
-
- frontend/app/gallery/navigator/navigator.gallery.component.ts
- 1
-
Images
diff --git a/frontend/translate/messages.hu.xlf b/frontend/translate/messages.hu.xlf
index c6099346..4d584ebf 100644
--- a/frontend/translate/messages.hu.xlf
+++ b/frontend/translate/messages.hu.xlf
@@ -1533,10 +1533,6 @@
frontend/app/gallery/navigator/navigator.gallery.component.ts
1
-
- frontend/app/gallery/navigator/navigator.gallery.component.ts
- 1
-
Képek
@@ -1904,4 +1900,4 @@