mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-11 16:51:55 -06:00
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:
parent
702ab0008b
commit
13e0d2e4d1
@ -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'
|
||||
});
|
||||
|
@ -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'
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user