From: Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
To: <binutils@sourceware.org>
Cc: <Claudiu.Zissulescu@synopsys.com>
Subject: [PATCH] [ARC] Prepare strings for automatic translation.
Date: Thu, 07 Apr 2016 12:04:00 -0000 [thread overview]
Message-ID: <1460030573-16082-1-git-send-email-claziss@synopsys.com> (raw)
A small patch which fixes the strings for automatic translation.
OK to apply?
Claudiu
gas/
2016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
* 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
next reply other threads:[~2016-04-07 12:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-07 12:04 Claudiu Zissulescu [this message]
2016-04-07 12:44 ` Nick Clifton
2016-04-07 13:15 ` Claudiu Zissulescu
2016-04-07 13:22 ` Claudiu Zissulescu
2016-04-07 13:51 ` Alan Modra
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1460030573-16082-1-git-send-email-claziss@synopsys.com \
--to=claudiu.zissulescu@synopsys.com \
--cc=binutils@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).