diff --git a/CHANGELOG.md b/CHANGELOG.md index 6af3022..c560414 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,9 @@ dev - [ ] source translation - [ ] fix third-party API (temp removed) +2022.11.20 +- fix compatibility with Dotclear 2.24 (required) + 2021.11.06 - sort modules by id - fix extra whitespace in exported files diff --git a/README.md b/README.md index 8b8d996..566bba5 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![Release](https://img.shields.io/github/v/release/JcDenis/translater)](https://github.com/JcDenis/translater/releases) [![Date](https://img.shields.io/github/release-date/JcDenis/translater)](https://github.com/JcDenis/translater/releases) [![Issues](https://img.shields.io/github/issues/JcDenis/translater)](https://github.com/JcDenis/translater/issues) -[![Dotclear](https://img.shields.io/badge/dotclear-v2.19-blue.svg)](https://fr.dotclear.org/download) +[![Dotclear](https://img.shields.io/badge/dotclear-v2.24-blue.svg)](https://fr.dotclear.org/download) [![Dotaddict](https://img.shields.io/badge/dotaddict-official-green.svg)](https://plugins.dotaddict.org/dc2/details/translater) [![License](https://img.shields.io/github/license/JcDenis/translater)](https://github.com/JcDenis/translater/blob/master/LICENSE) @@ -19,7 +19,7 @@ It helps dev to translate plugin and theme. _translater_ requires: * super admin permissions - * Dotclear 2.19 + * Dotclear 2.24 ## USAGE diff --git a/_define.php b/_define.php index 2e60d9a..4532e56 100644 --- a/_define.php +++ b/_define.php @@ -18,7 +18,7 @@ $this->registerModule( 'Translater', 'Translate your Dotclear plugins and themes', 'Jean-Christian Denis & contributors', - '2022.11.12', + '2022.11.20', [ 'requires' => [['core', '2.24']], 'permissions' => null, diff --git a/dcstore.xml b/dcstore.xml index 46a1435..65d15d3 100644 --- a/dcstore.xml +++ b/dcstore.xml @@ -2,11 +2,11 @@ Translater - 2021.11.06 + 2022.11.20 Jean-Christian Denis & contributors Translate your Dotclear plugins and themes - https://github.com/JcDenis/translater/releases/download/v2021.11.06/plugin-translater.zip - 2.19 + https://github.com/JcDenis/translater/releases/download/v2022.11.20/plugin-translater.zip + 2.24 https://plugins.dotaddict.org/dc2/details/translater http://forum.dotclear.org/viewtopic.php?id=39220 diff --git a/index.php b/index.php index 0a780e8..c6a883a 100644 --- a/index.php +++ b/index.php @@ -432,7 +432,7 @@ if (empty($module) && $type != '') { dcPage::helpBlock('translater.module'); } elseif (!empty($lang)) { - $lines = $lang->getMessages(); + $lines = $lang->getMessages(); $allowed_l10n_groups = []; echo