Remove platform-specific translations support
As shown by the fact that no other platform-specific translations were
ever added since the initial version of locale/msw/it.po added way back
in 4d931bcca0
(Translate '&Help' to '&' for italian Windows only,
2005-08-12), this is not especially useful, so just handle this
particular case specially in wxGetStockLabel() and remove support for
platform-specific translations.
This allows to simplify the makefiles and the catalog loading code as
there is no need to deal with the files in subdirectories any more.
This commit is contained in:
@@ -50,18 +50,3 @@ them). Then type `make lang.mo` which will create the binary message catalog.
|
||||
|
||||
Under Windows (If you don't have Cygwin or MinGW), you should execute the
|
||||
commands manually, please have a look at Makefile to see what must be done.
|
||||
|
||||
For platform specific translations, .po files such as `locale/msw/it.po` can be
|
||||
used to provide translations that override the usual ones in `locale/it.po`.
|
||||
The generated .mo files are then installed under the names such as `wxmsw.mo`
|
||||
alongside the generic `wxstd.mo`.
|
||||
|
||||
A new platform specific translation should be added to a section such as this
|
||||
in wx.bkl:
|
||||
|
||||
<gettext-catalogs id="locale_msw">
|
||||
<srcdir>$(SRCDIR)/locale/msw</srcdir>
|
||||
<catalog-name>wxmsw</catalog-name>
|
||||
<linguas>it</linguas>
|
||||
<install-to>$(LOCALEDIR)</install-to>
|
||||
</gettext-catalogs>
|
||||
|
Reference in New Issue
Block a user