r16062 - gnucash/trunk/src - I18n improvements: Add comments for translators
Christian Stimming
cstim at cvs.gnucash.org
Tue May 8 16:33:49 EDT 2007
Author: cstim
Date: 2007-05-08 16:33:48 -0400 (Tue, 08 May 2007)
New Revision: 16062
Trac: http://svn.gnucash.org/trac/changeset/16062
Modified:
gnucash/trunk/src/gnome-utils/gnc-dense-cal.c
gnucash/trunk/src/gnome-utils/gnc-tree-view-sx-list.c
gnucash/trunk/src/gnome/glade/print.glade
gnucash/trunk/src/gnome/gnc-plugin-basic-commands.c
Log:
I18n improvements: Add comments for translators
Modified: gnucash/trunk/src/gnome/glade/print.glade
===================================================================
--- gnucash/trunk/src/gnome/glade/print.glade 2007-05-08 20:28:36 UTC (rev 16061)
+++ gnucash/trunk/src/gnome/glade/print.glade 2007-05-08 20:33:48 UTC (rev 16062)
@@ -941,7 +941,7 @@
<child>
<widget class="GtkLabel" id="label847681">
<property name="visible">True</property>
- <property name="label" translatable="yes"> </property>
+ <property name="label" translatable="no"> </property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
Modified: gnucash/trunk/src/gnome/gnc-plugin-basic-commands.c
===================================================================
--- gnucash/trunk/src/gnome/gnc-plugin-basic-commands.c 2007-05-08 20:28:36 UTC (rev 16061)
+++ gnucash/trunk/src/gnome/gnc-plugin-basic-commands.c 2007-05-08 20:33:48 UTC (rev 16062)
@@ -372,6 +372,8 @@
error_message = qof_session_get_error_message(qsf_session);
if (!error_message)
error_message = "";
+ /* Translators: %d is the error number; %s is the error message as
+ text. */
message = g_strdup_printf(_("Error: Loading failed, error code %d - %s."), err, error_message);
PERR("%s", message);
qof_session_destroy(qsf_session);
Modified: gnucash/trunk/src/gnome-utils/gnc-dense-cal.c
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-dense-cal.c 2007-05-08 20:28:36 UTC (rev 16061)
+++ gnucash/trunk/src/gnome-utils/gnc-dense-cal.c 2007-05-08 20:33:48 UTC (rev 16062)
@@ -432,6 +432,10 @@
dcal->week_starts_monday = 0;
{
gchar **parts;
+ /* Translators: This string should not have shown up in
+ gnucash.pot as it is looked up in the "gtk20" translation
+ domain. You can safely ignore this string and leave it
+ untranslated. */
parts = g_strsplit(dgettext("gtk20", "calendar:week_start:0"),
":", 3);
if (parts[0] != NULL
Modified: gnucash/trunk/src/gnome-utils/gnc-tree-view-sx-list.c
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-tree-view-sx-list.c 2007-05-08 20:28:36 UTC (rev 16061)
+++ gnucash/trunk/src/gnome-utils/gnc-tree-view-sx-list.c 2007-05-08 20:33:48 UTC (rev 16062)
@@ -159,6 +159,8 @@
g_object_set_data(G_OBJECT(col), DEFAULT_VISIBLE, GINT_TO_POINTER(1));
col = gnc_tree_view_add_toggle_column(view, _("Enabled"),
+ /* Translators: This string has a context prefix; the translation
+ must only contain the part after the | character. */
Q_("Single-character short column-title form of 'Enabled'|E"),
"enabled", SXLTMA_COL_ENABLED,
GNC_TREE_VIEW_COLUMN_VISIBLE_ALWAYS,
More information about the gnucash-changes
mailing list