Merge pull request #2500 from steven-zou/master

update i18n messages
This commit is contained in:
Steven Zou 2017-06-13 15:30:53 +08:00 committed by GitHub
commit 95e4faa157
4 changed files with 149 additions and 1 deletions

View File

@ -8,7 +8,8 @@
"lint": "tslint \"src/**/*.ts\"",
"test": "ng test --single-run",
"pree2e": "webdriver-manager update",
"e2e": "protractor"
"e2e": "protractor",
"build": "ngc -p tsconfig-aot.json"
},
"private": true,
"dependencies": {

View File

@ -436,6 +436,55 @@
"IN_PROGRESS": "Search...",
"BACK": "Back"
},
"VULNERABILITY": {
"STATE": {
"PENDING": "SCAN NOW",
"QUEUED": "Queued",
"ERROR": "Error",
"SCANNING": "Scanning",
"UNKNOWN": "Unknown"
},
"GRID": {
"PLACEHOLDER": "We couldn't find any scanning results!",
"COLUMN_ID": "Vulnerability",
"COLUMN_SEVERITY": "Severity",
"COLUMN_PACKAGE": "Package",
"COLUMN_VERSION": "Current version",
"COLUMN_FIXED": "Fixed in version",
"COLUMN_LAYER": "Introduced in layer",
"FOOT_ITEMS": "Items",
"FOOT_OF": "of"
},
"CHART": {
"SCANNING_TIME": "Scan completed",
"TOOLTIPS_TITLE": "This tag has {{totalVulnerability}} vulnerabilities across {{totalPackages}} packages."
},
"SEVERITY": {
"HIGH": "High level",
"MEDIUM": "Medium level",
"LOW": "Low level",
"UNKNOWN": "Unknown",
"NONE": "None"
},
"SINGULAR": "Vulnerability",
"PLURAL": "Vulnerabilities"
},
"PUSH_IMAGE": {
"TITLE": "Push Image",
"TOOLTIP": "Command references for pushing an image to this project.",
"TAG_COMMAND": "Tag an image for this project:",
"PUSH_COMMAND": "Push an image to this project:",
"COPY_ERROR": "Copy failed, please try to manually copy the command references."
},
"TAG": {
"CREATION_TIME_PREFIX": "Create on",
"CREATOR_PREFIX": "by",
"IMAGE_DETAILS": "Image Details",
"ARCHITECTURE": "Architecture",
"OS": "OS",
"SCAN_COMPLETION_TIME": "Scan Completed",
"IMAGE_VULNERABILITIES": "Image Vulnerabilities"
},
"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.",
"FORBIDDEN_ERROR": "You do not have the proper privileges to perform the action.",

View File

@ -434,6 +434,55 @@
"IN_PROGRESS": "Buscar...",
"BACK": "Volver"
},
"VULNERABILITY": {
"STATE": {
"PENDING": "SCAN NOW",
"QUEUED": "Queued",
"ERROR": "Error",
"SCANNING": "Scanning",
"UNKNOWN": "Unknown"
},
"GRID": {
"PLACEHOLDER": "We couldn't find any scanning results!",
"COLUMN_ID": "Vulnerability",
"COLUMN_SEVERITY": "Severity",
"COLUMN_PACKAGE": "Package",
"COLUMN_VERSION": "Current version",
"COLUMN_FIXED": "Fixed in version",
"COLUMN_LAYER": "Introduced in layer",
"FOOT_ITEMS": "Items",
"FOOT_OF": "of"
},
"CHART": {
"SCANNING_TIME": "Scan completed",
"TOOLTIPS_TITLE": "This tag has {{totalVulnerability}} vulnerabilities across {{totalPackages}} packages."
},
"SEVERITY": {
"HIGH": "High level",
"MEDIUM": "Medium level",
"LOW": "Low level",
"UNKNOWN": "Unknown",
"NONE": "None"
},
"SINGULAR": "Vulnerability",
"PLURAL": "Vulnerabilities"
},
"PUSH_IMAGE": {
"TITLE": "Push Image",
"TOOLTIP": "Command references for pushing an image to this project.",
"TAG_COMMAND": "Tag an image for this project:",
"PUSH_COMMAND": "Push an image to this project:",
"COPY_ERROR": "Copy failed, please try to manually copy the command references."
},
"TAG": {
"CREATION_TIME_PREFIX": "Create on",
"CREATOR_PREFIX": "by",
"IMAGE_DETAILS": "Image Details",
"ARCHITECTURE": "Architecture",
"OS": "OS",
"SCAN_COMPLETION_TIME": "Scan Completed",
"IMAGE_VULNERABILITIES": "Image Vulnerabilities"
},
"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.",
"FORBIDDEN_ERROR": "No tienes permisos para llevar a cabo esa acción.",

View File

@ -436,6 +436,55 @@
"IN_PROGRESS": "搜索中...",
"BACK": "返回"
},
"VULNERABILITY": {
"STATE": {
"PENDING": "开始扫描",
"QUEUED": "已入队列",
"ERROR": "错误",
"SCANNING": "扫描中",
"UNKNOWN": "未知"
},
"GRID": {
"PLACEHOLDER": "没有扫描结果!",
"COLUMN_ID": "缺陷码",
"COLUMN_SEVERITY": "严重度",
"COLUMN_PACKAGE": "组件",
"COLUMN_VERSION": "当前版本",
"COLUMN_FIXED": "修复版本",
"COLUMN_LAYER": "引入层",
"FOOT_ITEMS": "项目",
"FOOT_OF": "总共"
},
"CHART": {
"SCANNING_TIME": "扫描完成",
"TOOLTIPS_TITLE": "在此镜像的{{totalPackages}}包中扫描出{{totalVulnerability}}缺陷。"
},
"SEVERITY": {
"HIGH": "严重",
"MEDIUM": "中等",
"LOW": "一般",
"UNKNOWN": "未知",
"NONE": "无"
},
"SINGULAR": "缺陷",
"PLURAL": "缺陷"
},
"PUSH_IMAGE": {
"TITLE": "推送镜像",
"TOOLTIP": "推送一个镜像到当前项目的参考命令。",
"TAG_COMMAND": "在项目中标记镜像:",
"PUSH_COMMAND": "推送镜像到当前项目:",
"COPY_ERROR": "拷贝失败,请尝试手动拷贝参考命令。"
},
"TAG": {
"CREATION_TIME_PREFIX": "创建时间:",
"CREATOR_PREFIX": "创建者:",
"IMAGE_DETAILS": "镜像详情",
"ARCHITECTURE": "架构",
"OS": "操作系统",
"SCAN_COMPLETION_TIME": "扫描完成时间",
"IMAGE_VULNERABILITIES": "镜像缺陷"
},
"UNKNOWN_ERROR": "发生未知错误,请稍后再试。",
"UNAUTHORIZED_ERROR": "会话无效或者已经过期, 请重新登录以继续。",
"FORBIDDEN_ERROR": "当前操作被禁止,请确认你有合法的权限。",