minor fix
This commit is contained in:
parent
39cd9161e1
commit
be7849b94e
@ -1,10 +1,10 @@
|
||||
x.x xxxxxxxx
|
||||
- help translation
|
||||
- source translation
|
||||
- settings page
|
||||
|
||||
2021.08.19
|
||||
2021.08.18
|
||||
* Fixed PSR-2 Coding Style
|
||||
* Move settings to _config file
|
||||
|
||||
2018.10.26 - Pierre Van Glabeke
|
||||
* Bug avec php 7.2 (https://forum.dotclear.org/viewtopic.php?pid=342810#p342810)
|
||||
|
@ -19,11 +19,11 @@ $this->registerModule(
|
||||
'translater',
|
||||
'Translate your Dotclear plugins and themes',
|
||||
'Jean-Christian Denis & contributors',
|
||||
'2021.08.15',
|
||||
'2021.08.18',
|
||||
[
|
||||
'permissions' => 'usage,contentadmin,admin',
|
||||
'type' => 'plugin',
|
||||
'dc_min' => '2.19',
|
||||
'dc_min' => '2.18',
|
||||
'support' => 'http://forum.dotclear.org/viewtopic.php?id=39220',
|
||||
'details' => 'https://plugins.dotaddict.org/dc2/details/translater'
|
||||
]
|
||||
|
@ -262,7 +262,8 @@ class dcTranslater
|
||||
$v,
|
||||
$this->default_settings[$k]['type'],
|
||||
$this->default_settings[$k]['label'],
|
||||
true,true
|
||||
true,
|
||||
true
|
||||
);
|
||||
return true;
|
||||
}
|
||||
@ -327,7 +328,7 @@ class dcTranslater
|
||||
}
|
||||
|
||||
# Return array of modules infos by type of modules
|
||||
public function listModules($type='')
|
||||
public function listModules($type = '')
|
||||
{
|
||||
return in_array($type, array('plugin', 'theme')) ?
|
||||
$this->modules[$type] :
|
||||
|
Loading…
Reference in New Issue
Block a user