aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
Diffstat (limited to 'e-util')
-rw-r--r--e-util/ChangeLog7
-rw-r--r--e-util/e-util-labels.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog
index 6caf6c2b8b..461861d7c3 100644
--- a/e-util/ChangeLog
+++ b/e-util/ChangeLog
@@ -1,3 +1,10 @@
+2008-11-12 Milan Crha <mcrha@redhat.com>
+
+ ** Fix for bug #559810
+
+ * e-util-labels.c: (e_util_labels_parse):
+ Do not localize empty label names, also localize them only first time.
+
2008-11-04 Matthew Barnes <mbarnes@redhat.com>
* e-non-intrusive-error-dialog.c:
diff --git a/e-util/e-util-labels.c b/e-util/e-util-labels.c
index 359157a25f..da32f233c5 100644
--- a/e-util/e-util-labels.c
+++ b/e-util/e-util-labels.c
@@ -79,7 +79,7 @@ e_util_labels_parse (GConfClient *client)
/* Needed for Backward Compatibility */
if (num < LABEL_DEFAULTS_NUM) {
- label->name = g_strdup (_(buf));
+ label->name = g_strdup ((buf && *buf) ? buf : _(label_defaults[num].name));
label->tag = g_strdup (label_defaults[num].tag);
num++;
} else if (!tag) {