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

Add i18nc KUIT contexts and more explicit messages

parent c296be18
Pipeline #213670 passed with stage
in 4 minutes and 54 seconds
......@@ -44,10 +44,10 @@ SSHManagerModel::SSHManagerModel(QObject *parent)
load();
if (!m_sshConfigTopLevelItem) {
// this also sets the m_sshConfigTopLevelItem if the text is `SSH Config`.
addTopLevelItem(i18n("SSH Config"));
addTopLevelItem(i18nc("@item:inlistbox Hosts from ssh/config file", "SSH Config"));
}
if (invisibleRootItem()->rowCount() == 0) {
addTopLevelItem(i18n("Default"));
addTopLevelItem(i18nc("@item:inlistbox The default list of ssh hosts", "Default"));
}
if (QFileInfo::exists(sshDir + QStringLiteral("config"))) {
m_sshConfigWatcher.addPath(sshDir + QStringLiteral("config"));
......
  • FTR, "KUIT" (KDE User Interface Text) refers to semantic markup tags used in the text itself (when using xi18n* calls), not the context markers ;) The context markers are referred to as "UI marker". See also https://api.kde.org/frameworks/ki18n/html/prg_guide.html#good_ctxt

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