mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-03 01:25:38 -05:00
Update singular vcore string (#11157)
This commit is contained in:
@@ -124,7 +124,11 @@ export function copiedToClipboard(name: string): string { return localize('arc.c
|
||||
export function clickTheTroubleshootButton(resourceType: string): string { return localize('arc.clickTheTroubleshootButton', "Click the troubleshoot button to open the Azure Arc {0} troubleshooting notebook.", resourceType); }
|
||||
export function numVCores(vCores: string | undefined): string {
|
||||
if (vCores && +vCores > 0) {
|
||||
return localize('arc.numVCores', "{0} vCores", vCores);
|
||||
if (+vCores === 1) {
|
||||
return localize('arc.numVCore', "{0} vCore", vCores);
|
||||
} else {
|
||||
return localize('arc.numVCores', "{0} vCores", vCores);
|
||||
}
|
||||
} else {
|
||||
return '-';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user