Use i18n is a more KDE-like manner, other wise debug builds of kdelibs produce (I18N_ARGUMENT_MISSING)

BUG: 254
This commit is contained in:
craig.p.drummond
2013-07-18 14:52:45 +00:00
committed by craig.p.drummond
parent 7b7f35aa95
commit f0bad94c9c
46 changed files with 357 additions and 259 deletions

View File

@@ -37,13 +37,13 @@ static int isIfaceType(const QNetworkInterface &iface, const QString &prefix)
static QString displayName(const QNetworkInterface &iface)
{
if (iface.name()=="lo") {
return i18n("Local loopback (%1)").arg(iface.name());
return i18n("Local loopback (%1)", iface.name());
}
if (isIfaceType(iface, "eth")) {
return i18n("Wired (%1)").arg(iface.name());
return i18n("Wired (%1)", iface.name());
}
if (isIfaceType(iface, "wlan")) {
return i18n("Wireless (%1)").arg(iface.name());
return i18n("Wireless (%1)", iface.name());
}
return iface.name();
}