Răsfoiți Sursa

correcting some translation problems

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1611 f882894a-f735-0410-b71e-b25c423dba1c
Benoit Mortier 19 ani în urmă
părinte
comite
19b97afb12

+ 1 - 1
plugins/check_disk.c

@@ -754,7 +754,7 @@ print_help (void)
   printf ("    %s\n", _("Path or partition (may be repeated)"));
   printf (" %s\n", "-x, --exclude_device=PATH <STRING>");
   printf ("    %s\n", _("Ignore device (only works if -p unspecified)"));
-  printf (" %s\n", _("-X, --exclude-type=TYPE <STRING>"));
+  printf (" %s\n", "-X, --exclude-type=TYPE <STRING>");
   printf ("    %s\n", _("Ignore all filesystems of indicated type (may be repeated)"));
   printf (" %s\n", "-m, --mountpoint");
   printf ("    %s\n", _("Display the mountpoint instead of the partition"));

+ 1 - 1
plugins/check_http.c

@@ -1017,7 +1017,7 @@ check_http (void)
         msg = strdup(_("pattern not found"));
       else 
         msg = strdup(_("pattern found"));
-      printf (_("%s - %s%s|%s %s\n"),
+      printf (("%s - %s%s|%s %s\n"),
         _("CRITICAL"),
         msg,
         (display_html ? "</A>" : ""),

+ 1 - 1
plugins/check_ide_smart.c

@@ -522,7 +522,7 @@ print_help (void)
   printf (" %s\n", "-0, --auto-off");
   printf ("    %s\n", _("Turn off automatic offline tests"));
   printf (" %s\n", "-n, --nagios");
-  printf ("    %s\n", _("Output suitable for Nagios\n"));
+  printf ("    %s\n\n", _("Output suitable for Nagios"));
   printf (_(UT_SUPPORT));
 }
 

+ 1 - 1
plugins/check_mrtg.c

@@ -367,7 +367,7 @@ print_help (void)
   printf (" %s\n", _("  commands with different values for the <variable> argument.  Of course,"));
   printf (" %s\n", _("you can always hack the code to make this plugin work for you..."));
   printf (" %s\n", _("- MRTG stands for the Multi Router Traffic Grapher.  It can be downloaded from"));
-  printf (" %s\n", _("http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/mrtg.html"));
+  printf (" %s\n", "http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/mrtg.html");
 
 	printf (_(UT_SUPPORT));
 }

+ 1 - 1
plugins/check_mrtgtraf.c

@@ -360,7 +360,7 @@ print_help (void)
 
 	printf ("%s\n", _("Notes:"));
   printf (" %s\n", _("- MRTG stands for Multi Router Traffic Grapher. It can be downloaded from"));
-  printf (" %s\n", _("  http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/mrtg.html"));
+  printf (" %s\n", "  http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/mrtg.html");
   printf (" %s\n", _("- While MRTG can monitor things other than traffic rates, this"));
   printf (" %s\n", _("  plugin probably won't work with much else without modification."));
   printf (" %s\n", _("- The calculated i/o rates are a little off from what MRTG actually"));

+ 6 - 6
plugins/check_overcr.c

@@ -451,15 +451,15 @@ print_help (void)
   printf ("\n");
   printf ("%s\n", _("Notes:"));
   
-	printf ("%s\n", _("For the available options, the critical threshold value should always be"));
+  printf ("%s\n", _("For the available options, the critical threshold value should always be"));
   printf ("%s\n\n", _("higher than the warning threshold value, EXCEPT with the uptime variable"));
 
-	printf ("%s\n", _("This plugin requres that Eric Molitors' Over-CR collector daemon be"));
-  printf ("%s\n", _("running on the remote server. Over-CR can be downloaded from"));
-  printf ("%s\n", _("http://www.molitor.org/overcr (This plugin was tested with version 0.99.53"));
-  printf ("%s\n", _("of the Over-CR collector)"));
+  printf ("%s\n", _("This plugin requres that Eric Molitors' Over-CR collector daemon be"));
+  printf ("%s\n", _("running on the remote server."));
+  printf ("%s\n", " Over-CR can be downloaded from http://www.molitor.org/overcr");
+  printf ("%s\n", _("This plugin was tested with version 0.99.53 of the Over-CR collector"));
 
-	printf (_(UT_SUPPORT));
+  printf (_(UT_SUPPORT));
 }
 
 

+ 3 - 3
plugins/check_smtp.c

@@ -297,14 +297,14 @@ main (int argc, char **argv)
 		 * we resent EHLO via TLS.
 		 */
 		if (my_send(helocmd, strlen(helocmd)) <= 0) {
-			printf(_("SMTP UNKNOWN - Cannot send EHLO command via TLS.\n"));
+			printf("%s\n", _("SMTP UNKNOWN - Cannot send EHLO command via TLS."));
 			my_close();
 			return STATE_UNKNOWN;
 		}
 		if (verbose)
 			printf(_("sent %s"), helocmd);
 		if ((n = my_recv(buffer, MAX_INPUT_BUFFER - 1)) <= 0) {
-			printf(_("SMTP UNKNOWN - Cannot read EHLO response via TLS.\n"));
+			printf("%s\n", _("SMTP UNKNOWN - Cannot read EHLO response via TLS."));
 			my_close();
 			return STATE_UNKNOWN;
 		}
@@ -317,7 +317,7 @@ main (int argc, char **argv)
 		  if ( check_cert ) {
 		    result = np_net_ssl_check_cert(days_till_exp);
 		    if(result != STATE_OK){
-		      printf (_("CRITICAL - Cannot retrieve server certificate.\n"));
+		      printf ("%s\n", _("CRITICAL - Cannot retrieve server certificate."));
 		    }
 		    my_close();
 		    return result;

+ 1 - 1
plugins/check_tcp.c

@@ -342,7 +342,7 @@ main (int argc, char **argv)
 	/* this is a bit stupid, because we don't want to print the
 	 * response time (which can look ok to the user) if we didn't get
 	 * the response we were looking for. if-else */
-	printf(_("%s %s - "), SERVICE, state_text(result));
+	printf("%s %s - ", SERVICE, state_text(result));
 
 	if(match == -2 && len && !(flags & FLAG_HIDE_OUTPUT))
 		printf("Unexpected response from host/socket: %s", status);

Fișier diff suprimat deoarece este prea mare
+ 210 - 229
po/de.po


Fișier diff suprimat deoarece este prea mare
+ 277 - 262
po/fr.po


Fișier diff suprimat deoarece este prea mare
+ 204 - 221
po/nagios-plugins.pot


Unele fișiere nu au fost afișate deoarece prea multe fișiere au fost modificate în acest diff