Skip to content

Commit

Permalink
Merge pull request ManageIQ#2962 from mzazrivec/apply_gettext_on_go_s…
Browse files Browse the repository at this point in the history
…trings

Apply gettext on general object definitions strings coming from API
  • Loading branch information
martinpovolny authored Dec 6, 2017
2 parents 736a85c + 0614397 commit d95b313
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ function genericObjectDefinitionFormController(API, miqService, $q) {

function buildOptionObject(optionData, optionObject) {
_.forEach(optionData, function(item) {
optionObject.push({id: item[1], name: item[0]});
optionObject.push({id: item[1], name: __(item[0])});
});
}

Expand Down

0 comments on commit d95b313

Please sign in to comment.