aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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