diff --git a/translations/ar.json b/translations/ar.json
index 1812c545..26753ab7 100644
--- a/translations/ar.json
+++ b/translations/ar.json
@@ -191,5 +191,7 @@
"Enter your question": "Enter your question",
"Enter the choices for your question below.": "Enter the choices for your question below.",
"Ask a question": "Ask a question",
- "Possible answers": "Possible answers"
+ "Possible answers": "Possible answers",
+ "replying to": "replying to",
+ "announces": "announces"
}
diff --git a/translations/ca.json b/translations/ca.json
index 21d136a1..6d9236b6 100644
--- a/translations/ca.json
+++ b/translations/ca.json
@@ -191,5 +191,7 @@
"Enter your question": "Enter your question",
"Enter the choices for your question below.": "Enter the choices for your question below.",
"Ask a question": "Ask a question",
- "Possible answers": "Possible answers"
+ "Possible answers": "Possible answers",
+ "replying to": "replying to",
+ "announces": "announces"
}
diff --git a/translations/cy.json b/translations/cy.json
index 848a64c9..aae587ff 100644
--- a/translations/cy.json
+++ b/translations/cy.json
@@ -191,5 +191,7 @@
"Enter your question": "Enter your question",
"Enter the choices for your question below.": "Enter the choices for your question below.",
"Ask a question": "Ask a question",
- "Possible answers": "Possible answers"
+ "Possible answers": "Possible answers",
+ "replying to": "replying to",
+ "announces": "announces"
}
diff --git a/translations/de.json b/translations/de.json
index 4f67ac24..f501dde4 100644
--- a/translations/de.json
+++ b/translations/de.json
@@ -191,5 +191,7 @@
"Enter your question": "Enter your question",
"Enter the choices for your question below.": "Enter the choices for your question below.",
"Ask a question": "Ask a question",
- "Possible answers": "Possible answers"
+ "Possible answers": "Possible answers",
+ "replying to": "replying to",
+ "announces": "announces"
}
diff --git a/translations/en.json b/translations/en.json
index 104fac29..a05f9517 100644
--- a/translations/en.json
+++ b/translations/en.json
@@ -191,5 +191,7 @@
"Enter your question": "Enter your question",
"Enter the choices for your question below.": "Enter the choices for your question below.",
"Ask a question": "Ask a question",
- "Possible answers": "Possible answers"
+ "Possible answers": "Possible answers",
+ "replying to": "replying to",
+ "announces": "announces"
}
diff --git a/translations/es.json b/translations/es.json
index 45e5dc80..0a56ba3c 100644
--- a/translations/es.json
+++ b/translations/es.json
@@ -191,5 +191,7 @@
"Enter your question": "Enter your question",
"Enter the choices for your question below.": "Enter the choices for your question below.",
"Ask a question": "Ask a question",
- "Possible answers": "Possible answers"
+ "Possible answers": "Possible answers",
+ "replying to": "replying to",
+ "announces": "announces"
}
diff --git a/translations/fr.json b/translations/fr.json
index 4e545c94..1d3685ae 100644
--- a/translations/fr.json
+++ b/translations/fr.json
@@ -191,5 +191,7 @@
"Enter your question": "Enter your question",
"Enter the choices for your question below.": "Enter the choices for your question below.",
"Ask a question": "Ask a question",
- "Possible answers": "Possible answers"
+ "Possible answers": "Possible answers",
+ "replying to": "replying to",
+ "announces": "announces"
}
diff --git a/translations/ga.json b/translations/ga.json
index d3ecb1bb..f9c7de5c 100644
--- a/translations/ga.json
+++ b/translations/ga.json
@@ -191,5 +191,7 @@
"Enter your question": "Enter your question",
"Enter the choices for your question below.": "Enter the choices for your question below.",
"Ask a question": "Ask a question",
- "Possible answers": "Possible answers"
+ "Possible answers": "Possible answers",
+ "replying to": "replying to",
+ "announces": "announces"
}
diff --git a/translations/hi.json b/translations/hi.json
index 668aa3a1..858b57c9 100644
--- a/translations/hi.json
+++ b/translations/hi.json
@@ -191,5 +191,7 @@
"Enter your question": "Enter your question",
"Enter the choices for your question below.": "Enter the choices for your question below.",
"Ask a question": "Ask a question",
- "Possible answers": "Possible answers"
+ "Possible answers": "Possible answers",
+ "replying to": "replying to",
+ "announces": "announces"
}
diff --git a/translations/it.json b/translations/it.json
index b37e8396..51f392d7 100644
--- a/translations/it.json
+++ b/translations/it.json
@@ -191,5 +191,7 @@
"Enter your question": "Enter your question",
"Enter the choices for your question below.": "Enter the choices for your question below.",
"Ask a question": "Ask a question",
- "Possible answers": "Possible answers"
+ "Possible answers": "Possible answers",
+ "replying to": "replying to",
+ "announces": "announces"
}
diff --git a/translations/ja.json b/translations/ja.json
index c99aa69e..f053670b 100644
--- a/translations/ja.json
+++ b/translations/ja.json
@@ -191,5 +191,7 @@
"Enter your question": "Enter your question",
"Enter the choices for your question below.": "Enter the choices for your question below.",
"Ask a question": "Ask a question",
- "Possible answers": "Possible answers"
+ "Possible answers": "Possible answers",
+ "replying to": "replying to",
+ "announces": "announces"
}
diff --git a/translations/oc.json b/translations/oc.json
index d23c7ccc..85623d90 100644
--- a/translations/oc.json
+++ b/translations/oc.json
@@ -187,5 +187,7 @@
"Enter your question": "Enter your question",
"Enter the choices for your question below.": "Enter the choices for your question below.",
"Ask a question": "Ask a question",
- "Possible answers": "Possible answers"
+ "Possible answers": "Possible answers",
+ "replying to": "replying to",
+ "announces": "announces"
}
diff --git a/translations/pt.json b/translations/pt.json
index 70890b8d..e5acd15d 100644
--- a/translations/pt.json
+++ b/translations/pt.json
@@ -191,5 +191,7 @@
"Enter your question": "Enter your question",
"Enter the choices for your question below.": "Enter the choices for your question below.",
"Ask a question": "Ask a question",
- "Possible answers": "Possible answers"
+ "Possible answers": "Possible answers",
+ "replying to": "replying to",
+ "announces": "announces"
}
diff --git a/translations/ru.json b/translations/ru.json
index e9939a10..f14be995 100644
--- a/translations/ru.json
+++ b/translations/ru.json
@@ -191,5 +191,7 @@
"Enter your question": "Enter your question",
"Enter the choices for your question below.": "Enter the choices for your question below.",
"Ask a question": "Ask a question",
- "Possible answers": "Possible answers"
+ "Possible answers": "Possible answers",
+ "replying to": "replying to",
+ "announces": "announces"
}
diff --git a/translations/zh.json b/translations/zh.json
index 5edc2e8e..71f517f2 100644
--- a/translations/zh.json
+++ b/translations/zh.json
@@ -191,5 +191,7 @@
"Enter your question": "Enter your question",
"Enter the choices for your question below.": "Enter the choices for your question below.",
"Ask a question": "Ask a question",
- "Possible answers": "Possible answers"
+ "Possible answers": "Possible answers",
+ "replying to": "replying to",
+ "announces": "announces"
}
diff --git a/webinterface.py b/webinterface.py
index c9a99369..b7f04370 100644
--- a/webinterface.py
+++ b/webinterface.py
@@ -2076,7 +2076,7 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \
if isAnnounced:
if postJsonObject['object'].get('attributedTo'):
if postJsonObject['object']['attributedTo'].startswith(postActor):
- titleStr+='
'
+ titleStr+='
'
else:
announceNickname=getNicknameFromActor(postJsonObject['object']['attributedTo'])
if announceNickname:
@@ -2089,7 +2089,7 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \
addEmojiToDisplayName(baseDir,httpPrefix, \
nickname,domain, \
announceDisplayName,False)
- titleStr+='
'+announceDisplayName+''
+ titleStr+='
'+announceDisplayName+''
# show avatar of person replied to
announceActor=postJsonObject['object']['attributedTo']
announceAvatarUrl=getPersonAvatarUrl(baseDir,announceActor,personCache)
@@ -2101,18 +2101,18 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \
'title="'+translate['Show options for this person']+ \
'" alt=" "'+avatarPosition+'/>'
else:
- titleStr+='
@'+announceNickname+'@'+announceDomain+''
+ titleStr+='
@'+announceNickname+'@'+announceDomain+''
else:
- titleStr+='
@unattributed'
+ titleStr+='
@unattributed'
else:
- titleStr+='
@unattributed'
+ titleStr+='
@unattributed'
else:
if postJsonObject['object'].get('inReplyTo'):
containerClassIcons='containericons darker'
containerClass='container darker'
#avatarPosition=' class="right"'
if postJsonObject['object']['inReplyTo'].startswith(postActor):
- titleStr+='
'
+ titleStr+='
'
else:
if '/statuses/' in postJsonObject['object']['inReplyTo']:
replyActor=postJsonObject['object']['inReplyTo'].split('/statuses/')[0]
@@ -2128,7 +2128,7 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \
addEmojiToDisplayName(baseDir,httpPrefix, \
nickname,domain, \
replyDisplayName,False)
- titleStr+='
'+replyDisplayName+''
+ titleStr+='
'+replyDisplayName+''
# show avatar of person replied to
replyAvatarUrl=getPersonAvatarUrl(baseDir,replyActor,personCache)
@@ -2139,15 +2139,15 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \
replyAvatarImageInPost+='title="'+translate['Show profile']
replyAvatarImageInPost+='" alt=" "'+avatarPosition+'/>'
else:
- titleStr+='
@'+replyNickname+'@'+replyDomain+''
+ titleStr+='
@'+replyNickname+'@'+replyDomain+''
else:
- titleStr+='
@unknown'
+ titleStr+='
@unknown'
else:
postDomain=postJsonObject['object']['inReplyTo'].replace('https://','').replace('http://','').replace('dat://','')
if '/' in postDomain:
postDomain=postDomain.split('/',1)[0]
if postDomain:
- titleStr+='
'+postDomain+''
+ titleStr+='
'+postDomain+''
attachmentStr=''
if postJsonObject['object'].get('attachment'):
if isinstance(postJsonObject['object']['attachment'], list):
@@ -2298,7 +2298,7 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \
'?actor='+postJsonObject['actor']+ \
'?bm='+timelinePostBookmark+ \
'?tl='+boxName+'" title="'+announceTitle+'">'
- announceStr+='
'
+ announceStr+='
'
likeStr=''
if not isModerationPost:
@@ -2316,7 +2316,7 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \
'?actor='+postJsonObject['actor']+ \
'?bm='+timelinePostBookmark+ \
'?tl='+boxName+'" title="'+likeTitle+'">'
- likeStr+='
'
+ likeStr+='
'
bookmarkStr=''
if not isModerationPost:
@@ -2333,8 +2333,8 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \
'?actor='+postJsonObject['actor']+ \
'?bm='+timelinePostBookmark+ \
'?tl='+boxName+'" title="'+bookmarkTitle+'">'
- bookmarkStr+='
'
-
+ bookmarkStr+='
'
+
deleteStr=''
if allowDeletion or \
('/'+fullDomain+'/' in postActor and \
@@ -2379,7 +2379,7 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \
''
- footerStr+='
'
+ footerStr+='
'
footerStr+=announceStr+likeStr+bookmarkStr+deleteStr
footerStr+=''+publishedStr+''
footerStr+=''