From patchwork Tue Dec 31 06:50:31 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: jon ernst X-Patchwork-Id: 305844 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 1EF0D2C00BC for ; Tue, 31 Dec 2013 17:50:41 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751584Ab3LaGud (ORCPT ); Tue, 31 Dec 2013 01:50:33 -0500 Received: from mail-qe0-f45.google.com ([209.85.128.45]:58674 "EHLO mail-qe0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751099Ab3LaGuc (ORCPT ); Tue, 31 Dec 2013 01:50:32 -0500 Received: by mail-qe0-f45.google.com with SMTP id 6so12066494qea.4 for ; Mon, 30 Dec 2013 22:50:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=MNGHJi8CZ7ehpV3spvMrCIdYiNeXQy2mMpfBdcO+glg=; b=Lm1Py+Q6E5lLtsd4PnJnr2yxgCfX+vCZ26QlxAyyujPUL1OMprX6oxEpTVDB56AUP1 I1xXzicBhryI0tuB+uAmPWR77Butugy3UGcmDKN/GYNQERXSO0e1B3SnLLR0OwzkXwxO IgrEX5HN6+lMF8fKqogHfffrKd/sSaeL5h1gGLYcQkcyTXU/2ejM8ZLXDFoIoFNAiqy/ d6YEDr1cg+Le0P48dc6XhY8hsYXAPGsg4wP05lpDia6KyaDXal+9Ef6oWNdGyFBrSqTt vNYprSjwwI04O94+6RM3GN/jVwN/SOLuMBwuHj9N7sdcwjEv5MFi4L83NB/TCh0mxlZg aS+g== MIME-Version: 1.0 X-Received: by 10.49.131.164 with SMTP id on4mr119624384qeb.16.1388472631724; Mon, 30 Dec 2013 22:50:31 -0800 (PST) Received: by 10.96.32.99 with HTTP; Mon, 30 Dec 2013 22:50:31 -0800 (PST) Date: Tue, 31 Dec 2013 01:50:31 -0500 Message-ID: Subject: [PATCH 1/1] e2image: mark strings for internationalization From: jon ernst To: "linux-ext4@vger.kernel.org List" Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org Subject: [PATCH 1/1] e2image: mark strings for internationalization Signed-off-by: Jon Ernst --- misc/e2image.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) @@ -1595,7 +1595,7 @@ skip_device: } if (fd != 1) { if (fstat(fd, &st)) { - com_err(program_name, 0, "Can not stat output\n"); + com_err(program_name, 0, _("Can not stat output\n")); exit(1); } if (S_ISBLK(st.st_mode)) diff --git a/misc/e2image.c b/misc/e2image.c index c134ba2..74515c8 100644 --- a/misc/e2image.c +++ b/misc/e2image.c @@ -1408,7 +1408,7 @@ static void install_image(char *device, char *image_fn, int type) retval = ext2fs_image_inode_read(fs, fd, 0); if (retval) { - com_err(image_fn, 0, "while restoring the image table"); + com_err(image_fn, 0, _("while restoring the image table")); exit(1); }