aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wilkes <jancsika1@users.sourceforge.net>2012-12-27 20:07:29 +0000
committerJonathan Wilkes <jancsika1@users.sourceforge.net>2012-12-27 20:07:29 +0000
commita29796770b12279e3ef1b651ab953a06cec87c73 (patch)
tree46104ad8aaa465c5759ad47ae57981034f24287e
parentc32085b84579de99b005362bf931156a1109218d (diff)
made category keywords translatable
svn path=/trunk/scripts/guiplugins/search-plugin/; revision=16775
-rw-r--r--search-plugin.tcl117
1 files changed, 47 insertions, 70 deletions
diff --git a/search-plugin.tcl b/search-plugin.tcl
index 89cd4da..4c1020b 100644
--- a/search-plugin.tcl
+++ b/search-plugin.tcl
@@ -808,79 +808,56 @@ proc ::dialog_helpbrowser2::intro { t } {
homepage_description
$t insert end "\n"
- set keywords \
- [list \
- [list "abstraction" \
- [_ "object itself is written in Pure Data"]] \
- [list "abstraction_op" \
- [_ "object's behavior only makes sense inside an abstraction"]] \
- [list "analysis" \
- [_ "perform some sort of analysis on the incoming signal or value"]] \
- [list "anything_op" \
- [_ "store or manipulate any type of data"]] \
- [list "array" \
- [_ "create or manipulate an array"]] \
- [list "bandlimited" \
- [_ "object describes itself as being bandlimited"]] \
- [list "block_oriented" \
- [_ "signal object that performs block-wide operations (as opposed to\
- repeating the same operation for each sample of the block)"]] \
- [list "canvas_op" \
- [_ "object's behavior only makes sense in context of a canvas"]] \
- [list "control" \
- [_ "control rate objects"]] \
- [list "conversion" \
- [_ "convert from one set of units to another"]] \
- [list "data_structure" \
- [_ "create or manage data structures"]] \
- [list "dynamic_patching" \
- [_ "dynamic instantiation/deletion of objects or patches"]] \
- [list "filesystem" \
- [_ "object that reads from and/or writes to the file system"]] \
- [list "filter" \
- [_ "object that filters incoming data"]] \
- [list "GUI" \
- [_ "graphical user interface"]] \
- [list "list_op" \
- [_ "object that manipulates, outputs, or stores a list"]] \
- [list "MIDI" \
- [_ "object that provides MIDI functionality"]] \
- [list "needs_work" \
- [_ "help patches that are still under construction or otherwise are incomplete"]] \
- [list "network" \
- [_ "provides access to or sends/receives data over a network"]] \
- [list "nonlocal" \
- [_ "pass messages or data without patch wires"]] \
- [list "orphan" \
- [_ "help patches that cannot be accessed by right-clicking \"help\" for the corresponding object"]] \
- [list "patchfile_op" \
- [_ "object whose behavior only makes sense in terms of a Pure Data patch"]] \
- [list "pd_op" \
- [_ "object that can report on or manipulate global data associated with the running instance of Pd"]] \
- [list "ramp" \
- [_ "create a ramp between a starting and ending value"]] \
- [list "random" \
- [_ "output a random value, list, signal, or other random data"]] \
- [list "signal" \
- [_ "audiorate object (so called \"tilde\" object)"]] \
- [list "soundfile" \
- [_ "object that can play, manipulate, and/or save a sound file (wav, ogg, flac, mp3, etc.)"]] \
- [list "storage" \
- [_ "object whose main function is to store data"]] \
- [list "symbol_op" \
- [_ "manipulate or store a symbol"]] \
- [list "time" \
- [_ "measure and/or manipulate time"]] \
- [list "trigonometry" \
- [_ "provide trigonometric functionality"]] \
- ]
+ set keywords [list \
+ "abstraction" [_ "abstraction"] [_ "object itself is written in Pure Data"] \
+ "abstraction_op" [_ "abstraction_op"] \
+ [_ "object's behavior only makes sense inside an abstraction"] \
+ "analysis" [_ "analysis"] [_ "analyze the incoming signal or value"] \
+ "anything_op" [_ "anything_op"] [_ "store or manipulate any type of data"] \
+ "array" [_ "array"] [_ "create or manipulate an array"] \
+ "bandlimited" [_ "bandlimited"] [_ "object describes itself as being bandlimited"] \
+ "block_oriented" [_ "block_oriented"] \
+ [_ "signal object that performs block-wide operations (as opposed to\
+ repeating the same operation for each sample of the block)"] \
+ "canvas_op" [_ "canvas_op"] \
+ [_ "object's behavior only makes sense in context of a canvas"] \
+ "control" [_ "control"] [_ "control rate objects"] \
+ "conversion" [_ "conversion"] [_ "convert from one set of units to another"] \
+ "data_structure" [_ "data_structure"] [_ "create or manage data structures"] \
+ "dynamic_patching" [_ "dynamic_patching"] \
+ [_ "dynamic instantiation/deletion of objects or patches"] \
+ "filesystem" [_ "filesystem"] \
+ [_ "object that reads from and/or writes to the file system"] \
+ "filter" [_ "filter"] [_ "object that filters incoming data"] \
+ "GUI" [_ "GUI"] [_ "graphical user interface"] \
+ "list_op" [_ "list_op"] [_ "object that manipulates, outputs, or stores a list"] \
+ "MIDI" [_ "MIDI"] [_ "object that provides MIDI functionality"] \
+ "network" [_ "network"] [_ "provides access to or sends/receives data over a network"] \
+ "nonlocal" [_ "nonlocal"] [_ "pass messages or data without patch wires"] \
+ "orphan" [_ "orphan"] \
+ [_ "help patches that cannot be accessed by right-clicking \"help\" for the corresponding object"] \
+ "patchfile_op" [_ "patchfile_op"] \
+ [_ "object whose behavior only makes sense in terms of a Pure Data patch"] \
+ "pd_op" [_ "pd_op"] \
+ [_ "object that can report on or manipulate global data\
+ associated with the running instance of Pd"] \
+ "ramp" [_ "ramp"] [_ "create a ramp between a starting and ending value"] \
+ "random" [_ "random"] [_ "output a random value, list, signal, or other random data"] \
+ "signal" [_ "signal"] [_ "audiorate object (so called \"tilde\" object)"] \
+ "soundfile" [_ "soundfile"] \
+ [_ "object that can play, manipulate, and/or save a sound file (wav, ogg, flac, mp3, etc.)"] \
+ "storage" [_ "storage"] [_ "object whose main function is to store data"] \
+ "symbol_op" [_ "symbol_op"] [_ "manipulate or store a symbol"] \
+ "time" [_ "time"] [_ "measure and/or manipulate time"] \
+ "trigonometry" [_ "trigonometry"] [_ "provide trigonometric functionality"] \
+ ]
set i 0
- foreach keyword $keywords {
+ foreach {keyword name desc} $keywords {
$t insert end "keywords" "metakey hide"
- $t insert end [lindex $keyword 0] "metavalue$i link"
- $t insert end [lindex $keyword 0] metavalue_h
- $t insert end " [lindex $keyword 1]\n" description
+ $t insert end $name "metavalue$i link"
+ $t insert end $keyword metavalue_h
+ $t insert end " $desc\n" description
set i [expr {($i+1)%30}]
}
$t configure -state disabled