[med-svn] r1987 - trunk/community/website
hanska-guest at alioth.debian.org
hanska-guest at alioth.debian.org
Fri Jun 6 09:40:31 UTC 2008
Author: hanska-guest
Date: 2008-06-06 09:40:30 +0000 (Fri, 06 Jun 2008)
New Revision: 1987
Modified:
trunk/community/website/locales.php
Log:
Some small changes...
Modified: trunk/community/website/locales.php
===================================================================
--- trunk/community/website/locales.php 2008-06-06 09:39:00 UTC (rev 1986)
+++ trunk/community/website/locales.php 2008-06-06 09:40:30 UTC (rev 1987)
@@ -94,15 +94,17 @@
<p class="info">
To update existing locales with new messages from the code, first cd to the locale/ directory:
<pre>
-$ cd trunk/community/website/locale/</pre>
+$ cd trunk/community/website/locale/</pre><br />
After that, you will find some scripts there. So, run:
<pre>
$ ./update-messages
$ ./update-locales
+......done
+...
$ svn ci -m "Catalogs updated"
...
Commit of revision xxx done.
-$ </pre>
+$ </pre><br />
After that, pick up your favourite editor, edit your .po file, and commit it!
</p>
</span>
@@ -112,16 +114,16 @@
To add a new locale, please use your authenticated SVN access.<br />
First, checkout the locale/ directory:
<pre>
-$ svn co svn+ssh://myaliothlogin@svn.debian.org/svn/debian-med/trunk/community/website/locale/</pre>
+$ svn co svn+ssh://myaliothlogin@svn.debian.org/svn/debian-med/trunk/community/website/locale/</pre><br />
After this, create a new directory for your locale (let's suppose it's fr_FR):
<pre>
-$ mkdir -p fr_FR/LC_MESSAGES/</pre>
+$ mkdir -p fr_FR/LC_MESSAGES/</pre><br />
Next step is actually adding the .po catalog. Copy the .pot template to your newly created
directory, and start translating:
<pre>
$ cp messages.pot fr_FR/LC_MESSAGES/messages.po
$ cd fr_FR/LC_MESSAGES/
-$ vi messages.po</pre>
+$ vi messages.po</pre><br />
Now you need to compile the catalog you've just translated, and add everything under SVN
control (we're in the LC_MESSAGES/ directory in this example):
<pre>
@@ -136,7 +138,7 @@
A fr_FR/LC_MESSAGES/
A fr_FR/LC_MESSAGES/messages.mo
A fr_FR/LC_MESSAGES/messages.po
-$ </pre>
+$ </pre><br />
Now it's time to commit the changes:
<pre>
$ svn commit -m "Adding fr_FR locale"
@@ -146,7 +148,7 @@
Sending locale/fr_FR/LC_MESSAGES/messages.po
Sending data ....
Commit of Revision xxx done.
-$ </pre>
+$ </pre><br />
Please note that the <em>automatic loading</em> of locales has not been tested yet. Please
send an e-mail to <a href="mailto:debian-med at lists.debian.org">debian-med at lists.debian.org</a>
if you encounter any problems.
More information about the debian-med-commit
mailing list