Use qsTr instead of i18n
We can't depend on KI18n, so we can't assume i18n() is present. Instead, use qsTr, which comes with Qt and is what we use for translation in Tier-1 frameworks.
We can't depend on KI18n, so we can't assume i18n() is present. Instead, use qsTr, which comes with Qt and is what we use for translation in Tier-1 frameworks.