gnokii-commit
[Top][All Lists]
Advanced

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

gnokii ChangeLog gnokii/gnokii.c po/it.po


From: Daniele Forsi
Subject: gnokii ChangeLog gnokii/gnokii.c po/it.po
Date: Mon, 19 Jun 2006 19:11:39 +0000

CVSROOT:        /sources/gnokii
Module name:    gnokii
Changes by:     Daniele Forsi <dforsi>  06/06/19 19:11:39

Modified files:
        .              : ChangeLog 
        gnokii         : gnokii.c 
        po             : it.po 

Log message:
        print filename of logfile in install_log_handler(); enable NLS earlier; 
fix typo

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnokii/ChangeLog?cvsroot=gnokii&r1=1.1204&r2=1.1205
http://cvs.savannah.gnu.org/viewcvs/gnokii/gnokii/gnokii.c?cvsroot=gnokii&r1=1.454&r2=1.455
http://cvs.savannah.gnu.org/viewcvs/gnokii/po/it.po?cvsroot=gnokii&r1=1.16&r2=1.17

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnokii/gnokii/ChangeLog,v
retrieving revision 1.1204
retrieving revision 1.1205
diff -u -b -r1.1204 -r1.1205
--- ChangeLog   18 Jun 2006 20:59:36 -0000      1.1204
+++ ChangeLog   19 Jun 2006 19:11:38 -0000      1.1205
@@ -2,6 +2,13 @@
 =========================
  * nk6510 driver updates
     o fix getfiledetailsbyid (off-by-four bug)          (Pawel Kot)
+ * gnokii updates
+    o change the error message in install_log_handler() to print
+      the name of the logfile that failed to open to easily detect
+      typos when changing the HOME variable in multiple phones
+      setups; also start NLS stuff before calling
+      install_log_handler() so this error message is translated
+                                                    (Daniele Forsi) 
 
 0.6.13
 ======
@@ -106,7 +113,7 @@
       change capitalization of some strings         (Daniele Forsi)
     o change two error messages in gnokii/gnokii.c setlogo() to be
       easier to translate                           (Daniele Forsi)
-    * update Italian translation and fix charset    (Daniele Forsi)
+    o update Italian translation and fix charset    (Daniele Forsi)
  * smsd updates
     o apply some patches by SUSE, RedHat and Debian which
       makes packager's life easier                   (Helge Deller)

Index: gnokii/gnokii.c
===================================================================
RCS file: /sources/gnokii/gnokii/gnokii/gnokii.c,v
retrieving revision 1.454
retrieving revision 1.455
diff -u -b -r1.454 -r1.455
--- gnokii/gnokii.c     17 Jun 2006 20:41:38 -0000      1.454
+++ gnokii/gnokii.c     19 Jun 2006 19:11:39 -0000      1.455
@@ -1,6 +1,6 @@
 /*
 
-  $Id: gnokii.c,v 1.454 2006/06/17 20:41:38 pkot Exp $
+  $Id: gnokii.c,v 1.455 2006/06/19 19:11:39 dforsi Exp $
 
   G N O K I I
 
@@ -5332,7 +5332,7 @@
        snprintf(logname, sizeof(logname), "%s/%s", home, file);
 
        if ((logfile = fopen(logname, "a")) == NULL) {
-               perror(_("Cannot open logfile"));
+               fprintf(stderr, _("Cannot open logfile %s\n"), logname);
                return -1;
        }
 
@@ -5652,18 +5652,18 @@
                { 0, 0, 0, 0 },
        };
 
-       if (install_log_handler()) {
-               fprintf(stderr, _("WARNING: cannot open logfile, logs will be 
directed to stderr\n"));
-       }
-
-       opterr = 0;
-
        /* For GNU gettext */
 #ifdef ENABLE_NLS
        textdomain("gnokii");
        setlocale(LC_ALL, "");
 #endif
 
+       if (install_log_handler()) {
+               fprintf(stderr, _("WARNING: cannot open logfile, logs will be 
directed to stderr\n"));
+       }
+
+       opterr = 0;
+
        /* Introduce yourself */
        short_version();
 

Index: po/it.po
===================================================================
RCS file: /sources/gnokii/gnokii/po/it.po,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- po/it.po    21 May 2006 21:14:09 -0000      1.16
+++ po/it.po    19 Jun 2006 19:11:39 -0000      1.17
@@ -3329,8 +3329,8 @@
 msgstr "ERRORE: impossibile trovare la variabile di ambiente HOME\n"
 
 #: gnokii/gnokii.c:5327
-msgid "Cannot open logfile"
-msgstr "Impossibile aprire il file di log"
+msgid "Cannot open logfile %s\n"
+msgstr "Impossibile aprire il file di log %s\n"
 
 #: gnokii/gnokii.c:5648
 #, c-format




reply via email to

[Prev in Thread] Current Thread [Next in Thread]