]> git.pld-linux.org Git - packages/LPRng.git/commitdiff
- one more file
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 16 May 2004 08:24:59 +0000 (08:24 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    LPRng-missing-nls.patch -> 1.4

LPRng-missing-nls.patch

index 210b28d4515f2ee87a8c4fb69990210526926c1f..fea1e712f667690e73bc8d47d10f7029a51d7417 100644 (file)
                next_opt = 0;
 --- LPRng-3.8.15/po/POTFILES.in.orig   Wed Aug 22 01:19:53 2001
 +++ LPRng-3.8.15/po/POTFILES.in        Fri Dec 27 17:11:07 2002
-@@ -1,5 +1,6 @@
+@@ -1,5 +1,7 @@
  src/common/accounting.c
  src/common/controlword.c
++src/common/debug.c
 +src/common/getopt.c
  src/common/linelist.c
  src/common/lpc.c
  src/common/lpd.c
-@@ -12,6 +13,7 @@
+@@ -12,6 +14,7 @@
  src/common/lpq.c
  src/common/lpr.c
  src/common/lprm.c
        }
        len = safestrlen(header);
        SNPRINTF( header+len, sizeof(header)-len) "%s@%s",
+--- LPRng-3.8.27/src/common/debug.c.orig       2004-05-03 22:24:01.000000000 +0200
++++ LPRng-3.8.27/src/common/debug.c    2004-05-16 10:08:08.829446800 +0200
+@@ -89,22 +89,22 @@
+ */
+       static char *guide[] = {
+-      " use on command line, or in printcap :db=... entry", 
+-      " for server:",
+-      "   print:     show queue (printing) actions, larger number, more information",
+-      "     NUMBER     same as print+NUMBER",
+-      "   lpr:       show servicing lpr actions",
+-      "   lpq:       show servicing lpq actions",
+-      "   lprm:      show servicing lprm actions",
+-      "   network:   show low level network actions",
+-      "   database:  show low level database actions",
+-      "   log:       Testing.  Don't use this unless you read the code.",
+-      "   test:      Testing.  don't use this unless you read the code.",
+-      " for clients (lpr, lpq, etc):",
+-      "   print:     show client actions, larger number, more information",
+-      "     NUMBER     same as print+NUMBER",
+-      "   network:   show low level network actions.",
+-      "   database:  show low level database actions.",
++      N_(" use on command line, or in printcap :db=... entry"), 
++      N_(" for server:"),
++      N_("   print:     show queue (printing) actions, larger number, more information"),
++      N_("     NUMBER     same as print+NUMBER"),
++      N_("   lpr:       show servicing lpr actions"),
++      N_("   lpq:       show servicing lpq actions"),
++      N_("   lprm:      show servicing lprm actions"),
++      N_("   network:   show low level network actions"),
++      N_("   database:  show low level database actions"),
++      N_("   log:       Testing.  Don't use this unless you read the code."),
++      N_("   test:      Testing.  don't use this unless you read the code."),
++      N_(" for clients (lpr, lpq, etc):"),
++      N_("   print:     show client actions, larger number, more information"),
++      N_("     NUMBER     same as print+NUMBER"),
++      N_("   network:   show low level network actions."),
++      N_("   database:  show low level database actions."),
+               0
+       };
+ void Parse_debug (char *dbgstr, int interactive )
+@@ -157,8 +157,8 @@
+               if(!found && interactive ){
+                   int i;
+                   int lastflag = 0;
+-                  FPRINTF (STDERR, "debug flag format: num | flag[+num] | flag=str\n");
+-                  FPRINTF (STDERR, "  flag names:");
++                  FPRINTF (STDERR, _("debug flag format: num | flag[+num] | flag=str\n"));
++                  FPRINTF (STDERR, _("  flag names:"));
+                   for (i = 0; list[i].keyword; i++) {
+                               if( safestrchr( list[i].keyword, '+' ) ) continue;
+                               if( lastflag ){
+@@ -169,10 +169,10 @@
+                               }
+                               switch( list[i].type ){
+                               case INTEGER_K:
+-                                      FPRINTF (STDERR, "%s=num", list[i].keyword);
++                                      FPRINTF (STDERR, _("%s=num"), list[i].keyword);
+                                       break;
+                               case STRING_K:
+-                                      FPRINTF (STDERR, "%s=str", list[i].keyword);
++                                      FPRINTF (STDERR, _("%s=str"), list[i].keyword);
+                                       break;
+                               case FLAG_K:
+                                       FPRINTF (STDERR, "%s[+N]", list[i].keyword );
+@@ -184,7 +184,7 @@
+                       }
+                   FPRINTF (STDERR, "\n");
+                   for(i = 0; guide[i]; ++i ){
+-                              FPRINTF (STDERR, "%s\n", guide[i]);
++                              FPRINTF (STDERR, "%s\n", _(guide[i]));
+                   }
+                       Errorcode = JABORT;
This page took 0.049824 seconds and 4 git commands to generate.