Re: Add German translation for xcopy

2008-06-12 Thread Francois Gouget
On Wed, 11 Jun 2008, Mikołaj Zalewski wrote:

> 
> >Does this work for you? When I apply the attached patch and run
> >
> >wine xcopy /?
> >
> >I get garbled German umlauts in the output (also tried with 
> >SUBLANG_NEUTRAL) . Is it the same for you?
> >  
> >
>   Wine console applications output in the OEMCP (i.e. the DOS codepage 
> for the given locale) that is usually different from the Unix console 
> charset. It works if you run the program in a wine console (`wineconsole 
> cmd` and run 'xcopy /?' there). I think, Wine should detect if the 
> output is a Unix tty and do a conversion from OEMCP to UNIXCP, but 
> that's not something that could be done before Wine 1.0.

I hit the same problem recently created a bug report for it:
13819 - Wrong codepage used for console output
http://bugs.winehq.org/show_bug.cgi?id=13819

-- 
Francois Gouget <[EMAIL PROTECTED]>  http://fgouget.free.fr/
 There are 10 types of people in the world...
   those who understand binary and those who don't.


Re: Add German translation for xcopy

2008-06-11 Thread Mikołaj Zalewski

>Does this work for you? When I apply the attached patch and run
>
>wine xcopy /?
>
>I get garbled German umlauts in the output (also tried with 
>SUBLANG_NEUTRAL) . Is it the same for you?
>  
>
  Wine console applications output in the OEMCP (i.e. the DOS codepage 
for the given locale) that is usually different from the Unix console 
charset. It works if you run the program in a wine console (`wineconsole 
cmd` and run 'xcopy /?' there). I think, Wine should detect if the 
output is a Unix tty and do a conversion from OEMCP to UNIXCP, but 
that's not something that could be done before Wine 1.0.

Mikołaj Zalewski




Re: Add German translation for xcopy

2008-06-11 Thread Rico Schüller
Michael Karcher wrote:
> ---
>  programs/xcopy/De.rc   |   79 
> 
>  programs/xcopy/rsrc.rc |1 +
>  2 files changed, 80 insertions(+), 0 deletions(-)
>  create mode 100644 programs/xcopy/De.rc
> 
> 
> 
> 
> 
Does this work for you? When I apply the attached patch and run

wine xcopy /?

I get garbled German umlauts in the output (also tried with 
SUBLANG_NEUTRAL) . Is it the same for you?

I think you forgot something to translate:
STRING_INVPARM,  "Unbekannter Parameter '%s' -  Use xcopy /? for help\n"
should be something like
STRING_INVPARM,  "Unbekannter Parameter '%s' -  xcopy /? zeigt Hilfe an\n"

Cheers
Rico