From: Carlos Maiolino Date: Tue, 1 Nov 2011 14:21:25 -0200 Subject: [Cluster-devel] [PATCH] fsck: Merge strings Message-ID: <1320164485-7445-1-git-send-email-cmaiolino@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit This patch just change some log_error calls in a way the strings can be merged during the i18n translations, removing the amount of duplicated work to translators Signed-off-by: Carlos Maiolino --- gfs2/fsck/fs_recovery.c | 12 +++++------- 1 files changed, 5 insertions(+), 7 deletions(-) diff --git a/gfs2/fsck/fs_recovery.c b/gfs2/fsck/fs_recovery.c index 8c3062b..1d9f632 100644 --- a/gfs2/fsck/fs_recovery.c +++ b/gfs2/fsck/fs_recovery.c @@ -456,9 +456,8 @@ static int gfs2_recover_journal(struct gfs2_inode *ip, int j, int preen, error = gfs2_find_jhead(ip, &head); if (error) { if (opts.no) { - log_err( _("Journal #%d (\"journal%d\") is corrupt.\n" - "Not fixing it due to the -n option.\n"), - j+1, j); + log_err( _("Journal #%d (\"journal%d\") is corrupt\n"),j+1, j); + log_err( _("Not fixing it due to the -n option.\n")); goto out; } if (!preen_is_safe(sdp, preen, force_check)) { @@ -501,13 +500,12 @@ static int gfs2_recover_journal(struct gfs2_inode *ip, int j, int preen, return 0; } if (opts.no) { - log_err(_("Journal #%d (\"journal%d\") is dirty; not replaying" - " due to the -n option.\n"), - j+1, j); + log_err(_("Journal #%d (\"journal%d\") is dirty\n"),j+1, j); + log_err(_("not replaying due to the -n option.\n")); goto out; } if (!preen_is_safe(sdp, preen, force_check)) { - log_err( _("Journal #%d (\"journal%d\") is dirty.\n"), j+1, j); + log_err( _("Journal #%d (\"journal%d\") is dirty\n"), j+1, j); log_err( _("I'm not replaying it because it may be unsafe:\n" "Locking protocol is not lock_nolock and " "the -a or -p option was specified.\n")); -- 1.7.6.4