From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3443 invoked by alias); 7 Apr 2016 12:04:30 -0000 Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org Received: (qmail 3429 invoked by uid 89); 7 Apr 2016 12:04:28 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.6 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=7477 X-HELO: smtprelay.synopsys.com Received: from us01smtprelay-2.synopsys.com (HELO smtprelay.synopsys.com) (198.182.47.9) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Thu, 07 Apr 2016 12:04:18 +0000 Received: from dc8secmta2.synopsys.com (dc8secmta2.synopsys.com [10.13.218.202]) by smtprelay.synopsys.com (Postfix) with ESMTP id AD52324E157D for ; Thu, 7 Apr 2016 05:04:16 -0700 (PDT) Received: from dc8secmta2.internal.synopsys.com (dc8secmta2.internal.synopsys.com [127.0.0.1]) by dc8secmta2.internal.synopsys.com (Service) with ESMTP id A1DDCA4117 for ; Thu, 7 Apr 2016 05:04:16 -0700 (PDT) Received: from mailhost.synopsys.com (mailhost1.synopsys.com [10.12.238.239]) by dc8secmta2.internal.synopsys.com (Service) with ESMTP id 843EEA4116 for ; Thu, 7 Apr 2016 05:04:16 -0700 (PDT) Received: from mailhost.synopsys.com (localhost [127.0.0.1]) by mailhost.synopsys.com (Postfix) with ESMTP id 765AB178 for ; Thu, 7 Apr 2016 05:04:16 -0700 (PDT) Received: from US01WXQAHTC1.internal.synopsys.com (us01wxqahtc1.internal.synopsys.com [10.12.238.230]) by mailhost.synopsys.com (Postfix) with ESMTP id 6A4CF175 for ; Thu, 7 Apr 2016 05:04:16 -0700 (PDT) Received: from IN01WEHTCB.internal.synopsys.com (10.144.199.106) by US01WXQAHTC1.internal.synopsys.com (10.12.238.230) with Microsoft SMTP Server (TLS) id 14.3.195.1; Thu, 7 Apr 2016 05:04:16 -0700 Received: from IN01WEHTCA.internal.synopsys.com (10.144.199.103) by IN01WEHTCB.internal.synopsys.com (10.144.199.105) with Microsoft SMTP Server (TLS) id 14.3.195.1; Thu, 7 Apr 2016 17:34:14 +0530 Received: from nl20droid1.internal.synopsys.com (10.100.24.228) by IN01WEHTCA.internal.synopsys.com (10.144.199.243) with Microsoft SMTP Server (TLS) id 14.3.195.1; Thu, 7 Apr 2016 17:34:14 +0530 From: Claudiu Zissulescu To: CC: Subject: [PATCH] [ARC] Prepare strings for automatic translation. Date: Thu, 07 Apr 2016 12:04:00 -0000 Message-ID: <1460030573-16082-1-git-send-email-claziss@synopsys.com> MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2016-04/txt/msg00104.txt.bz2 A small patch which fixes the strings for automatic translation. OK to apply? Claudiu gas/ 2016-04-07 Claudiu Zissulescu * config/tc-arc.c (arc_option): Prepare string for automatic translation. (declare_register): Likewise. --- gas/config/tc-arc.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gas/config/tc-arc.c b/gas/config/tc-arc.c index 42b0f8f..8c8afde 100644 --- a/gas/config/tc-arc.c +++ b/gas/config/tc-arc.c @@ -732,14 +732,14 @@ arc_option (int ignore ATTRIBUTE_UNUSED) md_parse_option (OPTION_MCPU, "archs"); } else - as_fatal ("could not find the architecture"); + as_fatal (_("could not find the architecture")); if (!bfd_set_arch_mach (stdoutput, bfd_arch_arc, mach)) - as_fatal ("could not set architecture and machine"); + as_fatal (_("could not set architecture and machine")); } else if (arc_mach_type != mach) - as_warn ("Command-line value overrides \".cpu\" directive"); + as_warn (_("Command-line value overrides \".cpu\" directive")); restore_line_pointer (c); demand_empty_rest_of_line (); @@ -747,7 +747,7 @@ arc_option (int ignore ATTRIBUTE_UNUSED) bad_cpu: restore_line_pointer (c); - as_bad ("invalid identifier for \".cpu\""); + as_bad (_("invalid identifier for \".cpu\"")); ignore_rest_of_line (); } @@ -2123,7 +2123,7 @@ declare_register (const char *name, int number) err = hash_insert (arc_reg_hash, S_GET_NAME (regS), (void *) regS); if (err) - as_fatal ("Inserting \"%s\" into register table failed: %s", + as_fatal (_("Inserting \"%s\" into register table failed: %s"), name, err); } -- 1.9.1