diff options
-rw-r--r-- | install/ui/src/freeipa/search.js | 3 | ||||
-rw-r--r-- | install/ui/test/data/ipa_init.json | 1 | ||||
-rw-r--r-- | ipalib/plugins/internal.py | 1 |
3 files changed, 4 insertions, 1 deletions
diff --git a/install/ui/src/freeipa/search.js b/install/ui/src/freeipa/search.js index a8bb928ee..56afa0de9 100644 --- a/install/ui/src/freeipa/search.js +++ b/install/ui/src/freeipa/search.js @@ -118,7 +118,8 @@ IPA.search_facet = function(spec, no_init) { that.filter = $('<input/>', { type: 'text', 'class': 'form-control', - name: 'filter' + name: 'filter', + placeholder: text.get('@i18n:search.placeholder') }).appendTo(that.filter_container); that.filter.keypress(function(e) { diff --git a/install/ui/test/data/ipa_init.json b/install/ui/test/data/ipa_init.json index e3384a960..233218c38 100644 --- a/install/ui/test/data/ipa_init.json +++ b/install/ui/test/data/ipa_init.json @@ -524,6 +524,7 @@ "enable_confirm": "Are you sure you want to enable selected entries?", "enabled": "${count} item(s) enabled", "partial_delete": "Some entries were not deleted", + "placeholder": "Search", "quick_links": "Quick Links", "select_all": "Select All", "truncated": "Query returned more results than the configured size limit. Displaying the first ${counter} results.", diff --git a/ipalib/plugins/internal.py b/ipalib/plugins/internal.py index 1988dd2af..886d3f6f9 100644 --- a/ipalib/plugins/internal.py +++ b/ipalib/plugins/internal.py @@ -660,6 +660,7 @@ class i18n_messages(Command): "enable_confirm": _("Are you sure you want to enable selected entries?"), "enabled": _("${count} item(s) enabled"), "partial_delete": _("Some entries were not deleted"), + "placeholder": _("Search"), "quick_links": _("Quick Links"), "select_all": _("Select All"), "truncated": _("Query returned more results than the configured size limit. Displaying the first ${counter} results."), |