32
1
mirror of https://github.com/joomla-extensions/weblinks.git synced 2024-11-16 17:45:08 +00:00

Add image-alt-empty to images in backend

This commit is contained in:
chmst 2021-08-10 15:41:50 +02:00
parent eafb0239f5
commit 5c0d9d9da5
2 changed files with 16 additions and 9 deletions

View File

@ -291,7 +291,6 @@
name="float_first" name="float_first"
type="list" type="list"
label="COM_WEBLINKS_FLOAT_FIRST_LABEL" label="COM_WEBLINKS_FLOAT_FIRST_LABEL"
description="COM_WEBLINKS_FLOAT_FIRST_DESC"
useglobal="true" useglobal="true"
> >
<option value="right">COM_WEBLINKS_RIGHT</option> <option value="right">COM_WEBLINKS_RIGHT</option>
@ -303,14 +302,19 @@
name="image_first_alt" name="image_first_alt"
type="text" type="text"
label="COM_WEBLINKS_FIELD_IMAGE_ALT_LABEL" label="COM_WEBLINKS_FIELD_IMAGE_ALT_LABEL"
description="COM_WEBLINKS_FIELD_IMAGE_ALT_DESC" />
<field
name="image_first_alt_empty"
type="checkbox"
label="COM_WEBLINKS_FIELD_IMAGE_ALT_EMPTY_LABEL"
description="COM_WEBLINKS_FIELD_IMAGE_ALT_EMPTY_DESC"
/> />
<field <field
name="image_first_caption" name="image_first_caption"
type="text" type="text"
label="COM_WEBLINKS_FIELD_IMAGE_CAPTION_LABEL" label="COM_WEBLINKS_FIELD_IMAGE_CAPTION_LABEL"
description="COM_WEBLINKS_FIELD_IMAGE_CAPTION_DESC"
/> />
<field <field
@ -323,7 +327,6 @@
name="image_second" name="image_second"
type="media" type="media"
label="COM_WEBLINKS_FIELD_SECOND_LABEL" label="COM_WEBLINKS_FIELD_SECOND_LABEL"
description="COM_WEBLINKS_FIELD_SECOND_DESC"
/> />
<field <field
@ -341,14 +344,19 @@
name="image_second_alt" name="image_second_alt"
type="text" type="text"
label="COM_WEBLINKS_FIELD_IMAGE_ALT_LABEL" label="COM_WEBLINKS_FIELD_IMAGE_ALT_LABEL"
description="COM_WEBLINKS_FIELD_IMAGE_ALT_DESC" />
<field
name="image_second_alt_empty"
type="checkbox"
label="COM_WEBLINKS_FIELD_IMAGE_ALT_EMPTY_LABEL"
description="COM_WEBLINKS_FIELD_IMAGE_ALT_EMPTY_DESC"
/> />
<field <field
name="image_second_caption" name="image_second_caption"
type="text" type="text"
label="COM_WEBLINKS_FIELD_IMAGE_CAPTION_LABEL" label="COM_WEBLINKS_FIELD_IMAGE_CAPTION_LABEL"
description="COM_WEBLINKS_FIELD_IMAGE_CAPTION_DESC"
/> />
</fieldset> </fieldset>
</fields> </fields>

View File

@ -49,11 +49,10 @@ COM_WEBLINKS_FIELD_ICON_LABEL="Text/Icon/Web Link Only"
COM_WEBLINKS_FIELD_ICON_OPTION_ICON="Icon" COM_WEBLINKS_FIELD_ICON_OPTION_ICON="Icon"
COM_WEBLINKS_FIELD_ICON_OPTION_TEXT="Text" COM_WEBLINKS_FIELD_ICON_OPTION_TEXT="Text"
COM_WEBLINKS_FIELD_ICON_OPTION_WEBLINK="Web Link Only" COM_WEBLINKS_FIELD_ICON_OPTION_WEBLINK="Web Link Only"
COM_WEBLINKS_FIELD_IMAGE_ALT_DESC="Alternative text used for visitors without access to images. Replaced with caption text if it is present." COM_WEBLINKS_FIELD_IMAGE_ALT_EMPTY_DESC="Decorative Image - no description required"
COM_WEBLINKS_FIELD_IMAGE_ALT_EMPTY_LABEL="No Description"
COM_WEBLINKS_FIELD_IMAGE_ALT_LABEL="Alt Text" COM_WEBLINKS_FIELD_IMAGE_ALT_LABEL="Alt Text"
COM_WEBLINKS_FIELD_IMAGE_CAPTION_DESC="Caption attached to the image."
COM_WEBLINKS_FIELD_IMAGE_CAPTION_LABEL="Caption" COM_WEBLINKS_FIELD_IMAGE_CAPTION_LABEL="Caption"
COM_WEBLINKS_FIELD_LANGUAGE_DESC="Assign a language to this web link." COM_WEBLINKS_FIELD_LANGUAGE_DESC="Assign a language to this web link."
COM_WEBLINKS_FIELD_MODIFIED_DESC="The date and time the link was last modified." COM_WEBLINKS_FIELD_MODIFIED_DESC="The date and time the link was last modified."
COM_WEBLINKS_FIELD_SECOND_DESC="The second image to be displayed." COM_WEBLINKS_FIELD_SECOND_DESC="The second image to be displayed."