Revision: 8869
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=8869&view=rev
Author:   dominikoeo
Date:     2013-01-05 17:47:23 +0000 (Sat, 05 Jan 2013)
Log Message:
-----------
[fr] allow customizing the "MB" label in the download 
     button.  In French at least it should be "Mo".

Modified Paths:
--------------
    trunk/website/include/download.php
    trunk/website/include/downloadStandAlone.php
    trunk/website/www/fr/index.php

Modified: trunk/website/include/download.php
===================================================================
--- trunk/website/include/download.php  2013-01-05 17:37:47 UTC (rev 8868)
+++ trunk/website/include/download.php  2013-01-05 17:47:23 UTC (rev 8869)
@@ -1,9 +1,10 @@
 <?php
 $version= "2.0";
 $filesize = "33";   //MB
-if( !isset($downloadTitle) )        $downloadTitle = "Download LanguageTool";
-if( !isset($downloadLabel) )        $downloadLabel = "for 
LibreOffice/OpenOffice";
+if( !isset($downloadTitle) )        $downloadTitle        = "Download 
LanguageTool";
+if( !isset($downloadLabel) )        $downloadLabel        = "for 
LibreOffice/OpenOffice";
 if( !isset($downloadVersionLabel) ) $downloadVersionLabel = "Version";
+if( !isset($downloadLabelMB) )      $downloadLabelMB      = "MB";
 ?>
 
 <div class="downloadButton">
@@ -11,6 +12,6 @@
     <img class="downloadButtonLogo" src="<?php print $rootUrl 
?>/images/LanguageToolBig.png" alt="LT logo"/>
     <span class="languagetool"><?php print $downloadTitle ?></span><br/>
     <span class="download"><?php print $downloadLabel ?></span><br/>
-    <span class="version"><?php print $downloadVersionLabel ?> <?php print 
$version ?> (<?php print $filesize ?>&nbsp;MB)</span>
+    <span class="version"><?php print $downloadVersionLabel ?> <?php print 
$version ?> (<?php print $filesize ?>&nbsp;<?php print $downloadLabelMB 
?>)</span>
   </a>
 </div>

Modified: trunk/website/include/downloadStandAlone.php
===================================================================
--- trunk/website/include/downloadStandAlone.php        2013-01-05 17:37:47 UTC 
(rev 8868)
+++ trunk/website/include/downloadStandAlone.php        2013-01-05 17:47:23 UTC 
(rev 8869)
@@ -3,7 +3,8 @@
 $filesize = "57";   //MB
 if( !isset($downloadTitleStandAlone) )        $downloadTitleStandAlone = 
"Download LanguageTool";
 if( !isset($downloadLabelStandAlone) )        $downloadLabelStandAlone = "for 
stand-alone use";
-if( !isset($downloadVersionLabelStandAlone) ) $downloadVersionLabel = 
"Version";
+if( !isset($downloadVersionLabelStandAlone) ) $downloadVersionLabel    = 
"Version";
+if( !isset($downloadLabelMB) )                $downloadLabelMB         = "MB";
 ?>
 
 <div class="downloadButton">
@@ -11,6 +12,6 @@
     <img class="downloadButtonLogo" src="<?php print $rootUrl 
?>/images/LanguageToolBig.png" alt="LT logo"/>
     <span class="languagetool"><?php print $downloadTitleStandAlone 
?></span><br/>
     <span class="download"><?php print $downloadLabelStandAlone ?></span><br/>
-    <span class="version"><?php print $downloadVersionLabel ?> <?php print 
$version ?> (<?php print $filesize ?>&nbsp;MB)</span>
+    <span class="version"><?php print $downloadVersionLabel ?> <?php print 
$version ?> (<?php print $filesize ?>&nbsp;<?php print 
$downloadLabelMB?>)</span>
   </a>
 </div>

Modified: trunk/website/www/fr/index.php
===================================================================
--- trunk/website/www/fr/index.php      2013-01-05 17:37:47 UTC (rev 8868)
+++ trunk/website/www/fr/index.php      2013-01-05 17:47:23 UTC (rev 8869)
@@ -71,10 +71,11 @@
       <tr>
         <td>
            <?php
-           $downloadTitle = "Télécharger LanguageTool";
-           $downloadLabel = "pour LibreOffice/OpenOffice";
+           $downloadTitle        = "Télécharger LanguageTool";
+           $downloadLabel        = "pour LibreOffice/OpenOffice";
            $downloadVersionLabel = "version";
-           $downloadPath = "/download";
+           $downloadPath         = "/download";
+           $downloadLabelMB      = "Mo";
            include("../../include/download.php");
            ?>
         </td>
@@ -85,6 +86,7 @@
             $downloadLabelStandAlone = "autonome";
             $downloadVersionLabelStandAlone = "version";
             $downloadPathStandAlone  = "/download";
+            $downloadLabelMB         = "Mo";
             include("../../include/downloadStandAlone.php");
            ?>
         </td>

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits

Reply via email to