aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-12-22 19:23:12 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-12-22 19:23:12 +0000
commitef8ce702b5adf8adf9c109c9927ed83a8430de0d (patch)
tree3bed34393733644ac3578d4379bc483bfb49934f
parent505d0bd4d583dcd8b11d1f55d24c5bcdf2385633 (diff)
fixed two missed strings for translation
svn path=/trunk/scripts/guiplugins/search-plugin/; revision=16742
-rw-r--r--search-plugin.tcl5
1 files changed, 3 insertions, 2 deletions
diff --git a/search-plugin.tcl b/search-plugin.tcl
index 78858e0..2397360 100644
--- a/search-plugin.tcl
+++ b/search-plugin.tcl
@@ -237,8 +237,9 @@ proc ::dialog_helpbrowser2::create_dialog {mytoplevel} {
$mytoplevel.f.genrebox $mytoplevel.resultstext"
bind $mytoplevel.f.matchall_check <Return> "$mytoplevel.f.searchbutton invoke"
bind $mytoplevel.f.matchwords_check <Return> "$mytoplevel.f.searchbutton invoke"
+ set advancedlabeltext [_ "Advanced search options"]
bind $mytoplevel.f.advancedlabel <Enter> "$mytoplevel.f.advancedlabel configure \
- -cursor hand2; $mytoplevel.statusbar configure -text \"Advanced search options\""
+ -cursor hand2; $mytoplevel.statusbar configure -text $advancedlabeltext"
bind $mytoplevel.f.advancedlabel <Leave> "$mytoplevel.f.advancedlabel configure \
-cursor xterm; $mytoplevel.statusbar configure -text \"\""
bind $mytoplevel.f.advancedlabel <Button-1> \
@@ -258,7 +259,7 @@ proc ::dialog_helpbrowser2::create_dialog {mytoplevel} {
bind $mytoplevel <$::modifier-Key-f> "break"
# Add state and set focus
- $mytoplevel.f.searchtextentry insert 0 "Enter search terms"
+ $mytoplevel.f.searchtextentry insert 0 [_ "Enter search terms"]
$mytoplevel.f.searchtextentry selection range 0 end
# go ahead and set tags for the default genre
filter_results $mytoplevel.f.genrebox $mytoplevel.resultstext