diff --git a/_config.php b/_config.php index e2d3250..183850c 100644 --- a/_config.php +++ b/_config.php @@ -57,7 +57,7 @@ __('Write informations about author in files') . '
' . form::field('parse_userinfo', 65, 255, $translater->parse_userinfo) . '
' . sprintf( - __('Following informations can be used: %s '), implode(', ', $translater::$allowed_user_informations)) . ' + __('Following informations can be used: %s'), implode(', ', $translater::$allowed_user_informations)) . '
@@ -92,4 +92,6 @@ __('Enable menu on plugins page') . ' -'; \ No newline at end of file +'; + +dcPage::helpBlock('translater.config'); \ No newline at end of file diff --git a/index.php b/index.php index 16129f5..2cd0b83 100644 --- a/index.php +++ b/index.php @@ -174,9 +174,9 @@ echo dcPage::jsPageTabs() . dcPage::cssLoad(dcPage::getPF('translater/css/translater.css')) . dcpage::jsJson('translater', [ - 'title_add' => __('Use this text'), - 'image_field' => dcPage::getPF('translater/img/field.png'), - 'image_toggle' => dcPage::getPF('translater/img/toggle.png') + 'title_add_detail' => __('Use this text'), + 'image_field' => dcPage::getPF('translater/img/field.png'), + 'image_toggle' => dcPage::getPF('translater/img/toggle.png') ]) . dcPage::jsLoad(dcPage::getPF('translater/js/translater.js')) . @@ -235,9 +235,9 @@ if (empty($module) && $type != '') { echo '' . __('Name') . ' | +' . __('Module') . ' | ' . __('Languages') . ' | ' . __('Id') . ' | ' . __('Version') . ' | @@ -250,6 +250,8 @@ if (empty($module) && $type != '') { } echo ''; + dcPage::helpBlock('translater.type'); + } elseif (!empty($module) && empty($lang)) { $codes = $module->getUsedLangs(); $backups = $module->getBackups(); @@ -272,7 +274,7 @@ if (empty($module) && $type != '') { '
---|
' . __('Languages') . ' | ' . + '' . __('Language') . ' | ' . '' . __('Code') . ' | ' . '' . __('Backups') . ' | ' . '' . __('Last backup') . ' | ' . @@ -332,7 +334,7 @@ if (empty($module) && $type != '') { '
---|
' . __('Name') . ' | ' . + '' . __('Language') . ' | ' . '' . __('Code') . ' | ' . '' . __('Date') . ' | ' . '' . __('File') . ' | ' . @@ -401,7 +403,7 @@ if (empty($module) && $type != '') { } else { echo '
---|