[maemo-commits] [maemo-commits] r8302 - in projects/haf/tags/hildon-libs/0.14.11-1: . hildon-widgets

From: www-data at stage.maemo.org www-data at stage.maemo.org
Date: Fri Nov 24 10:51:42 EET 2006
Author: mdk
Date: 2006-11-24 10:51:41 +0200 (Fri, 24 Nov 2006)
New Revision: 8302

Modified:
   projects/haf/tags/hildon-libs/0.14.11-1/ChangeLog
   projects/haf/tags/hildon-libs/0.14.11-1/hildon-widgets/hildon-date-editor.c
   projects/haf/tags/hildon-libs/0.14.11-1/hildon-widgets/hildon-time-editor.c
Log:
2006-11-24  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 

	* hildon-widgets/hildon-date-editor.c:
	* hildon-widgets/hildon-time-editor.c: Fixing the back logical string
	used. 



Modified: projects/haf/tags/hildon-libs/0.14.11-1/ChangeLog
===================================================================
--- projects/haf/tags/hildon-libs/0.14.11-1/ChangeLog	2006-11-24 08:50:58 UTC (rev 8301)
+++ projects/haf/tags/hildon-libs/0.14.11-1/ChangeLog	2006-11-24 08:51:41 UTC (rev 8302)
@@ -1,3 +1,9 @@
+2006-11-24  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
+
+	* hildon-widgets/hildon-date-editor.c:
+	* hildon-widgets/hildon-time-editor.c: Fixing the back logical string
+	used. 
+
 2006-11-23  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
 
 	[0.14.10-1 release]

Modified: projects/haf/tags/hildon-libs/0.14.11-1/hildon-widgets/hildon-date-editor.c
===================================================================
--- projects/haf/tags/hildon-libs/0.14.11-1/hildon-widgets/hildon-date-editor.c	2006-11-24 08:50:58 UTC (rev 8301)
+++ projects/haf/tags/hildon-libs/0.14.11-1/hildon-widgets/hildon-date-editor.c	2006-11-24 08:51:41 UTC (rev 8302)
@@ -56,6 +56,7 @@
 
 #include<libintl.h>
 #define _(string) dgettext(PACKAGE, string)
+#define c_(String) dgettext("hildon-common-strings", String)
 
 #define ENTRY_BORDERS 11
 #define DATE_EDITOR_HEIGHT 30
@@ -1167,7 +1168,7 @@
                      priv->min_year, priv->max_year);
       break;
     case INVALID_CHAR:
-      gtk_infoprint(NULL, _("ckct_ib_illegal_character"));
+      gtk_infoprint(NULL, c_("ckct_ib_illegal_character"));
       break;
     case INVALID_DATE:
       gtk_infoprint(NULL, _("ckct_ib_date_does_not_exist"));

Modified: projects/haf/tags/hildon-libs/0.14.11-1/hildon-widgets/hildon-time-editor.c
===================================================================
--- projects/haf/tags/hildon-libs/0.14.11-1/hildon-widgets/hildon-time-editor.c	2006-11-24 08:50:58 UTC (rev 8301)
+++ projects/haf/tags/hildon-libs/0.14.11-1/hildon-widgets/hildon-time-editor.c	2006-11-24 08:51:41 UTC (rev 8302)
@@ -63,6 +63,7 @@
 #include "hildon-libs-enum-types.h"
 
 #define _(String) dgettext(PACKAGE, String)
+#define c_(String) dgettext("hildon-common-strings", String)
 
 #define HILDON_TIME_EDITOR_GET_PRIVATE(obj) \
     (G_TYPE_INSTANCE_GET_PRIVATE ((obj), \
@@ -1731,7 +1732,7 @@
        (only digits and control characters are allowed )*/
     if (!g_unichar_isdigit(event->keyval) && !(event->keyval & 0xF000)) {
         g_signal_emit(editor, time_editor_signals[TIME_ERROR], 0, INVALID_CHAR, &r);
-        hildon_banner_show_information(widget, NULL, _("ckct_ib_illegal_character"));
+        hildon_banner_show_information(widget, NULL, c_("ckct_ib_illegal_character"));
         return TRUE;
     }
 


More information about the maemo-commits mailing list