Added markup to popups when default raw and non-raw profiles are not found

This commit is contained in:
DrSlony 2012-06-03 12:32:55 +01:00
parent f7940df636
commit 3d85acd2e0
3 changed files with 11 additions and 10 deletions

View File

@ -1,3 +1,4 @@
!!!!!!!!!!!!!!!!!!!!!!!!!
! Untranslated keys follow; remove the ! prefix after an entry is translated.
!!!!!!!!!!!!!!!!!!!!!!!!!
@ -546,8 +547,8 @@
!NAVIGATOR_V_NA;V = n/a
!NAVIGATOR_V_VALUE;V = %1
!NAVIGATOR_XY_NA;x = n/a, y = n/a
!OPTIONS_DEFIMG_MISSING;The default profile for standard images could not be found or is not set.\n\nPlease check your profiles' directory, it may be missing or damaged.\n\nDefault internal values will be used.
!OPTIONS_DEFRAW_MISSING;The default profile for raw images could not be found or is not set.\n\nPlease check your profiles' directory, it may be missing or damaged.\n\nDefault internal values will be used.
!OPTIONS_DEFIMG_MISSING;The default profile for <b>non-raw photos</b> could not be found or is not set.\n\nPlease check your profiles' directory, it may be missing or damaged.\n\nDefault internal values will be used.
!OPTIONS_DEFRAW_MISSING;The default profile for <b>raw photos<b> could not be found or is not set.\n\nPlease check your profiles' directory, it may be missing or damaged.\n\nDefault internal values will be used.
!PARTIALPASTE_BASICGROUP;Basic Settings
!PARTIALPASTE_CACORRECTION;C/A Correction
!PARTIALPASTE_CHANNELMIXER;Channel mixer
@ -668,8 +669,8 @@
!PREFERENCES_FLATFIELDSHOTS;shots
!PREFERENCES_FLATFIELDTEMPLATES;templates
!PREFERENCES_FLATFIELD;Flat Field
!PREFERENCES_FORIMAGE;For image files
!PREFERENCES_FORRAW;For raw files
!PREFERENCES_FORIMAGE;For non-raw photos
!PREFERENCES_FORRAW;For raw photos
!PREFERENCES_GIMPPATH;GIMP installation directory
!PREFERENCES_GTKTHEME;GTK default
!PREFERENCES_HINT;Hint

View File

@ -542,8 +542,8 @@ NAVIGATOR_S_VALUE;S = %1
NAVIGATOR_V_NA;V = n/a
NAVIGATOR_V_VALUE;V = %1
NAVIGATOR_XY_NA;x = n/a, y = n/a
OPTIONS_DEFIMG_MISSING;The default profile for standard images could not be found or is not set.\n\nPlease check your profiles' directory, it may be missing or damaged.\n\nDefault internal values will be used.
OPTIONS_DEFRAW_MISSING;The default profile for raw images could not be found or is not set.\n\nPlease check your profiles' directory, it may be missing or damaged.\n\nDefault internal values will be used.
OPTIONS_DEFIMG_MISSING;The default profile for <b>non-raw photos</b> could not be found or is not set.\n\nPlease check your profiles' directory, it may be missing or damaged.\n\nDefault internal values will be used.
OPTIONS_DEFRAW_MISSING;The default profile for <b>raw photos<b> could not be found or is not set.\n\nPlease check your profiles' directory, it may be missing or damaged.\n\nDefault internal values will be used.
PARTIALPASTE_BASICGROUP;Basic Settings
PARTIALPASTE_CACORRECTION;C/A Correction
PARTIALPASTE_CHANNELMIXER;Channel mixer
@ -664,8 +664,8 @@ PREFERENCES_FLATFIELDSDIR;Flat Fields directory
PREFERENCES_FLATFIELDSHOTS;shots
PREFERENCES_FLATFIELDTEMPLATES;templates
PREFERENCES_FLATFIELD;Flat Field
PREFERENCES_FORIMAGE;For image files
PREFERENCES_FORRAW;For raw files
PREFERENCES_FORIMAGE;For non-raw photos
PREFERENCES_FORRAW;For raw photos
PREFERENCES_GIMPPATH;GIMP installation directory
PREFERENCES_GTKTHEME;GTK default
PREFERENCES_HINT;Hint

View File

@ -162,11 +162,11 @@ int main(int argc, char **argv)
// alerting users if the default raw and image profiles are missing
if (options.is_defProfRawMissing()) {
Gtk::MessageDialog msgd (Glib::ustring::compose(M("OPTIONS_DEFRAW_MISSING"), options.defProfRaw), false, Gtk::MESSAGE_ERROR, Gtk::BUTTONS_OK, true);
Gtk::MessageDialog msgd (Glib::ustring::compose(M("OPTIONS_DEFRAW_MISSING"), options.defProfRaw), true, Gtk::MESSAGE_ERROR, Gtk::BUTTONS_OK, true);
msgd.run ();
}
if (options.is_defProfImgMissing()) {
Gtk::MessageDialog msgd (Glib::ustring::compose(M("OPTIONS_DEFIMG_MISSING"), options.defProfImg), false, Gtk::MESSAGE_ERROR, Gtk::BUTTONS_OK, true);
Gtk::MessageDialog msgd (Glib::ustring::compose(M("OPTIONS_DEFIMG_MISSING"), options.defProfImg), true, Gtk::MESSAGE_ERROR, Gtk::BUTTONS_OK, true);
msgd.run ();
}