Benno Schulenberg <[EMAIL PROTECTED]> wrote: > Hi, > > While updating the Dutch translation for coreutils, I came across a > few small inconsistencies. Attached patches fix those.
Hi Benno, Thanks for all the patches! Starting with the last one... > - _(EXIT_STATUS == EXIT_SUCCESS > - ? "Exit with a status code indicating success." > - : "Exit with a status code indicating failure.")); > + EXIT_STATUS == EXIT_SUCCESS > + ? _("Exit with a status code indicating success.") > + : _("Exit with a status code indicating failure.")); I'd like to keep it so there's just one gettext call, so solved the problem slightly differently: >From 6b9f1bdd66a2e0b0f494d6f86e4cda43bf2215d2 Mon Sep 17 00:00:00 2001 From: Jim Meyering <[EMAIL PROTECTED]> Date: Mon, 4 Aug 2008 10:12:47 +0200 Subject: [PATCH] false: mark "false" description for translation * src/true.c (usage): Mark both strings with N_, so that the one for "false" is also extracted for translation. For consistency, mark both, although only the latter one needed it. Inspired by a patch from Benno Schulenberg. --- src/true.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/true.c b/src/true.c index 75e53bc..12100bd 100644 --- a/src/true.c +++ b/src/true.c @@ -42,8 +42,8 @@ Usage: %s [ignored command line arguments]\n\ program_name, program_name); printf ("%s\n\n", _(EXIT_STATUS == EXIT_SUCCESS - ? "Exit with a status code indicating success." - : "Exit with a status code indicating failure.")); + ? N_("Exit with a status code indicating success.") + : N_("Exit with a status code indicating failure."))); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); printf (USAGE_BUILTIN_WARNING, PROGRAM_NAME); -- 1.6.0.rc1.36.g5ff70 _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils