Alexandre Julliard : transl: Display the version of the Wine build corresponding to the translation.
Alexandre Julliard
julliard at winehq.org
Tue Jul 20 14:01:54 CDT 2010
Module: tools
Branch: master
Commit: c797429a3299bfabb7e713d5ae4e3afb09ce1020
URL: http://source.winehq.org/git/tools.git/?a=commit;h=c797429a3299bfabb7e713d5ae4e3afb09ce1020
Author: Alexandre Julliard <julliard at winehq.org>
Date: Tue Jul 20 20:33:54 2010 +0200
transl: Display the version of the Wine build corresponding to the translation.
---
transl/config.php | 2 --
transl/index.php | 7 +++----
2 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/transl/config.php b/transl/config.php
index eb14c09..c135273 100644
--- a/transl/config.php
+++ b/transl/config.php
@@ -1,5 +1,3 @@
<?php
$DATAROOT = "data";
-$TITLE_APPENDIX = " - Wine 1.1.x";
-$TITLE_DESCR = "This page shows the translation status of the most recent Wine 1.1.x. To see the Wine 1.0.x line see <a href=\"http://www.mikolaj.zalewski.pl/wine-transl/1.0.x/\">here</a>";
?>
diff --git a/transl/index.php b/transl/index.php
index 7c4ce00..ca21ff7 100644
--- a/transl/index.php
+++ b/transl/index.php
@@ -4,6 +4,7 @@ include_once("lib.php");
$pedantic = isset($_REQUEST['pedantic']);
+$version = file("$DATAROOT/version");
$summary = fopen("$DATAROOT/summary", "r");
$transl = array();
$sum = 0;
@@ -28,17 +29,15 @@ while ($line = fgets($summary, 1024))
<head>
<link rel="stylesheet" href="style.css" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <title>Wine translation statistics <?php echo $TITLE_APPENDIX ?></title>
+ <title>Translation statistics for <?php echo $version[0] ?></title>
</head>
<div class="navbar">
<?php dump_menu_root(FALSE); ?>
</div>
<div class="main">
-<h1>Wine translation statistics <?php echo $TITLE_APPENDIX ?></h1>
+<h1>Translation statistics for <?php echo $version[0] ?></h1>
<div class="contents">
-<?php echo $TITLE_DESCR ?>
-
<p>This page shows the state of the translations of <a href="http://www.winehq.org/">Wine</a>.
Note that some resources marked as translated may in fact still be English. Sometimes developers
add new English resources into every language file. This automatic tool has a 'Pedantic' mode that
More information about the wine-cvs
mailing list