getURL() . '#plugins' : $_REQUEST['redir']; # -- Get settings -- $core->blog->settings->addNamespace('translater'); $s = $core->blog->settings->translater; $translater = new dcTranslater($core); $combo_backup_limit = [ 5 => 5, 10 => 10, 15 => 15, 20 => 20, 40 => 40, 60 => 60 ]; $combo_backup_folder = [ 'module' => __('locales folders of each module'), 'plugin' => __('plugins folder root'), 'public' => __('public folder root'), 'cache' => __('cache folder of Dotclear'), 'translater' =>__('locales folder of translater') ]; $combo_start_page = [ 'setting' => __('Settings'), 'modules_plugin' => __('Plugins'), 'modules_theme' => __('Themes'), 'pack' => __('Import/Export') ]; # -- Display form -- echo '

' . __('Translation') . '


' . form::field('translater_parse_userinfo', 65, 255, $translater->parse_userinfo) . '

' . __('Tools') . '

' . __('Select and configure the tool to use to translate strings:') . '

'; foreach($translater->proposal->getTools() AS $k => $v) { $form = $v->form(); echo '
' . (empty($form) ? '

' . sprintf(__('Nothing to configure for %s tool . '), $v->getName()) . '

' : $form ) . '
'; } echo '

' . __('Import/Export') . '

' . __('Backups') . '

' . __('Behaviors') . '

';