Use capitalize in configuration dropdown menu

Problem Description:
configuration dropdown menu use all uppercase letters.

Fix:
Modify all of them in capitalize letters.

Note:Try to use css text-transform:Caplitalize but not working, if anyone know the reason, please kindly tell me.
This commit is contained in:
Mia ZHOU 2018-07-26 14:40:12 +08:00
parent 397af582a2
commit 4ff45b0624
4 changed files with 19 additions and 19 deletions

View File

@ -26,7 +26,7 @@
<div>{{ 'PROJECT_CONFIG.PREVENT_VULNERABLE_1' | translate }}</div>
<div class="select">
<select id="severity" name="severity" [(ngModel)]="projectPolicy.PreventVulImgSeverity" [disabled]="!projectPolicy.PreventVulImg">
<option *ngFor='let s of severityOptions' [ngValue]="s.severity">{{ s.severityLevel | translate | uppercase }}</option>
<option *ngFor='let s of severityOptions' [ngValue]="s.severity">{{ s.severityLevel | translate }}</option>
</select>
</div>
<div> {{ 'PROJECT_CONFIG.PREVENT_VULNERABLE_2' | translate }} </div>

View File

@ -644,12 +644,12 @@
"TOOLTIPS_TITLE_ZERO": "No recognizable vulnerability package found"
},
"SEVERITY": {
"HIGH": "high",
"MEDIUM": "medium",
"LOW": "low",
"NEGLIGIBLE": "negligible",
"UNKNOWN": "unknown",
"NONE": "none"
"HIGH": "High",
"MEDIUM": "Medium",
"LOW": "Low",
"NEGLIGIBLE": "Negligible",
"UNKNOWN": "Unknown",
"NONE": "None"
},
"SINGULAR": "vulnerability",
"OVERALL_SEVERITY": "Vulnerability Severity:",

View File

@ -643,12 +643,12 @@
"TOOLTIPS_TITLE_ZERO": "No se encontró ningún paquete de vulnerabilidad reconocible"
},
"SEVERITY": {
"HIGH": "high",
"MEDIUM": "medium",
"LOW": "low",
"NEGLIGIBLE": "negligible",
"UNKNOWN": "unknown",
"NONE": "none"
"HIGH": "High",
"MEDIUM": "Medium",
"LOW": "Low",
"NEGLIGIBLE": "Negligible",
"UNKNOWN": "Unknown",
"NONE": "None"
},
"SINGULAR": "vulnerability",
"OVERALL_SEVERITY": "Vulnerability Severity:",

View File

@ -608,12 +608,12 @@
"TOOLTIPS_TITLE_ZERO": "Aucun paquet de vulnérabilité connue trouvé"
},
"SEVERITY": {
"HIGH": "haut",
"MEDIUM": "moyen",
"LOW": "bas",
"NEGLIGIBLE": "négligeable",
"UNKNOWN": "inconnu",
"NONE": "aucune"
"HIGH": "Haut",
"MEDIUM": "Moyen",
"LOW": "Bas",
"NEGLIGIBLE": "Négligeable",
"UNKNOWN": "Inconnu",
"NONE": "Aucune"
},
"SINGULAR": "vulnérabilitée",
"OVERALL_SEVERITY": "Sévérité de la Vulnérabilitée :",