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",
|
"optional": "Optional field: click to show",
|
||||||
"page": "Page",
|
"page": "Page",
|
||||||
"prev": "Prev",
|
"prev": "Prev",
|
||||||
|
"undo": "undo",
|
||||||
|
"undo_all": "undo all",
|
||||||
"validation": {
|
"validation": {
|
||||||
"error": "Text does not match field pattern",
|
"error": "Text does not match field pattern",
|
||||||
"integer": "Must be an integer",
|
"integer": "Must be an integer",
|
||||||
|
@ -305,7 +305,7 @@ IPA.widget = function(spec) {
|
|||||||
name: 'undo',
|
name: 'undo',
|
||||||
style: 'display: none;',
|
style: 'display: none;',
|
||||||
'class': 'ui-state-highlight ui-corner-all undo',
|
'class': 'ui-state-highlight ui-corner-all undo',
|
||||||
html: 'undo'
|
html: IPA.messages.widget.undo
|
||||||
}).appendTo(container);
|
}).appendTo(container);
|
||||||
|
|
||||||
if(on_undo === undefined) {
|
if(on_undo === undefined) {
|
||||||
@ -600,7 +600,7 @@ IPA.multivalued_text_widget = function(spec) {
|
|||||||
name: 'undo_all',
|
name: 'undo_all',
|
||||||
style: 'display: none;',
|
style: 'display: none;',
|
||||||
'class': 'ui-state-highlight ui-corner-all undo',
|
'class': 'ui-state-highlight ui-corner-all undo',
|
||||||
html: 'undo all',
|
html: IPA.messages.widget.undo_all,
|
||||||
click: function() {
|
click: function() {
|
||||||
that.reset();
|
that.reset();
|
||||||
}
|
}
|
||||||
|
@ -453,6 +453,8 @@ class i18n_messages(Command):
|
|||||||
"optional": _("Optional field: click to show"),
|
"optional": _("Optional field: click to show"),
|
||||||
"page": _("Page"),
|
"page": _("Page"),
|
||||||
"prev": _("Prev"),
|
"prev": _("Prev"),
|
||||||
|
"undo": _("undo"),
|
||||||
|
"undo_all": _("undo all"),
|
||||||
"validation": {
|
"validation": {
|
||||||
"error": _("Text does not match field pattern"),
|
"error": _("Text does not match field pattern"),
|
||||||
"integer": _("Must be an integer"),
|
"integer": _("Must be an integer"),
|
||||||
|
Loading…
Reference in New Issue
Block a user