Skip to content

Commit

Permalink
Added missing translations to Affinity rules and Toleration rules
Browse files Browse the repository at this point in the history
Signed-off-by: Matan Schatzman <mschatzm@redhat.com>
  • Loading branch information
metalice committed Jul 28, 2021
1 parent 278ce76 commit 471771c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Expand Up @@ -829,8 +829,8 @@
"Add Config Map, Secret or Service Account": "Add Config Map, Secret or Service Account",
"Pod": "Pod",
"User credentials": "User credentials",
"No Toleration rules": "No Toleration rules",
"No Affinity rules": "No Affinity rules",
"{{count}} Toleration rule": "{{count}} Toleration rule",
"{{count}} Toleration rule_plural": "{{count}} Toleration rules",
"User Name": "User Name",
"Domain": "Domain",
"Time of login": "Time of login",
Expand Down
Expand Up @@ -297,9 +297,9 @@ export const VMSchedulingList: React.FC<VMSchedulingListProps> = ({
})
}
>
{tolerationsWrapperCount > 0
? `${tolerationsWrapperCount} Toleration rules`
: t('kubevirt-plugin~No Toleration rules')}
{t('kubevirt-plugin~{{count}} Toleration rule', {
count: tolerationsWrapperCount,
})}
</VMEditWithPencil>
</VMDetailsItem>

Expand All @@ -314,9 +314,9 @@ export const VMSchedulingList: React.FC<VMSchedulingListProps> = ({
affinityModal({ vmLikeEntity: vm, blocking: true, modalClassName: 'modal-lg' })
}
>
{affinityWrapperCount > 0
? `${affinityWrapperCount} Affinity rules`
: t('kubevirt-plugin~No Affinity rules')}
{t('kubevirt-plugin~{{count}} Affinity rule', {
count: affinityWrapperCount,
})}
</VMEditWithPencil>
</VMDetailsItem>
</dl>
Expand Down

0 comments on commit 471771c

Please sign in to comment.