[Xfce4-commits] <www:nick/gettext> Fix some validation problems.

Nick Schermer noreply at xfce.org
Sat Dec 18 21:24:01 CET 2010


Updating branch refs/heads/nick/gettext
         to 13bdc966b0e60a672050749da8b8f3253369740c (commit)
       from 7374d4755ecd14aac7022b771b84de0640d1ab29 (commit)

commit 13bdc966b0e60a672050749da8b8f3253369740c
Author: Nick Schermer <nick at xfce.org>
Date:   Sat Dec 18 21:22:11 2010 +0100

    Fix some validation problems.

 pages/development/releasemodel.php |   13 ++---
 pages/development/translate.php    |   38 +++++++++------
 pages/download/building.php        |   89 ++++++++++++++++++-----------------
 3 files changed, 74 insertions(+), 66 deletions(-)

diff --git a/pages/development/releasemodel.php b/pages/development/releasemodel.php
index 2d8d060..5f7c898 100644
--- a/pages/development/releasemodel.php
+++ b/pages/development/releasemodel.php
@@ -4,8 +4,7 @@ $head['title'] = R_('Release Model');
 
 $toc['anchors'] = array (
         'core' => R_('The Xfce Core Desktop'),
-        'cycle' => R_('The Release Cycle'),
-        );
+        'cycle' => R_('The Release Cycle'));
 
 ?>
 
