[gnome-shell] search-entry: Update hint text



commit 136ed3623b697922cc4148a89d7337fea1fff353
Author: Florian Müllner <fmuellner gnome org>
Date:   Fri Feb 18 19:35:17 2011 +0100

    search-entry: Update hint text
    
    'Search your computer' is problematic for various reasons:
     - it specifies the kind of device
     - it focuses on local search (while we also do web search)
     - it does not advertise the instant search functionality
    
    Change the hint text to 'Type to search' as proposed by Allan Day.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=642287

 js/ui/viewSelector.js |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/viewSelector.js b/js/ui/viewSelector.js
index f59dccb..be031b5 100644
--- a/js/ui/viewSelector.js
+++ b/js/ui/viewSelector.js
@@ -23,7 +23,11 @@ function SearchEntry(focusBase) {
 SearchEntry.prototype = {
     _init : function(focusBase) {
         this.actor = new St.Entry({ name: 'searchEntry',
-                                    hint_text: _("Search your computer"),
+                                    /* Translators: this is the text displayed
+                                       in the search entry when no search is
+                                       active; it should not exceed ~30
+                                       characters */
+                                    hint_text: _("Type to search..."),
                                     track_hover: true });
         this.entry = this.actor.clutter_text;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]