Revision: 7606 http://languagetool.svn.sourceforge.net/languagetool/?rev=7606&view=rev Author: dominikoeo Date: 2012-06-30 19:29:35 +0000 (Sat, 30 Jun 2012) Log Message: ----------- - allow to localize the string "version" in the download buttons.
Modified Paths: -------------- trunk/website/include/download.php trunk/website/include/downloadStandAlone.php trunk/website/www/br/index.php trunk/website/www/eo/index.php Modified: trunk/website/include/download.php =================================================================== --- trunk/website/include/download.php 2012-06-30 19:23:02 UTC (rev 7605) +++ trunk/website/include/download.php 2012-06-30 19:29:35 UTC (rev 7606) @@ -1,15 +1,16 @@ <?php $version= "1.8"; $filesize = "24"; -if( !isset($downloadTitle) ) $downloadTitle = "Download LanguageTool"; -if( !isset($downloadLabel) ) $downloadLabel = "for LibreOffice/OpenOffice"; -if( !isset($downloadPath) ) $downloadPath = "download"; +if( !isset($downloadTitle) ) $downloadTitle = "Download LanguageTool"; +if( !isset($downloadLabel) ) $downloadLabel = "for LibreOffice/OpenOffice"; +if( !isset($downloadVersionLabel ) $downloadVersionLabel = "Version"; +if( !isset($downloadPath) ) $downloadPath = "download"; ?> <div class="downloadButton"> <a class='piwik_download' style="display: block" href="<?php print $downloadPath ?>/LanguageTool-stable.oxt?<?php print $version ?>"> <span class="languagetool"><?php print $downloadTitle ?></span><br/> <span class="download"><?php print $downloadLabel ?><br/></span> - <span class="version">Version <?php print $version ?> (<?php print $filesize ?> MB)</span> + <span class="version"><?php print $downloadVersionLabel ?> <?php print $version ?> (<?php print $filesize ?> MB)</span> </a> </div> Modified: trunk/website/include/downloadStandAlone.php =================================================================== --- trunk/website/include/downloadStandAlone.php 2012-06-30 19:23:02 UTC (rev 7605) +++ trunk/website/include/downloadStandAlone.php 2012-06-30 19:29:35 UTC (rev 7606) @@ -1,9 +1,10 @@ <?php $version= "1.8"; $filesize = "49"; -if( !isset($downloadTitleStandAlone) ) $downloadTitleStandAlone = "Download LanguageTool"; -if( !isset($downloadLabelStandAlone) ) $downloadLabelStandAlone = "for stand-alone use"; -if( !isset($downloadPathStandAlone) ) $downloadPathStandAlone = "download"; +if( !isset($downloadTitleStandAlone) ) $downloadTitleStandAlone = "Download LanguageTool"; +if( !isset($downloadLabelStandAlone) ) $downloadLabelStandAlone = "for stand-alone use"; +if( !isset($downloadVersionLabelStandAlone ) $downloadVersionLabel = "Version"; +if( !isset($downloadPathStandAlone) ) $downloadPathStandAlone = "download"; ?> <table> @@ -13,9 +14,9 @@ <a class='piwik_download' style="display: block" href="<?php print $downloadPathStandAlone ?>/LanguageTool-stable.zip?<?php print $version ?>"> <span class="languagetool"><?php print $downloadTitleStandAlone ?></span><br/> <span class="download"><?php print $downloadLabelStandAlone ?><br/></span> - <span class="version">Version <?php print $version ?> (<?php print $filesize ?> MB)</span> + <span class="version"><?php print $downloadVersionLabel ?> <?php print $version ?> (<?php print $filesize ?> MB)</span> </a> </div> </td> </tr> -</table> \ No newline at end of file +</table> Modified: trunk/website/www/br/index.php =================================================================== --- trunk/website/www/br/index.php 2012-06-30 19:23:02 UTC (rev 7605) +++ trunk/website/www/br/index.php 2012-06-30 19:29:35 UTC (rev 7606) @@ -65,6 +65,7 @@ <?php $downloadTitle = "Pellgargit LanguageTool"; $downloadLabel = "evit LibreOffice/OpenOffice"; + $downloadVersionLabel = "Stumm"; $downloadPath = "/download"; include("../../include/download.php"); ?> @@ -73,6 +74,7 @@ <?php $downloadTitleStandAlone = "Pellgargit LanguageTool"; $downloadLabelStandAlone = "hep LibreOffice/OpenOffice"; + $downloadVersionLabelStandAlone = "Stumm"; $downloadPathStandAlone = "/download"; include("../../include/downloadStandAlone.php"); ?> Modified: trunk/website/www/eo/index.php =================================================================== --- trunk/website/www/eo/index.php 2012-06-30 19:23:02 UTC (rev 7605) +++ trunk/website/www/eo/index.php 2012-06-30 19:29:35 UTC (rev 7606) @@ -61,6 +61,7 @@ <?php $downloadTitle = "Elŝuti Lingvoilon"; $downloadLabel = "por LibreOffice/OpenOffice"; + $downloadVersionLabel = "versio"; $downloadPath = "/download"; include("../../include/download.php"); ?> @@ -69,6 +70,7 @@ <?php $downloadTitleStandAlone = "Elŝuti Lingvoilon"; $downloadLabelStandAlone = "memstara"; + $downloadVersionLabelStandAlone = "versio"; $downloadPathStandAlone = "/download"; include("../../include/downloadStandAlone.php"); ?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Languagetool-cvs mailing list Languagetool-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/languagetool-cvs