Add content_filter hook #566
No reviewers
Labels
No labels
2018.09
2019.01
2019.03
2019.06
2019.09
2019.12
2020.03
2020.06
2020.09
2020.12
2021.03
2021.07
2021.09
2022.02
2022.06
2022.09
2022.12
2023.04
2023.05
2023.09
2024.03
2024.06
2024.09
2024.12
dependencies
Hackathon 2021
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: friendica/friendica-addons#566
Loading…
Reference in a new issue
No description provided.
Delete branch "task/add-content_filter-hook"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
See: https://friendica.mrpetovan.com/display/735a2029715ab80d1874cf6808556656
Depends on https://github.com/friendica/friendica/pull/4722
Please review the translation strings I added, they may not be the best way of presening the content filtering reasons.
Additionally, the showmore addon now disabled when there is a content-filter applied because of display incompatibility.
Can you please re-generate the messages.po files of the addons so that they can be picked up by the translation chain.
I'd like to wait until we agree on them as they currently are exact, but maybe too long or not friendly enough, or confusing maybe? On top of that I'm not sure about the procedure for addons.
In the addon directory you want to extract the strings
/path/to/run_xgettext.sh -s
I accidentally ran
/path/to/run_xgettext.sh -s
in the literal/path/to/friendica/addon
folder, and I found an empty translation string that triggered a notice in gettext!