https://bugs.kde.org/show_bug.cgi?id=416670

Wolfgang Bauer <wba...@tmo.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wba...@tmo.at

--- Comment #8 from Wolfgang Bauer <wba...@tmo.at> ---
(In reply to Kai Uwe Broulik from comment #6)
> Looks like you're missing `LC_TIME`
AFAICS, startplasma doesn't handle LC_TIME...

void runStartupConfig()
{
    //export LC_* variables set by kcmshell5 formats into environment
    //so it can be picked up by QLocale and friends.
    KConfig config(QStringLiteral("plasma-localerc"));
    KConfigGroup formatsConfig = KConfigGroup(&config, "Formats");

    const auto lcValues = {
        "LANG", "LC_NUMERIC", "LC_MONETARY", "LC_MEASUREMENT", "LC_COLLATE",
"LC_CTYPE"
    };
    for (auto lc : lcValues) {
        const QString value = formatsConfig.readEntry(lc, QString());
        if (!value.isEmpty()) {
            qputenv(lc, value.toUtf8());
        }
    }
(https://cgit.kde.org/plasma-workspace.git/tree/startkde/startplasma.cpp)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to