Fix for translation of UTF strings
In italian language the accented u was not displayed correctly in equalizer panel
This commit is contained in:
@@ -54,13 +54,16 @@ DirPyrEqualizer::DirPyrEqualizer () : Gtk::VBox(), FoldableToolPanel(this) {
|
||||
|
||||
for(int i = 0; i < 4; i++)
|
||||
{
|
||||
std::stringstream ss;
|
||||
ss << i;
|
||||
if(i == 0)
|
||||
ss << " (" << M("TP_DIRPYREQUALIZER_LUMAFINEST") << ")";
|
||||
if(i == 3)
|
||||
ss << " (" << M("TP_DIRPYREQUALIZER_LUMACOARSEST") << ")";
|
||||
multiplier[i] = Gtk::manage ( new Adjuster (ss.str(), 0, 4, 0.01, 1.0) );
|
||||
Glib::ustring ss;
|
||||
switch( i ){
|
||||
case 0:
|
||||
ss =Glib::ustring::compose( "%1 (%2)",i, M("TP_DIRPYREQUALIZER_LUMAFINEST"));break;
|
||||
case 3:
|
||||
ss =Glib::ustring::compose( "%1 (%2)",i, M("TP_DIRPYREQUALIZER_LUMACOARSEST"));break;
|
||||
default:
|
||||
ss =Glib::ustring::compose( "%1",i);
|
||||
}
|
||||
multiplier[i] = Gtk::manage ( new Adjuster (ss, 0, 4, 0.01, 1.0) );
|
||||
multiplier[i]->setAdjusterListener(this);
|
||||
pack_start(*multiplier[i]);
|
||||
}
|
||||
|
@@ -54,14 +54,17 @@ Equalizer::Equalizer () : Gtk::VBox(), FoldableToolPanel(this) {
|
||||
|
||||
for(int i = 0; i < 8; i++)
|
||||
{
|
||||
std::stringstream ss;
|
||||
ss << i;
|
||||
if(i == 0)
|
||||
ss << " (" << M("TP_EQUALIZER_FINEST") << ")";
|
||||
if(i == 7)
|
||||
ss << " (" << M("TP_EQUALIZER_LARGEST") << ")";
|
||||
Glib::ustring ss;
|
||||
switch( i ){
|
||||
case 0:
|
||||
ss =Glib::ustring::compose( "%1 (%2)",i, M("TP_EQUALIZER_FINEST"));break;
|
||||
case 7:
|
||||
ss =Glib::ustring::compose( "%1 (%2)",i, M("TP_EQUALIZER_LARGEST"));break;
|
||||
default:
|
||||
ss =Glib::ustring::compose( "%1",i);
|
||||
}
|
||||
|
||||
correction[i] = Gtk::manage ( new Adjuster (ss.str(), -100, 100, 1, 0) );
|
||||
correction[i] = Gtk::manage ( new Adjuster (ss, -100, 100, 1, 0) );
|
||||
correction[i]->setAdjusterListener(this);
|
||||
pack_start(*correction[i]);
|
||||
}
|
||||
|
Reference in New Issue
Block a user