diff --git a/src/app/enums/virtualization.enum.ts b/src/app/enums/virtualization.enum.ts index 55354756946..9554aa5fa92 100644 --- a/src/app/enums/virtualization.enum.ts +++ b/src/app/enums/virtualization.enum.ts @@ -13,11 +13,13 @@ export const virtualizationTypeLabels = new Map([ export enum VirtualizationStatus { Running = 'RUNNING', Stopped = 'STOPPED', + Unknown = 'UNKNOWN', } export const virtualizationStatusLabels = new Map([ [VirtualizationStatus.Running, T('Running')], [VirtualizationStatus.Stopped, T('Stopped')], + [VirtualizationStatus.Unknown, T('Unknown')], ]); export enum VirtualizationRemote { diff --git a/src/app/helptext/virtualization/containers.ts b/src/app/helptext/virtualization/containers.ts new file mode 100644 index 00000000000..9a72aafe80f --- /dev/null +++ b/src/app/helptext/virtualization/containers.ts @@ -0,0 +1,6 @@ +import { marker as T } from '@biesbjerg/ngx-translate-extract-marker'; + +export const containersHelptext = { + cpuHint: T('Leave empty to allow all host CPUs to be used.'), + memoryHint: T('Leave empty to not limit instance memory.'), +}; diff --git a/src/app/pages/dashboard/widgets/backup/widget-backup/backup-task-tile/backup-task-tile.component.html b/src/app/pages/dashboard/widgets/backup/widget-backup/backup-task-tile/backup-task-tile.component.html index 280a0356f67..23a859a7827 100644 --- a/src/app/pages/dashboard/widgets/backup/widget-backup/backup-task-tile/backup-task-tile.component.html +++ b/src/app/pages/dashboard/widgets/backup/widget-backup/backup-task-tile/backup-task-tile.component.html @@ -18,7 +18,7 @@ - {{ '{tasks, plural, =1 {# send task} other {# send tasks}}' | translate : { tasks: tile.totalSend } }} + {{ '{tasks, plural, =1 {# send task} other {# send tasks} }' | translate : { tasks: tile.totalSend } }}
  • @@ -26,7 +26,7 @@ - {{ '{tasks, plural, =1 {# receive task} other {# receive tasks}}' | translate : { tasks: tile.totalReceive } }} + {{ '{tasks, plural, =1 {# receive task} other {# receive tasks} }' | translate : { tasks: tile.totalReceive } }}
  • diff --git a/src/app/pages/datasets/components/dataset-capacity-management-card/dataset-capacity-management-card.component.html b/src/app/pages/datasets/components/dataset-capacity-management-card/dataset-capacity-management-card.component.html index 5502fa7fbff..b90ef3d904f 100644 --- a/src/app/pages/datasets/components/dataset-capacity-management-card/dataset-capacity-management-card.component.html +++ b/src/app/pages/datasets/components/dataset-capacity-management-card/dataset-capacity-management-card.component.html @@ -126,7 +126,7 @@

    @if (checkQuotas) { @if (!isLoadingQuotas) {
    - {{ 'Quotas set for {n, plural, one {# user} other {# users}}' | translate: { n: userQuotas } }} + {{ 'Quotas set for {n, plural, one {# user} other {# users} }' | translate: { n: userQuotas } }}
    } @else { @@ -149,7 +149,7 @@

    @if (checkQuotas) { @if (!isLoadingQuotas) {
    - {{ 'Quotas set for {n, plural, one {# group} other {# groups}}' | translate: { n: groupQuotas } }} + {{ 'Quotas set for {n, plural, one {# group} other {# groups} }' | translate: { n: groupQuotas } }}
    } @else { diff --git a/src/app/pages/datasets/modules/snapshots/snapshot-batch-delete-dialog/snapshot-batch-delete-dialog.component.html b/src/app/pages/datasets/modules/snapshots/snapshot-batch-delete-dialog/snapshot-batch-delete-dialog.component.html index 09cd4daacd6..3a1c404936e 100644 --- a/src/app/pages/datasets/modules/snapshots/snapshot-batch-delete-dialog/snapshot-batch-delete-dialog.component.html +++ b/src/app/pages/datasets/modules/snapshots/snapshot-batch-delete-dialog/snapshot-batch-delete-dialog.component.html @@ -75,7 +75,7 @@

    {{ 'Delete' | translate }}

    {{ getErrorMessage() }}

    } @else {

    - {{ 'Deleted {n, plural, one {# snapshot} other {# snapshots}}' | translate: + {{ 'Deleted {n, plural, one {# snapshot} other {# snapshots} }' | translate: { n: jobSuccess.length} }}

    } diff --git a/src/app/pages/system/enclosure/components/pages/enclosure-page/disks-overview/disks-overview.component.html b/src/app/pages/system/enclosure/components/pages/enclosure-page/disks-overview/disks-overview.component.html index 4899b04ac91..1b457c3c435 100644 --- a/src/app/pages/system/enclosure/components/pages/enclosure-page/disks-overview/disks-overview.component.html +++ b/src/app/pages/system/enclosure/components/pages/enclosure-page/disks-overview/disks-overview.component.html @@ -5,7 +5,7 @@
    {{ poolsInfo().length }}
    -
    {{ '{n, plural, one {Pool in Enclosure} other {Pools in Enclosure}}' | translate: { n: poolsInfo().length } }}
    +
    {{ '{n, plural, one {Pool in Enclosure} other {Pools in Enclosure} }' | translate: { n: poolsInfo().length } }}
    @if (unhealthyPoolsInfo().length === 0) { {{ 'All pools are online.' | translate }} @@ -32,7 +32,7 @@
    {{ failedDisks().length }}
    -
    {{ '{n, plural, one {Failed Disk} other {Failed Disks}}' | translate: { n: failedDisks().length } }}
    +
    {{ '{n, plural, one {Failed Disk} other {Failed Disks} }' | translate: { n: failedDisks().length } }}
    @if (failedDisks().length === 0) { {{ 'All disks healthy.' | translate }} @@ -57,7 +57,7 @@ @if (expanders().length) {
    {{ expanders().length }}
    -
    {{ '{n, plural, one {SAS Expander} other {SAS Expanders}}' | translate: { n: expanders().length} }}
    +
    {{ '{n, plural, one {SAS Expander} other {SAS Expanders} }' | translate: { n: expanders().length} }}
    {{ 'on this enclosure.' | translate }}