From 0456176a44865be077234efbe9028316e18cb58e Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 25 Jan 2010 23:12:08 +0300 Subject: [PATCH] enable translations by default; misc fixes --- backend.php | 3 +-- config.php-dist | 5 ++--- login_form.php | 20 +++++++------------- 3 files changed, 10 insertions(+), 18 deletions(-) diff --git a/backend.php b/backend.php index b9b60a542..a87195c44 100644 --- a/backend.php +++ b/backend.php @@ -539,9 +539,8 @@ print ""; $_SESSION = array(); - + } break; - } } // Select action according to $op value. diff --git a/config.php-dist b/config.php-dist index 85fe7cdc4..58811646d 100644 --- a/config.php-dist +++ b/config.php-dist @@ -100,9 +100,8 @@ // If update daemon and update_feeds should send digests // Disable if you prefer querying special URL (see wiki) - define('ENABLE_TRANSLATIONS', false); - // Enable experimental support for interface translations - // based on PHP-Gettext. This is of no much use right now. + define('ENABLE_TRANSLATIONS', true); + // Enable support for interface translations define('MYSQL_CHARSET', ''); // Connection charset for MySQL. Only enable if having charset-related diff --git a/login_form.php b/login_form.php index af5e70e9b..ea3d3fcc2 100644 --- a/login_form.php +++ b/login_form.php @@ -14,20 +14,15 @@
@@ -125,11 +119,11 @@ window.onload = init;
">
">