diff --git a/README.md b/README.md index c1a0ae8..5bff4d2 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ Configure actions. Select actions and module to work with, then click fix. * Fix End Of Line * Fix End Of File on php files * Fix header (phpdoc) on php files - * _Fix license old style bloc (removed)_ + * Fix license file * Fix dcstore.xml file * Fix README.md shields.io badges * Create package @@ -49,7 +49,11 @@ Configure actions. Select actions and module to work with, then click fix. * Scan for deprecated function * ... + Hope some of you have idea to complete function of this plugin + and help devs to maintain their plugins and themes. + ## MORE * License : GNU GPL v2 - * Source & contribution : [GitHub Page](https://github.com/JcDenis/improve) \ No newline at end of file + * Source & contribution : [GitHub Page](https://github.com/JcDenis/improve) + * Packages & details: [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/improve) \ No newline at end of file diff --git a/inc/lib.improve.action.gitshields.php b/inc/lib.improve.action.gitshields.php index 7651f6c..6383650 100644 --- a/inc/lib.improve.action.gitshields.php +++ b/inc/lib.improve.action.gitshields.php @@ -30,7 +30,7 @@ class ImproveActionGitshields extends ImproveAction { $this->setProperties([ 'id' => 'gitshields', - 'name' => __('Add shields badges'), + 'name' => __('Fix shields badges'), 'desc' => __('Add and maintain shields.io badges to the REDAME.md file'), 'priority' => 380, 'config' => true, @@ -55,7 +55,8 @@ class ImproveActionGitshields extends ImproveAction return '

' . form::field('username', 60, 100, $this->getPreference('username')) . ' -

' . __('Used in your Github URL: http://github.com/username/module_id.') . '

'; +

' . __('Used in your Github URL: http://github.com/username/module_id.') . '
' . + __('If you have badges not created by this tool in the README.md file you should remove them manually.') . '

'; } public function openModule(string $module_type, array $module_info): ?bool diff --git a/inc/lib.improve.action.php b/inc/lib.improve.action.php index 183311c..85eec44 100644 --- a/inc/lib.improve.action.php +++ b/inc/lib.improve.action.php @@ -125,7 +125,7 @@ class ImproveActionEndoffile extends ImproveAction { $this->setProperties([ 'id' => 'endoffile', - 'name' => _('Fix end of file'), + 'name' => __('Fix end of file'), 'desc' => __('Remove php tag and empty lines from end of files'), 'priority' => 860, 'config' => true, diff --git a/inc/lib.improve.action.zip.php b/inc/lib.improve.action.zip.php index 1116a5d..7897b30 100644 --- a/inc/lib.improve.action.zip.php +++ b/inc/lib.improve.action.zip.php @@ -105,7 +105,8 @@ class ImproveActionZip extends ImproveAction

-

' . sprintf(__('Preconization: %s'), '*.zip,*.tar,*.tar.gz') . '

+

' . sprintf(__('Preconization: %s'), '*.zip,*.tar,*.tar.gz') . '
' . + sprintf(__('By default all these files are always removed from packages : %s'), implode(', ', self::$exclude)) . '

' . sprintf(__('Configure module "%s"'), $action->name) . '

+

' . __('Back') . '

' . html::escapeHTML($action->desc) . '

-
-

' . __('Back') . '

' . + ' . (empty($res) ? '

' . __('Nothing to configure'). '

' : $res) . '

' . form::hidden('type', $type) . diff --git a/locales/fr/main.lang.php b/locales/fr/main.lang.php index 1b053f7..242db5d 100644 --- a/locales/fr/main.lang.php +++ b/locales/fr/main.lang.php @@ -1,7 +1,7 @@