diff options
author | Ken Moore <moorekou@gmail.com> | 2015-12-01 16:44:32 -0500 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2015-12-01 16:44:32 -0500 |
commit | 2f521da9aa36926f5dc451a82ab68fd98d04aefd (patch) | |
tree | 77ded8c753cf87708d341880e8e38325a622b8c9 /libLumina/LuminaUtils.h | |
parent | Add a link to the Lumina IRC channel in the lumina-info utility, and also cre... (diff) | |
download | lumina-2f521da9aa36926f5dc451a82ab68fd98d04aefd.tar.gz lumina-2f521da9aa36926f5dc451a82ab68fd98d04aefd.tar.bz2 lumina-2f521da9aa36926f5dc451a82ab68fd98d04aefd.zip |
Fix up the loading of locales through the StartMenu/Session. Now it will properly make the locale changes *if* it could properly load the locale (ensuring consistency between system/session).
Diffstat (limited to 'libLumina/LuminaUtils.h')
-rw-r--r-- | libLumina/LuminaUtils.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libLumina/LuminaUtils.h b/libLumina/LuminaUtils.h index 90b07962..7b35b09d 100644 --- a/libLumina/LuminaUtils.h +++ b/libLumina/LuminaUtils.h @@ -63,6 +63,7 @@ public: //Other localization shortcuts static QStringList knownLocales(); //Note: This only lists locales known to Lumina (so the i18n files need to be installed) static void setLocaleEnv(QString lang, QString msg="", QString time="", QString num="" ,QString money="",QString collate="", QString ctype=""); + static QString currentLocale(); //Number format conversions static double DisplaySizeToBytes(QString num); //Turn a display size (like 50M or 50KB) into a double for calculations (bytes) |