diff --git a/rtdata/languages/Francais b/rtdata/languages/Francais index 0fbce91f5..349251d45 100644 --- a/rtdata/languages/Francais +++ b/rtdata/languages/Francais @@ -868,8 +868,8 @@ NAVIGATOR_S;S: NAVIGATOR_V;V: NAVIGATOR_XY_FULL;Largeur = %1, Hauteur = %2 NAVIGATOR_XY_NA;x = n/d, y = n/d -OPTIONS_DEFIMG_MISSING;Le profil par défaut pour les images standards n'a pas été trouvé ou n'a pas été réglé.\n\nVérifiez également le dossier de vos profils, il peut être manquant ou endommagé\n\nLes valeurs internes pas défaut seront utilisées. -OPTIONS_DEFRAW_MISSING;Le profil par défaut pour les images Raw n'a pas été trouvé ou n'a pas été réglé.\n\nVérifiez également le dossier de vos profils, il peut être manquant ou endommagé\n\nLes valeurs internes pas défaut seront utilisées. +OPTIONS_DEFIMG_MISSING;Le profil par défaut pour les images standards n'a pas été trouvé ou n'a pas été réglé.\n\nVérifiez également le dossier de vos profils, il peut être manquant ou endommagé\n\n"%1" sera utilisé à la place. +OPTIONS_DEFRAW_MISSING;Le profil par défaut pour les images Raw n'a pas été trouvé ou n'a pas été réglé.\n\nVérifiez également le dossier de vos profils, il peut être manquant ou endommagé\n\n"%1" sera utilisé à la place. PARTIALPASTE_ADVANCEDGROUP;Réglages Avancés PARTIALPASTE_BASICGROUP;Réglages de base PARTIALPASTE_CACORRECTION;Aberration chromatique diff --git a/rtdata/languages/default b/rtdata/languages/default index 0db6a20f0..dc8b5fbbe 100644 --- a/rtdata/languages/default +++ b/rtdata/languages/default @@ -869,8 +869,8 @@ NAVIGATOR_S;S: NAVIGATOR_V;V: NAVIGATOR_XY_FULL;Width: %1, Height: %2 NAVIGATOR_XY_NA;x: --, y: -- -OPTIONS_DEFIMG_MISSING;The default profile for non-raw photos 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 photos 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 non-raw photos could not be found or is not set.\n\nPlease check your profiles' directory, it may be missing or damaged.\n\n"%1" will be used instead. +OPTIONS_DEFRAW_MISSING;The default profile for raw photos could not be found or is not set.\n\nPlease check your profiles' directory, it may be missing or damaged.\n\n"%1" will be used instead. PARTIALPASTE_ADVANCEDGROUP;Advanced Settings PARTIALPASTE_BASICGROUP;Basic Settings PARTIALPASTE_CACORRECTION;Chromatic aberration correction diff --git a/rtgui/options.cc b/rtgui/options.cc index 60ac9a74e..55e99ce2d 100644 --- a/rtgui/options.cc +++ b/rtgui/options.cc @@ -2192,7 +2192,7 @@ void Options::load (bool lightweight) // Check default Raw and Img procparams existence if (options.defProfRaw.empty()) { - options.defProfRaw = DEFPROFILE_INTERNAL; + options.defProfRaw = DEFPROFILE_RAW; } else { Glib::ustring tmpFName = options.findProfilePath (options.defProfRaw); @@ -2201,17 +2201,23 @@ void Options::load (bool lightweight) printf ("Default profile for raw images \"%s\" found\n", options.defProfRaw.c_str()); } } else { - if (options.rtSettings.verbose) { - printf ("Default profile for raw images \"%s\" not found or not set -> using Internal values\n", options.defProfRaw.c_str()); + if (options.defProfRaw != DEFPROFILE_RAW) { + if (options.rtSettings.verbose) { + printf ("Default profile for raw images \"%s\" not found or not set -> using RawTherapee's default raw profile\n", options.defProfRaw.c_str()); + } + options.defProfRaw = DEFPROFILE_RAW; + } else { + if (options.rtSettings.verbose) { + printf ("Default profile for raw images \"%s\" not found or not set -> using Internal values\n", options.defProfRaw.c_str()); + } + options.defProfRaw = DEFPROFILE_INTERNAL; } - - options.defProfRaw = DEFPROFILE_INTERNAL; options.defProfRawMissing = true; } } if (options.defProfImg.empty()) { - options.defProfImg = DEFPROFILE_INTERNAL; + options.defProfImg = DEFPROFILE_IMG; } else { Glib::ustring tmpFName = options.findProfilePath (options.defProfImg); @@ -2220,11 +2226,17 @@ void Options::load (bool lightweight) printf ("Default profile for non-raw images \"%s\" found\n", options.defProfImg.c_str()); } } else { - if (options.rtSettings.verbose) { - printf ("Default profile for non-raw images \"%s\" not found or not set -> using Internal values\n", options.defProfImg.c_str()); + if (options.defProfImg != DEFPROFILE_IMG) { + if (options.rtSettings.verbose) { + printf ("Default profile for non-raw images \"%s\" not found or not set -> using RawTherapee's default non-raw profile\n", options.defProfImg.c_str()); + } + options.defProfImg = DEFPROFILE_IMG; + } else { + if (options.rtSettings.verbose) { + printf ("Default profile for non-raw images \"%s\" not found or not set -> using Internal values\n", options.defProfImg.c_str()); + } + options.defProfImg = DEFPROFILE_INTERNAL; } - - options.defProfImg = DEFPROFILE_INTERNAL; options.defProfImgMissing = true; } }