feat: supply subject-first topic event text for themes

This commit is contained in:
Julian Lam
2022-11-30 14:40:35 -05:00
parent 0dfd22c12b
commit 2fec6b007a
2 changed files with 18 additions and 0 deletions

View File

@@ -54,6 +54,16 @@
"backlink": "Referenced by",
"forked-by": "Forked by",
"x-locked": "locked this topic",
"x-unlocked": "unlocked this topic",
"x-pinned": "pinned this topic",
"x-unpinned": "unpinned this topic",
"x-deleted": "deleted this topic",
"x-restored": "restored this topic",
"x-moved-from": "moved this topic from %1",
"x-backlink": "referenced this topic",
"x-forked": "forked this topic",
"bookmark_instructions" : "Click here to return to the last read post in this thread.",
"flag-post": "Flag this post",

View File

@@ -26,26 +26,32 @@ Events._types = {
pin: {
icon: 'fa-thumb-tack',
text: '[[topic:pinned-by]]',
'x-text': '[[topic:x-pinned]]',
},
unpin: {
icon: 'fa-thumb-tack fa-rotate-90',
text: '[[topic:unpinned-by]]',
'x-text': '[[topic:x-unpinned]]',
},
lock: {
icon: 'fa-lock',
text: '[[topic:locked-by]]',
'x-text': '[[topic:x-locked]]',
},
unlock: {
icon: 'fa-unlock',
text: '[[topic:unlocked-by]]',
'x-text': '[[topic:x-unlocked]]',
},
delete: {
icon: 'fa-trash',
text: '[[topic:deleted-by]]',
'x-text': '[[topic:x-deleted]]',
},
restore: {
icon: 'fa-trash-o',
text: '[[topic:restored-by]]',
'x-text': '[[topic:x-restored]]',
},
move: {
icon: 'fa-arrow-circle-right',
@@ -59,10 +65,12 @@ Events._types = {
backlink: {
icon: 'fa-link',
text: '[[topic:backlink]]',
'x-text': '[[topic:x-backlink]]',
},
fork: {
icon: 'fa-code-fork',
text: '[[topic:forked-by]]',
'x-text': '[[topic:x-forked]]',
},
};