[2/2] shdoclc & user32 & wineconsole & wordpad: Specify a message context for cut and paste

André Hentschel nerv at dawncrow.de
Tue Sep 6 12:43:19 CDT 2011


Am 06.09.2011 18:02, schrieb Alexandre Julliard:
> André Hentschel <nerv at dawncrow.de> writes:
> 
>> @@ -44,7 +44,7 @@ IDR_BROWSE_CONTEXT_MENU MENU
>>          MENUITEM "Set as &Desktop Item",   IDM_SETDESKTOPITEM
>>          MENUITEM SEPARATOR
>>          MENUITEM "Select &All",            IDM_SELECTALL
>> -        MENUITEM "&Paste",                 IDM_PASTE
>> +        MENUITEM "#msgctxt#Shell#&Paste",  IDM_PASTE
>>          MENUITEM SEPARATOR
>>          MENUITEM "Create Shor&tcut",       IDM_CREATESHORTCUT
>>          MENUITEM "Add to &Favorites...",   IDM_ADDFAVORITES
>> @@ -73,10 +73,10 @@ IDR_BROWSE_CONTEXT_MENU MENU
>>          MENUITEM "Set as Back&ground",       IDM_SETWALLPAPER
>>          MENUITEM "Set as &Desktop Item...",  IDM_SETDESKTOPITEM
>>          MENUITEM SEPARATOR
>> -        MENUITEM "Cu&t",                     IDM_CUT
>> +        MENUITEM "#msgctxt#Shell#Cu&t",      IDM_CUT
>>          MENUITEM "&Copy",                    IDM_COPY
>>          MENUITEM "Copy Shor&tcut",           IDM_COPYSHORTCUT
>> -        MENUITEM "&Paste",                   IDM_PASTE
>> +        MENUITEM "#msgctxt#Shell#&Paste",    IDM_PASTE
> 
> That's not a very useful context. What are you trying to fix?
> 

It seemed to be a good solution for the ampersand/underscore trouble i have left in the po translation.
The position can differ for the same word even on Windows and sometimes a different position is the only way because of some bad word combinations.
That was once discussed and said that msgctxt is the way to go. But yes, the context names are bad, maybe #ampersand# is better?

-- 

Best Regards, André Hentschel



More information about the wine-devel mailing list