Fix i18n problems in the RC option editor.
authorCarl Hetherington <carl@carlh.net>
Mon, 28 Nov 2011 18:45:34 +0000 (18:45 +0000)
committerCarl Hetherington <carl@carlh.net>
Mon, 28 Nov 2011 18:45:34 +0000 (18:45 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@10832 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/rc_option_editor.cc

index 00f56d9d885e8ce1b751285347bbd8659214e19e..3a30aadc07574eb3517cb08ec825edb1e729e436 100644 (file)
@@ -1503,7 +1503,7 @@ RCOptionEditor::RCOptionEditor ()
 
        /* INTERFACE */
 
-       add_option (_("Visual|Interface"),
+       add_option (S_("Visual|Interface"),
             new BoolOption (
                     "widget_prelight",
                     _("Graphically indicate mouse pointer hovering over various widgets"),
@@ -1513,7 +1513,7 @@ RCOptionEditor::RCOptionEditor ()
 
 #ifndef GTKOSX
        /* font scaling does nothing with GDK/Quartz */
-       add_option (_("Visual|Interface"), new FontScalingOptions (_rc_config));
+       add_option (S_("Visual|Interface"), new FontScalingOptions (_rc_config));
 #endif
 
        /* The names of these controls must be the same as those given in MixerStrip
@@ -1527,7 +1527,7 @@ RCOptionEditor::RCOptionEditor ()
        _mixer_strip_visibility.add (0, X_("MeterPoint"), _("Meter Point"));
        
        add_option (
-               _("Visual|Interface"),
+               S_("Visual|Interface"),
                new VisibilityOption (
                        _("Mixer Strip"),
                        &_mixer_strip_visibility,
@@ -1536,7 +1536,7 @@ RCOptionEditor::RCOptionEditor ()
                        )
                );
 
-       add_option (_("Visual|Interface"),
+       add_option (S_("Visual|Interface"),
             new BoolOption (
                     "default-narrow_ms",
                     _("Use narrow mixer strips by default"),
@@ -1544,7 +1544,7 @@ RCOptionEditor::RCOptionEditor ()
                     sigc::mem_fun (*_rc_config, &RCConfiguration::set_default_narrow_ms)
                     ));
 
-       add_option (_("Visual|Interface"), new OptionEditorHeading (_("Metering")));
+       add_option (S_("Visual|Interface"), new OptionEditorHeading (_("Metering")));
 
        ComboOption<float>* mht = new ComboOption<float> (
                "meter-hold",
@@ -1558,7 +1558,7 @@ RCOptionEditor::RCOptionEditor ()
        mht->add (MeterHoldMedium, _("medium"));
        mht->add (MeterHoldLong, _("long"));
 
-       add_option (_("Visual|Interface"), mht);
+       add_option (S_("Visual|Interface"), mht);
 
        ComboOption<float>* mfo = new ComboOption<float> (
                "meter-falloff",
@@ -1575,7 +1575,7 @@ RCOptionEditor::RCOptionEditor ()
        mfo->add (METER_FALLOFF_FASTER, _("faster"));
        mfo->add (METER_FALLOFF_FASTEST, _("fastest"));
 
-       add_option (_("Visual|Interface"), mfo);
+       add_option (S_("Visual|Interface"), mfo);
 }
 
 void