Bug 5172 - Too cryptic messages to translate in gas-2.17.90.fi.po
Summary: Too cryptic messages to translate in gas-2.17.90.fi.po
Status: RESOLVED FIXED
Alias: None
Product: binutils
Classification: Unclassified
Component: gas (show other bugs)
Version: 2.17
: P2 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-13 08:28 UTC by Jorma Karvonen
Modified: 2007-10-18 13:04 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments
Improve some error messages to make them clearer (1.52 KB, patch)
2007-10-18 12:59 UTC, Nick Clifton
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jorma Karvonen 2007-10-13 08:28:27 UTC
When I checked with some translations, some messages are obviously considered as
constants (by translators) and are not translated. I think they should be
removed or rewritten:

#: config/tc-arc.c:1076 config/tc-ip2k.c:248
msgid "md_estimate_size_before_relax\n"
msgstr "md_estimate_size_before_relax\n"

#: config/tc-arc.c:1087
msgid "md_convert_frag\n"
msgstr "md_convert_frag\n"

#: config/tc-i860.c:1086
msgid "i860_estimate_size_before_relax\n"
msgstr "i860_estimate_size_before_relax\n"

#: config/tc-i860.h:76
msgid "i860_convert_frag\n"
msgstr "i860_convert_frag\n"

#: config/tc-ip2k.c:273
msgid "md_pcrel_from\n"
msgstr "md_pcrel_from\n"

#: config/tc-m68k.c:2147
msgid "ColdFire ISA_A"
msgstr "ColdFire ISA_A"

#: config/tc-m68k.c:2153
msgid "ColdFire ISA_A+"
msgstr "ColdFire ISA_A+"

#: config/tc-m68k.c:2156
msgid "ColdFire ISA_B"
msgstr "ColdFire ISA_B"

There are also some questionable msgids like "ColdFire fpu" or "M68K fpu". I
suppose that translators do no change them by any way.

br,

Jorma
Comment 1 Jorma Karvonen 2007-10-13 08:39:18 UTC
Oops, ignore file name gas-2.17.90.fi.po on the summary line. It is not issued
yet ;-) It should be gas-2.17.90.pot

br,

Jorma
Comment 2 Jorma Karvonen 2007-10-14 20:19:40 UTC
(In reply to comment #0)
> There are also some questionable msgids like "ColdFire fpu" or "M68K fpu". I
> suppose that translators do no change them by any way.

Pls, ignore what I said about questionable. Maybe some translator can translate
them (fpu means here "floating point unit", does it? Sometimes it could be
better to explain abbreviations in comments, because translators have to guess
what they mean).

Br,

Jorma
Comment 3 Nick Clifton 2007-10-18 12:59:30 UTC
Created attachment 2054 [details]
Improve some error messages to make them clearer
Comment 4 Nick Clifton 2007-10-18 13:04:14 UTC
Hi Jorma,

  I have applied the uploaded patch to resolve most of this issue.  The code in
tc-m68k.c:m68k_ip() should really be rewritten to make translation easier, but
that will have to wait for another time.

Cheers
  Nick

gas/ChangeLog
2007-10-18  Nick Clifton  <nickc@redhat.com>

	PR gas/5172
	* config/tc-arc.c (md_estimate_size_before_relax): Change error
	message.
	(md_convert_frag): Just call abort.
	* config/tc-i860.c (md_estimate_size_before_relax): Change error
	message.
	* config/tc-i860.h (md_convert_frag): Just call abort.
	* config/tc-ip2k.c (md_estimate_size_before_relax): Change error
	message.
	(md_convert_frag): Just call abort.
	* config/tc-m68k.c (m68k_ip): Do not attempt translation of
	architecture names.