gcalctool r1986 - in trunk: . gcalctool
- From: richb svn gnome org
- To: svn-commits-list gnome org
- Subject: gcalctool r1986 - in trunk: . gcalctool
- Date: Sun, 2 Mar 2008 22:43:09 +0000 (GMT)
Author: richb
Date: Sun Mar 2 22:43:09 2008
New Revision: 1986
URL: http://svn.gnome.org/viewvc/gcalctool?rev=1986&view=rev
Log:
* gcalctool/calctool.c:
Fix for bug #519979 - Please provide translator comments.
Modified:
trunk/ChangeLog
trunk/gcalctool/calctool.c
Modified: trunk/gcalctool/calctool.c
==============================================================================
--- trunk/gcalctool/calctool.c (original)
+++ trunk/gcalctool/calctool.c Sun Mar 2 22:43:09 2008
@@ -600,6 +600,11 @@
if (*argv != NULL && argv[0][0] != '-') {
STRNCPY(s, *argv, MAXLINE - 1);
} else {
+ /* Translators: the following string contains two strings that
+ * are passed to it: the first is the gcalctool program name and
+ * the second is an error message (see the last parameter in the
+ * getparam() call in the get_options() routine below.
+ */
FPRINTF(stderr, _("%s: %s as next argument.\n"), v->progname, errmes);
exit(1);
}
@@ -609,6 +614,10 @@
void
usage(char *progname)
{
+ /* Translators: the following string contains two strings that
+ * are passed to it: the first is the gcalctool program name and
+ * the second is the program version number.
+ */
FPRINTF(stderr, _("%s version %s\n\n"), progname, VERSION);
FPRINTF(stderr, _("Usage: %s: [-D] [-E] [-a accuracy] "), progname);
FPRINTF(stderr, _("\t\t [-?] [-v] [-h]\n"));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]