Make Actions string translatable

Remove hardcoded strings 'Actions ' and substitute them by strings from
translatable strings.

Reviewed-By: Martin Basti <mbasti@redhat.com>
Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
This commit is contained in:
Pavel Vomacka authored and Martin Basti committed 2016-06-21 13:13:57 +02:00
1 parent 702ab0008b
commit 13e0d2e4d1
2 files changed
+4 -3

No files matched your search

+1 -1
View File
@@ -1112,7 +1112,7 @@ exp.facet = IPA.facet = function(spec, no_init) {
name: 'facet_actions',
'class': 'dropdown facet-actions',
right_aligned: true,
toggle_text: 'Actions ',
toggle_text: text.get('@i18n:actions.title') + ' ',
toggle_class: 'btn btn-default',
toggle_icon: 'fa fa-angle-down'
});
+3 -2
View File
@@ -9,10 +9,11 @@ define(['dojo/_base/declare',
'dojo/dom-class',
'../builder',
'../facet',
'../text',
'../widgets/ActionDropdownWidget'
],
function(declare, lang, on, construct, dom_class,
builder, mod_facet, ActionDropdownWidget) {
builder, mod_facet, text, ActionDropdownWidget) {
/**
@@ -247,7 +248,7 @@ var HeaderMixin = declare([], {
name: 'facet_actions',
'class': 'dropdown facet-actions',
right_aligned: true,
toggle_text: 'Actions ',
toggle_text: text.get('@i18n:actions.title') + ' ',
toggle_class: 'btn btn-default',
toggle_icon: 'fa fa-angle-down'
});