Use separate strings for stock labels with and without mnemonics.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 11 Aug 2011 10:56:05 +0000 (10:56 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 11 Aug 2011 10:56:05 +0000 (10:56 +0000)
commitf8a1c5715fe3621d008db9dd174bdcd074ba8554
tree3743de7751e14708ffee049c34f857906c938ad9
parentf5f302d7217ecebe9f71f4c551dbfc0d6d0b9b0c
Use separate strings for stock labels with and without mnemonics.

Obtaining the string without mnemonics by simply removing "&" characters from
the string containing mnemonics doesn't work for some languages, notably
Chinese where the convention is to use "Chinese Text (&M)" for the labels with
"M" being the ASCII mnemonic and just "Chinese Text" and not "Chinese Text (M)"
should be used if wxSTOCK_WITH_MNEMONIC flag is not specified.

Fix the fundamental problem by using separate strings for the two cases.
Translations still need to be updated to really correct the labels appearance.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
docs/changes.txt
src/common/stockitem.cpp