renamed wxstd.po to wxstd.pot so that it uses standard gettext extension for catalog templates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -47,20 +47,20 @@ A. First of all, you will need the GNU gettext tools (see the next question).
|
||||
xgettext -C -n -k_ -kwxPLURAL:1,2 -kwxTRANSLATE -o internat.po ../internat.cpp
|
||||
|
||||
# .po file for wxWindows might be generated in the same way. An already
|
||||
# generated wxstd.po as well as translations for some languages can be
|
||||
# generated wxstd.pot as well as translations for some languages can be
|
||||
# found in the locale directory.
|
||||
cp ../../locale/<language>.po ./wxstd.po
|
||||
cp ../../locale/<language>.po ./wxstd.pot
|
||||
- or -
|
||||
cp ../../locale/wxstd.po .
|
||||
cp ../../locale/wxstd.pot .
|
||||
|
||||
# now edit the files and do translate strings (this isn't done by gettext)
|
||||
# you can use another editor if you wish :-) No need to edit wxstd.po if you
|
||||
# you can use another editor if you wish :-) No need to edit wxstd.pot if you
|
||||
# already got a translated one.
|
||||
vi internat.po wxstd.po
|
||||
vi internat.po wxstd.pot
|
||||
|
||||
# create the message catalog files
|
||||
msgfmt -o internat.mo internat.po
|
||||
msgfmt -o wxstd.mo wxstd.po
|
||||
msgfmt -o wxstd.mo wxstd.pot
|
||||
|
||||
# run the sample to test it
|
||||
cd ..
|
||||
|
Reference in New Issue
Block a user