QGroupBox* textBox = new QGroupBox(i18nc("@title:group", "Text"), this);
textBox->setSizePolicy(sizePolicy);
- QLabel* fontLabel = new QLabel(i18n("Font:"), textBox);
+ QLabel* fontLabel = new QLabel(i18nc("@label:listbox", "Font:"), textBox);
m_fontRequester = new KFontRequester(textBox);
QHBoxLayout* textLayout = new QHBoxLayout(textBox);
QGroupBox* textBox = new QGroupBox(i18nc("@title:group", "Text"), this);
textBox->setSizePolicy(sizePolicy);
- QLabel* fontLabel = new QLabel(i18n("Font:"), textBox);
+ QLabel* fontLabel = new QLabel(i18nc("@label:listbox", "Font:"), textBox);
m_fontRequester = new KFontRequester(textBox);
QHBoxLayout* textLayout = new QHBoxLayout(textBox);
hLayout->setMargin(0);
hLayout->addSpacing(gap);
- m_filter = new QLabel(i18n("Filter:"), this);
+ m_filter = new QLabel(i18nc("@label:textbox", "Filter:"), this);
hLayout->addWidget(m_filter);
hLayout->addSpacing(KDialog::spacingHint());
KHBox* homeUrlBox = new KHBox(homeBox);
homeUrlBox->setSpacing(spacing);
- new QLabel(i18n("Location:"), homeUrlBox);
+ new QLabel(i18nc("@label:textbox", "Location:"), homeUrlBox);
m_homeUrl = new QLineEdit(homeUrlBox);
QPushButton* selectHomeUrlButton = new QPushButton(KIcon("folder-open"), QString(), homeUrlBox);
// create 'File Previews' box
QGroupBox* previewBox = new QGroupBox(i18nc("@title:group", "File Previews"), this);
- QLabel* maxFileSize = new QLabel(i18n("Maximum file size:"), previewBox);
+ QLabel* maxFileSize = new QLabel(i18nc("@label:slider", "Maximum file size:"), previewBox);
KHBox* vBox = new KHBox(previewBox);
vBox->setSpacing(spacing);
KHBox* iconSizeHBox = new KHBox(iconSizeBox);
iconSizeHBox->setSpacing(spacing);
- new QLabel(i18nc("Size", "Small"), iconSizeHBox);
+ new QLabel(i18nc("@label:slider 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(i18nc("Size", "Large"), iconSizeHBox);
+ new QLabel(i18nc("@label:slider Size", "Large"), iconSizeHBox);
m_iconSizeViewer = new PixmapViewer(iconSizeBox, PixmapViewer::SizeTransition);
m_iconSizeViewer->setMinimumWidth(K3Icon::SizeEnormous);
KHBox* previewSizeHBox = new KHBox(previewSizeBox);
previewSizeHBox->setSpacing(spacing);
- new QLabel(i18nc("Size", "Small"), previewSizeHBox);
+ new QLabel(i18nc("@label:slider 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(i18nc("Size", "Large"), previewSizeHBox);
+ new QLabel(i18nc("@label:slider Size", "Large"), previewSizeHBox);
m_previewSizeViewer = new PixmapViewer(previewSizeBox, PixmapViewer::SizeTransition);
m_previewSizeViewer->setMinimumWidth(K3Icon::SizeEnormous);
QGroupBox* textGroup = new QGroupBox(i18nc("@title:group", "Text"), this);
textGroup->setSizePolicy(sizePolicy);
- QLabel* fontLabel = new QLabel(i18n("Font:"), textGroup);
+ QLabel* fontLabel = new QLabel(i18nc("@label:listbox", "Font:"), textGroup);
m_fontRequester = new KFontRequester(textGroup);
- QLabel* textlinesCountLabel = new QLabel(i18n("Number of lines:"), textGroup);
+ QLabel* textlinesCountLabel = new QLabel(i18nc("@label:textbox", "Number of lines:"), textGroup);
m_textlinesCountBox = new QSpinBox(1, 5, 1, textGroup);
- QLabel* textWidthLabel = new QLabel(i18n("Text width:"), textGroup);
+ QLabel* textWidthLabel = new QLabel(i18nc("@label:listbox", "Text width:"), textGroup);
m_textWidthBox = new QComboBox(textGroup);
m_textWidthBox->addItem(i18nc("Text width", "Small"));
m_textWidthBox->addItem(i18nc("Text width", "Medium"));
QGroupBox* gridGroup = new QGroupBox(i18nc("@title:group", "Grid"), this);
gridGroup->setSizePolicy(sizePolicy);
- QLabel* arrangementLabel = new QLabel(i18n("Arrangement:"), gridGroup);
+ QLabel* arrangementLabel = new QLabel(i18nc("@label:listbox", "Arrangement:"), gridGroup);
m_arrangementBox = new QComboBox(gridGroup);
m_arrangementBox->addItem(i18n("Left to Right"));
m_arrangementBox->addItem(i18n("Top to Bottom"));
- QLabel* gridSpacingLabel = new QLabel(i18n("Grid spacing:"), gridGroup);
+ QLabel* gridSpacingLabel = new QLabel(i18nc("@label:listbox", "Grid spacing:"), gridGroup);
m_gridSpacingBox = new QComboBox(gridGroup);
m_gridSpacingBox->addItem(i18nc("Grid spacing", "Small"));
m_gridSpacingBox->addItem(i18nc("Grid spacing", "Medium"));
QVBoxLayout* lay = new QVBoxLayout(this);
lay->setMargin(0);
QHBoxLayout* hbox = new QHBoxLayout;
- hbox->addWidget(new QLabel(i18n("Rating:"), this));
+ hbox->addWidget(new QLabel(i18nc("@label:slider", "Rating:"), this));
hbox->addStretch(1);
hbox->addWidget(d->ratingWidget);
lay->addLayout(hbox);
lay->addWidget(d->editComment);
hbox = new QHBoxLayout;
- hbox->addWidget(new QLabel(i18n("Tags:"), this));
+ hbox->addWidget(new QLabel(i18nc("@label:textbox", "Tags:"), this));
hbox->addWidget(d->tagWidget, 1);
lay->addLayout(hbox);
if (m_renameOneItem) {
const KUrl& url = items.first();
m_newName = url.fileName();
- editLabel = new QLabel(i18n("Rename the item '%1' to:", m_newName),
+ editLabel = new QLabel(i18nc("@label:textbox", "Rename the item <filename>%1</filename> to:", m_newName),
page);
} else {
- m_newName = i18n("New name #");
+ m_newName = i18nc("@info:status", "New name #");
editLabel = new QLabel(i18np("Rename the %1 selected item to:",
"Rename the %1 selected items to:", itemCount),
page);
topLayout->addWidget(m_lineEdit);
if (!m_renameOneItem) {
- QLabel* infoLabel = new QLabel(i18n("(# will be replaced by ascending numbers)"), page);
+ QLabel* infoLabel = new QLabel(i18nc("@info", "(# will be replaced by ascending numbers)"), page);
topLayout->addWidget(infoLabel);
}
}
propsBox = new QGroupBox(i18nc("@title:group", "Properties"), main);
}
- QLabel* viewModeLabel = new QLabel(i18n("View mode:"), propsBox);
+ QLabel* viewModeLabel = new QLabel(i18nc("@label:listbox", "View mode:"), propsBox);
m_viewMode = new QComboBox(propsBox);
m_viewMode->addItem(KIcon("fileview-icon"), i18n("Icons"));
m_viewMode->addItem(KIcon("fileview-detailed"), i18n("Details"));
m_viewMode->setCurrentIndex(index);
const bool iconsViewEnabled = (index == DolphinView::IconsView);
- QLabel* sortingLabel = new QLabel(i18n("Sorting:"), propsBox);
+ QLabel* sortingLabel = new QLabel(i18nc("@label:listbox", "Sorting:"), propsBox);
QWidget* sortingBox = new QWidget(propsBox);
m_sortOrder = new QComboBox(sortingBox);
sortingLayout->addWidget(m_sorting);
sortingBox->setLayout(sortingLayout);
- QLabel* additionalInfoLabel = new QLabel(i18n("Additional information:"), propsBox);
+ QLabel* additionalInfoLabel = new QLabel(i18nc("@label:listbox", "Additional information:"), propsBox);
m_additionalInfo = new QComboBox(propsBox);
m_additionalInfo->addItem(i18n("No Information"), KFileItemDelegate::NoInformation);
m_additionalInfo->addItem(i18n("Type"), KFileItemDelegate::FriendlyMimeType);
QWidget* main = new QWidget();
QVBoxLayout* topLayout = new QVBoxLayout();
- m_label = new QLabel(i18n("Counting folders: %1", 0), main);
+ m_label = new QLabel(i18nc("@info:progress", "Counting folders: %1", 0), main);
m_progressBar = new QProgressBar(main);
m_progressBar->setMinimum(0);
m_progressBar->setMaximum(0);