From 66b501a03d04c6a00fcff948dcd79da63cc6aa1a Mon Sep 17 00:00:00 2001 From: "Janus B. Kristensen" Date: Fri, 13 May 2005 19:13:12 +0000 Subject: [PATCH] compile_languages is an optional parameter used to recompile the languages in case of an error. This is simply a debug thing and will be removed when the translator has proven to work over a longer period of time. svn path=/trunk/boinc/; revision=6145 --- html/inc/translation.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/inc/translation.inc b/html/inc/translation.inc index 94ff0fb32e..34dbc9dfc8 100644 --- a/html/inc/translation.inc +++ b/html/inc/translation.inc @@ -344,7 +344,7 @@ function language_log($message, $loglevel=0){ -if (languagesNeedsRebuild($lang_language_dir, $lang_translations_dir, $lang_prj_translations_dir, $lang_compiled_dir) || get_str("compile_languages")){ +if (languagesNeedsRebuild($lang_language_dir, $lang_translations_dir, $lang_prj_translations_dir, $lang_compiled_dir) || get_str("compile_languages",true)){ buildLanguages($lang_language_dir,$lang_translations_dir,$lang_prj_translations_dir, $lang_compiled_dir); }