aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/ng2/config/translation.service.config.ts
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-ui/src/app/ng2/config/translation.service.config.ts')
-rw-r--r--catalog-ui/src/app/ng2/config/translation.service.config.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/catalog-ui/src/app/ng2/config/translation.service.config.ts b/catalog-ui/src/app/ng2/config/translation.service.config.ts
new file mode 100644
index 0000000000..9c2df7a098
--- /dev/null
+++ b/catalog-ui/src/app/ng2/config/translation.service.config.ts
@@ -0,0 +1,8 @@
+import { Provider } from "@angular/core";
+import { TranslateServiceConfigToken } from "../shared/translator/translate.service.config";
+import { getTranslationServiceConfig } from "./translation.service.config.factory";
+
+export const TranslationServiceConfig:Provider = {
+ provide: TranslateServiceConfigToken,
+ useFactory: getTranslationServiceConfig
+};