webui: add search box placeholder text

Reviewed-By: Endi Sukma Dewata <edewata@redhat.com>
This commit is contained in:
Petr Vobornik
2014-05-13 12:39:13 +02:00
parent 5c3fd4bb83
commit 40a25ecf37
3 changed files with 4 additions and 1 deletions

View File

@@ -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) {

View File

@@ -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.",

View File

@@ -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."),