+
diff --git a/src/ui_ng/package.json b/src/ui_ng/package.json
index 055a18060..72ab7d858 100644
--- a/src/ui_ng/package.json
+++ b/src/ui_ng/package.json
@@ -31,7 +31,7 @@
"clarity-icons": "^0.9.8",
"clarity-ui": "^0.9.8",
"core-js": "^2.4.1",
- "harbor-ui": "^0.2.13",
+ "harbor-ui": "^0.2.19",
"intl": "^1.2.5",
"mutationobserver-shim": "^0.3.2",
"ngx-cookie": "^1.0.0",
diff --git a/src/ui_ng/src/app/shared/list-project-ro/list-project-ro.component.html b/src/ui_ng/src/app/shared/list-project-ro/list-project-ro.component.html
index 2752e67c7..51f59bfea 100644
--- a/src/ui_ng/src/app/shared/list-project-ro/list-project-ro.component.html
+++ b/src/ui_ng/src/app/shared/list-project-ro/list-project-ro.component.html
@@ -11,6 +11,6 @@
{{(projects ? projects.length : 0)}} {{'PROJECT.ITEMS' | translate}}
-
+
\ No newline at end of file
diff --git a/src/ui_ng/src/app/shared/list-repository-ro/list-repository-ro.component.html b/src/ui_ng/src/app/shared/list-repository-ro/list-repository-ro.component.html
index f3992075d..e67f32c0b 100644
--- a/src/ui_ng/src/app/shared/list-repository-ro/list-repository-ro.component.html
+++ b/src/ui_ng/src/app/shared/list-repository-ro/list-repository-ro.component.html
@@ -9,6 +9,6 @@
{{(repositories ? repositories.length : 0)}} {{'REPOSITORY.ITEMS' | translate}}
-
+
\ No newline at end of file
diff --git a/src/ui_ng/src/app/shared/shared.module.ts b/src/ui_ng/src/app/shared/shared.module.ts
index 5e324da48..20b360fcd 100644
--- a/src/ui_ng/src/app/shared/shared.module.ts
+++ b/src/ui_ng/src/app/shared/shared.module.ts
@@ -63,8 +63,8 @@ const uiLibConfig: IServiceConfig = {
enablei18Support: true,
langCookieKey: "harbor-lang",
langMessageLoader: "http",
- langMessagePathForHttpLoader: "src/i18n/lang/",
- langMessageFileSuffixForHttpLoader: "-lang.json",
+ langMessagePathForHttpLoader: "i18n/lang/",
+ langMessageFileSuffixForHttpLoader: "-lang.json"
};
@NgModule({
diff --git a/src/ui_ng/src/i18n/lang/en-us-lang.json b/src/ui_ng/src/i18n/lang/en-us-lang.json
index f3661f901..a324c4573 100644
--- a/src/ui_ng/src/i18n/lang/en-us-lang.json
+++ b/src/ui_ng/src/i18n/lang/en-us-lang.json
@@ -31,7 +31,8 @@
"MORE_INFO": "More info...",
"YES": "YES",
"NO": "NO",
- "NEGATIVE": "NEGATIVE"
+ "NEGATIVE": "NEGATIVE",
+ "COPY": "COPY"
},
"TOOLTIP": {
"EMAIL": "Email should be a valid email address like name@example.com.",
@@ -477,7 +478,9 @@
},
"SINGULAR": "Vulnerability",
"PLURAL": "Vulnerabilities",
- "PLACEHOLDER": "Filter Vulnerabilities"
+ "PLACEHOLDER": "Filter Vulnerabilities",
+ "PACKAGE": "Package with",
+ "PACKAGES": "Packages with"
},
"PUSH_IMAGE": {
"TITLE": "Push Image",
@@ -496,7 +499,8 @@
"OS": "OS",
"SCAN_COMPLETION_TIME": "Scan Completed",
"IMAGE_VULNERABILITIES": "Image Vulnerabilities",
- "PLACEHOLDER": "We couldn't find any tags!"
+ "PLACEHOLDER": "We couldn't find any tags!",
+ "COPY_ERROR": "Copy failed, please try to manually copy."
},
"UNKNOWN_ERROR": "Unknown errors have occurred. Please try again later.",
"UNAUTHORIZED_ERROR": "Your session is invalid or has expired. You need to sign in to continue your action.",
diff --git a/src/ui_ng/src/i18n/lang/es-es-lang.json b/src/ui_ng/src/i18n/lang/es-es-lang.json
index 2c714e4b0..9e4100c04 100644
--- a/src/ui_ng/src/i18n/lang/es-es-lang.json
+++ b/src/ui_ng/src/i18n/lang/es-es-lang.json
@@ -31,7 +31,8 @@
"MORE_INFO": "Más información...",
"YES": "SI",
"NO": "NO",
- "NEGATIVE": "NEGATIVO"
+ "NEGATIVE": "NEGATIVO",
+ "COPY": "COPY"
},
"TOOLTIP": {
"EMAIL": "El email debe ser una dirección válida como nombre@ejemplo.com.",
@@ -476,7 +477,9 @@
},
"SINGULAR": "Vulnerability",
"PLURAL": "Vulnerabilities",
- "PLACEHOLDER": "Filter Vulnerabilities"
+ "PLACEHOLDER": "Filter Vulnerabilities",
+ "PACKAGE": "Package with",
+ "PACKAGES": "Packages with"
},
"PUSH_IMAGE": {
"TITLE": "Push Image",
@@ -495,7 +498,8 @@
"OS": "OS",
"SCAN_COMPLETION_TIME": "Scan Completed",
"IMAGE_VULNERABILITIES": "Image Vulnerabilities",
- "PLACEHOLDER": "We couldn't find any tags!"
+ "PLACEHOLDER": "We couldn't find any tags!",
+ "COPY_ERROR": "Copy failed, please try to manually copy."
},
"UNKNOWN_ERROR": "Ha ocurrido un error desconocido. Por favor, inténtelo de nuevo más tarde.",
"UNAUTHORIZED_ERROR": "La sesión no es válida o ha caducado. Necesita identificarse de nuevo para llevar a cabo esa acción.",
diff --git a/src/ui_ng/src/i18n/lang/zh-cn-lang.json b/src/ui_ng/src/i18n/lang/zh-cn-lang.json
index 43d22a560..b61495d73 100644
--- a/src/ui_ng/src/i18n/lang/zh-cn-lang.json
+++ b/src/ui_ng/src/i18n/lang/zh-cn-lang.json
@@ -31,7 +31,8 @@
"MORE_INFO": "更多信息...",
"YES": "是",
"NO": "否",
- "NEGATIVE": "否"
+ "NEGATIVE": "否",
+ "COPY": "拷贝"
},
"TOOLTIP": {
"EMAIL": "请使用正确的邮箱地址,比如name@example.com。",
@@ -456,7 +457,7 @@
"PLACEHOLDER": "没有扫描结果!",
"COLUMN_ID": "缺陷码",
"COLUMN_SEVERITY": "严重度",
- "COLUMN_PACKAGE": "组件",
+ "COLUMN_PACKAGE": "组",
"COLUMN_VERSION": "当前版本",
"COLUMN_FIXED": "修复版本",
"COLUMN_DESCRIPTION": "简介",
@@ -477,7 +478,9 @@
},
"SINGULAR": "缺陷",
"PLURAL": "缺陷",
- "PLACEHOLDER": "过滤缺陷"
+ "PLACEHOLDER": "过滤缺陷",
+ "PACKAGE": "个组件有",
+ "PACKAGES": "个组件有"
},
"PUSH_IMAGE": {
"TITLE": "推送镜像",
@@ -496,7 +499,8 @@
"OS": "操作系统",
"SCAN_COMPLETION_TIME": "扫描完成时间",
"IMAGE_VULNERABILITIES": "镜像缺陷",
- "PLACEHOLDER": "未发现任何标签!"
+ "PLACEHOLDER": "未发现任何标签!",
+ "COPY_ERROR": "拷贝失败,请尝试手动拷贝。"
},
"UNKNOWN_ERROR": "发生未知错误,请稍后再试。",
"UNAUTHORIZED_ERROR": "会话无效或者已经过期, 请重新登录以继续。",