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:
@@ -271,12 +271,12 @@ wxWidgets uses the standard GNU gettext tools for i18n so if you are already
|
||||
familiar with them you shouldn't have any problems with working on wxWidgets
|
||||
translations. Here are the the steps you should follow:
|
||||
<ol>
|
||||
<li>Get the latest version of the file <tt>locale/wxstd.po</tt> from the
|
||||
<li>Get the latest version of the file <tt>locale/wxstd.pot</tt> from the
|
||||
wxWidgets source tree: if you're using <a href="cvs.htm">cvs</a>
|
||||
or the <a href="http://wxwindows.sf.net/snapshots/">daily snapshots</a>,
|
||||
you should already have it. Otherwise you can always
|
||||
retrieve it directly from the cvs repository via the Web interface
|
||||
<a href="http://cvs.wxwidgets.org/viewcvs.cgi/wxWidgets/locale/wxstd.po">here</a>.
|
||||
<a href="http://cvs.wxwidgets.org/viewcvs.cgi/wxWidgets/locale/wxstd.pot">here</a>.
|
||||
|
||||
<li>Rename it to <tt>XY.po</tt> where <tt>"XY"</tt> is the 2 letter
|
||||
<a href="http://lcweb.loc.gov/standards/iso639-2/englangn.html">ISO 639-1 language code</a>
|
||||
|
@@ -36,9 +36,9 @@ Now a brief overview of the process of translations (please refer to GNU
|
||||
gettext documentation for more details). It happens in several steps:
|
||||
|
||||
1. the strings to translate are extracted from the C++ sources using xgettext
|
||||
program into a wxstd.po file which is a "text message catalog"
|
||||
program into a wxstd.pot file which is a "text message catalog"
|
||||
|
||||
2. this new wxstd.po file (recreated each time some new text messages are added
|
||||
2. this new wxstd.pot file (recreated each time some new text messages are added
|
||||
to wxWidgets) is merged with existing translations in another .po file (for
|
||||
example, de.po) and replaces this file (this is done using the program
|
||||
msgmerge)
|
||||
|
Reference in New Issue
Block a user