gnome-games r8568 - trunk/gnotravex
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-games r8568 - trunk/gnotravex
- Date: Wed, 14 Jan 2009 23:41:59 +0000 (UTC)
Author: chpe
Date: Wed Jan 14 23:41:59 2009
New Revision: 8568
URL: http://svn.gnome.org/viewvc/gnome-games?rev=8568&view=rev
Log:
Add message context to these too-generic message IDs.
Modified:
trunk/gnotravex/gnotravex.c
Modified: trunk/gnotravex/gnotravex.c
==============================================================================
--- trunk/gnotravex/gnotravex.c (original)
+++ trunk/gnotravex/gnotravex.c Wed Jan 14 23:41:59 2009
@@ -64,7 +64,16 @@
static const char *translatable_number[10] = {
/* Translators: in-game numbers, replaceable with single-character local ideograms */
- N_("0"), N_("1"), N_("2"), N_("3"), N_("4"), N_("5"), N_("6"), N_("7"), N_("8"), N_("9")
+ NC_("number", "0"),
+ NC_("number", "1"),
+ NC_("number", "2"),
+ NC_("number", "3"),
+ NC_("number", "4"),
+ NC_("number", "5"),
+ NC_("number", "6"),
+ NC_("number", "7"),
+ NC_("number", "8"),
+ NC_("number", "9")
};
static GtkWidget *window;
@@ -852,7 +861,7 @@
gchar *text;
cairo_text_extents_t extents;
- text = _(translatable_number[number]);
+ text = g_dpgettext2 (NULL, "number", translatable_number[number]);
cairo_set_source_rgba (context, colour[0] / 255.0, colour[1] / 255.0,
colour[2] / 255.0, colour[3] / 255.0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]