Commit 8453f1af authored by Christoph Cullmann's avatar Christoph Cullmann 🐮
Browse files

bring back proper translation catalog settings

parent 8bb61900
Pipeline #186129 failed with stage
in 5 minutes and 53 seconds
......@@ -98,6 +98,11 @@ int main(int argc, char **argv)
SingleApplication app(argc, argv, true);
app.setApplicationName(QStringLiteral("kate"));
/**
* Connect application with translation catalogs, Kate & KWrite share the same one
*/
KLocalizedString::setApplicationDomain("kate");
/**
* construct about data for Kate
*/
......
......@@ -73,6 +73,11 @@ extern "C" Q_DECL_EXPORT int main(int argc, char **argv)
QApplication app(argc, argv);
app.setApplicationName(QStringLiteral("kwrite"));
/**
* Connect application with translation catalogs, Kate & KWrite share the same one
*/
KLocalizedString::setApplicationDomain("kate");
/**
* then use i18n and co
*/
......
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