cosmetics
parent
ce6b10dd3c
commit
6ba756800d
|
@ -1,7 +1,9 @@
|
|||
2021.09.25.1 - dev
|
||||
dev
|
||||
- [ ] help translation
|
||||
- [ ] source translation
|
||||
- [ ] fix third-party API (temp removed)
|
||||
- sort modules by id
|
||||
- fix extra whitespace in exported files
|
||||
|
||||
2021.09.28
|
||||
- Fix help (thx Pierre Van Glabeke)
|
||||
|
|
|
@ -412,7 +412,7 @@ class dcTranslaterModule
|
|||
$is_file = preg_match('/^(.*?)\/locales\/(.*?)\/(.*?)(.po|.lang.php)$/', $file, $f);
|
||||
|
||||
if ($is_file) {
|
||||
$module = $f[1] == $this->prop['id'] ?$f[1] : false;
|
||||
$module = $f[1] == $this->prop['id'] ? $f[1] : false;
|
||||
$lang = l10n::isCode($f[2]) ? $f[2] : false;
|
||||
$group = in_array($f[3], dctranslater::$allowed_l10n_groups) ? $f[3] : false;
|
||||
$ext = dctranslater::isLangphpFile($f[4]) || dctranslater::isPoFile($f[4]) ? $f[4] : false;
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
* @copyright Jean-Christian Denis
|
||||
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
||||
/**
|
||||
* Translater proposal tools container.
|
||||
*/
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
* @copyright Jean-Christian Denis
|
||||
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
||||
/**
|
||||
* Translater proposal tool.
|
||||
*
|
||||
|
@ -80,7 +79,7 @@ abstract class translaterProposalTool
|
|||
*/
|
||||
final protected function setActive($active)
|
||||
{
|
||||
$this->active = (boolean) $active;
|
||||
$this->active = (bool) $active;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue