diff --git a/include/lib_general.inc.php b/include/lib_general.inc.php
index b5f9313..036bf28 100644
--- a/include/lib_general.inc.php
+++ b/include/lib_general.inc.php
@@ -58,7 +58,7 @@ function nav_languages()
{
global $LANGUAGES;
$out = '
';
- $out .= '
Languages
';
+ $out .= '
Translation status
';
$out .= '
';
$out .= '
';
foreach ($LANGUAGES as $code => $name)
diff --git a/include/lib_proj_lang.inc.php b/include/lib_proj_lang.inc.php
index e080dde..762222e 100644
--- a/include/lib_proj_lang.inc.php
+++ b/include/lib_proj_lang.inc.php
@@ -25,8 +25,8 @@ $Id$
// split from lib_general.inc.php
// Supported languages
+// DO NOT insert English here - it is only for translations!
$LANGUAGES = array(
- 'en' => 'English',
'ar' => 'Arabic',
'pt_BR' => 'Brazilian Portuguese',
'bg' => 'Bulgarian',
diff --git a/scripts/gen_picture_info.php b/scripts/gen_picture_info.php
index d5f3c34..5bb47e3 100644
--- a/scripts/gen_picture_info.php
+++ b/scripts/gen_picture_info.php
@@ -9,9 +9,6 @@ include '../include/lib_proj_lang.inc.php';
$langs = array_keys($LANGUAGES);
foreach ($langs as $lang) {
- if ($lang === 'en') {
- continue;
- }
if (!generate_image($lang)) {
echo "Documentation for $lang language does not exist.\n";
} else {
diff --git a/scripts/rev.php b/scripts/rev.php
index 862b500..182df0e 100644
--- a/scripts/rev.php
+++ b/scripts/rev.php
@@ -37,12 +37,6 @@ $DOCS = SVN_DIR;
$LANGS = array_keys($LANGUAGES);
$langc = count($LANGS);
for ($i = 0; $i < $langc; $i++) {
- // make sure we don't parse the en tree
- if ($LANGS[$i] == 'en') {
- unset($LANGS[$i]);
- continue;
- }
-
if (!is_dir($DOCS . $LANGS[$i])) {
echo "Error: the \"{$LANGS[$i]}\" lang doesn't exist in dir {$DOCS}, skipping..\n";
unset($LANGS[$i]);
diff --git a/www/revcheck.php b/www/revcheck.php
index 96689d8..5920bc1 100644
--- a/www/revcheck.php
+++ b/www/revcheck.php
@@ -17,6 +17,11 @@ if (isset($_GET['p'])) {
$tool = $_GET['p'];
}
+// Prevent viewing other tools in EN
+if ($lang == 'en') {
+ $tool = 'default';
+}
+
$DBLANG = SQLITE_DIR . 'rev.php.sqlite';
// Check if db connection can be established and if revcheck for requested lang exists