use plugin name as default title

This commit is contained in:
Jean-Christian Denis 2023-04-24 15:03:23 +02:00
parent 67413ff5d3
commit ba6d56332e
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951

View file

@ -30,7 +30,7 @@ class Widgets
null, null,
__('Counting the number of days before and after a particular date') __('Counting the number of days before and after a particular date')
) )
->addTitle('') ->addTitle(My::name())
->setting('ftdatecrea', __('Born Date (dd/mm/yyyy) or blank:'), '') ->setting('ftdatecrea', __('Born Date (dd/mm/yyyy) or blank:'), '')
->setting('dispyearborn', __('Display Born Date'), 1, 'check') ->setting('dispyearborn', __('Display Born Date'), 1, 'check')
->setting('dispyear', __('Display Year(s) Old'), 1, 'check') ->setting('dispyear', __('Display Year(s) Old'), 1, 'check')