From patchwork Fri Mar 3 07:38:55 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jan Kara X-Patchwork-Id: 734972 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 3vZM0D6KLyz9s73 for ; Fri, 3 Mar 2017 18:54:36 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751463AbdCCHyR (ORCPT ); Fri, 3 Mar 2017 02:54:17 -0500 Received: from mx2.suse.de ([195.135.220.15]:33345 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751384AbdCCHyP (ORCPT ); Fri, 3 Mar 2017 02:54:15 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 1BD78ABCC; Fri, 3 Mar 2017 07:39:03 +0000 (UTC) Received: by quack2.suse.cz (Postfix, from userid 1000) id 97BCC1E070A; Fri, 3 Mar 2017 08:39:02 +0100 (CET) From: Jan Kara To: Ted Tso Cc: , Jan Kara Subject: [PATCH] mke2fs: Fix German translation of mke2fs Date: Fri, 3 Mar 2017 08:38:55 +0100 Message-Id: <20170303073855.5065-1-jack@suse.cz> X-Mailer: git-send-email 2.10.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 get lost. Ted can you please merge it? Thanks! diff --git a/po/de.po b/po/de.po index 8165bd1ae64a..cc734981a49f 100644 --- a/po/de.po +++ b/po/de.po @@ -8527,9 +8527,11 @@ msgid "Bad magic value in profile_file_data_t" msgstr "Ungültige magische Zahl im profile_file_data_t" #: lib/support/plausible.c:118 +# 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 auf %seingehängt.\n" #: lib/support/plausible.c:121 #, c-format