/**
* @throws \SodiumException
+ * @throws \Exception
*/
protected function writeLinks()
{
'left' => __('x'), 'top' => __('y'), 'width' => __('Largeur'), 'height' => __('Hauteur'), 'rot' => __('Rotation'),
'type' => __('Type'), 'to' => __('Destination'), 'target' => __('Cible'),
'tooltip' => __('Infobulle'), 'numerotation' => __('Numérotation'),
- 'display_area' => __('Activer la surbrillance'), 'animate_area' => __('Animer à l\'apparition de la page'), 'animation_type' => __('Type de l\'animation'),
+ 'display_area' => __('Activer la surbrillance'), 'animation_type' => __('Animation à l\'affichage de la page'),
'tracks' => __('Sous-titres'),
'video_loop' => __('Video : boucle'), 'video_auto_start' => __('Video : démarrage automatique'), 'video_controls' => __('Vidéo : afficher les contrôles'), 'video_sound_on' => __('Vidéo : activer le son'), 'video_cc' => __('Vidéo : afficher les sous-titres'),
'inline' => __('Vidéo : afficher dans la page'), 'video_width' => __('Vidéo : Largeur du popup'), 'video_height' => __('Vidéo : Hauteur du popup'),
$this->addField('header_tooltip', FormSection::class, __('Infobulle'));
$this->addField('tooltip', Text::class, __('Texte de l\'infobulle'), ['hint' => __('Laisser vide pour conserver le texte par défaut') . '.<br>' . __('Taper un tiret (-) pour ne pas afficher d\'infobulle')]);
$this->addField('display_area', CheckboxBasic::class, __('Afficher la zone de couleur au survol'), ['default' => true]);
- $this->addField('animate_area', CheckboxBasic::class, __('Animer la zone à l\'apparition de la page'), ['default' => true]);
- $this->addField('animation_type', SelectFromArray::class, __('Type de l\'animation'), ['ajax'=>false,'options' => array_merge(['default' => __('Animation par défaut')], FluidbookTheme::getLinksAnimationTypes()), 'default' => 'default']);
+ $this->addField('animation_type', SelectFromArray::class, __('Animation à l\'affichage de la page'), ['ajax' => false, 'options' => array_merge(['default' => __('Animation par défaut'), 'none' => __('Pas d\'animation')], FluidbookTheme::getLinksAnimationTypes()), 'default' => 'default']);
}
public function addTypeField()