Part of N#11129,
authorLuc Pionchon <luc.pionchon@nokia.com>
Tue, 13 Sep 2005 15:06:53 +0000 (15:06 +0000)
committerLuc Pionchon <luc.pionchon@nokia.com>
Tue, 13 Sep 2005 15:06:53 +0000 (15:06 +0000)
* po/en_GB.po: Added "Ckct_wi_grid_no_items"

       * hildon-widgets/hildon-grid.c
       (hildon_grid_class_init, hildon_grid_init): Replaced default empty
       label by logical name "Ckct_wi_grid_no_items"

ChangeLog
hildon-widgets/hildon-grid.c
po/en_GB.po

index 04bd49b..3e22cb2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2005-09-13  Luc Pionchon  <luc.pionchon@nokia.com>
+
+       Part of N#11129,
+
+       * po/en_GB.po: Added "Ckct_wi_grid_no_items"
+
+       * hildon-widgets/hildon-grid.c
+       (hildon_grid_class_init, hildon_grid_init): Replaced default empty
+       label by logical name "Ckct_wi_grid_no_items"
+
+
 2005-08-31  Luc Pionchon  <luc.pionchon@nokia.com>
 
        * po/en_GB.po (ecdg_ti_verify_password): translation update.
index be506b2..9ce4e20 100644 (file)
@@ -284,7 +284,7 @@ static void hildon_grid_class_init(HildonGridClass * klass)
         g_param_spec_string("empty_label",
                             "Empty label",
                             "Label to show when grid has no items",
-                            "", G_PARAM_READWRITE));
+                            _("Ckct_wi_grid_no_items"), G_PARAM_READWRITE));
 
     gtk_widget_class_install_style_property(widget_class,
         g_param_spec_uint("item_width",
@@ -632,7 +632,7 @@ static void hildon_grid_init(HildonGrid * grid)
     priv->focus_index = -1;
 
     priv->scrollbar = gtk_vscrollbar_new(NULL);
-    priv->empty_label = gtk_label_new("");
+    priv->empty_label = gtk_label_new(_("Ckct_wi_grid_no_items"));
     priv->style = NULL;
 
     priv->area_height = 1;
index 827772d..fb60710 100644 (file)
@@ -524,6 +524,9 @@ msgstr ":"
 msgid "Ecdg_ti_time_picker_separator"
 msgstr ":"
 
+msgid "Ckct_wi_grid_no_items"
+msgstr "No items"
+
 # determines the first day of the week (0 for Sunday, 1 for Monday etc.)
 msgid "week_start"
 msgstr "0"