cheese r684 - in trunk: . po src



Author: dgsiegel
Date: Fri Apr 25 17:26:18 2008
New Revision: 684
URL: http://svn.gnome.org/viewvc/cheese?rev=684&view=rev

Log:
make the 3 2 1 on the countdown widget translatable


Modified:
   trunk/ChangeLog
   trunk/po/POTFILES.in
   trunk/src/cheese-countdown.c

Modified: trunk/po/POTFILES.in
==============================================================================
--- trunk/po/POTFILES.in	(original)
+++ trunk/po/POTFILES.in	Fri Apr 25 17:26:18 2008
@@ -7,6 +7,7 @@
 data/cheese-prefs.ui
 [type: gettext/glade]data/cheese.ui
 src/cheese-effect-chooser.c
+src/cheese-countdown.c
 src/cheese-no-camera.c
 src/cheese-window.c
 src/cheese.c

Modified: trunk/src/cheese-countdown.c
==============================================================================
--- trunk/src/cheese-countdown.c	(original)
+++ trunk/src/cheese-countdown.c	Fri Apr 25 17:26:18 2008
@@ -24,6 +24,7 @@
 #endif
 
 #include <stdlib.h>
+#include <glib/gi18n.h>
 #include <gtk/gtk.h>
 #include <librsvg/rsvg.h>
 #include <librsvg/rsvg-cairo.h>
@@ -337,7 +338,11 @@
   cairo_set_source_rgba (pContext, priv->text[R], priv->text[G], priv->text[B], fAlpha3);
   cairo_move_to (pContext, (gdouble) iOffsetX, (gdouble) iOffsetY);
   iOffsetX += do_text (pContext,
-                       "3 ",
+                       /*
+                       	* this is the "3" on the countdown widget.
+                       	* please leave the space after the number
+                       	*/
+                       _("3 "),
                        24 * PANGO_SCALE,
                        "Bitstream Charter",
                        PANGO_WEIGHT_BOLD,
@@ -348,7 +353,11 @@
   cairo_set_source_rgba (pContext, priv->text[R], priv->text[G], priv->text[B], fAlpha2);
   cairo_move_to (pContext, (gdouble) iOffsetX, (gdouble) iOffsetY);
   iOffsetX += do_text (pContext,
-                       "2 ",
+                       /*
+                       	* this is the "2" on the countdown widget.
+                       	* please leave the space after the number
+                       	*/
+                       _("2 "),
                        24 * PANGO_SCALE,
                        "Bitstream Charter",
                        PANGO_WEIGHT_BOLD,
@@ -359,7 +368,11 @@
   cairo_set_source_rgba (pContext, priv->text[R], priv->text[G], priv->text[B], fAlpha1);
   cairo_move_to (pContext, (gdouble) iOffsetX, (gdouble) iOffsetY);
   iOffsetX += do_text (pContext,
-                       "1 ",
+                       /*
+                       	* this is the "1" on the countdown widget.
+                       	* please leave the space after the number
+                       	*/
+                       _("1 "),
                        24 * PANGO_SCALE,
                        "Bitstream Charter",
                        PANGO_WEIGHT_BOLD,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]