From 6e789d7d466a7fbf7ca39af2ab7f31542ead726b Mon Sep 17 00:00:00 2001 From: Steven Zou Date: Thu, 15 Jun 2017 23:27:54 +0800 Subject: [PATCH 01/19] Use service in harbor-ui library for i18n support --- .../create-edit-endpoint.component.html.ts | 2 +- .../create-edit-rule.component.html.ts | 2 +- .../lib/src/i18n/translate-init.service.ts | 11 +- .../inline-alert/inline-alert.component.ts | 2 +- .../lib/src/push-image/push-image.html.ts | 2 +- src/ui_ng/package.json | 142 +++++++++--------- src/ui_ng/src/app/app.component.ts | 20 --- src/ui_ng/src/app/app.module.ts | 26 +--- src/ui_ng/src/app/core/core.module.ts | 48 ++++-- .../src/app/i18n/missing-trans.handler.ts | 21 --- 10 files changed, 118 insertions(+), 158 deletions(-) delete mode 100644 src/ui_ng/src/app/i18n/missing-trans.handler.ts diff --git a/src/ui_ng/lib/src/create-edit-endpoint/create-edit-endpoint.component.html.ts b/src/ui_ng/lib/src/create-edit-endpoint/create-edit-endpoint.component.html.ts index 5ef882d06..fe38b5a9d 100644 --- a/src/ui_ng/lib/src/create-edit-endpoint/create-edit-endpoint.component.html.ts +++ b/src/ui_ng/lib/src/create-edit-endpoint/create-edit-endpoint.component.html.ts @@ -1,6 +1,6 @@ export const CREATE_EDIT_ENDPOINT_TEMPLATE: string = ` - +