Skip to content

Commit

Permalink
Merge pull request #4883 from romanblanco/gettext
Browse files Browse the repository at this point in the history
Added missing gettext into Dialog Editor controller
  • Loading branch information
mzazrivec committed Nov 8, 2018
2 parents d875641 + 115d1c5 commit 2b18c22
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -65,6 +65,8 @@ ManageIQ.angular.app.controller('dialogEditorController', ['$window', 'miqServic
translateResponderNamesToIds(dialog.content[0]);

if (requestDialogAction() === 'copy') {
// gettext left out intentionally
// the label will be rendered to all users in all locales as it was saved
dialog.label = dialog.content[0].label = "Copy of " + dialog.label;
}

Expand Down

0 comments on commit 2b18c22

Please sign in to comment.