r4137 - trunk/plugins



Author: timj
Date: 2006-12-10 18:20:59 -0500 (Sun, 10 Dec 2006)
New Revision: 4137

Modified:
   trunk/plugins/ChangeLog
   trunk/plugins/davsyndrum.c
   trunk/plugins/davxtalstrings.c
Log:
Sun Dec 10 23:56:56 2006  Tim Janik  <timj gtk org>

        * davxtalstrings.c (dav_xtal_strings_class_init):
        * davsyndrum.c (dav_syn_drum_class_init): added i18n markup and
        adapted some tooltips.




Modified: trunk/plugins/ChangeLog
===================================================================
--- trunk/plugins/ChangeLog	2006-12-10 22:44:40 UTC (rev 4136)
+++ trunk/plugins/ChangeLog	2006-12-10 23:20:59 UTC (rev 4137)
@@ -1,3 +1,9 @@
+Sun Dec 10 23:56:56 2006  Tim Janik  <timj gtk org>
+
+	* davxtalstrings.c (dav_xtal_strings_class_init):
+	* davsyndrum.c (dav_syn_drum_class_init): added i18n markup and
+	adapted some tooltips.
+
 Sun Dec 10 23:43:42 2006  Tim Janik  <timj gtk org>
 
 	* davcanyondelay.c (dav_canyon_delay_class_init): added i18n markup and

Modified: trunk/plugins/davsyndrum.c
===================================================================
--- trunk/plugins/davsyndrum.c	2006-12-10 22:44:40 UTC (rev 4136)
+++ trunk/plugins/davsyndrum.c	2006-12-10 23:20:59 UTC (rev 4137)
@@ -86,30 +86,30 @@
   source_class->prepare = dav_syn_drum_prepare;
   source_class->context_create = dav_syn_drum_context_create;
 