@@ -74,7 +73,7 @@ $toc['anchors'] = array (
 
 <p>
   <a href="/images/development/releasemodel/example-release-cycle.svg">
-    <img src="/images/development/releasemodel/example-release-cycle.png" title="<?php E_('Example Release Cycle') ?>" />
+    <img src="/images/development/releasemodel/example-release-cycle.png" title="<?php E_('Example Release Cycle') ?>" alt="" />
   </a>
 </p>
 
@@ -200,7 +199,7 @@ $toc['anchors'] = array (
 
 <p>
   <a href="/images/development/releasemodel/feature-branching.svg">
-    <img src="/images/development/releasemodel/feature-branching.png" title="<?php E_('Development Workflow') ?>" />
+    <img src="/images/development/releasemodel/feature-branching.png" title="<?php E_('Development Workflow') ?>" alt="" />
   </a>
 </p>
 
@@ -269,7 +268,7 @@ $toc['anchors'] = array (
 
 <p>
   <a href="/images/development/releasemodel/code-freeze-branching.svg">
-    <img src="/images/development/releasemodel/code-freeze-branching.png" title="<?php E_('Tagging and Branching for Releases') ?>" />
+    <img src="/images/development/releasemodel/code-freeze-branching.png" title="<?php E_('Tagging and Branching for Releases') ?>" alt="" />
   </a>
 </p>
 
@@ -339,6 +338,6 @@ $toc['anchors'] = array (
 </p>
 
 <ul>
-  <li>Jannis Pohlmann <<?php echo mungify_mail('jannis at xfce.org') ?>>
-  <li>Stephan Arts <<?php echo mungify_mail('stephan at xfce.org') ?>>
+  <li>Jannis Pohlmann <<?php echo mungify_mail('jannis at xfce.org') ?></li>
+  <li>Stephan Arts <<?php echo mungify_mail('stephan at xfce.org') ?></li>
 </ul>
diff --git a/pages/development/translate.php b/pages/development/translate.php
index e75a75a..d86f0d6 100644
--- a/pages/development/translate.php
+++ b/pages/development/translate.php
@@ -1,4 +1,13 @@
-<?php $head['title'] = R_('Translate') ?>
+<?php
+
+$head['title'] = R_('Translate');
+
+$toc['anchors'] = array (
+        'started' => R_('Getting Started'),
+        'teamwork' => R_('Team Work'),
+        'transifex' => R_('Transifex Usage'));
+
+?>
 
 <h1><?php echo $head['title'] ?></h1>
 
@@ -10,23 +19,20 @@
   <?php E_('Because we\'d like to translate Xfce in as much languages as possible, we are always looking for new translation contributors. If you\'re interested in this, read the <em>getting started</em> section below.') ?>
 </p>
 
-<h2><?php E_('Getting Started') ?></h2>
+<h2 id="started"><?php E_('Getting Started') ?></h2>
 
 <p>
   <?php E_('Before you can contribute translations, you have to go through the steps below. Note that <em>ALL</em> these steps are required:') ?>
+</p>
 
-  <ol>
-    <li><?php E_('First go to the <a href="http://translations.xfce.org/accounts/register/">registration page</a> and create a new profile. After you\'ve pressed the <em>Register</em>-button, you will receive an email to confirm your account, before you can login.') ?></li>
-
-    <li><?php E_('After you\'ve logged in, go to your <a href="http://translations.xfce.org/accounts/profile/edit/personal/">profile page</a> and set your <em>First name</em>, <em>Surname</em> and <em>Native Language</em>. Your complete name is <em>required</em> for submitting translations and will be used in the GIT logs, so take this seriously!') ?></li>
-
-    <li><?php E_('Join the <a href="http://foo-projects.org/mailman/listinfo/xfce-i18n">Xfce translation mailing list</a>. This is where the translation communication is coordinated, so it is nice to introduce yourself here. On this list developer will also announce when releases are planned, translations system changes or anything else you should know as a translators.') ?></li>
-
-    <li><?php E_('Go to the <a href="http://translations.xfce.org/projects/p/xfce/teams/">Xfce translation teams</a> and request access to a team or request a new language if it doesn\'t exist yet. One of the developers or translation coordinators will approve (or decline) your request. All other product in this Transifex installation outsource the permissions of the Xfce product, so your rights in this product will apply all over <a href="http://translations.xfce.org">translations.xfce.org</a>.') ?></li>
+<ol>
+  <li><?php E_('First go to the <a href="http://translations.xfce.org/accounts/register/">registration page</a> and create a new profile. After you\'ve pressed the <em>Register</em>-button, you will receive an email to confirm your account, before you can login.') ?></li>
+  <li><?php E_('After you\'ve logged in, go to your <a href="http://translations.xfce.org/accounts/profile/edit/personal/">profile page</a> and set your <em>First name</em>, <em>Surname</em> and <em>Native Language</em>. Your complete name is <em>required</em> for submitting translations and will be used in the GIT logs, so take this seriously!') ?></li>
+  <li><?php E_('Join the <a href="http://foo-projects.org/mailman/listinfo/xfce-i18n">Xfce translation mailing list</a>. This is where the translation communication is coordinated, so it is nice to introduce yourself here. On this list developer will also announce when releases are planned, translations system changes or anything else you should know as a translators.') ?></li>
+  <li><?php E_('Go to the <a href="http://translations.xfce.org/projects/p/xfce/teams/">Xfce translation teams</a> and request access to a team or request a new language if it doesn\'t exist yet. One of the developers or translation coordinators will approve (or decline) your request. All other product in this Transifex installation outsource the permissions of the Xfce product, so your rights in this product will apply all over <a href="http://translations.xfce.org">translations.xfce.org</a>.') ?></li>
+  <li><?php E_('Now wait patently. If it takes too long, leave a message on the translation mailing list.') ?></li>
+</ol>
 
-    <li><?php E_('Now wait patently. If it takes too long, leave a message on the translation mailing list.') ?></li>
-  </ol>
-</p>
 
 <p>
   <?php E_('Once this has all happened, you should have permission to submit and update translations in your language. You can find more information about this below. Don\'t forget to keep in touch with the other translators in your language (you can find them in the translation groups) to coordinate the translation work!') ?>
@@ -36,14 +42,14 @@
   <?php E_('If you think anything went wrong, ideas? Don\'t hesitate and send an email to the Xfce translation mailing list, we\'re always there to help you!') ?>
 </p>
 
-<h2><?php E_('Team Work') ?></h2>
+<h2 id="teamwork"><?php E_('Team Work') ?></h2>
 
 <p>
   <?php E_('Keep in touch with the current translator(s). Is your language already translated or being translated by someone else, then you should try to work together with the current translator(s) of that language, and split up the work so you are reducing the workload and increasing the quality of the translation. Many translators are happy to share the work or even appreciate people discussing translations.') ?>
 </p>
 
 <p>
-  <?php E_('The header of the PO files contain the field &quotLast-Translator" As example here is the French translation of xfce4-panel: <a href="http://git.xfce.org/xfce/xfce4-panel/plain/po/fr.po">fr.po</a>.') ?>
+  <?php E_('The header of the PO files contain the field "Last-Translator" As example here is the French translation of xfce4-panel: <a href="http://git.xfce.org/xfce/xfce4-panel/plain/po/fr.po">fr.po</a>.') ?>
 </p>
 
 <p>
@@ -54,7 +60,7 @@
   <?php E_('Other than getting in touch with current translators, you can use a private page to share progress on translations. The defacto place is on <a href="http://wiki.xfce.org/translations/">wiki.xfce.org</a>, but you can also use alternative possibilities like the <a href="http://groups.google.com/support/">Google Groups</a>.') ?>
 </p>
 
-<h2><?php E_('Transifex Usage') ?></h2>
+<h2 id="transifex"><?php E_('Transifex Usage') ?></h2>
 
 <h3><?php E_('Statistics') ?></h3>
 <p>
diff --git a/pages/download/building.php b/pages/download/building.php
index b64b1c8..a3017c8 100644
--- a/pages/download/building.php
+++ b/pages/download/building.php
@@ -38,25 +38,26 @@ $toc['anchors'] = array (
 <h3><?php E_('Released packages') ?></h3>
 <p>
   <?php E_('Xfce packages have two types of releases. Click the links to open the the download locations.') ?>
-  <ul>
-    <li><a href="http://archive.xfce.org/xfce/" class="external"><?php E_('Collection releases of the core modules') ?></a>
-      <p>
-        <?php E_('From time to time a new collection release if Xfce is made. A collection release consists of a number of individual tarballs and a fat-tarball that contains all the individual tarballs.') ?>
-      </p>
-      
-      <p>
-        <?php E_('The collection releases always contain the correct versions to build the other packages in the release. If you want the latest version of each package, you can start with a collection release and then look for individual bug fix releases, explained in the item below.') ?>
-      </p>
-    </li>
-    
-    <li><a href="http://archive.xfce.org/src/xfce/" class="external"><?php E_('Individual releases') ?></a>
-      <p>
-        <?php E_('Each package in Xfce is allowed to make development and stable releases at any time, see the <a href="/development/releasemodel">release model</a> documentation for more information.') ?>
-      </p>
-    </li>
-  </ul>
 </p>
 
+<ul>
+  <li><a href="http://archive.xfce.org/xfce/" class="external"><?php E_('Collection releases of the core modules') ?></a>
+    <p>
+      <?php E_('From time to time a new collection release if Xfce is made. A collection release consists of a number of individual tarballs and a fat-tarball that contains all the individual tarballs.') ?>
+    </p>
+
+    <p>
+      <?php E_('The collection releases always contain the correct versions to build the other packages in the release. If you want the latest version of each package, you can start with a collection release and then look for individual bug fix releases, explained in the item below.') ?>
+    </p>
+  </li>
+
+  <li><a href="http://archive.xfce.org/src/xfce/" class="external"><?php E_('Individual releases') ?></a>
+    <p>
+      <?php E_('Each package in Xfce is allowed to make development and stable releases at any time, see the <a href="/development/releasemodel">release model</a> documentation for more information.') ?>
+    </p>
+  </li>
+</ul>
+
 <h3><?php E_('From the code repository') ?></h3>
 <p>
   <?php E_('For the latest code you need to make local copies of the GIT repositories, this is the place where developers submit their code. It you decide to use GIT, try to use the same branch for all the packages to avoid dependency version problems.') ?>
@@ -91,35 +92,37 @@ $toc['anchors'] = array (
 <h3><?php E_('Build requirements')?></h3>
 <p>
   <?php E_('Before you can start compiling, you need a couple of packages that are required to compile Xfce. Use your distributions package manager to install those packages. Additional packages are required too for some modules, but we\'ll get to that later.') ?>
-  
-  <ul>
-    <li><a href="http://en.wikipedia.org/wiki/GNU_toolchain" class="external"><?php E_('A working GNU toolchain')?></a></li>
-    <li><?php E_('Gtk+ and Glib headers, in some distributions called the <em>-devel</em> packages')?>
-      <ul>
-        <li><?php E_('Xfce 4.8 requires Gtk+ 2.14 and Glib 2.20')?></li>
-        <li><?php E_('Xfce 4.6 requires Gtk+ 2.10 and Glib 2.12')?></li>
-      </ul>
-    </li>
-    <li>pkgconfig</li>
-    <li><?php E_('Coffee') ?></li>
-  </ul>
 </p>
 
+<ul>
+  <li><a href="http://en.wikipedia.org/wiki/GNU_toolchain" class="external"><?php E_('A working GNU toolchain')?></a></li>
+  <li><?php E_('Gtk+ and Glib headers, in some distributions called the <em>-devel</em> packages')?>
+    <ul>
+      <li><?php E_('Xfce 4.8 requires Gtk+ 2.14 and Glib 2.20')?></li>
+      <li><?php E_('Xfce 4.6 requires Gtk+ 2.10 and Glib 2.12')?></li>
+    </ul>
+  </li>
+  <li>pkgconfig</li>
+  <li><?php E_('Coffee') ?></li>
+</ul>
+
+
 <h3><?php E_('Xfce\'s dependency chain') ?></h3>
 <p>
   <?php E_('The Xfce packages need to be build in a specific order. If you don\'t follow this compile options might not be available or the configure stage will abort because of missing dependencies.') ?>
-  
-  <ul>
-    <li>xfce4-dev-tools (<?php E_('only required if you build from GIT') ?>)</li>
-    <li>libxfce4util</li>
-    <li>xfconf</li>
-    <li>libxfce4ui (<?php E_('new in 4.8') ?>), libxfcegui4 (<?php E_('deprecated since 4.8') ?>), libxfce4menu (<?php E_('deprecated since 4.8') ?>), garcon (<?php E_('new in 4.8') ?>) & exo</li>
-    <li>xfce4-panel</li>
-    <li>thunar</li>
-    <li>xfce4-settings, xfce4-session, xfdesktop, xfwm4, xfce-utils, xfce4-appfinder, ...</li>
-  </ul>
 </p>
 
+<ul>
+  <li>xfce4-dev-tools (<?php E_('only required if you build from GIT') ?>)</li>
+  <li>libxfce4util</li>
+  <li>xfconf</li>
+  <li>libxfce4ui (<?php E_('new in 4.8') ?>), libxfcegui4 (<?php E_('deprecated since 4.8') ?>), libxfce4menu (<?php E_('deprecated since 4.8') ?>), garcon (<?php E_('new in 4.8') ?>) & exo</li>
+  <li>xfce4-panel</li>
+  <li>thunar</li>
+  <li>xfce4-settings, xfce4-session, xfdesktop, xfwm4, xfce-utils, xfce4-appfinder, ...</li>
+</ul>
+
+
 <h3><?php E_('Package specific dependencies') ?></h3>
 <p>
   <?php E_('Some core packages in Xfce have addition or optional dependencies, all are listed in the table below for the latest stable version. We only show the top package as dependency (so xfce4-panel also requires gtk+, but libxfce4ui already depends on that). Note that some of the package names may vary between distributions.') ?>
@@ -127,9 +130,9 @@ $toc['anchors'] = array (
 
 <table>
   <tr>
-    <th>Package</td>
-    <th>Dependency(-ies)</td>
-    <th>Optional Dependency(-ies)</td>
+    <th>Package</th>
+    <th>Dependency(-ies)</th>
+    <th>Optional Dependency(-ies)</th>
   </tr>
     <tr>
     <td>xfce4-dev-tools</td>
@@ -202,7 +205,7 @@ $toc['anchors'] = array (
     <td>dbus-glib</td>
   </tr>
   <tr>
-    <td nowrap>gtk-xfce-engine-2</td>
+    <td nowrap="nowrap">gtk-xfce-engine-2</td>
     <td>gtk+</td>
     <td> </td>
   </tr>



More information about the Xfce4-commits mailing list