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



commit c90023d2845bfde34e7a4d5736b134b94b217850
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 3234851..d4a7fcb 100644
--- a/plugins/color/gsd-color-manager.c
+++ b/plugins/color/gsd-color-manager.c
@@ -252,7 +252,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]