xref: /webtrees/app/Module/CkeditorModule.php (revision 8f53f488f13e53e44dc48778e8f51ec9f91352dd)
18c2e8227SGreg Roach<?php
28c2e8227SGreg Roach/**
38c2e8227SGreg Roach * webtrees: online genealogy
41062a142SGreg Roach * Copyright (C) 2018 webtrees development team
58c2e8227SGreg Roach * This program is free software: you can redistribute it and/or modify
68c2e8227SGreg Roach * it under the terms of the GNU General Public License as published by
78c2e8227SGreg Roach * the Free Software Foundation, either version 3 of the License, or
88c2e8227SGreg Roach * (at your option) any later version.
98c2e8227SGreg Roach * This program is distributed in the hope that it will be useful,
108c2e8227SGreg Roach * but WITHOUT ANY WARRANTY; without even the implied warranty of
118c2e8227SGreg Roach * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
128c2e8227SGreg Roach * GNU General Public License for more details.
138c2e8227SGreg Roach * You should have received a copy of the GNU General Public License
148c2e8227SGreg Roach * along with this program. If not, see <http://www.gnu.org/licenses/>.
158c2e8227SGreg Roach */
1676692c8bSGreg Roachnamespace Fisharebest\Webtrees\Module;
1776692c8bSGreg Roach
180e62c4b8SGreg Roachuse Fisharebest\Webtrees\I18N;
198c2e8227SGreg Roach
208c2e8227SGreg Roach/**
218c2e8227SGreg Roach * Class CkeditorModule
228c2e8227SGreg Roach */
23c1010edaSGreg Roachclass CkeditorModule extends AbstractModule
24c1010edaSGreg Roach{
258c2e8227SGreg Roach    /** {@inheritdoc} */
26*8f53f488SRico Sonntag    public function getTitle(): string
27c1010edaSGreg Roach    {
28bbb76c12SGreg Roach        /* I18N: Name of a module. CKEditor is a trademark. Do not translate it? http://ckeditor.com */
29bbb76c12SGreg Roach        return I18N::translate('CKEditor™');
308c2e8227SGreg Roach    }
318c2e8227SGreg Roach
328c2e8227SGreg Roach    /** {@inheritdoc} */
33*8f53f488SRico Sonntag    public function getDescription(): string
34c1010edaSGreg Roach    {
35bbb76c12SGreg Roach        /* I18N: Description of the “CKEditor” module. WYSIWYG = “what you see is what you get” */
36bbb76c12SGreg Roach        return I18N::translate('Allow other modules to edit text using a “WYSIWYG” editor, instead of using HTML codes.');
378c2e8227SGreg Roach    }
388c2e8227SGreg Roach}
39