From patchwork Thu Jan 21 14:00:21 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jan Kara X-Patchwork-Id: 571153 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id F11E9140B9C for ; Fri, 22 Jan 2016 01:00:18 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965183AbcAUOAR (ORCPT ); Thu, 21 Jan 2016 09:00:17 -0500 Received: from mx2.suse.de ([195.135.220.15]:48087 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965116AbcAUOAQ (ORCPT ); Thu, 21 Jan 2016 09:00:16 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id EFDF7ACD0; Thu, 21 Jan 2016 14:00:08 +0000 (UTC) Received: by quack.suse.cz (Postfix, from userid 1000) id BAB5C823D8; Thu, 21 Jan 2016 15:00:22 +0100 (CET) From: Jan Kara To: Ted Tso Cc: linux-ext4@vger.kernel.org, Jan Kara Subject: [PATCH RESEND] mke2fs: Fix German translation of mke2fs Date: Thu, 21 Jan 2016 15:00:21 +0100 Message-Id: <1453384821-3941-1-git-send-email-jack@suse.cz> X-Mailer: git-send-email 2.6.2 MIME-Version: 1.0 Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org When a device mke2fs should work on already contains an ext? filesystem, mke2fs prints a warning. In German translation the warning doesn't end with a date string (which is terminated by a newline) and thus the output comes out mangled like: mke2fs 1.42.12 (29-Aug-2014) /dev/disk/by-label/WD20_SL12 hat ein ext3-Dateisystem mit Namen „WD20_SL12“ zuletzt auf /WD20_SL12 auf Tue Jan 27 09:01:44 2015 eingehängtTrotzdem fortfahren? (j,n) ^^^^^^^^^^^^^ here Fix the translation to end the printed string with a newline and avoid superfluous space at the beginning of the line. Reviewed-by: Bernd Schubert Signed-off-by: Jan Kara --- po/de.po | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) This patch seems to have been lost. Can you please merge it Ted? diff --git a/po/de.po b/po/de.po index 073d6fbe08f3..6e5f46ae88d3 100644 --- a/po/de.po +++ b/po/de.po @@ -6028,9 +6028,11 @@ msgid "Proceed anyway? (y,n) " msgstr "Trotzdem fortfahren? (j,n) " #: misc/util.c:132 +# The second %s refers to a date string ending with a newline. Make the +# translated string end with a newline as well to maintain output compatibility. #, c-format msgid "\tlast mounted on %s on %s" -msgstr "\tzuletzt auf %s auf %s eingehängt" +msgstr "\tzuletzt auf %s am %seingehängt.\n" #: misc/util.c:135 #, c-format