mirror of
https://github.com/friendica/friendica
synced 2024-11-17 21:43:41 +00:00
Merge pull request #14507 from annando/issue-14491
Issue 14491: CSS class for pictures with or without alt descriptions
This commit is contained in:
commit
7e446e8100
4 changed files with 112 additions and 116 deletions
|
@ -686,7 +686,7 @@ class BBCode
|
||||||
// to the last element
|
// to the last element
|
||||||
$newbody = str_replace(
|
$newbody = str_replace(
|
||||||
'[$#saved_image' . $cnt . '#$]',
|
'[$#saved_image' . $cnt . '#$]',
|
||||||
'<img src="' . self::proxyUrl($image, self::INTERNAL, $uriid) . '" alt="' . DI::l10n()->t('Image/photo') . '" class="empty-description"/>',
|
'<img src="' . self::proxyUrl($image, self::INTERNAL, $uriid) . '" alt="" class="empty-description"/>',
|
||||||
$newbody
|
$newbody
|
||||||
);
|
);
|
||||||
$cnt++;
|
$cnt++;
|
||||||
|
@ -849,6 +849,7 @@ class BBCode
|
||||||
$img_str .= ' ' . $key . '="' . htmlspecialchars($value, ENT_COMPAT) . '"';
|
$img_str .= ' ' . $key . '="' . htmlspecialchars($value, ENT_COMPAT) . '"';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
$img_str .= ' ' . empty($attributes['alt']) ? 'class="empty-description"' : 'class="has-alt-description"';
|
||||||
return $img_str . '>';
|
return $img_str . '>';
|
||||||
},
|
},
|
||||||
$text
|
$text
|
||||||
|
@ -1826,8 +1827,8 @@ class BBCode
|
||||||
$text
|
$text
|
||||||
);
|
);
|
||||||
|
|
||||||
$text = preg_replace("/\[img\=([0-9]*)x([0-9]*)\](.*?)\[\/img\]/ism", '<img src="$3" style="width: $1px;" >', $text);
|
$text = preg_replace("/\[img\=([0-9]*)x([0-9]*)\](.*?)\[\/img\]/ism", '<img src="$3" style="width: $1px;" alt="" class="empty-description">', $text);
|
||||||
$text = preg_replace("/\[zmg\=([0-9]*)x([0-9]*)\](.*?)\[\/zmg\]/ism", '<img class="zrl" src="$3" style="width: $1px;" >', $text);
|
$text = preg_replace("/\[zmg\=([0-9]*)x([0-9]*)\](.*?)\[\/zmg\]/ism", '<img class="zrl" src="$3" style="width: $1px;" alt="" class="empty-description">', $text);
|
||||||
|
|
||||||
$text = preg_replace_callback(
|
$text = preg_replace_callback(
|
||||||
"/\[[iz]mg\=(.*?)\](.*?)\[\/[iz]mg\]/ism",
|
"/\[[iz]mg\=(.*?)\](.*?)\[\/[iz]mg\]/ism",
|
||||||
|
@ -1836,7 +1837,7 @@ class BBCode
|
||||||
$alt = htmlspecialchars($matches[2], ENT_COMPAT);
|
$alt = htmlspecialchars($matches[2], ENT_COMPAT);
|
||||||
// Fix for Markdown problems with Diaspora, see issue #12701
|
// Fix for Markdown problems with Diaspora, see issue #12701
|
||||||
if (($simple_html != self::DIASPORA) || strpos($matches[2], '"') === false) {
|
if (($simple_html != self::DIASPORA) || strpos($matches[2], '"') === false) {
|
||||||
return '<img src="' . $matches[1] . '" alt="' . $alt . '" title="' . $alt . '">';
|
return '<img src="' . $matches[1] . '" alt="' . $alt . '" title="' . $alt . '" class="' . (empty($alt) ? 'empty-description' : 'has-alt-description') . '">';
|
||||||
} else {
|
} else {
|
||||||
return '<img src="' . $matches[1] . '" alt="' . $alt . '">';
|
return '<img src="' . $matches[1] . '" alt="' . $alt . '">';
|
||||||
}
|
}
|
||||||
|
@ -1859,8 +1860,8 @@ class BBCode
|
||||||
$text
|
$text
|
||||||
);
|
);
|
||||||
|
|
||||||
$text = preg_replace("/\[img\](.*?)\[\/img\]/ism", '<img src="$1" alt="' . DI::l10n()->t('Image/photo') . '" class="empty-description"/>', $text);
|
$text = preg_replace("/\[img\](.*?)\[\/img\]/ism", '<img src="$1" alt="" class="empty-description"/>', $text);
|
||||||
$text = preg_replace("/\[zmg\](.*?)\[\/zmg\]/ism", '<img src="$1" alt="' . DI::l10n()->t('Image/photo') . '" class="empty-description" />', $text);
|
$text = preg_replace("/\[zmg\](.*?)\[\/zmg\]/ism", '<img src="$1" alt="" class="empty-description" />', $text);
|
||||||
|
|
||||||
$text = self::convertImages($text, $simple_html, $uriid);
|
$text = self::convertImages($text, $simple_html, $uriid);
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: 2024.09-rc\n"
|
"Project-Id-Version: 2024.09-rc\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2024-10-20 19:53+0000\n"
|
"POT-Creation-Date: 2024-10-27 19:18+0000\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
@ -755,7 +755,7 @@ msgid "Method not allowed for this module. Allowed method(s): %s"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/App/Router.php:297 src/Module/HTTPException/PageNotFound.php:35
|
#: src/App/Router.php:297 src/Module/HTTPException/PageNotFound.php:35
|
||||||
#: src/Module/Stats.php:49
|
#: src/Module/Stats.php:56
|
||||||
msgid "Page not found."
|
msgid "Page not found."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -772,19 +772,19 @@ msgid "All contacts"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/BaseModule.php:425 src/Content/Conversation/Factory/Channel.php:32
|
#: src/BaseModule.php:425 src/Content/Conversation/Factory/Channel.php:32
|
||||||
#: src/Content/Widget.php:218 src/Core/ACL.php:181 src/Module/Contact.php:395
|
#: src/Content/Widget.php:254 src/Core/ACL.php:181 src/Module/Contact.php:395
|
||||||
#: src/Module/Privacy/PermissionTooltip.php:150
|
#: src/Module/Privacy/PermissionTooltip.php:150
|
||||||
#: src/Module/Privacy/PermissionTooltip.php:172
|
#: src/Module/Privacy/PermissionTooltip.php:172
|
||||||
#: src/Module/Settings/Channels.php:146
|
#: src/Module/Settings/Channels.php:146
|
||||||
msgid "Followers"
|
msgid "Followers"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/BaseModule.php:430 src/Content/Widget.php:219 src/Module/Contact.php:398
|
#: src/BaseModule.php:430 src/Content/Widget.php:255 src/Module/Contact.php:398
|
||||||
#: src/Module/Settings/Channels.php:145
|
#: src/Module/Settings/Channels.php:145
|
||||||
msgid "Following"
|
msgid "Following"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/BaseModule.php:435 src/Content/Widget.php:220 src/Module/Contact.php:401
|
#: src/BaseModule.php:435 src/Content/Widget.php:256 src/Module/Contact.php:401
|
||||||
msgid "Mutual friends"
|
msgid "Mutual friends"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -1125,7 +1125,7 @@ msgstr ""
|
||||||
msgid "Bluesky"
|
msgid "Bluesky"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/ContactSelector.php:166
|
#: src/Content/ContactSelector.php:162
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "%s (via %s)"
|
msgid "%s (via %s)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -1694,7 +1694,7 @@ msgstr ""
|
||||||
msgid "Network Widgets"
|
msgid "Network Widgets"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/Feature.php:115 src/Content/Widget.php:194
|
#: src/Content/Feature.php:115 src/Content/Widget.php:230
|
||||||
#: src/Model/Circle.php:587 src/Module/Contact.php:381
|
#: src/Model/Circle.php:587 src/Module/Contact.php:381
|
||||||
#: src/Module/Welcome.php:62
|
#: src/Module/Welcome.php:62
|
||||||
msgid "Circles"
|
msgid "Circles"
|
||||||
|
@ -1706,7 +1706,7 @@ msgstr ""
|
||||||
|
|
||||||
#: src/Content/Feature.php:116 src/Content/GroupManager.php:133
|
#: src/Content/Feature.php:116 src/Content/GroupManager.php:133
|
||||||
#: src/Content/Nav.php:264 src/Content/Text/HTML.php:868
|
#: src/Content/Nav.php:264 src/Content/Text/HTML.php:868
|
||||||
#: src/Content/Widget.php:516 src/Model/User.php:1390
|
#: src/Content/Widget.php:552 src/Model/User.php:1390
|
||||||
msgid "Groups"
|
msgid "Groups"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -1714,7 +1714,7 @@ msgstr ""
|
||||||
msgid "Display posts that have been distributed by the selected group."
|
msgid "Display posts that have been distributed by the selected group."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/Feature.php:117 src/Content/Widget.php:485
|
#: src/Content/Feature.php:117 src/Content/Widget.php:521
|
||||||
msgid "Archives"
|
msgid "Archives"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -1722,7 +1722,7 @@ msgstr ""
|
||||||
msgid "Display an archive where posts can be selected by month and year."
|
msgid "Display an archive where posts can be selected by month and year."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/Feature.php:118 src/Content/Widget.php:267
|
#: src/Content/Feature.php:118 src/Content/Widget.php:303
|
||||||
msgid "Protocols"
|
msgid "Protocols"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -1730,7 +1730,7 @@ msgstr ""
|
||||||
msgid "Display posts with the selected protocols."
|
msgid "Display posts with the selected protocols."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/Feature.php:119 src/Content/Widget.php:522
|
#: src/Content/Feature.php:119 src/Content/Widget.php:558
|
||||||
#: src/Module/Settings/Account.php:433
|
#: src/Module/Settings/Account.php:433
|
||||||
msgid "Account Types"
|
msgid "Account Types"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -1739,7 +1739,7 @@ msgstr ""
|
||||||
msgid "Display posts done by accounts with the selected account type."
|
msgid "Display posts done by accounts with the selected account type."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/Feature.php:120 src/Content/Widget.php:571
|
#: src/Content/Feature.php:120 src/Content/Widget.php:607
|
||||||
#: src/Module/Admin/Site.php:464 src/Module/BaseSettings.php:111
|
#: src/Module/Admin/Site.php:464 src/Module/BaseSettings.php:111
|
||||||
#: src/Module/Settings/Channels.php:211 src/Module/Settings/Display.php:309
|
#: src/Module/Settings/Channels.php:211 src/Module/Settings/Display.php:309
|
||||||
msgid "Channels"
|
msgid "Channels"
|
||||||
|
@ -1757,7 +1757,7 @@ msgstr ""
|
||||||
msgid "Display posts that contain subscribed hashtags."
|
msgid "Display posts that contain subscribed hashtags."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/Feature.php:122 src/Content/Widget.php:297
|
#: src/Content/Feature.php:122 src/Content/Widget.php:333
|
||||||
msgid "Saved Folders"
|
msgid "Saved Folders"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -1817,12 +1817,12 @@ msgstr ""
|
||||||
msgid "External link to group"
|
msgid "External link to group"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/GroupManager.php:139 src/Content/Widget.php:491
|
#: src/Content/GroupManager.php:139 src/Content/Widget.php:527
|
||||||
msgid "show less"
|
msgid "show less"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/GroupManager.php:140 src/Content/Widget.php:389
|
#: src/Content/GroupManager.php:140 src/Content/Widget.php:425
|
||||||
#: src/Content/Widget.php:492
|
#: src/Content/Widget.php:528
|
||||||
msgid "show more"
|
msgid "show more"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -1852,31 +1852,31 @@ msgstr ""
|
||||||
msgid "Follow Thread"
|
msgid "Follow Thread"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/Item.php:415 src/Model/Contact.php:1249
|
#: src/Content/Item.php:415 src/Model/Contact.php:1244
|
||||||
msgid "View Status"
|
msgid "View Status"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/Item.php:416 src/Content/Item.php:439 src/Model/Contact.php:1184
|
#: src/Content/Item.php:416 src/Content/Item.php:439 src/Model/Contact.php:1179
|
||||||
#: src/Model/Contact.php:1240 src/Model/Contact.php:1250
|
#: src/Model/Contact.php:1235 src/Model/Contact.php:1245
|
||||||
#: src/Module/Directory.php:144 src/Module/Settings/Profile/Index.php:250
|
#: src/Module/Directory.php:144 src/Module/Settings/Profile/Index.php:250
|
||||||
msgid "View Profile"
|
msgid "View Profile"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/Item.php:417 src/Model/Contact.php:1251
|
#: src/Content/Item.php:417 src/Model/Contact.php:1246
|
||||||
msgid "View Photos"
|
msgid "View Photos"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/Item.php:418 src/Model/Contact.php:1218
|
#: src/Content/Item.php:418 src/Model/Contact.php:1213
|
||||||
#: src/Model/Profile.php:447
|
#: src/Model/Profile.php:447
|
||||||
msgid "Network Posts"
|
msgid "Network Posts"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/Item.php:419 src/Model/Contact.php:1242
|
#: src/Content/Item.php:419 src/Model/Contact.php:1237
|
||||||
#: src/Model/Contact.php:1253
|
#: src/Model/Contact.php:1248
|
||||||
msgid "View Contact"
|
msgid "View Contact"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/Item.php:420 src/Model/Contact.php:1254
|
#: src/Content/Item.php:420 src/Model/Contact.php:1249
|
||||||
msgid "Send PM"
|
msgid "Send PM"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -1916,7 +1916,7 @@ msgid "Search Text"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/Item.php:436 src/Content/Widget.php:66
|
#: src/Content/Item.php:436 src/Content/Widget.php:66
|
||||||
#: src/Model/Contact.php:1243 src/Model/Contact.php:1255
|
#: src/Model/Contact.php:1238 src/Model/Contact.php:1250
|
||||||
#: src/Module/Contact/Follow.php:152 view/theme/vier/theme.php:183
|
#: src/Module/Contact/Follow.php:152 view/theme/vier/theme.php:183
|
||||||
msgid "Connect/Follow"
|
msgid "Connect/Follow"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -2235,38 +2235,33 @@ msgstr ""
|
||||||
msgid "last"
|
msgid "last"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/Text/BBCode.php:689 src/Content/Text/BBCode.php:1862
|
#: src/Content/Text/BBCode.php:908
|
||||||
#: src/Content/Text/BBCode.php:1863
|
|
||||||
msgid "Image/photo"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/Content/Text/BBCode.php:907
|
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "<a href=\"%1$s\" target=\"_blank\" rel=\"noopener noreferrer\">%2$s</a> %3$s"
|
msgid "<a href=\"%1$s\" target=\"_blank\" rel=\"noopener noreferrer\">%2$s</a> %3$s"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/Text/BBCode.php:929 src/Model/Item.php:4031
|
#: src/Content/Text/BBCode.php:930 src/Model/Item.php:4031
|
||||||
#: src/Model/Item.php:4037 src/Model/Item.php:4038
|
#: src/Model/Item.php:4037 src/Model/Item.php:4038
|
||||||
msgid "Link to source"
|
msgid "Link to source"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/Text/BBCode.php:1743 src/Content/Text/HTML.php:892
|
#: src/Content/Text/BBCode.php:1744 src/Content/Text/HTML.php:892
|
||||||
msgid "Click to open/close"
|
msgid "Click to open/close"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/Text/BBCode.php:1798
|
#: src/Content/Text/BBCode.php:1799
|
||||||
msgid "$1 wrote:"
|
msgid "$1 wrote:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/Text/BBCode.php:1872 src/Content/Text/BBCode.php:1873
|
#: src/Content/Text/BBCode.php:1873 src/Content/Text/BBCode.php:1874
|
||||||
msgid "Encrypted content"
|
msgid "Encrypted content"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/Text/BBCode.php:2205
|
#: src/Content/Text/BBCode.php:2206
|
||||||
msgid "Invalid source protocol"
|
msgid "Invalid source protocol"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/Text/BBCode.php:2224
|
#: src/Content/Text/BBCode.php:2225
|
||||||
msgid "Invalid link protocol"
|
msgid "Invalid link protocol"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -2349,63 +2344,63 @@ msgstr ""
|
||||||
msgid "Local Directory"
|
msgid "Local Directory"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/Widget.php:196
|
#: src/Content/Widget.php:232
|
||||||
msgid "Everyone"
|
msgid "Everyone"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/Widget.php:221 src/Module/Contact.php:404
|
#: src/Content/Widget.php:257 src/Module/Contact.php:404
|
||||||
msgid "No relationship"
|
msgid "No relationship"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/Widget.php:226
|
#: src/Content/Widget.php:262
|
||||||
msgid "Relationships"
|
msgid "Relationships"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/Widget.php:228 src/Module/Circle.php:280
|
#: src/Content/Widget.php:264 src/Module/Circle.php:280
|
||||||
#: src/Module/Contact.php:325
|
#: src/Module/Contact.php:325
|
||||||
msgid "All Contacts"
|
msgid "All Contacts"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/Widget.php:269
|
#: src/Content/Widget.php:305
|
||||||
msgid "All Protocols"
|
msgid "All Protocols"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/Widget.php:299 src/Content/Widget.php:330
|
#: src/Content/Widget.php:335 src/Content/Widget.php:366
|
||||||
msgid "Everything"
|
msgid "Everything"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/Widget.php:328
|
#: src/Content/Widget.php:364
|
||||||
msgid "Categories"
|
msgid "Categories"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/Widget.php:385
|
#: src/Content/Widget.php:421
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "%d contact in common"
|
msgid "%d contact in common"
|
||||||
msgid_plural "%d contacts in common"
|
msgid_plural "%d contacts in common"
|
||||||
msgstr[0] ""
|
msgstr[0] ""
|
||||||
msgstr[1] ""
|
msgstr[1] ""
|
||||||
|
|
||||||
#: src/Content/Widget.php:493
|
#: src/Content/Widget.php:529
|
||||||
msgid "On this date"
|
msgid "On this date"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/Widget.php:513
|
#: src/Content/Widget.php:549
|
||||||
msgid "Persons"
|
msgid "Persons"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/Widget.php:514
|
#: src/Content/Widget.php:550
|
||||||
msgid "Organisations"
|
msgid "Organisations"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/Widget.php:515 src/Model/Contact.php:1755
|
#: src/Content/Widget.php:551 src/Model/Contact.php:1750
|
||||||
msgid "News"
|
msgid "News"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/Widget.php:517
|
#: src/Content/Widget.php:553
|
||||||
msgid "Relays"
|
msgid "Relays"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/Widget.php:524 src/Module/Moderation/BaseUsers.php:56
|
#: src/Content/Widget.php:560 src/Module/Moderation/BaseUsers.php:56
|
||||||
msgid "All"
|
msgid "All"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -2451,12 +2446,12 @@ msgstr[1] ""
|
||||||
msgid "More Trending Tags"
|
msgid "More Trending Tags"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/Widget/VCard.php:96 src/Model/Contact.php:1212
|
#: src/Content/Widget/VCard.php:96 src/Model/Contact.php:1207
|
||||||
#: src/Model/Profile.php:441
|
#: src/Model/Profile.php:441
|
||||||
msgid "Post to group"
|
msgid "Post to group"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/Widget/VCard.php:101 src/Model/Contact.php:1216
|
#: src/Content/Widget/VCard.php:101 src/Model/Contact.php:1211
|
||||||
#: src/Model/Profile.php:445 src/Module/Moderation/Item/Source.php:77
|
#: src/Model/Profile.php:445 src/Module/Moderation/Item/Source.php:77
|
||||||
msgid "Mention"
|
msgid "Mention"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -2484,13 +2479,13 @@ msgstr ""
|
||||||
msgid "Network:"
|
msgid "Network:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/Widget/VCard.php:120 src/Model/Contact.php:1244
|
#: src/Content/Widget/VCard.php:120 src/Model/Contact.php:1239
|
||||||
#: src/Model/Contact.php:1256 src/Model/Profile.php:458
|
#: src/Model/Contact.php:1251 src/Model/Profile.php:458
|
||||||
#: src/Module/Contact/Profile.php:476
|
#: src/Module/Contact/Profile.php:476
|
||||||
msgid "Unfollow"
|
msgid "Unfollow"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/Widget/VCard.php:126 src/Model/Contact.php:1214
|
#: src/Content/Widget/VCard.php:126 src/Model/Contact.php:1209
|
||||||
#: src/Model/Profile.php:443
|
#: src/Model/Profile.php:443
|
||||||
msgid "View group"
|
msgid "View group"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -3033,32 +3028,32 @@ msgstr ""
|
||||||
msgid "Enter a valid existing folder"
|
msgid "Enter a valid existing folder"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Core/Update.php:66
|
#: src/Core/Update.php:104
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "Updates from version %s are not supported. Please update at least to version 2021.01 and wait until the postupdate finished version 1383."
|
msgid "Updates from version %s are not supported. Please update at least to version 2021.01 and wait until the postupdate finished version 1383."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Core/Update.php:77
|
#: src/Core/Update.php:115
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "Updates from postupdate version %s are not supported. Please update at least to version 2021.01 and wait until the postupdate finished version 1383."
|
msgid "Updates from postupdate version %s are not supported. Please update at least to version 2021.01 and wait until the postupdate finished version 1383."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Core/Update.php:169
|
#: src/Core/Update.php:207
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "%s: executing pre update %d"
|
msgid "%s: executing pre update %d"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Core/Update.php:211
|
#: src/Core/Update.php:249
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "%s: executing post update %d"
|
msgid "%s: executing post update %d"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Core/Update.php:285
|
#: src/Core/Update.php:323
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "Update %s failed. See error logs."
|
msgid "Update %s failed. See error logs."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Core/Update.php:325
|
#: src/Core/Update.php:363
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"\n"
|
"\n"
|
||||||
|
@ -3068,16 +3063,16 @@ msgid ""
|
||||||
"\t\t\t\tfriendica developer if you can not help me on your own. My database might be invalid."
|
"\t\t\t\tfriendica developer if you can not help me on your own. My database might be invalid."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Core/Update.php:331
|
#: src/Core/Update.php:369
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "The error message is\\n[pre]%s[/pre]"
|
msgid "The error message is\\n[pre]%s[/pre]"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Core/Update.php:335 src/Core/Update.php:363
|
#: src/Core/Update.php:373 src/Core/Update.php:401
|
||||||
msgid "[Friendica Notify] Database update"
|
msgid "[Friendica Notify] Database update"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Core/Update.php:357
|
#: src/Core/Update.php:395
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"\n"
|
"\n"
|
||||||
|
@ -3118,16 +3113,16 @@ msgstr ""
|
||||||
msgid "Errors encountered performing database changes: "
|
msgid "Errors encountered performing database changes: "
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Database/DBStructure.php:218
|
#: src/Database/DBStructure.php:228
|
||||||
msgid "Another database update is currently running."
|
msgid "Another database update is currently running."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Database/DBStructure.php:222
|
#: src/Database/DBStructure.php:232
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "%s: Database update"
|
msgid "%s: Database update"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Database/DBStructure.php:479
|
#: src/Database/DBStructure.php:489
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "%s: updating %s table."
|
msgid "%s: updating %s table."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -3194,84 +3189,84 @@ msgstr ""
|
||||||
msgid "Edit circles"
|
msgid "Edit circles"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Model/Contact.php:1263 src/Module/Moderation/Users/Pending.php:88
|
#: src/Model/Contact.php:1258 src/Module/Moderation/Users/Pending.php:88
|
||||||
#: src/Module/Notifications/Introductions.php:124
|
#: src/Module/Notifications/Introductions.php:124
|
||||||
#: src/Module/Notifications/Introductions.php:196
|
#: src/Module/Notifications/Introductions.php:196
|
||||||
msgid "Approve"
|
msgid "Approve"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Model/Contact.php:1599 src/Model/Contact.php:1671
|
#: src/Model/Contact.php:1594 src/Model/Contact.php:1666
|
||||||
#: src/Module/Contact/Profile.php:360
|
#: src/Module/Contact/Profile.php:360
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "%s has blocked you"
|
msgid "%s has blocked you"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Model/Contact.php:1751
|
#: src/Model/Contact.php:1746
|
||||||
msgid "Organisation"
|
msgid "Organisation"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Model/Contact.php:1759
|
#: src/Model/Contact.php:1754
|
||||||
msgid "Group"
|
msgid "Group"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Model/Contact.php:1763 src/Module/Moderation/BaseUsers.php:120
|
#: src/Model/Contact.php:1758 src/Module/Moderation/BaseUsers.php:120
|
||||||
msgid "Relay"
|
msgid "Relay"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Model/Contact.php:3078
|
#: src/Model/Contact.php:3073
|
||||||
msgid "Disallowed profile URL."
|
msgid "Disallowed profile URL."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Model/Contact.php:3083 src/Module/Friendica.php:86
|
#: src/Model/Contact.php:3078 src/Module/Friendica.php:86
|
||||||
msgid "Blocked domain"
|
msgid "Blocked domain"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Model/Contact.php:3088
|
#: src/Model/Contact.php:3083
|
||||||
msgid "Connect URL missing."
|
msgid "Connect URL missing."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Model/Contact.php:3097
|
#: src/Model/Contact.php:3092
|
||||||
msgid "The contact could not be added. Please check the relevant network credentials in your Settings -> Social Networks page."
|
msgid "The contact could not be added. Please check the relevant network credentials in your Settings -> Social Networks page."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Model/Contact.php:3115
|
#: src/Model/Contact.php:3110
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "Expected network %s does not match actual network %s"
|
msgid "Expected network %s does not match actual network %s"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Model/Contact.php:3132
|
#: src/Model/Contact.php:3127
|
||||||
msgid "This seems to be a relay account. They can't be followed by users."
|
msgid "This seems to be a relay account. They can't be followed by users."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Model/Contact.php:3139
|
#: src/Model/Contact.php:3134
|
||||||
msgid "The profile address specified does not provide adequate information."
|
msgid "The profile address specified does not provide adequate information."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Model/Contact.php:3141
|
#: src/Model/Contact.php:3136
|
||||||
msgid "No compatible communication protocols or feeds were discovered."
|
msgid "No compatible communication protocols or feeds were discovered."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Model/Contact.php:3144
|
#: src/Model/Contact.php:3139
|
||||||
msgid "An author or name was not found."
|
msgid "An author or name was not found."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Model/Contact.php:3147
|
#: src/Model/Contact.php:3142
|
||||||
msgid "No browser URL could be matched to this address."
|
msgid "No browser URL could be matched to this address."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Model/Contact.php:3150
|
#: src/Model/Contact.php:3145
|
||||||
msgid "Unable to match @-style Identity Address with a known protocol or email contact."
|
msgid "Unable to match @-style Identity Address with a known protocol or email contact."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Model/Contact.php:3151
|
#: src/Model/Contact.php:3146
|
||||||
msgid "Use mailto: in front of address to force email check."
|
msgid "Use mailto: in front of address to force email check."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Model/Contact.php:3157
|
#: src/Model/Contact.php:3152
|
||||||
msgid "Limited profile. This person will be unable to receive direct/personal notifications from you."
|
msgid "Limited profile. This person will be unable to receive direct/personal notifications from you."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Model/Contact.php:3216
|
#: src/Model/Contact.php:3211
|
||||||
msgid "Unable to retrieve contact information."
|
msgid "Unable to retrieve contact information."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -3572,7 +3567,7 @@ msgstr ""
|
||||||
msgid "Title/Description:"
|
msgid "Title/Description:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Model/Profile.php:799 src/Module/Admin/Summary.php:183
|
#: src/Model/Profile.php:799 src/Module/Admin/Summary.php:176
|
||||||
#: src/Module/Moderation/Report/Create.php:266
|
#: src/Module/Moderation/Report/Create.php:266
|
||||||
#: src/Module/Moderation/Summary.php:62
|
#: src/Module/Moderation/Summary.php:62
|
||||||
msgid "Summary"
|
msgid "Summary"
|
||||||
|
@ -3886,7 +3881,7 @@ msgstr ""
|
||||||
#: src/Module/Admin/Federation.php:206 src/Module/Admin/Logs/Settings.php:74
|
#: src/Module/Admin/Federation.php:206 src/Module/Admin/Logs/Settings.php:74
|
||||||
#: src/Module/Admin/Logs/View.php:71 src/Module/Admin/Queue.php:59
|
#: src/Module/Admin/Logs/View.php:71 src/Module/Admin/Queue.php:59
|
||||||
#: src/Module/Admin/Site.php:447 src/Module/Admin/Storage.php:124
|
#: src/Module/Admin/Site.php:447 src/Module/Admin/Storage.php:124
|
||||||
#: src/Module/Admin/Summary.php:182 src/Module/Admin/Themes/Details.php:82
|
#: src/Module/Admin/Summary.php:175 src/Module/Admin/Themes/Details.php:82
|
||||||
#: src/Module/Admin/Themes/Index.php:103 src/Module/Admin/Tos.php:63
|
#: src/Module/Admin/Themes/Index.php:103 src/Module/Admin/Tos.php:63
|
||||||
#: src/Module/Moderation/Users/Create.php:47
|
#: src/Module/Moderation/Users/Create.php:47
|
||||||
#: src/Module/Moderation/Users/Pending.php:82
|
#: src/Module/Moderation/Users/Pending.php:82
|
||||||
|
@ -5364,75 +5359,75 @@ msgstr ""
|
||||||
msgid "Your table_definition_cache is too low (%d). This can lead to the database error \"Prepared statement needs to be re-prepared\". Please set it at least to %d. See <a href=\"%s\">here</a> for more information.<br />"
|
msgid "Your table_definition_cache is too low (%d). This can lead to the database error \"Prepared statement needs to be re-prepared\". Please set it at least to %d. See <a href=\"%s\">here</a> for more information.<br />"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Admin/Summary.php:71
|
#: src/Module/Admin/Summary.php:68
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "There is a new version of Friendica available for download. Your current version is %1$s, upstream version is %2$s"
|
msgid "There is a new version of Friendica available for download. Your current version is %1$s, upstream version is %2$s"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Admin/Summary.php:80
|
#: src/Module/Admin/Summary.php:76
|
||||||
msgid "The database update failed. Please run \"php bin/console.php dbstructure update\" from the command line and have a look at the errors that might appear."
|
msgid "The database update failed. Please run \"php bin/console.php dbstructure update\" from the command line and have a look at the errors that might appear."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Admin/Summary.php:84
|
#: src/Module/Admin/Summary.php:80
|
||||||
msgid "The last update failed. Please run \"php bin/console.php dbstructure update\" from the command line and have a look at the errors that might appear. (Some of the errors are possibly inside the logfile.)"
|
msgid "The last update failed. Please run \"php bin/console.php dbstructure update\" from the command line and have a look at the errors that might appear. (Some of the errors are possibly inside the logfile.)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Admin/Summary.php:88
|
#: src/Module/Admin/Summary.php:84
|
||||||
msgid "The system.url entry is missing. This is a low level setting and can lead to unexpected behavior. Please add a valid entry as soon as possible in the config file or per console command!"
|
msgid "The system.url entry is missing. This is a low level setting and can lead to unexpected behavior. Please add a valid entry as soon as possible in the config file or per console command!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Admin/Summary.php:93
|
#: src/Module/Admin/Summary.php:89
|
||||||
msgid "The worker was never executed. Please check your database structure!"
|
msgid "The worker was never executed. Please check your database structure!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Admin/Summary.php:95
|
#: src/Module/Admin/Summary.php:91
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "The last worker execution was on %s UTC. This is older than one hour. Please check your crontab settings."
|
msgid "The last worker execution was on %s UTC. This is older than one hour. Please check your crontab settings."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Admin/Summary.php:100
|
#: src/Module/Admin/Summary.php:96
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "Friendica's configuration now is stored in config/local.config.php, please copy config/local-sample.config.php and move your config from <code>.htconfig.php</code>. See <a href=\"%s\">the Config help page</a> for help with the transition."
|
msgid "Friendica's configuration now is stored in config/local.config.php, please copy config/local-sample.config.php and move your config from <code>.htconfig.php</code>. See <a href=\"%s\">the Config help page</a> for help with the transition."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Admin/Summary.php:104
|
#: src/Module/Admin/Summary.php:100
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "Friendica's configuration now is stored in config/local.config.php, please copy config/local-sample.config.php and move your config from <code>config/local.ini.php</code>. See <a href=\"%s\">the Config help page</a> for help with the transition."
|
msgid "Friendica's configuration now is stored in config/local.config.php, please copy config/local-sample.config.php and move your config from <code>config/local.ini.php</code>. See <a href=\"%s\">the Config help page</a> for help with the transition."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Admin/Summary.php:110
|
#: src/Module/Admin/Summary.php:106
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "<a href=\"%s\">%s</a> is not reachable on your system. This is a severe configuration issue that prevents server to server communication. See <a href=\"%s\">the installation page</a> for help."
|
msgid "<a href=\"%s\">%s</a> is not reachable on your system. This is a severe configuration issue that prevents server to server communication. See <a href=\"%s\">the installation page</a> for help."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Admin/Summary.php:134
|
#: src/Module/Admin/Summary.php:130
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "Friendica's system.basepath was updated from '%s' to '%s'. Please remove the system.basepath from your db to avoid differences."
|
msgid "Friendica's system.basepath was updated from '%s' to '%s'. Please remove the system.basepath from your db to avoid differences."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Admin/Summary.php:142
|
#: src/Module/Admin/Summary.php:138
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "Friendica's current system.basepath '%s' is wrong and the config file '%s' isn't used."
|
msgid "Friendica's current system.basepath '%s' is wrong and the config file '%s' isn't used."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Admin/Summary.php:150
|
#: src/Module/Admin/Summary.php:146
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "Friendica's current system.basepath '%s' is not equal to the config file '%s'. Please fix your configuration."
|
msgid "Friendica's current system.basepath '%s' is not equal to the config file '%s'. Please fix your configuration."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Admin/Summary.php:161
|
#: src/Module/Admin/Summary.php:157
|
||||||
msgid "Message queues"
|
msgid "Message queues"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Admin/Summary.php:167
|
#: src/Module/Admin/Summary.php:160
|
||||||
msgid "Server Settings"
|
msgid "Server Settings"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Admin/Summary.php:185
|
#: src/Module/Admin/Summary.php:178
|
||||||
msgid "Version"
|
msgid "Version"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Admin/Summary.php:189
|
#: src/Module/Admin/Summary.php:182
|
||||||
msgid "Active addons"
|
msgid "Active addons"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -8376,7 +8371,7 @@ msgstr ""
|
||||||
msgid "Incomplete request data"
|
msgid "Incomplete request data"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/OAuth/Authorize.php:92
|
#: src/Module/OAuth/Authorize.php:93
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "Please copy the following authentication code into your application and close this window: %s"
|
msgid "Please copy the following authentication code into your application and close this window: %s"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
|
@ -5,10 +5,10 @@
|
||||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
*}}
|
*}}
|
||||||
{{if $image->preview}}
|
{{if $image->preview}}
|
||||||
<a data-fancybox="{{$image->uriId}}" href="{{$image->url}}"><img src="{{$image->preview}}" alt="{{$image->description}}" title="{{$image->description}}" loading="lazy"></a>
|
<a data-fancybox="{{$image->uriId}}" href="{{$image->url}}"><img src="{{$image->preview}}" alt="{{$image->description}}" title="{{$image->description}}" {{if $image->description}}class="has-alt-description"{{else}}class="empty-description"{{/if}} loading="lazy"></a>
|
||||||
{{else}}
|
{{else}}
|
||||||
<figure>
|
<figure>
|
||||||
<img src="{{$image->url}}" alt="{{$image->description}}" title="{{$image->description}}" loading="lazy">
|
<img src="{{$image->url}}" alt="{{$image->description}}" title="{{$image->description}}" {{if $image->description}}class="has-alt-description"{{else}}class="empty-description"{{/if}} loading="lazy">
|
||||||
{{if $image->description}}
|
{{if $image->description}}
|
||||||
<figcaption>{{$image->description}}</figcaption>
|
<figcaption>{{$image->description}}</figcaption>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
|
@ -14,10 +14,10 @@
|
||||||
<figure class="img-allocated-height" style="width: {{$allocated_width|default:"auto"}}; padding-bottom: {{$allocated_height}}">
|
<figure class="img-allocated-height" style="width: {{$allocated_width|default:"auto"}}; padding-bottom: {{$allocated_height}}">
|
||||||
{{if $image->preview}}
|
{{if $image->preview}}
|
||||||
<a data-fancybox="uri-id-{{$image->uriId}}" href="{{$image->url}}">
|
<a data-fancybox="uri-id-{{$image->uriId}}" href="{{$image->url}}">
|
||||||
<img src="{{$image->preview}}" alt="{{$image->description}}" title="{{$image->description}}" loading="lazy">
|
<img src="{{$image->preview}}" alt="{{$image->description}}" title="{{$image->description}}" {{if $image->description}}class="has-alt-description"{{else}}class="empty-description"{{/if}} loading="lazy">
|
||||||
</a>
|
</a>
|
||||||
{{else}}
|
{{else}}
|
||||||
<img src="{{$image->url}}" alt="{{$image->description}}" title="{{$image->description}}" loading="lazy">
|
<img src="{{$image->url}}" alt="{{$image->description}}" title="{{$image->description}}" {{if $image->description}}class="has-alt-description"{{else}}class="empty-description"{{/if}} loading="lazy">
|
||||||
{{if $image->description}}
|
{{if $image->description}}
|
||||||
<figcaption>{{$image->description}}</figcaption>
|
<figcaption>{{$image->description}}</figcaption>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
Loading…
Reference in a new issue