mirror of
https://github.com/goharbor/harbor
synced 2025-04-13 16:53:43 +00:00
Fix some UI issues (#17964)
1.Fixes #17874 2.Correct some i18n items Signed-off-by: AllForNothing <sshijun@vmware.com> Signed-off-by: AllForNothing <sshijun@vmware.com>
This commit is contained in:
parent
ceb130e617
commit
86e34c8e59
|
@ -58,6 +58,9 @@ export class JobServiceDashboardSharedDataService {
|
|||
if (!item.count) {
|
||||
item.count = 0;
|
||||
}
|
||||
if (!item.latency) {
|
||||
item.latency = 0;
|
||||
}
|
||||
});
|
||||
return this._jobQueues;
|
||||
})
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
text-align: center;
|
||||
font-size: 50px;
|
||||
margin: 1rem 0;
|
||||
line-height: 2rem;
|
||||
height: 2rem;
|
||||
line-height: 50px;
|
||||
height: 50px;
|
||||
}
|
||||
|
||||
.card-block {
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
text-align: center;
|
||||
font-size: 50px;
|
||||
margin: 1rem 0;
|
||||
line-height: 2rem;
|
||||
height: 2rem;
|
||||
line-height: 50px;
|
||||
height: 50px;
|
||||
}
|
||||
|
||||
.card-block {
|
||||
|
|
|
@ -515,12 +515,16 @@ export class ReplicationComponent implements OnInit, OnDestroy {
|
|||
this.isStopOnGoing = false;
|
||||
})
|
||||
)
|
||||
.subscribe(
|
||||
() => {},
|
||||
error => {
|
||||
this.errorHandlerEntity.error(error);
|
||||
}
|
||||
);
|
||||
.subscribe({
|
||||
next: res => {
|
||||
this.errorHandlerEntity.info(
|
||||
'REPLICATION.TRIGGER_STOP_SUCCESS'
|
||||
);
|
||||
},
|
||||
error: err => {
|
||||
this.errorHandlerEntity.error(err);
|
||||
},
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -538,11 +542,7 @@ export class ReplicationComponent implements OnInit, OnDestroy {
|
|||
})
|
||||
.pipe(
|
||||
map(response => {
|
||||
this.translateService
|
||||
.get('BATCH.STOP_SUCCESS')
|
||||
.subscribe(res =>
|
||||
operateChanges(operMessage, OperationState.success)
|
||||
);
|
||||
operateChanges(operMessage, OperationState.success);
|
||||
}),
|
||||
catchError(error => {
|
||||
const message = errorHandler(error);
|
||||
|
|
|
@ -659,7 +659,8 @@
|
|||
"UNREACHABLE_SOURCE_REGISTRY": "Verbindung zur Quell-Registry fehlgeschlagen, bitte sicherstellen, dass die Quell-Registry verfügbar ist, bevor diese Regel angepasst wird: {{error}}",
|
||||
"CRON_ERROR_TIP": "Das Feld ist erforderlich und \"*\" ist im \"Minuten\" Feld nicht erlaubt",
|
||||
"COPY_BY_CHUNK": "Copy by chunk",
|
||||
"COPY_BY_CHUNK_TIP": "Specify whether to copy the blob by chunk. Transfer by chunk may increase the number of API requests."
|
||||
"COPY_BY_CHUNK_TIP": "Specify whether to copy the blob by chunk. Transfer by chunk may increase the number of API requests.",
|
||||
"TRIGGER_STOP_SUCCESS": "Triggered stopping execution successfully"
|
||||
},
|
||||
"DESTINATION": {
|
||||
"NEW_ENDPOINT": "Neuer Endpunkt",
|
||||
|
|
|
@ -659,7 +659,8 @@
|
|||
"UNREACHABLE_SOURCE_REGISTRY": "Failed to connect to the source registry, please make sure the source registry is available before editing this rule: {{error}}",
|
||||
"CRON_ERROR_TIP": "Field is required and \"*\" is not allowed for the \"Minutes\" field",
|
||||
"COPY_BY_CHUNK": "Copy by chunk",
|
||||
"COPY_BY_CHUNK_TIP": "Specify whether to copy the blob by chunk. Transfer by chunk may increase the number of API requests."
|
||||
"COPY_BY_CHUNK_TIP": "Specify whether to copy the blob by chunk. Transfer by chunk may increase the number of API requests.",
|
||||
"TRIGGER_STOP_SUCCESS": "Triggered stopping execution successfully"
|
||||
},
|
||||
"DESTINATION": {
|
||||
"NEW_ENDPOINT": "New Endpoint",
|
||||
|
|
|
@ -661,7 +661,8 @@
|
|||
"UNREACHABLE_SOURCE_REGISTRY": "Failed to connect to the source registry, please make sure the source registry is available before editing this rule: {{error}}",
|
||||
"CRON_ERROR_TIP": "Field is required and \"*\" is not allowed for the \"Minutes\" field",
|
||||
"COPY_BY_CHUNK": "Copy by chunk",
|
||||
"COPY_BY_CHUNK_TIP": "Specify whether to copy the blob by chunk. Transfer by chunk may increase the number of API requests."
|
||||
"COPY_BY_CHUNK_TIP": "Specify whether to copy the blob by chunk. Transfer by chunk may increase the number of API requests.",
|
||||
"TRIGGER_STOP_SUCCESS": "Triggered stopping execution successfully"
|
||||
},
|
||||
"DESTINATION": {
|
||||
"NEW_ENDPOINT": "Nuevo Endpoint",
|
||||
|
|
|
@ -649,7 +649,8 @@
|
|||
"UNREACHABLE_SOURCE_REGISTRY": "Failed to connect to the source registry, please make sure the source registry is available before editing this rule: {{error}}",
|
||||
"CRON_ERROR_TIP": "Field is required and \"*\" is not allowed for the \"Minutes\" field",
|
||||
"COPY_BY_CHUNK": "Copy by chunk",
|
||||
"COPY_BY_CHUNK_TIP": "Specify whether to copy the blob by chunk. Transfer by chunk may increase the number of API requests."
|
||||
"COPY_BY_CHUNK_TIP": "Specify whether to copy the blob by chunk. Transfer by chunk may increase the number of API requests.",
|
||||
"TRIGGER_STOP_SUCCESS": "Triggered stopping execution successfully"
|
||||
},
|
||||
"DESTINATION": {
|
||||
"NEW_ENDPOINT": "Nouveau Endpoint",
|
||||
|
|
|
@ -659,7 +659,8 @@
|
|||
"UNREACHABLE_SOURCE_REGISTRY": "Failed to connect to the source registry, please make sure the source registry is available before editing this rule: {{error}}",
|
||||
"CRON_ERROR_TIP": "Field is required and \"*\"is not allowed for the \"Minutes\" field",
|
||||
"COPY_BY_CHUNK": "Copy by chunk",
|
||||
"COPY_BY_CHUNK_TIP": "Specify whether to copy the blob by chunk. Transfer by chunk may increase the number of API requests."
|
||||
"COPY_BY_CHUNK_TIP": "Specify whether to copy the blob by chunk. Transfer by chunk may increase the number of API requests.",
|
||||
"TRIGGER_STOP_SUCCESS": "Triggered stopping execution successfully"
|
||||
},
|
||||
"DESTINATION": {
|
||||
"NEW_ENDPOINT": "Novo Endereço",
|
||||
|
|
|
@ -659,7 +659,8 @@
|
|||
"UNREACHABLE_SOURCE_REGISTRY": "Failed to connect to the source registry, please make sure the source registry is available before editing this rule: {{error}}",
|
||||
"CRON_ERROR_TIP": "Field is required and \"*\" is not allowed for the \"Minutes\" field",
|
||||
"COPY_BY_CHUNK": "Copy by chunk",
|
||||
"COPY_BY_CHUNK_TIP": "Specify whether to copy the blob by chunk. Transfer by chunk may increase the number of API requests."
|
||||
"COPY_BY_CHUNK_TIP": "Specify whether to copy the blob by chunk. Transfer by chunk may increase the number of API requests.",
|
||||
"TRIGGER_STOP_SUCCESS": "Triggered stopping execution successfully"
|
||||
},
|
||||
"DESTINATION": {
|
||||
"NEW_ENDPOINT": "Yeni Uç Nokta",
|
||||
|
|
|
@ -661,7 +661,8 @@
|
|||
"UNREACHABLE_SOURCE_REGISTRY": "连接源仓库失败,在编辑此规则前请先确保源仓库可用: {{error}}",
|
||||
"CRON_ERROR_TIP": "此项必填且\"分钟\"项不能为\"*\"",
|
||||
"COPY_BY_CHUNK": "分块复制",
|
||||
"COPY_BY_CHUNK_TIP": "请指定是否开启分块复制。开启此项可能导致相应的 API 请求数量增加。"
|
||||
"COPY_BY_CHUNK_TIP": "请指定是否开启分块复制。开启此项可能导致相应的 API 请求数量增加。",
|
||||
"TRIGGER_STOP_SUCCESS": "成功触发停止执行"
|
||||
},
|
||||
"DESTINATION": {
|
||||
"NEW_ENDPOINT": "新建目标",
|
||||
|
@ -1198,6 +1199,7 @@
|
|||
"ALL": "所有",
|
||||
"RUNNING": "进行中",
|
||||
"FAILED": "失败",
|
||||
"STOP_EXECUTIONS": "停止执行",
|
||||
"DELETE_PROJECT": "删除项目",
|
||||
"DELETE_REPO": "删除仓库",
|
||||
"DELETE_TAG": "删除镜像Tag",
|
||||
|
|
|
@ -656,7 +656,8 @@
|
|||
"UNREACHABLE_SOURCE_REGISTRY": "Failed to connect to the source registry, please make sure the source registry is available before editing this rule: {{error}}",
|
||||
"CRON_ERROR_TIP": "Field is required and \"*\" is not allowed for the \"Minutes\" field",
|
||||
"COPY_BY_CHUNK": "Copy by chunk",
|
||||
"COPY_BY_CHUNK_TIP": "Specify whether to copy the blob by chunk. Transfer by chunk may increase the number of API requests."
|
||||
"COPY_BY_CHUNK_TIP": "Specify whether to copy the blob by chunk. Transfer by chunk may increase the number of API requests.",
|
||||
"TRIGGER_STOP_SUCCESS": "Triggered stopping execution successfully"
|
||||
},
|
||||
"DESTINATION":{
|
||||
"NEW_ENDPOINT": "新建目標",
|
||||
|
|
Loading…
Reference in New Issue
Block a user