[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    extragear/graphics/digikam/utilities/imageeditor/canvas
From:       Gilles Caulier <caulier.gilles () free ! fr>
Date:       2006-03-05 20:02:14
Message-ID: 1141588934.346944.28160.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 516042 by cgilles:

digikam from trunk : fix i18n


 M  +19 -2     dimginterface.cpp  


--- trunk/extragear/graphics/digikam/utilities/imageeditor/canvas/dimginterface.cpp \
#516041:516042 @@ -238,7 +238,13 @@
                 }
                 else
                 {
-                    QString message = i18n("<p>This image has not assigned any color \
profile<p><p>Do you want to convert it to your workspace color profile?</p><p>Current \
workspace color profile: ") + trans.getProfileDescription( \
d->cmSettings->workspaceSetting ) + "</p>"; +                    QString message = \
i18n("<p><b>%1</b></p>" +                                           "<p>This image \
has not assigned any color profile</p>" +                                           \
"<p>Do you want to convert it to your workspace color profile?</p>" +                 \
"<p>Current workspace color profile:</p>" +                                           \
"<p><b>%2</b></p>") +                                           .arg(fileName)
+                                           \
.arg(trans.getProfileDescription(d->cmSettings->workspaceSetting));  
                     // To repaint image in canvas before to ask about to apply ICC \
profile.  emit signalImageLoaded(d->filename, valRet);
@@ -267,8 +273,19 @@
                     != trans.getProfileDescription( d->cmSettings->workspaceSetting \
))  {
                         kdDebug() << "Embedded profile: " << \
                trans.getEmbeddedProfileDescriptor() << endl;
-                        QString message = i18n("<p>This image has assigned a color \
profile that does not match with your default workspace color profile.<p><p>Do you \
want to convert it to your workspace color profile?</p><p>Current workspace color \
profile:<b> ") + trans.getProfileDescription( d->cmSettings->workspaceSetting ) + \
i18n("</b></p><p>Image Color Profile:<b> ") + trans.getEmbeddedProfileDescriptor() + \
"</b></p>";  
+                        QString message = i18n("<p><b>%1</b></p>"
+                                               "<p>This image has assigned a color \
profile that does not " +                                               "match with \
your default workspace color profile.</p>" +                                          \
"<p>Do you want to convert it to your workspace color profile?</p>" +                 \
"<p>Current workspace color profile:</p> +                                            \
"<p><b>%2<b></p>" +                                               "<p>Image Color \
Profile:</p>" +                                               "<p><b>%3</b></p>")
+                                               .arg(fileName)
+                                               \
.arg(trans.getProfileDescription(d->cmSettings->workspaceSetting))  +                 \
.arg(trans.getEmbeddedProfileDescriptor()); +
                         // To repaint image in canvas before to ask about to apply \
ICC profile.  emit signalImageLoaded(d->filename, valRet);
     


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic