"Search everywhere" instead of "Search for anything", and make "e.g." translatable

This commit is contained in:
David Sansome 2011-11-06 17:27:54 +00:00
parent c6e252326f
commit 89c9ea37fa
4 changed files with 12 additions and 8 deletions

View File

@ -17,7 +17,7 @@
<item>
<widget class="QCheckBox" name="show_globalsearch">
<property name="text">
<string>Show the &quot;Search for anything&quot; box above the sidebar</string>
<string>Show the &quot;Search everywhere&quot; box above the sidebar</string>
</property>
</widget>
</item>

View File

@ -696,7 +696,7 @@ void GlobalSearchWidget::NextSuggestion() {
QString hint = hint_text_;
if (!suggestions.isEmpty()) {
hint += ", e.g. " + suggestions.join(", ");
hint += QString(", %1 ").arg(tr("e.g.")) + suggestions.join(", ");
}
ui_->search->set_hint(hint);

View File

@ -17,7 +17,7 @@
<item>
<widget class="LineEdit" name="search">
<property name="hint" stdset="0">
<string>Search for anything</string>
<string>Search everywhere</string>
</property>
</widget>
</item>

View File

@ -3386,12 +3386,12 @@ msgstr ""
msgid "Search Spotify (opens a new tab)..."
msgstr ""
#: ui/albumcoverchoicecontroller.cpp:61
msgid "Search for album covers..."
#: ../bin/src/ui_globalsearchwidget.h:60
msgid "Search everywhere"
msgstr ""
#: ../bin/src/ui_globalsearchwidget.h:60
msgid "Search for anything"
#: ui/albumcoverchoicecontroller.cpp:61
msgid "Search for album covers..."
msgstr ""
#: ../bin/src/ui_querysearchpage.h:71
@ -3567,7 +3567,7 @@ msgid "Show only untagged"
msgstr ""
#: ../bin/src/ui_globalsearchsettingspage.h:160
msgid "Show the \"Search for anything\" box above the sidebar"
msgid "Show the \"Search everywhere\" box above the sidebar"
msgstr ""
#: ../bin/src/ui_lastfmsettingspage.h:151
@ -4538,6 +4538,10 @@ msgstr ""
msgid "does not contain"
msgstr ""
#: globalsearch/globalsearchwidget.cpp:699
msgid "e.g."
msgstr ""
#: smartplaylists/searchterm.cpp:215
msgid "ends with"
msgstr ""