Commit 2ac0eb19 authored by Peter Penz's avatar Peter Penz
Browse files

internationalization fixes (patch submitted by Andrius Štikonas)

svn path=/trunk/KDE/kdebase/apps/; revision=676768
parent 88aecb18
......@@ -55,9 +55,9 @@ ColumnViewSettingsPage::ColumnViewSettingsPage(DolphinMainWindow* mainWindow,
QGroupBox* iconSizeBox = new QGroupBox(i18n("Icon Size"), this);
iconSizeBox->setSizePolicy(sizePolicy);
m_smallIconSize = new QRadioButton(i18n("Small"), this);
m_mediumIconSize = new QRadioButton(i18n("Medium"), this);
m_largeIconSize = new QRadioButton(i18n("Large"), this);
m_smallIconSize = new QRadioButton(i18nc("Size", "Small"), this);
m_mediumIconSize = new QRadioButton(i18nc("Size", "Medium"), this);
m_largeIconSize = new QRadioButton(i18nc("Size", "Large"), this);
QButtonGroup* iconSizeGroup = new QButtonGroup(this);
iconSizeGroup->addButton(m_smallIconSize);
......
......@@ -76,9 +76,9 @@ DetailsViewSettingsPage::DetailsViewSettingsPage(DolphinMainWindow* mainWindow,
QGroupBox* iconSizeBox = new QGroupBox(i18n("Icon Size"), this);
iconSizeBox->setSizePolicy(sizePolicy);
m_smallIconSize = new QRadioButton(i18n("Small"), this);
m_mediumIconSize = new QRadioButton(i18n("Medium"), this);
m_largeIconSize = new QRadioButton(i18n("Large"), this);
m_smallIconSize = new QRadioButton(i18nc("Size", "Small"), this);
m_mediumIconSize = new QRadioButton(i18nc("Size", "Medium"), this);
m_largeIconSize = new QRadioButton(i18nc("Size", "Large"), this);
QButtonGroup* iconSizeGroup = new QButtonGroup(this);
iconSizeGroup->addButton(m_smallIconSize);
......
......@@ -99,13 +99,13 @@ QString DolphinItemCategorizer::categoryForItem(const QModelIndex& index,
case DolphinView::SortBySize:
int fileSize = (item) ? item->size() : -1;
if (item && item->isDir()) {
retString = i18n("Folders");
retString = i18n("Folders");
} else if (fileSize < 5242880) {
retString = i18n("Small");
retString = i18nc("Size", "Small");
} else if (fileSize < 10485760) {
retString = i18n("Medium");
retString = i18nc("Size", "Medium");
} else {
retString = i18n("Big");
retString = i18nc("Size", "Big");
}
break;
}
......
......@@ -63,13 +63,13 @@ IconSizeDialog::IconSizeDialog(QWidget* parent) :
KHBox* iconSizeHBox = new KHBox(iconSizeBox);
iconSizeHBox->setSpacing(spacing);
new QLabel(i18n("Small"), iconSizeHBox);
new QLabel(i18nc("Size", "Small"), iconSizeHBox);
m_iconSizeSlider = new QSlider(0, 5, 1, 0, Qt::Horizontal, iconSizeHBox);
m_iconSizeSlider->setValue(sliderValue(settings->iconSize()));
m_iconSizeSlider->setTickmarks(QSlider::TicksBelow);
connect(m_iconSizeSlider, SIGNAL(valueChanged(int)),
this, SLOT(updateIconSize(int)));
new QLabel(i18n("Large"), iconSizeHBox);
new QLabel(i18nc("Size", "Large"), iconSizeHBox);
m_iconSizeViewer = new PixmapViewer(iconSizeBox, PixmapViewer::SizeTransition);
m_iconSizeViewer->setMinimumWidth(K3Icon::SizeEnormous);
......@@ -86,13 +86,13 @@ IconSizeDialog::IconSizeDialog(QWidget* parent) :
KHBox* previewSizeHBox = new KHBox(previewSizeBox);
previewSizeHBox->setSpacing(spacing);
new QLabel(i18n("Small"), previewSizeHBox);
new QLabel(i18nc("Size", "Small"), previewSizeHBox);
m_previewSizeSlider = new QSlider(0, 5, 1, 0, Qt::Horizontal, previewSizeHBox);
m_previewSizeSlider->setValue(sliderValue(settings->previewSize()));
m_previewSizeSlider->setTickmarks(QSlider::TicksBelow);
connect(m_previewSizeSlider, SIGNAL(valueChanged(int)),
this, SLOT(updatePreviewSize(int)));
new QLabel(i18n("Large"), previewSizeHBox);
new QLabel(i18nc("Size", "Large"), previewSizeHBox);
m_previewSizeViewer = new PixmapViewer(previewSizeBox, PixmapViewer::SizeTransition);
m_previewSizeViewer->setMinimumWidth(K3Icon::SizeEnormous);
......
......@@ -76,9 +76,9 @@ IconsViewSettingsPage::IconsViewSettingsPage(DolphinMainWindow* mainWindow,
QLabel* textWidthLabel = new QLabel(i18n("Text width:"), textGroup);
m_textWidthBox = new QComboBox(textGroup);
m_textWidthBox->addItem(i18n("Small"));
m_textWidthBox->addItem(i18n("Medium"));
m_textWidthBox->addItem(i18n("Large"));
m_textWidthBox->addItem(i18nc("Text width", "Small"));
m_textWidthBox->addItem(i18nc("Text width", "Medium"));
m_textWidthBox->addItem(i18nc("Text width", "Large"));
QGridLayout* textGroupLayout = new QGridLayout(textGroup);
textGroupLayout->addWidget(fontLabel, 0, 0);
......@@ -99,9 +99,9 @@ IconsViewSettingsPage::IconsViewSettingsPage(DolphinMainWindow* mainWindow,
QLabel* gridSpacingLabel = new QLabel(i18n("Grid spacing:"), gridGroup);
m_gridSpacingBox = new QComboBox(gridGroup);
m_gridSpacingBox->addItem(i18n("Small"));
m_gridSpacingBox->addItem(i18n("Medium"));
m_gridSpacingBox->addItem(i18n("Large"));
m_gridSpacingBox->addItem(i18nc("Grid spacing", "Small"));
m_gridSpacingBox->addItem(i18nc("Grid spacing", "Medium"));
m_gridSpacingBox->addItem(i18nc("Grid spacing", "Large"));
QGridLayout* gridGroupLayout = new QGridLayout(gridGroup);
gridGroupLayout->addWidget(arrangementLabel, 0, 0);
......
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