From f4b417c62a4f272c4cf9a074d0f7a3a97201f9db Mon Sep 17 00:00:00 2001
From: Sebastian Schmidt <yath@yath.de>
Date: Tue, 17 Apr 2012 11:23:35 +0200
Subject: Update to upstream bash 4.2

This upgrades bash to from 4.1-rc to 4.2-release. See CWRU/changelog for
changes.

Change-Id: I926269c300cf44fa25964b5b375a148fcf11c4b7
---
 builtins/help.def | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'builtins/help.def')

diff --git a/builtins/help.def b/builtins/help.def
index f857af9..8fb0e2b 100644
--- a/builtins/help.def
+++ b/builtins/help.def
@@ -155,7 +155,7 @@ help_builtin (list)
 		  continue;
 		}
 
-	      printf ("%s: %s\n", name, shell_builtins[i].short_doc);
+	      printf ("%s: %s\n", name, _(shell_builtins[i].short_doc));
 
 	      if (sflag == 0)
 		show_longdoc (i);
@@ -288,7 +288,7 @@ show_manpage (name, i)
 
   /* SYNOPSIS */
   printf ("SYNOPSIS\n");
-  printf ("%*s%s\n\n", BASE_INDENT, " ", shell_builtins[i].short_doc);
+  printf ("%*s%s\n\n", BASE_INDENT, " ", _(shell_builtins[i].short_doc));
 
   /* DESCRIPTION */
   printf ("DESCRIPTION\n");
@@ -360,7 +360,7 @@ A star (*) next to a name means that the command is disabled.\n\
 
       /* first column */
       blurb[0] = (shell_builtins[i].flags & BUILTIN_ENABLED) ? ' ' : '*';
-      strncpy (blurb + 1, shell_builtins[i].short_doc, width - 2);
+      strncpy (blurb + 1, _(shell_builtins[i].short_doc), width - 2);
       blurb[width - 2] = '>';		/* indicate truncation */
       blurb[width - 1] = '\0';
       printf ("%s", blurb);
@@ -376,7 +376,7 @@ A star (*) next to a name means that the command is disabled.\n\
 
       /* second column */
       blurb[0] = (shell_builtins[i+height].flags & BUILTIN_ENABLED) ? ' ' : '*';
-      strncpy (blurb + 1, shell_builtins[i+height].short_doc, width - 3);
+      strncpy (blurb + 1, _(shell_builtins[i+height].short_doc), width - 3);
       blurb[width - 3] = '>';		/* indicate truncation */
       blurb[width - 2] = '\0';
       printf ("%s\n", blurb);
-- 
cgit v1.1

