diff --git a/inc/lib.improve.action.dcstore.php b/inc/lib.improve.action.dcstore.php index 994dd5d..c797052 100644 --- a/inc/lib.improve.action.dcstore.php +++ b/inc/lib.improve.action.dcstore.php @@ -46,7 +46,7 @@ class ImproveActionDcstore extends ImproveAction form::field('dcstore_pattern', 160, 255, $this->getPreference('pattern')) . '' . '
' . '' .
- sprintf(__('You can use widcards %s'), '%author%, %type%, %id%, %version%.') .
+ sprintf(__('You can use wildcards %s'), '%author%, %type%, %id%, %version%.') .
'
' .
__('For exemple on github https://github.com/MyGitName/%id%/releases/download/v%version%/%type%-%id%.zip') .
'
' .
diff --git a/inc/lib.improve.action.phpheader.php b/inc/lib.improve.action.phpheader.php
index 78f6894..3d71254 100644
--- a/inc/lib.improve.action.phpheader.php
+++ b/inc/lib.improve.action.phpheader.php
@@ -13,6 +13,17 @@
class ImproveActionPhpheader extends ImproveAction
{
+ private static $exemple = "
+@brief %module_id%, a %module_type% for Dotclear 2
+
+@package Dotclear
+@subpackage \u%module_type%
+
+@author %module_author%
+
+@copyright %user_cn%
+@copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html";
+
private $bloc_wildcards = [
'%year%',
'%module_id%',
@@ -90,7 +101,8 @@ class ImproveActionPhpheader extends ImproveAction
sprintf(
__('You can use wildcards %s') ,
'%year%, %module_id%, %module_name%, %module_author%, %module_type%, %user_cn%, %user_name%, %user_email%, %user_url%'
- ) . '
' . __('Do not put structural elements to the begining of lines.') . '
' . self::$exemple . '