Skip to content

Commit

Permalink
Merge pull request openshift#9878 from avivtur/bz_1986819
Browse files Browse the repository at this point in the history
Bug 1986819: fix string typos for hot-plug disks
  • Loading branch information
openshift-merge-robot authored Jan 24, 2022
2 parents e86c054 + 7215632 commit d51ed6d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -494,8 +494,8 @@
"description text area": "description text area",
"Access mode is set by StorageClass and cannot be changed": "Access mode is set by StorageClass and cannot be changed",
"Permissions to the mounted drive": "Permissions to the mounted drive",
"Edit disk (Hot plugged)": "Edit disk (Hot plugged)",
"Add disk (Hot plugged)": "Add disk (Hot plugged)",
"Edit {{type}} (hot plugged)": "Edit {{type}} (hot plugged)",
"Add {{type}} (hot plugged)": "Add {{type}} (hot plugged)",
"Edit disk": "Edit disk",
"Container": "Container",
"Hot plug is enabled only for \"Disk\" type": "Hot plug is enabled only for \"Disk\" type",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -453,8 +453,8 @@ export const DiskModal = withHandlePromise((props: DiskModalProps) => {
let modalTitle;
if (isVMRunning) {
modalTitle = isEditing
? t('kubevirt-plugin~Edit disk (Hot plugged)')
: t('kubevirt-plugin~Add disk (Hot plugged)');
? t('kubevirt-plugin~Edit {{type}} (hot plugged)', { type })
: t('kubevirt-plugin~Add {{type}} (hot plugged)', { type });
} else {
modalTitle = isEditing ? t('kubevirt-plugin~Edit disk') : t('kubevirt-plugin~Add disk');
}
Expand Down

0 comments on commit d51ed6d

Please sign in to comment.