PATCH: Java patch for generated-source-files
Joseph S. Myers
joseph@codesourcery.com
Sun Mar 18 18:10:00 GMT 2007
On Fri, 16 Mar 2007, Mark Mitchell wrote:
> Joseph, I understand that the .pot regeneration process will now have
> to be updated. Would you please update the documentation that
> explains how to do that?
I've applied this patch to translation.html.
Index: translation.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/translation.html,v
retrieving revision 1.8
diff -u -r1.8 translation.html
--- translation.html 19 Oct 2006 12:01:57 -0000 1.8
+++ translation.html 18 Mar 2007 17:31:19 -0000
@@ -15,12 +15,13 @@
<p><code>gcc/po/gcc.pot</code> and <code>libcpp/po/cpplib.pot</code> (the
template files containing all the messages translators need to translate)
-are currently regenerated manually. Note that <code>cpplib</code> is
-internationalized separately starting from GCC 4.0 only: previous versions
-only require regenerating <code>gcc/po/gcc.pot</code>.</p>
+are currently regenerated manually.</p>
<p>To regenerate <code>gcc.pot</code>:</p>
<ul>
+<li>configure and build GCC with
+ <code>--enable-generated-files-in-srcdir</code> (this option is only
+ needed for 4.2 and later);</li>
<li><code>make gcc.pot</code> in <code><i>objdir</i>/gcc/</code>;</li>
<li>move <code><i>objdir</i>/gcc/po/gcc.pot</code> to
<code><i>srcdir</i>/gcc/po/</code>.</li>
@@ -46,7 +47,7 @@
<h2 id="submit"><code>gcc.pot</code> submission to Translation
Project</h2>
-<p>An automatic process submits the <code>.pot</code> files from
+<p>An i18n maintainer submits the <code>.pot</code> files from
releases to the Translation Project.</p>
<p>In preparation for the first release from a new release branch, a
@@ -78,8 +79,7 @@
href="http://www.iro.umontreal.ca/translation/registry.cgi?domain=gcc">at
the Translation Project site</a>. cpplib <code>.po</code> files
may also be found <a
- href="http://www.iro.umontreal.ca/translation/registry.cgi?domain=cpplib">there</a>
-(at least, they will by the time GCC 4.0 branches).</p>
+ href="http://www.iro.umontreal.ca/translation/registry.cgi?domain=cpplib">there</a>.</p>
<h2 id="maintain"><code>.po</code> file maintenance</h2>
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Gcc-patches
mailing list