Don't need separators in titles

main
Bob Mottram 2020-06-17 14:21:56 +01:00
parent 0b1c040ccb
commit 78e217bb27
1 changed files with 9 additions and 9 deletions

View File

@ -3697,7 +3697,7 @@ def individualPostAsHtml(recentPostsCache: {}, maxRecentPosts: int,
replyStr += \ replyStr += \
'<img loading="lazy" title="' + \ '<img loading="lazy" title="' + \
translate['Reply to this post'] + ' |" alt="' + \ translate['Reply to this post'] + '" alt="' + \
translate['Reply to this post'] + \ translate['Reply to this post'] + \
' |" src="/' + iconsDir + '/reply.png"/></a>' ' |" src="/' + iconsDir + '/reply.png"/></a>'
@ -3712,7 +3712,7 @@ def individualPostAsHtml(recentPostsCache: {}, maxRecentPosts: int,
'?actor=' + actorNickname + \ '?actor=' + actorNickname + \
'" title="' + translate['Edit blog post'] + '">' + \ '" title="' + translate['Edit blog post'] + '">' + \
'<img loading="lazy" title="' + \ '<img loading="lazy" title="' + \
translate['Edit blog post'] + ' |" alt="' + \ translate['Edit blog post'] + '" alt="' + \
translate['Edit blog post'] + \ translate['Edit blog post'] + \
' |" src="/' + iconsDir + '/edit.png"/></a>' ' |" src="/' + iconsDir + '/edit.png"/></a>'
@ -3737,7 +3737,7 @@ def individualPostAsHtml(recentPostsCache: {}, maxRecentPosts: int,
'?tl=' + boxName + '" title="' + announceTitle + '">' '?tl=' + boxName + '" title="' + announceTitle + '">'
announceStr += \ announceStr += \
'<img loading="lazy" title="' + translate['Repeat this post'] + \ '<img loading="lazy" title="' + translate['Repeat this post'] + \
' |" alt="' + translate['Repeat this post'] + \ '" alt="' + translate['Repeat this post'] + \
' |" src="/' + iconsDir + '/' + announceIcon + '"/></a>' ' |" src="/' + iconsDir + '/' + announceIcon + '"/></a>'
likeStr = '' likeStr = ''
@ -3759,7 +3759,7 @@ def individualPostAsHtml(recentPostsCache: {}, maxRecentPosts: int,
'?tl=' + boxName + '" title="' + likeTitle + '">' '?tl=' + boxName + '" title="' + likeTitle + '">'
likeStr += \ likeStr += \
'<img loading="lazy" title="' + likeTitle + \ '<img loading="lazy" title="' + likeTitle + \
' |" alt="' + likeTitle + \ '" alt="' + likeTitle + \
' |" src="/' + iconsDir + '/' + likeIcon + '"/></a>' ' |" src="/' + iconsDir + '/' + likeIcon + '"/></a>'
bookmarkStr = '' bookmarkStr = ''
@ -3779,7 +3779,7 @@ def individualPostAsHtml(recentPostsCache: {}, maxRecentPosts: int,
'?bm=' + timelinePostBookmark + \ '?bm=' + timelinePostBookmark + \
'?tl=' + boxName + '" title="' + bookmarkTitle + '">' '?tl=' + boxName + '" title="' + bookmarkTitle + '">'
bookmarkStr += \ bookmarkStr += \
'<img loading="lazy" title="' + bookmarkTitle + ' |" alt="' + \ '<img loading="lazy" title="' + bookmarkTitle + '" alt="' + \
bookmarkTitle + ' |" src="/' + iconsDir + \ bookmarkTitle + ' |" src="/' + iconsDir + \
'/' + bookmarkIcon + '"/></a>' '/' + bookmarkIcon + '"/></a>'
@ -3798,7 +3798,7 @@ def individualPostAsHtml(recentPostsCache: {}, maxRecentPosts: int,
deleteStr += \ deleteStr += \
'<img loading="lazy" alt="' + translate['Delete this post'] + \ '<img loading="lazy" alt="' + translate['Delete this post'] + \
' |" title="' + translate['Delete this post'] + \ ' |" title="' + translate['Delete this post'] + \
' |" src="/' + iconsDir + '/delete.png"/></a>' '" src="/' + iconsDir + '/delete.png"/></a>'
else: else:
if not isMuted: if not isMuted:
muteStr = \ muteStr = \
@ -3810,7 +3810,7 @@ def individualPostAsHtml(recentPostsCache: {}, maxRecentPosts: int,
'<img loading="lazy" alt="' + \ '<img loading="lazy" alt="' + \
translate['Mute this post'] + \ translate['Mute this post'] + \
' |" title="' + translate['Mute this post'] + \ ' |" title="' + translate['Mute this post'] + \
' |" src="/' + iconsDir + '/mute.png"/></a>' '" src="/' + iconsDir + '/mute.png"/></a>'
else: else:
muteStr = \ muteStr = \
'<a href="/users/' + nickname + '?unmute=' + messageId + \ '<a href="/users/' + nickname + '?unmute=' + messageId + \
@ -3820,7 +3820,7 @@ def individualPostAsHtml(recentPostsCache: {}, maxRecentPosts: int,
muteStr += \ muteStr += \
'<img loading="lazy" alt="' + translate['Undo mute'] + \ '<img loading="lazy" alt="' + translate['Undo mute'] + \
' |" title="' + translate['Undo mute'] + \ ' |" title="' + translate['Undo mute'] + \
' |" src="/' + iconsDir+'/unmute.png"/></a>' '" src="/' + iconsDir+'/unmute.png"/></a>'
replyAvatarImageInPost = '' replyAvatarImageInPost = ''
if showRepeatIcon: if showRepeatIcon:
@ -5550,7 +5550,7 @@ def htmlCalendarDay(translate: {},
'?time=' + eventTime + \ '?time=' + eventTime + \
'"><img class="calendardayicon" loading="lazy" alt="' + \ '"><img class="calendardayicon" loading="lazy" alt="' + \
translate['Delete this event'] + ' |" title="' + \ translate['Delete this event'] + ' |" title="' + \
translate['Delete this event'] + ' |" src="/' + \ translate['Delete this event'] + '" src="/' + \
iconsDir + '/delete.png" /></a></td>' iconsDir + '/delete.png" /></a></td>'
if eventTime and eventDescription and eventPlace: if eventTime and eventDescription and eventPlace: