[glib/new-gsettings] Update DTD for l10n attribute
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/new-gsettings] Update DTD for l10n attribute
- Date: Thu, 15 Apr 2010 14:13:08 +0000 (UTC)
commit 6a9dd0a58e49e66c5321b7797f44a283ed9b1edb
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Apr 15 10:10:03 2010 -0400
Update DTD for l10n attribute
gio/gsettings.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/gio/gsettings.c b/gio/gsettings.c
index f408f2a..6970079 100644
--- a/gio/gsettings.c
+++ b/gio/gsettings.c
@@ -75,10 +75,7 @@
* <!ELEMENT default (#PCDATA) >
* <!-- the presence of the l10n attribute marks a default value for
* translation, its value is the gettext category to use -->
- * <!ATTLIST default l10n (ctype|numeric|time|collate|
- * monetary|messages|all|paper|
- * name|address|telephone|
- * measurement|identification) #IMPLIED >
+ * <!ATTLIST default l10n (messages|time) #IMPLIED >
*
* <!ELEMENT summary (#PCDATA) >
* <!ELEMENT description (#PCDATA) >
@@ -679,7 +676,7 @@ g_settings_get_value (GSettings *settings,
{
const gchar *category = g_variant_get_string (value, NULL);
- if (strcmp (category, "message") == 0)
+ if (strcmp (category, "messages") == 0)
lc_category = LC_MESSAGES;
else if (strcmp (category, "time") == 0)
lc_category = LC_TIME;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]