[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: extragear/graphics/kipi-plugins/sendimages
From: Malcolm Hunter <malcolm.hunter () gmx ! co ! uk>
Date: 2009-04-05 21:53:41
Message-ID: 1238968421.686896.30750.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 949781 by mhunter:
Typographical and grammar corrections
M +26 -26 emailpage.cpp
M +3 -3 imageresize.cpp
M +7 -7 sendimages.cpp
M +3 -3 sendimagesdialog.cpp
--- trunk/extragear/graphics/kipi-plugins/sendimages/emailpage.cpp #949780:949781
@@ -99,9 +99,9 @@
d->mailAgentName->insertItem(EmailSettingsContainer::SYLPHEEDCLAWS, \
"Sylpheed-Claws");
d->mailAgentName->insertItem(EmailSettingsContainer::THUNDERBIRD, \
"Thunderbird"); d->mailAgentName->setCurrentIndex(EmailSettingsContainer::DEFAULT);
- d->mailAgentName->setWhatsThis(i18n("Select here your preferred external e-mail \
program. "
- "<b>Default</b> is the current e-mail \
program set on KDE "
- "Control Panel."));
+ d->mailAgentName->setWhatsThis(i18n("Select your preferred external email \
program here. " + "<b>Default</b> is the \
current email program set in KDE " + "System \
Settings."));
//---------------------------------------------
@@ -117,7 +117,7 @@
d->attachmentlimit = new KIntNumInput(this);
d->attachmentlimit->setRange(1, 50, 1);
d->attachmentlimit->setValue(17);
- d->attachmentlimit->setLabel( i18n("Maximum e-mail size limit:"), Qt::AlignLeft \
| Qt::AlignVCenter); + d->attachmentlimit->setLabel( i18n("Maximum email size \
limit:"), Qt::AlignLeft | Qt::AlignVCenter); \
d->attachmentlimit->setSuffix(i18n("MB"));
//---------------------------------------------
@@ -125,7 +125,7 @@
d->changeImagesProp = new QCheckBox(i18n("Adjust image properties"), this);
d->changeImagesProp->setChecked(true);
d->changeImagesProp->setWhatsThis(i18n("If you enable this option, "
- "all images to send can be resized and \
recompressed.")); + "all images to be sent \
can be resized and recompressed."));
QGroupBox *groupBox = new QGroupBox(i18n("Image Properties"), this);
QGridLayout *grid2 = new QGridLayout(groupBox);
@@ -138,23 +138,23 @@
d->imagesResize->insertItem(EmailSettingsContainer::VERYBIG, i18n("Very Big \
(1280 pixels)"));
d->imagesResize->insertItem(EmailSettingsContainer::HUGE, i18n("Huge - for \
printing (1600 pixels)")); \
d->imagesResize->setCurrentIndex(EmailSettingsContainer::MEDIUM);
- QString whatsThis = i18n("<p>Select here the images size to send:</p>"
- "<p><b>%1</b>: use this if you have a very slow \
internet "
- "connection or if the target mailbox size is very \
limited.</p>"
- "<p><b>%2</b>: use this if you have a slow internet \
connection "
- "and if the target mailbox size is limited.</p>"
- "<p><b>%3</b>: this is the default value for a medium \
internet connection "
- "and a target mailbox size.</p>"
- "<p><b>%4</b>: use this if you have a high-speed \
internet connection "
- "and if the target mailbox size is not limited.</p>"
+ QString whatsThis = i18n("<p>Select the size of the images that are to be \
sent:</p>" + "<p><b>%1</b>: use this if you have a very \
slow Internet " + "connection or the target mailbox size \
is very limited.</p>" + "<p><b>%2</b>: use this if you \
have a slow Internet connection " + "and the target \
mailbox size is limited.</p>" + "<p><b>%3</b>: this is \
the default value for medium Internet connection " + \
"speed and target mailbox size.</p>" + "<p><b>%4</b>: use \
this if you have a high-speed Internet connection " + \
"and the target mailbox size is not limited.</p>"
"<p><b>%5</b>: use this if you have no size or speed \
restrictions.</p>"
- "<p><b>%6</b>: use this only for printing \
purpose.</p>",
- i18n("very small (320 pixels)"),
- i18n("small (640 pixels)"),
- i18n("medium (800 pixels)"),
- i18n("big (1024 pixels)"),
- i18n("very big (1280 pixels)"),
- i18n("huge - for printing (1600 pixels)"));
+ "<p><b>%6</b>: use this only for printing \
purposes.</p>", + i18n("Very Small (320 pixels)"),
+ i18n("Small (640 pixels)"),
+ i18n("Medium (800 pixels)"),
+ i18n("Big (1024 pixels)"),
+ i18n("Very Big (1280 pixels)"),
+ i18n("Huge - for printing (1600 pixels)"));
d->imagesResize->setWhatsThis(whatsThis);
@@ -167,15 +167,15 @@
d->imagesFormat->insertItem(EmailSettingsContainer::JPEG, "JPEG");
d->imagesFormat->insertItem(EmailSettingsContainer::PNG, "PNG");
d->imagesFormat->setCurrentIndex(EmailSettingsContainer::JPEG);
- whatsThis = i18n("<p>Select here the images files format to send.</p>");
- whatsThis = whatsThis + i18n("<p><b>JPEG</b>: The Joint Photographic Experts \
Group's file format "
- "is a good Web file format but it uses lossy compression.</p>"
+ whatsThis = i18n("<p>Select the file format of the image files to be \
sent.</p>"); + whatsThis = whatsThis + i18n("<p><b>JPEG</b>: The Joint \
Photographic Experts Group file format " + "is a good web file format \
but it uses lossy compression.</p>"
"<p><b>PNG</b>: the Portable Network Graphics format is an \
extensible file format for "
"the lossless, portable, well-compressed storage of raster images. \
PNG provides a "
"patent-free replacement for GIF and can also replace many common \
uses of TIFF. "
"PNG is designed to work well in online viewing applications, such \
as the World Wide Web, "
"so it is fully streamable with a progressive display option. Also, \
PNG can store gamma "
- "and chromaticity data for improved color matching on heterogeneous \
platforms.</p>"); + "and chromaticity data for improved color-matching \
on heterogeneous platforms.</p>"); d->imagesFormat->setWhatsThis(whatsThis);
d->labelImagesFormat = new QLabel(i18n("Image file format:"), groupBox);
@@ -187,7 +187,7 @@
d->imageCompression->setRange(1, 100, 1);
d->imageCompression->setValue(75);
d->imageCompression->setLabel(i18n("Image quality:"), Qt::AlignLeft | \
Qt::AlignVCenter);
- whatsThis = i18n("<p>The new compression value of JPEG images to send:</p>");
+ whatsThis = i18n("<p>The new compression value of JPEG images to be sent:</p>");
whatsThis = whatsThis + i18n("<p><b>1</b>: very high compression<br/>"
"<b>25</b>: high compression<br/>"
"<b>50</b>: medium compression<br/>"
--- trunk/extragear/graphics/kipi-plugins/sendimages/imageresize.cpp #949780:949781
@@ -184,7 +184,7 @@
if (!fi.exists() || !fi.isReadable())
{
- err = i18n("Error in opening input file");
+ err = i18n("Error opening input file");
return false;
}
@@ -192,7 +192,7 @@
if (!tmp.exists() || !tmp.isWritable())
{
- err = i18n("Error in opening temporary folder");
+ err = i18n("Error opening temporary folder");
return false;
}
@@ -241,7 +241,7 @@
if ( scaledImg.width() != w || scaledImg.height() != h )
{
- err = i18n("Cannot resizing image. Aborting.");
+ err = i18n("Cannot resize image. Aborting.");
return false;
}
--- trunk/extragear/graphics/kipi-plugins/sendimages/sendimages.cpp #949780:949781
@@ -119,7 +119,7 @@
d->settings.tempPath = tmpDir.name();
d->progressDlg = new KIPIPlugins::BatchProgressDialog(kapp->activeWindow(),
- i18n("E-mail images"));
+ i18n("Email images"));
connect(d->progressDlg, SIGNAL(cancelClicked()),
this, SLOT(slotCancel()));
@@ -176,14 +176,14 @@
d->attachementFiles.append(emailUrl);
d->settings.setEmailUrl(orgUrl, emailUrl);
- QString text = i18n("%1 resized succesfully", orgUrl.fileName());
+ QString text = i18n("%1 resized successfully", orgUrl.fileName());
d->progressDlg->addedAction(text, KIPIPlugins::SuccessMessage);
}
void SendImages::slotFailedResize(const KUrl& orgUrl, const QString& error, int \
percent) {
d->progressDlg->setProgress((int)(80.0*(percent/100.0)), 100);
- QString text = i18n("Failed to resize %1 : %2", orgUrl.fileName(), error);
+ QString text = i18n("Failed to resize %1: %2", orgUrl.fileName(), error);
d->progressDlg->addedAction(text, KIPIPlugins::ErrorMessage);
d->failedResizedImages.append(orgUrl);
@@ -253,7 +253,7 @@
propertiesFile.close();
d->attachementFiles.append(propertiesFile.fileName());
- d->progressDlg->addedAction(i18n("Images properties file done"), \
KIPIPlugins::SuccessMessage); + d->progressDlg->addedAction(i18n("Image \
properties file done"), KIPIPlugins::SuccessMessage); }
}
@@ -374,7 +374,7 @@
QString::null, // Message Body File.
stringFileList); // Images attachments (+ image \
properties file).
- d->progressDlg->addedAction(i18n("Starting default KDE e-mail \
program..."), KIPIPlugins::StartingMessage); + \
d->progressDlg->addedAction(i18n("Starting default KDE email program..."), \
KIPIPlugins::StartingMessage);
agentInvoked = true;
break;
@@ -555,8 +555,8 @@
connect(d->progressDlg, SIGNAL(cancelClicked()),
this, SLOT(slotCleanUp()));
- d->progressDlg->addedAction(i18n("After to have sent your images by e-mail..."), \
KIPIPlugins::WarningMessage);
- d->progressDlg->addedAction(i18n("Press 'Close' button to clean-up temporary \
files"), KIPIPlugins::WarningMessage); + d->progressDlg->addedAction(i18n("After \
having sent your images by email..."), KIPIPlugins::WarningMessage); + \
d->progressDlg->addedAction(i18n("Press 'Close' button to clean up temporary files"), \
KIPIPlugins::WarningMessage); }
void SendImages::slotCleanUp()
--- trunk/extragear/graphics/kipi-plugins/sendimages/sendimagesdialog.cpp \
#949780:949781 @@ -90,7 +90,7 @@
{
d->urls = urls;
- setCaption(i18n("E-Mail Images Options"));
+ setCaption(i18n("Email Images Options"));
setButtons(Help|Ok|Cancel);
setDefaultButton(Ok);
setFaceType(List);
@@ -100,7 +100,7 @@
d->imagesPage = new ImagesPage(this, iface);
d->page_images = addPage(d->imagesPage, i18n("Images"));
- d->page_images->setHeader(i18n("Images List"));
+ d->page_images->setHeader(i18n("Image List"));
d->page_images->setIcon(KIcon("image-jp2"));
d->imagesPage->slotAddImages(urls);
@@ -115,7 +115,7 @@
d->about = new KIPIPlugins::KPAboutData(ki18n("Send Images"),
0,
KAboutData::License_GPL,
- ki18n("A Plugin to e-mail pictures"),
+ ki18n("A plugin to email pictures"),
ki18n("(c) 2003-2009, Gilles Caulier"));
d->about->addAuthor(ki18n("Gilles Caulier"), ki18n("Author and Maintainer"),
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic