wordpad: Fix the English NEUTRAL translation.

Michael Stefaniuc mstefani at redhat.com
Wed Jul 15 03:45:17 CDT 2009


Austin English wrote:
> On Tue, Jul 14, 2009 at 6:45 PM, Michael Stefaniuc<mstefani at redhat.de> wrote:
>> ---
>>  programs/wordpad/En.rc |   12 +++++++++++-
>>  1 files changed, 11 insertions(+), 1 deletions(-)
>>
>> diff --git a/programs/wordpad/En.rc b/programs/wordpad/En.rc
>> index fe92de7..1e1fd2e 100644
>> --- a/programs/wordpad/En.rc
>> +++ b/programs/wordpad/En.rc
>> @@ -249,7 +249,17 @@ LANGUAGE LANG_ENGLISH, SUBLANG_NEUTRAL
>>
>>  STRINGTABLE DISCARDABLE
>>  BEGIN
>> -    STRING_ALIGN_LEFT,            "Left"
>>     STRING_ALIGN_RIGHT,           "Right"
>>     STRING_ALIGN_CENTER,          "Centre"
> 
> 
> Any reason you removed Left but not Right?
Of course:
"Left" is part of a STRINGTABLE resource where there is no difference
between en_UK and en_US. See
http://source.winehq.org/transl/resource.php?lang=009%3A00&resfile=programs%2Fwordpad&type=6&id=88&compare=

"Right" is part of a STRINGTABLE resource that has "Centre" versus
"Center". If we don't include those other strings that are part of that
respective STRINGTABLE resource they will be replaced by an empty
string. See
http://source.winehq.org/transl/resource.php?lang=009%3A00&resfile=programs%2Fwordpad&type=6&id=89&compare=

How people group the strings in the rc files with
STRINGTABLE DISCARDABLE
BEGIN
    ...
END
is really irrelevant. In the compiled resources the strings will be
grouped based on their id and 16 string ids (empty strings if those ids
don't really exist) go into a STRINGTABLE.

bye
	michael



More information about the wine-devel mailing list