[PATCH 1/2] oledlg: Improve menu items localization for OleUIAddVerbMenuW()

Nikolay Sivov bunglehead at gmail.com
Fri Sep 11 03:10:35 CDT 2015


On 10.09.2015 18:31, Akihiro Sagawa wrote:
> On Thu, 10 Sep 2015 15:32:03 +0300, Nikolay Sivov wrote:
>>>> +  IDS_VERBMENU_OBJECT_WITH_NAME "%s &Object"
>>>>      IDS_VERBMENU_CONVERT  "&Convert..."
>>>> +  IDS_VERBMENU_SINGLEVERB_OBJECT "%1 %2 &Object"
>>>
>>> This patch has been commited, but you may want to use %1, instead
>>> of %s, for IDS_VERBMENU_OBJECT_WITH_NAME.
>>
>> Do you mean FormatMessage can't handle %s format?
>
> Yes, FormatMessage has a different notation like %1!s! or just %1.
> For details, please see our implementation[1] or MSDN documents[2].

Thanks, I missed that, will send a fix.

>
> [1] https://source.winehq.org/source/dlls/kernel32/format_msg.c?!v=wine-1.7.51#0345
> [2] https://msdn.microsoft.com/en-us/library/windows/desktop/ms679351%28v=vs.85%29.aspx
>
>
>




More information about the wine-devel mailing list