summaryrefslogtreecommitdiff
path: root/translator/index.php
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-12-18 18:04:51 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-12-18 18:04:51 +0000
commit0b6a58bd7036592aedccf68c76210fda200ea0bf (patch)
tree82398d1cc4c21699cd7070fdb8adce8c9abe71a1 /translator/index.php
parent3eb9543dda49483e7be47d925f035743973b4eba (diff)
Use update_from_svn() to get localization files for stats;
Store stats file in (writeable) localization folder; Increase cache time to 12 hours; Some style tweaks git-svn-id: https://svn.roundcube.net/trunk@2178 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'translator/index.php')
-rw-r--r--translator/index.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/translator/index.php b/translator/index.php
index 54253f8c1..9e033515c 100644
--- a/translator/index.php
+++ b/translator/index.php
@@ -115,9 +115,11 @@ if (isset($_POST["save"]) && $file && $lang)
echo '<p><input id="hilight" class="button" type="button" value="Select all" onclick="javascript:this.form.text_area.focus();this.form.text_area.select();" /></p>';
echo "\n</form></div>";
}
-else
-
- echo '<div align="center">'.localization_stats().'</div>';
+else if (empty($file))
+{
+ echo '<h4>Current completeness status</h4>';
+ echo '<div>'.localization_stats().'</div>';
+}
?>
</div>