* http://www.mercuryboard.com/ * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * **/ /** * ' . $qsf->get_lang_name($lang_name) . ' language module *' . $authors_list . ' * @since ' . trim($since) . ' **/ class ' . $lang_name . ' {'; foreach ($lang_words as $module_name => $module_words) { $out[$lang_name] .= "\n\tfunction {$module_name}()\n\t{"; foreach ($module_words as $word_name => $word_value) { $translate = ''; if ($word_name == 'charset') { //$word_value = 'utf-8'; } $word_value = str_replace('<br>', '<br />', $word_value); if ($lang_name != 'en' && $word_name != 'charset') { // Determine if a translated word doesn't contain the same formatting as in English