[gnome-settings-daemon/gnome-3-8] color: Set the default profile locale to be en_US, not EN_us
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon/gnome-3-8] color: Set the default profile locale to be en_US, not EN_us
- Date: Thu, 21 Mar 2013 15:45:17 +0000 (UTC)
commit 254cb89a0cdd1e3d687b6635cc4f0b5cc3b29e40
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 ab3f84a..456d3e0 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]