Commit bfc05e77 authored by Kurt Hindenburg's avatar Kurt Hindenburg
Browse files

Add i18nc KUIT and context

parent 69171170
...@@ -79,7 +79,7 @@ QVariant ProfileModel::data(const QModelIndex& idx, int role) const ...@@ -79,7 +79,7 @@ QVariant ProfileModel::data(const QModelIndex& idx, int role) const
case Qt::DisplayRole: { case Qt::DisplayRole: {
return QStringLiteral("%1%2").arg( return QStringLiteral("%1%2").arg(
profile->name(), profile->name(),
ProfileManager::instance()->defaultProfile() == profile ? i18n(" (Default)") : QString()); ProfileManager::instance()->defaultProfile() == profile ? i18nc("@label:textbox Name of the current default profile", " (Default)") : QString());
} }
case Qt::DecorationRole: return QIcon::fromTheme(profile->icon()); case Qt::DecorationRole: return QIcon::fromTheme(profile->icon());
case Qt::FontRole: { case Qt::FontRole: {
......
...@@ -34,7 +34,7 @@ RenameTabWidget::RenameTabWidget(QWidget *parent) : ...@@ -34,7 +34,7 @@ RenameTabWidget::RenameTabWidget(QWidget *parent) :
QList<QColor> listColors(_ui->tabColorCombo->colors()); QList<QColor> listColors(_ui->tabColorCombo->colors());
listColors.insert(0, _colorNone); listColors.insert(0, _colorNone);
_ui->tabColorCombo->setColors(listColors); _ui->tabColorCombo->setColors(listColors);
_ui->tabColorCombo->setItemText(1, i18n("None")); _ui->tabColorCombo->setItemText(1, i18nc("@label:listbox No color selected", "None"));
connect(_ui->tabTitleEdit, &QLineEdit::textChanged, this, connect(_ui->tabTitleEdit, &QLineEdit::textChanged, this,
&Konsole::RenameTabWidget::tabTitleFormatChanged); &Konsole::RenameTabWidget::tabTitleFormatChanged);
......
Supports Markdown
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