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>{{ 'PROJECT_CONFIG.PREVENT_VULNERABLE_1' | translate }}</div>
<div class="select"> <div class="select">
<select id="severity" name="severity" [(ngModel)]="projectPolicy.PreventVulImgSeverity" [disabled]="!projectPolicy.PreventVulImg"> <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> </select>
</div> </div>
<div> {{ 'PROJECT_CONFIG.PREVENT_VULNERABLE_2' | translate }} </div> <div> {{ 'PROJECT_CONFIG.PREVENT_VULNERABLE_2' | translate }} </div>

View File

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

View File

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

View File

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