-  bse_object_class_add_param (object_class, "Frequency", PROP_BASE_FREQ,
-                              bse_param_spec_freq ("base_freq", "Frequency", NULL,
+  bse_object_class_add_param (object_class, _("Frequency"), PROP_BASE_FREQ,
+                              bse_param_spec_freq ("base_freq", _("Frequency"),
+                                                   _("Drum frequency in Herz"),
                                                    bse_note_to_freq (SFI_NOTE_Gis (-1)), BSE_MIN_OSC_FREQUENCY, BSE_MAX_OSC_FREQUENCY,
                                                    SFI_PARAM_STANDARD ":dial"));
-  bse_object_class_add_param (object_class, "Frequency", PROP_BASE_NOTE,
-                              bse_pspec_note_simple ("base_note", "Note", NULL, SFI_PARAM_GUI));
+  bse_object_class_add_param (object_class, _("Frequency"), PROP_BASE_NOTE,
+                              bse_pspec_note_simple ("base_note", _("Note"), NULL, SFI_PARAM_GUI));
 
   bse_object_class_add_param (object_class, "Trigger", PROP_TRIGGER_VEL,
-			      sfi_pspec_real ("trigger_vel", "Trigger Velocity [%]",
-                                              "Set the velocity of the drum hit",
+			      sfi_pspec_real ("trigger_vel", _("Trigger Velocity [%]"),
+                                              _("The velocity of the drum hit"),
                                               100.0, 0.0, 1000.0, 10.0,
                                               SFI_PARAM_STANDARD ":scale"));
-  bse_object_class_add_param (object_class, "Trigger", PROP_TRIGGER_HIT,
-			      sfi_pspec_bool ("force_trigger", "Trigger Hit", "Hit the drum",
+  bse_object_class_add_param (object_class, _("Trigger"), PROP_TRIGGER_HIT,
+			      sfi_pspec_bool ("force_trigger", _("Trigger Hit"), _("Manual trigger for the drum"),
                                               FALSE, SFI_PARAM_GUI ":trigger:skip-undo"));
-  bse_object_class_add_param (object_class, "Parameters", PROP_RES,
-			      sfi_pspec_real ("res", "Resonance",
-                                              "Set resonance half life in number of milli seconds",
+  bse_object_class_add_param (object_class, _("Parameters"), PROP_RES,
+			      sfi_pspec_real ("res", _("Resonance"),
+                                              _("The resonance half life in number of milli seconds"),
                                               50, 1, 1000.0, 2.5,
                                               SFI_PARAM_STANDARD ":scale"));
-  bse_object_class_add_param (object_class, "Parameters", PROP_RATIO,
-			      sfi_pspec_real ("ratio", "Frequency Ratio",
-                                              "Set ratio of frequency shift. (i.e. 1.0 means shift "
-                                              "equal to the drum's base frequency)",
+  bse_object_class_add_param (object_class, _("Parameters"), PROP_RATIO,
+			      sfi_pspec_real ("ratio", _("Frequency Ratio"),
+                                              _("The ratio of frequency shift. (i.e. 1.0 means shift equal to the drum's base frequency)"),
                                               1.0, 0.0, 10.0, 0.1,
                                               SFI_PARAM_STANDARD ":scale"));
 

Modified: trunk/plugins/davxtalstrings.c
===================================================================
--- trunk/plugins/davxtalstrings.c	2006-12-10 22:44:40 UTC (rev 4136)
+++ trunk/plugins/davxtalstrings.c	2006-12-10 23:20:59 UTC (rev 4137)
@@ -105,7 +105,8 @@
   
   bse_object_class_add_param (object_class, _("Frequency"),
 			      PARAM_BASE_FREQ,
-			      bse_param_spec_freq ("base_freq", _("Frequency"), NULL,
+			      bse_param_spec_freq ("base_freq", _("Frequency"),
+                                                   _("String oscillation frequency in Herz"),
 						   BSE_KAMMER_FREQUENCY, BSE_MIN_OSC_FREQUENCY, BSE_MAX_OSC_FREQUENCY,
 						   SFI_PARAM_STANDARD ":dial"));
   bse_object_class_add_param (object_class, _("Frequency"),
@@ -121,32 +122,32 @@
 			      sfi_pspec_int ("fine_tune", _("Fine Tune"), _("Amount of detuning in cent (hundredth part of a semitone)"),
 					     0, BSE_MIN_FINE_TUNE, BSE_MAX_FINE_TUNE, 10,
 					     SFI_PARAM_STANDARD ":f:dial:skip-default"));
-  bse_object_class_add_param (object_class, "Trigger", PARAM_TRIGGER_VEL,
-			      sfi_pspec_real ("trigger_vel", "Trigger Velocity [%]",
-                                              "Velocity of the string pluck",
+  bse_object_class_add_param (object_class, _("Trigger"), PARAM_TRIGGER_VEL,
+			      sfi_pspec_real ("trigger_vel", _("Trigger Velocity [%]"),
+                                              _("Velocity of the string pluck"),
                                               100.0,  0.0, 100.0, 1,
                                               SFI_PARAM_GUI ":scale"));
-  bse_object_class_add_param (object_class, "Trigger", PARAM_TRIGGER_HIT,
-			      sfi_pspec_bool ("trigger_pulse", "Trigger Hit", "Pluck the string",
+  bse_object_class_add_param (object_class, _("Trigger"), PARAM_TRIGGER_HIT,
+			      sfi_pspec_bool ("trigger_pulse", _("Trigger Hit"), _("Pluck the string"),
                                               FALSE, SFI_PARAM_GUI ":trigger:skip-undo"));
-  bse_object_class_add_param (object_class, "Decay", PARAM_NOTE_DECAY,
-			      sfi_pspec_real ("note_decay", "Note Decay",
-                                              "Note decay is the 'half-life' of the note's decay in seconds",
+  bse_object_class_add_param (object_class, _("Decay"), PARAM_NOTE_DECAY,
+			      sfi_pspec_real ("note_decay", _("Note Decay"),
+                                              _("Note decay is the 'half-life' of the note's decay in seconds"),
                                               0.4, 0.001, 4.0, 0.01,
                                               SFI_PARAM_STANDARD ":scale"));
-  bse_object_class_add_param (object_class, "Decay", PARAM_TENSION_DECAY,
-			      sfi_pspec_real ("tension_decay", "Tension Decay",
-                                              "Tension of the string",
+  bse_object_class_add_param (object_class, _("Decay"), PARAM_TENSION_DECAY,
+			      sfi_pspec_real ("tension_decay", _("Tension Decay"),
+                                              _("Tension of the string"),
                                               0.04, 0.001, 1.0, 0.01,
                                               SFI_PARAM_STANDARD ":scale"));
-  bse_object_class_add_param (object_class, "Flavour", PARAM_METALLIC_FACTOR,
-			      sfi_pspec_real ("metallic_factor", "Metallic Factor [%]",
-                                              "Metallicness of the string",
+  bse_object_class_add_param (object_class, _("Flavour"), PARAM_METALLIC_FACTOR,
+			      sfi_pspec_real ("metallic_factor", _("Metallic Factor [%]"),
+                                              _("Metallicness of the string"),
                                               16.0, 0.0, 100.0, 1,
                                               SFI_PARAM_STANDARD ":scale"));
-  bse_object_class_add_param (object_class, "Flavour", PARAM_SNAP_FACTOR,
-			      sfi_pspec_real ("snap_factor", "Snap Factor [%]",
-                                              "Snappiness of the string",
+  bse_object_class_add_param (object_class, _("Flavour"), PARAM_SNAP_FACTOR,
+			      sfi_pspec_real ("snap_factor", _("Snap Factor [%]"),
+                                              _("Snappiness of the string"),
                                               34.0, 0.0, 100.0, 1,
                                               SFI_PARAM_STANDARD ":scale"));
   




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