Commit 3643ff9f authored by Stephan Binner's avatar Stephan Binner

CVS_SILENT i18n style guide fixes

svn path=/trunk/kdemultimedia/juk/; revision=379155
parent 1c1149d1
......@@ -368,7 +368,7 @@ void FileRenamerWidget::createTagRows()
toggleMapper->connect(m_rows[i].enableButton, SIGNAL(toggled(bool)), SLOT(map()));
toggleMapper->setMapping(m_rows[i].enableButton, m_rows[i].category);
KPushButton *optionsButton = new KPushButton(i18n("Options..."), options);
KPushButton *optionsButton = new KPushButton(i18n("Options"), options);
mapper->connect(optionsButton, SIGNAL(clicked()), SLOT(map()));
mapper->setMapping(optionsButton, m_rows[i].category);
......@@ -379,7 +379,7 @@ void FileRenamerWidget::createTagRows()
QWidget *temp = new QWidget(m_mainFrame);
QHBoxLayout *l = new QHBoxLayout(temp);
m_folderSwitches[i] = new QCheckBox(i18n("Insert Folder Separator"), temp);
m_folderSwitches[i] = new QCheckBox(i18n("Insert folder separator"), temp);
l->addWidget(m_folderSwitches[i], 0, AlignCenter);
connect(m_folderSwitches[i], SIGNAL(toggled(bool)),
......
......@@ -52,7 +52,7 @@ GoogleFetcherDialog::GoogleFetcherDialog(const QString &name,
QHBox *imgSize = new QHBox(actionButton(User1)->parentWidget());
QLabel *label = new QLabel(imgSize);
label->setText(i18n("Image Size: "));
label->setText(i18n("Image size:"));
KComboBox *combo = new KComboBox(imgSize);
combo->insertItem(i18n("All Sizes"));
......@@ -193,18 +193,18 @@ QPixmap GoogleFetcherDialog::pixmapFromURL(const KURL &url) const
// CoverIconViewItem
////////////////////////////////////////////////////////////////////////////////
CoverIconViewItem::CoverIconViewItem(QIconView *parent, const GoogleImage &image) :
CoverIconViewItem::CoverIconViewItem(QIconView *parent, const GoogleImage &image) :
QObject(parent), KIconViewItem(parent, parent->lastItem(), image.size()), m_job(0)
{
// Set up the iconViewItem
QPixmap mainMap;
mainMap.resize(80, 80);
mainMap.fill();
setPixmap(mainMap, true, true);
// Start downloading the image.
m_job = KIO::get(image.thumbURL(), false, false);
connect(m_job, SIGNAL(result(KIO::Job *)), this, SLOT(imageResult(KIO::Job *)));
connect(m_job, SIGNAL(data(KIO::Job *, const QByteArray &)),
......@@ -237,7 +237,7 @@ void CoverIconViewItem::imageResult(KIO::Job *job)
m_job = 0; // Job has deleted itself
if(job->error())
return;
QPixmap iconImage(m_buffer);
iconImage = QImage(iconImage.convertToImage()).smoothScale(80, 80);
setPixmap(iconImage, true, true);
......
......@@ -776,7 +776,7 @@ void Playlist::slotAddCover(bool retrieveLocal)
if(retrieveLocal) {
KURL file = KFileDialog::getImageOpenURL(
":homedir", this, i18n("Select cover image file - JuK"));
":homedir", this, i18n("Select Cover Image File"));
image = QImage(file.directory() + "/" + file.fileName());
}
else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment