-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add social account feed #6
base: master
Are you sure you want to change the base?
Conversation
Removed Account Name
Translated ago to german
Translated more german
@@ -188,13 +188,13 @@ function M.task(starts, ends, config, x1, y1, x2, y2) | |||
|
|||
local age = api.clock.unix() - toot.created_at | |||
if age < 100 then | |||
age = string.format("%ds", age) | |||
age = string.format("%d Sekunden", age) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These localization changes should be configurable. This plugin is used outside of german-speaking areas as well.
@@ -120,7 +120,7 @@ function M.updated_tootlist_json(toots) | |||
end | |||
if include_in_scroller and not only_contains_hashtags(toot.content) then | |||
scroller[#scroller+1] = { | |||
text = "@" .. toot.account.acct .. ": " .. toot.content, | |||
text = toot.content, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should probably be configurable as well. Ideally, the default would be to show the account for hashtag searches, and to hide it for user searches.
r.raise_for_status() | ||
|
||
else: | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove those empty lines before and after the else:
Hello,
i have added the possibility to show some social account feed aka @[email protected]
Regards
highTower