Make xtrans demosaic methods translatable

This commit is contained in:
heckflosse 2017-03-22 16:05:11 +01:00
parent fbf5185b20
commit e4d7ab5dda
2 changed files with 3 additions and 1 deletions

View File

@ -1760,6 +1760,8 @@ TP_RAW_FAST;fast
TP_RAW_MONO;mono
TP_RAW_NONE;none (show sensor pattern)
TP_RAW_PIXELSHIFT;Pixel Shift (Pentax)
TP_RAW_3-PASS (BEST);3-pass (best)
TP_RAW_1-PASS (MEDIUM);1-pass (medium)
TP_RESIZE_APPLIESTO;Applies to:
TP_RESIZE_CROPPEDAREA;Cropped Area
TP_RESIZE_FITBOX;Bounding Box

View File

@ -29,7 +29,7 @@ XTransProcess::XTransProcess () : FoldableToolPanel(this, "xtransprocess", M("TP
method = Gtk::manage (new MyComboBoxText ());
for( size_t i = 0; i < procparams::RAWParams::XTransSensor::numMethods; i++) {
method->append(procparams::RAWParams::XTransSensor::methodstring[i]);
method->append(M("TP_RAW_" + Glib::ustring(procparams::RAWParams::XTransSensor::methodstring[i]).uppercase()));
}
method->set_active(0);