summaryrefslogtreecommitdiff
path: root/src/trg-cell-renderer-priority.c
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-03-06 21:39:14 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-03-06 21:39:14 +0000
commitc8f532bd4192bc3d5a8dfda1b1db943870475658 (patch)
tree22e6f6a88c86b8bd029fadfbf82caa0adc432f0e /src/trg-cell-renderer-priority.c
parent333b26cbd471c2fb60cc0bdd6f37ca0bf5267c0d (diff)
all (I hope) strings in _(string) macro for localisation
Diffstat (limited to 'src/trg-cell-renderer-priority.c')
-rw-r--r--src/trg-cell-renderer-priority.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/trg-cell-renderer-priority.c b/src/trg-cell-renderer-priority.c
index 77fe4f9..eb16580 100644
--- a/src/trg-cell-renderer-priority.c
+++ b/src/trg-cell-renderer-priority.c
@@ -18,6 +18,7 @@
*/
#include <stdint.h>
+#include <glib/gi18n.h>
#include <gtk/gtk.h>
#include "trg-cell-renderer-priority.h"
@@ -68,11 +69,11 @@ trg_cell_renderer_priority_set_property(GObject * object,
if (property_id == PROP_PRIORITY_VALUE) {
priv->priority_value = g_value_get_int64(value);
if (priv->priority_value == T_PRIORITY_LOW) {
- g_object_set(object, "text", "Low", NULL);
+ g_object_set(object, "text", _("Low"), NULL);
} else if (priv->priority_value == T_PRIORITY_HIGH) {
- g_object_set(object, "text", "High", NULL);
+ g_object_set(object, "text", _("High"), NULL);
} else {
- g_object_set(object, "text", "Normal", NULL);
+ g_object_set(object, "text", _("Normal"), NULL);
}
} else {
G_OBJECT_WARN_INVALID_PROPERTY_ID(object, property_id, pspec);