From bb3966b189425623966fcc9c1bf0e5fa1e9a73b4 Mon Sep 17 00:00:00 2001
From: Jean-Christian Denis
' .
- 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 . '