r22914 - gnucash/trunk/src - String improvements: For singular form of ngettest, the %d conversion specifier can be skipped.

Christian Stimming cstim at code.gnucash.org
Thu Apr 18 03:24:28 EDT 2013


Author: cstim
Date: 2013-04-18 03:24:21 -0400 (Thu, 18 Apr 2013)
New Revision: 22914
Trac: http://svn.gnucash.org/trac/changeset/22914

Modified:
   gnucash/trunk/src/business/business-gnome/dialog-invoice.c
   gnucash/trunk/src/gnome/dialog-price-edit-db.c
   gnucash/trunk/src/gnome/dialog-sx-since-last-run.c
Log:
String improvements: For singular form of ngettest, the %d conversion specifier can be skipped.

See e.g. this thread http://article.gmane.org/gmane.comp.version-control.git/221583

Modified: gnucash/trunk/src/business/business-gnome/dialog-invoice.c
===================================================================
--- gnucash/trunk/src/business/business-gnome/dialog-invoice.c	2013-04-18 07:20:55 UTC (rev 22913)
+++ gnucash/trunk/src/business/business-gnome/dialog-invoice.c	2013-04-18 07:24:21 UTC (rev 22914)
@@ -3119,7 +3119,7 @@
     message = g_strdup_printf
               (/* Translators: %d is the number of bills due. This is a
                      ngettext(3) message. */
-                  ngettext("The following %d bill is due:",
+                  ngettext("The following bill is due:",
                            "The following %d bills are due:",
                            len),
                   len);

Modified: gnucash/trunk/src/gnome/dialog-price-edit-db.c
===================================================================
--- gnucash/trunk/src/gnome/dialog-price-edit-db.c	2013-04-18 07:20:55 UTC (rev 22913)
+++ gnucash/trunk/src/gnome/dialog-price-edit-db.c	2013-04-18 07:24:21 UTC (rev 22914)
@@ -180,7 +180,7 @@
         message = g_strdup_printf
                   (/* Translators: %d is the number of prices. This
 	  is a ngettext(3) message. */
-                      ngettext("Are you sure you want to delete the %d selected price?",
+                      ngettext("Are you sure you want to delete the selected price?",
                                "Are you sure you want to delete the %d selected prices?",
                                length),
                       length);

Modified: gnucash/trunk/src/gnome/dialog-sx-since-last-run.c
===================================================================
--- gnucash/trunk/src/gnome/dialog-sx-since-last-run.c	2013-04-18 07:20:55 UTC (rev 22913)
+++ gnucash/trunk/src/gnome/dialog-sx-since-last-run.c	2013-04-18 07:24:21 UTC (rev 22914)
@@ -817,7 +817,7 @@
             (NULL,
              ngettext
              ("There are no Scheduled Transactions to be entered at this time. "
-              "(%d transaction automatically created)",
+              "(One transaction automatically created)",
               "There are no Scheduled Transactions to be entered at this time. "
               "(%d transactions automatically created)",
               summary.num_auto_create_no_notify_instances),



More information about the gnucash-changes mailing list