1 --- LPRng-3.8.15/src/common/lpstat.c.orig Mon Aug 12 02:01:45 2002
2 +++ LPRng-3.8.15/src/common/lpstat.c Fri Dec 27 16:57:53 2002
5 Get_parms(argc, argv ); /* scan input args */
6 if( A_flag && !getenv( "AUTH" ) ){
7 - FPRINTF(STDERR,"lpstat: requested authenticated transfer (-A) and AUTH environment variable not set");
8 + FPRINTF(STDERR,_("lpstat: requested authenticated transfer (-A) and AUTH environment variable not set"));
13 if(DEBUGL1)Dump_line_list("lpstat - options", &options);
16 - Write_fd_str(1,"scheduler is running\n");
17 + Write_fd_str(1,_("scheduler is running\n"));
20 if( Printer_DYN == 0 ){
21 - Write_fd_str(1,"no system default destination\n");
22 + Write_fd_str(1,_("no system default destination\n"));
24 SNPRINTF(msg,sizeof(msg))
25 - "system default destination: %s\n", Printer_DYN);
26 + _("system default destination: %s\n"), Printer_DYN);
31 for( i = 0; i < request_list.count; ++i ){
32 Set_DYN(&Printer_DYN,request_list.list[i] );
34 - SNPRINTF(msg,sizeof(msg)) "system for %s: %s\n", Printer_DYN, RemoteHost_DYN);
35 + SNPRINTF(msg,sizeof(msg)) _("system for %s: %s\n"), Printer_DYN, RemoteHost_DYN);
41 if( Check_for_rg_group( Logname_DYN ) ){
42 SNPRINTF( msg, sizeof(msg))
43 - " Printer: %s - cannot use printer, not in privileged group\n", Printer_DYN );
44 + _(" Printer: %s - cannot use printer, not in privileged group\n"), Printer_DYN );
45 if( Write_fd_str( 1, msg ) < 0 ) cleanup(0);
51 SNPRINTF(msg,sizeof(msg))
52 - "%s accepting requests since %s\n",
53 + _("%s accepting requests since %s\n"),
54 Printer_DYN, Time_str(0,0) );
56 SNPRINTF(msg,sizeof(msg))
57 - "%s not accepting requests since %s -\n\tunknown reason\n",
58 + _("%s not accepting requests since %s -\n\tunknown reason\n"),
59 Printer_DYN, Time_str(0,0) );
61 if( Write_fd_str( output, msg ) < 0 ) return(1);
64 SNPRINTF(msg,sizeof(msg))
65 - "printer %s unknown state. %s since %s. available\n",
66 + _("printer %s unknown state. %s since %s. available\n"),
67 Printer_DYN, noprint?"disabled":"enabled",
69 if( Write_fd_str( output, msg ) < 0 ) return(1);
71 if( p_flag && D_flag ){
72 SNPRINTF(msg,sizeof(msg))
73 - "\tDescription: %s@%s\n",
74 + _("\tDescription: %s@%s\n"),
75 RemotePrinter_DYN, RemoteHost_DYN );
76 if( Write_fd_str( output, msg ) < 0 ) return(1);
82 -"usage: %s [-A] [-d] [-l] [-r] [-R] [-s] [-t] [-a [list]]\n\
83 +N_("usage: %s [-A] [-d] [-l] [-r] [-R] [-s] [-t] [-a [list]]\n\
84 [-c [list]] [-f [list]] [-o [list]]\n\
85 [-p [list]] [-P] [-S [list]] [list]\n\
86 [-u [login-ID-list]] [-v [list]] [-V] [-n] [-Tdbgflags]\n\
88 -v [list] printer mapping *\n\
90 -Tdbgflags debug flags\n\
91 - * - long status format produced\n";
92 + * - long status format produced\n");
97 - FPRINTF( STDERR, lpstat_msg, Name );
98 + FPRINTF( STDERR, _(lpstat_msg), Name );
100 FPRINTF( STDOUT, "%s\n", Version );
102 --- LPRng-3.8.15/src/common/getopt.c.orig Mon Aug 12 02:01:44 2002
103 +++ LPRng-3.8.15/src/common/getopt.c Fri Dec 27 17:02:40 2002
108 - (void) FPRINTF (STDERR, "--X option form illegal\n" );
109 + (void) FPRINTF (STDERR, _("--X option form illegal\n") );
115 if ((match = (char *) safestrchr (optstring, option)) == 0 ){
117 - (void) FPRINTF (STDERR, "%s: Illegal option '%c'\n", Name, option);
118 + (void) FPRINTF (STDERR, _("%s: Illegal option '%c'\n"), Name, option);
124 if( Optarg == 0 && Opterr ) {
125 (void) FPRINTF (STDERR,
126 - "%s: missing argument for '%c'\n", Name, option);
127 + _("%s: missing argument for '%c'\n"), Name, option);
131 --- LPRng-3.8.15/po/POTFILES.in.orig Wed Aug 22 01:19:53 2001
132 +++ LPRng-3.8.15/po/POTFILES.in Fri Dec 27 17:11:07 2002
134 src/common/accounting.c
135 src/common/controlword.c
137 src/common/linelist.c
146 src/common/sendmail.c