Re: msvcrt: Fix the name of the Portuguese locale alias.
On Wed, Jun 13, 2012 at 2:47 PM, Francois Gouget <fgouget(a)free.fr> wrote:
... dlls/msvcrt/locale.c | 2 +- dlls/msvcrt/tests/locale.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ... - "portugese", "ptb", + "portuguese", "ptb",
Just a side note. Although I'm not sure I think portuguese is "ptg", brazilian portuguese is "ptb". So the correct may be:
+ "portuguese", "ptg",
A Portugal user would be able to check that, or maybe it's easier to write a testcase. If I'm wrong I ask apologies in advance, Bruno
On 06/13/12 23:51, Bruno Jesus wrote:
Just a side note. Although I'm not sure I think portuguese is "ptg", brazilian portuguese is "ptb". So the correct may be:
+ "portuguese", "ptg",
A Portugal user would be able to check that, or maybe it's easier to write a testcase. There already is a test confirming current behavior. It passes on Win7, fails on NT4.
Bruno, On 06/14/2012 11:25 AM, Piotr Caban wrote:
On 06/13/12 23:51, Bruno Jesus wrote:
Just a side note. Although I'm not sure I think portuguese is "ptg", brazilian portuguese is "ptb". So the correct may be:
+ "portuguese", "ptg",
A Portugal user would be able to check that, or maybe it's easier to write a testcase. There already is a test confirming current behavior. It passes on Win7, fails on NT4. this behavior is consistent with Windows treating Brazilian Portuguese as the "default" Portuguese language: include/winnt.rh:#define SUBLANG_PORTUGUESE_BRAZILIAN 0x01 include/winnt.rh:#define SUBLANG_DEFAULT 0x01
bye michael
participants (3)
-
Bruno Jesus -
Michael Stefaniuc -
Piotr Caban