[gnome-settings-daemon/gnome-3-4] 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-4] color: Set the default profile locale to be en_US, not EN_us
- Date: Thu, 21 Mar 2013 15:44:52 +0000 (UTC)
commit 637b3a94ec2f8538a28fce56c74ea250f4c1c5e7
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 28fbdae..543c6bc 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]