[gnome-settings-daemon/gnome-3-6] color: Set the default profile locale to be en_US, not EN_us



commit 288b03ef149b90abde5d4a969e71b67c099ee45f
Author: Richard Hughes <richard hughsie com>
Date:   Wed Mar 20 15:03:54 2013 +0000

    color: Set the default profile locale to be en_US, not EN_us
    
    NOTE: This is just the default value, and our tools only ever read the first
    Unicode entry. When applications are modified to display the correct translation
    for the locale, it'll be important to match the correct language and country values.

 plugins/color/gsd-color-manager.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/color/gsd-color-manager.c b/plugins/color/gsd-color-manager.c
index 22d5c0d..4fae1e9 100644
--- a/plugins/color/gsd-color-manager.c
+++ b/plugins/color/gsd-color-manager.c
@@ -457,7 +457,7 @@ _cmsWriteTagTextAscii (cmsHPROFILE lcms_profile,
 {
         cmsBool ret;
         cmsMLU *mlu = cmsMLUalloc (0, 1);
-        cmsMLUsetASCII (mlu, "EN", "us", text);
+        cmsMLUsetASCII (mlu, "en", "US", text);
         ret = cmsWriteTag (lcms_profile, sig, mlu);
         cmsMLUfree (mlu);
         return ret;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]