Add i18nc KUIT contexts and more explicit messages

wilder
Kurt Hindenburg 4 years ago
parent c296be188c
commit ecddbd1142
  1. 4
      src/plugins/SSHManager/sshmanagermodel.cpp

@ -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"));

Loading…
Cancel
Save