From 0b6a58bd7036592aedccf68c76210fda200ea0bf Mon Sep 17 00:00:00 2001 From: thomasb Date: Thu, 18 Dec 2008 18:04:51 +0000 Subject: 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 --- translator/index.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'translator/index.php') 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 '

'; echo "\n"; } -else - - echo '
'.localization_stats().'
'; +else if (empty($file)) +{ + echo '

Current completeness status

'; + echo '
'.localization_stats().'
'; +} ?> -- cgit v1.2.3