This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Named address support for GCC 4.5
Michael Meissner <meissner@linux.vnet.ibm.com> writes:
> On Tue, Dec 02, 2008 at 11:31:27PM +0000, Joseph S. Myers wrote:
>> On Mon, 1 Dec 2008, Michael Meissner wrote:
>>
>> > +/* Map an address space number into a name. */
>> > +static const char *
>> > +spu_addr_space_name (addr_space_t addrspace)
>> > +{
>> > + switch (addrspace)
>> > + {
>> > + case ADDR_SPACE_GENERIC:
>> > + return "generic";
>> > +
>> > + case ADDR_SPACE_EA:
>> > + return "__ea";
>>
>> Is generic meant to be a literal used in any language, as in this patch,
>> or should it be translated, in which case as I read the code this should
>> return _("generic")?
>
> Yes, it should be translated.
It is pretty much impossible to translate it properly without context.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."