mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
I18n clean-up.
The hard-coded 'undo' and 'undo all' labels have been moved into internal.py to allow translation. Ticket #1897
This commit is contained in:
parent
46c16ed6ec
commit
af8350c327
@ -17054,6 +17054,8 @@
|
||||
"optional": "Optional field: click to show",
|
||||
"page": "Page",
|
||||
"prev": "Prev",
|
||||
"undo": "undo",
|
||||
"undo_all": "undo all",
|
||||
"validation": {
|
||||
"error": "Text does not match field pattern",
|
||||
"integer": "Must be an integer",
|
||||
|
@ -305,7 +305,7 @@ IPA.widget = function(spec) {
|
||||
name: 'undo',
|
||||
style: 'display: none;',
|
||||
'class': 'ui-state-highlight ui-corner-all undo',
|
||||
html: 'undo'
|
||||
html: IPA.messages.widget.undo
|
||||
}).appendTo(container);
|
||||
|
||||
if(on_undo === undefined) {
|
||||
@ -600,7 +600,7 @@ IPA.multivalued_text_widget = function(spec) {
|
||||
name: 'undo_all',
|
||||
style: 'display: none;',
|
||||
'class': 'ui-state-highlight ui-corner-all undo',
|
||||
html: 'undo all',
|
||||
html: IPA.messages.widget.undo_all,
|
||||
click: function() {
|
||||
that.reset();
|
||||
}
|
||||
|
@ -453,6 +453,8 @@ class i18n_messages(Command):
|
||||
"optional": _("Optional field: click to show"),
|
||||
"page": _("Page"),
|
||||
"prev": _("Prev"),
|
||||
"undo": _("undo"),
|
||||
"undo_all": _("undo all"),
|
||||
"validation": {
|
||||
"error": _("Text does not match field pattern"),
|
||||
"integer": _("Must be an integer"),
|
||||
|
Loading…
Reference in New Issue
Block a user