Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
Use the correct language code for mainland chinese
Halla Rempt419677ba0622
diff --git a/libs/ui/KisWelcomePageWidget.cpp b/libs/ui/KisWelcomePageWidget.cppindex c8f74b3343..5cb2fc6859 100644--- a/libs/ui/KisWelcomePageWidget.cpp+++ b/libs/ui/KisWelcomePageWidget.cpp@@ -515,7 +515,7 @@ void KisWelcomePageWidget::setupNewsLangSelection(QMenu *newsOptionsMenu)static const std::array<Lang, 22> newsLangs = {{{QString("en"), QStringLiteral("English")},{QString("jp"), QStringLiteral("日本語")},- {QString("zh"), QStringLiteral("中文 (简体)")},+ {QString("zh-cn"), QStringLiteral("中文 (简体)")},{QString("zh-tw"), QStringLiteral("中文 (台灣正體)")},{QString("zh-hk"), QStringLiteral("廣東話 (香港)")},{QString("ca"), QStringLiteral("Català")},@@ -1039,4 +1039,4 @@ void KisWelcomePageWidget::newsStateChanged(bool hasNews)//notifyIcon and btnDismisAll should both have the same size policybtnDismisAll->setSizePolicy(sizePolicy);-}\ No newline at end of file+}