public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Jens Remus <jremus@linux.ibm.com>
To: Nick Clifton <nickc@redhat.com>, Roland Illig <roland.illig@gmx.de>
Cc: Binutils <binutils@sourceware.org>
Subject: Re: New German PO file for 'opcodes' (version 2.41.90)
Date: Thu, 18 Jan 2024 13:44:07 +0100	[thread overview]
Message-ID: <7d02ccaa-1da6-481d-97c7-f92277e478a9@linux.ibm.com> (raw)
In-Reply-To: <9b6f60c4-c0dd-4729-8ed5-ca7802b4d387@redhat.com>


Hello Nick!

>>> Is there a way to mark or annotate terms within message texts as not to
>>> translate?
>>
>> The developers could insert a /* TRANSLATORS: ... */ comment above the
>> line, relying on the translators to see this message. This often works.
> 
> I am going to apply the patch below to the mainline sources...
> 
> diff --git a/opcodes/s390-dis.c b/opcodes/s390-dis.c
> index 3c21f9b3915..0db4158262f 100644
> --- a/opcodes/s390-dis.c
> +++ b/opcodes/s390-dis.c
> @@ -42,6 +42,7 @@ typedef struct
>   static const s390_options_t options[] =
>   {
>     { "esa" ,       N_("Disassemble in ESA architecture mode") },
> +  /* TRANSLATORS: Please do not translate 'z/Architecture' as this is a 
> technical name.  */
>     { "zarch",      N_("Disassemble in z/Architecture mode") },
>     { "insnlength", N_("Print unknown instructions according to "
>                       "length from first two bits") },
> 

Thanks!

Btw. as mentioned earlier I could not manage to get this string and 
others translated in "objdump --help". My layman understanding is that 
this is due to the strings being in the "opcodes" message catalog and 
objdump is using the "binutils" one:

$ LANG=de_DE.utf8 gdb --args objdump --help
...
(gdb) b bindtextdomain
(gdb) run
...
Breakpoint 1, __bindtextdomain 
(domainname=domainname@entry=0x2aa0015b262 "binutils", 
dirname=dirname@entry=0x2aa0015b236 
"/home/jremus/temp/binutils-gcc/share/locale") at bindtextdom.c:320

Thanks and regards,
Jens
-- 
Jens Remus
Linux on Z Development (D3303) and z/VSE Support
+49-7031-16-1128 Office
jremus@de.ibm.com

IBM

IBM Deutschland Research & Development GmbH; Vorsitzender des 
Aufsichtsrats: Wolfgang Wendt; Geschäftsführung: David Faller; Sitz der 
Gesellschaft: Böblingen; Registergericht: Amtsgericht Stuttgart, HRB 243294
IBM Data Privacy Statement: https://www.ibm.com/privacy/

  reply	other threads:[~2024-01-18 12:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-16 20:02 Translation Project Robot
2024-01-17  9:52 ` Jens Remus
2024-01-17 15:58   ` Roland Illig
2024-01-18 11:25     ` Nick Clifton
2024-01-18 12:44       ` Jens Remus [this message]
2024-01-17 15:52 Translation Project Robot

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=7d02ccaa-1da6-481d-97c7-f92277e478a9@linux.ibm.com \
    --to=jremus@linux.ibm.com \
    --cc=binutils@sourceware.org \
    --cc=nickc@redhat.com \
    --cc=roland.illig@gmx.de \
    /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).