mirror of
https://github.com/flarum/framework.git
synced 2024-11-29 21:11:55 +08:00
d0669b08aa
* perf(core,mentions): limit `mentionedBy` post relation results Signed-off-by: Sami Mazouz <sychocouldy@gmail.com> * Apply fixes from StyleCI * chore: use a static property to allow customization Signed-off-by: Sami Mazouz <sychocouldy@gmail.com> * chore: use a static property to allow customization Signed-off-by: Sami Mazouz <sychocouldy@gmail.com> * chore: include count in show post endpoint Signed-off-by: Sami Mazouz <sychocouldy@gmail.com> * chore: consistent locale key format Signed-off-by: Sami Mazouz <sychocouldy@gmail.com> * chore: forgot to delete `FilterVisiblePosts` Signed-off-by: Sami Mazouz <sychocouldy@gmail.com> * test: `mentionedByCount` must not include invisible posts to actor Signed-off-by: Sami Mazouz <sychocouldy@gmail.com> * fix: visibility scoping on `mentionedByCount` Signed-off-by: Sami Mazouz <sychocouldy@gmail.com> * fix: `loadAggregates` conflicts with visibility scopers Signed-off-by: Sami Mazouz <sychocouldy@gmail.com> * Apply fixes from StyleCI * chore: phpstan Signed-off-by: Sami Mazouz <sychocouldy@gmail.com> * perf(likes): limit `likes` relationship results Signed-off-by: Sami Mazouz <sychocouldy@gmail.com> * Apply fixes from StyleCI * chore: simplify Signed-off-by: Sami Mazouz <sychocouldy@gmail.com> * test: `likesCount` is as expected Signed-off-by: Sami Mazouz <sychocouldy@gmail.com> * Apply fixes from StyleCI --------- Signed-off-by: Sami Mazouz <sychocouldy@gmail.com> Co-authored-by: StyleCI Bot <bot@styleci.io> Co-authored-by: IanM <16573496+imorland@users.noreply.github.com>
47 lines
1.7 KiB
YAML
47 lines
1.7 KiB
YAML
flarum-likes:
|
|
|
|
##
|
|
# UNIQUE KEYS - The following keys are used in only one location each.
|
|
##
|
|
|
|
# Translations in this namespace are used by the admin interface.
|
|
admin:
|
|
|
|
# These translations are used in the Permissions page of the admin interface.
|
|
permissions:
|
|
like_posts_label: Like posts
|
|
|
|
settings:
|
|
like_own_posts_help: When enabled, subject to permission, users may 'like' their own posts on the forum. To prevent users placing a 'like' on their own posts, disable this setting.
|
|
like_own_posts_label: Users may like their own posts
|
|
|
|
# Translations in this namespace are used by the forum user interface.
|
|
forum:
|
|
|
|
# These translations are used by the Notifications dropdown, a.k.a. "the bell".
|
|
notifications:
|
|
others_text: => core.ref.some_others
|
|
post_liked_text: "{username} liked your post" # Can be pluralized to agree with the number of users!
|
|
|
|
# These translations are displayed beneath individual posts.
|
|
post:
|
|
like_link: Like
|
|
liked_by_self_text: "{users} like this." # Can be pluralized to agree with the number of users!
|
|
liked_by_text: "{count, plural, one {{users} likes this} other {{users} like this}}."
|
|
others_link: => core.ref.some_others
|
|
unlike_link: Unlike
|
|
you_text: => core.ref.you
|
|
|
|
# These translations are used by the Users Who Like This modal dialog.
|
|
post_likes:
|
|
title: Users Who Like This
|
|
load_more_button: => core.ref.load_more
|
|
|
|
# These translations are used in the Settings page.
|
|
settings:
|
|
notify_post_liked_label: Someone likes one of my posts
|
|
|
|
# These translations are used in the User profile page.
|
|
user:
|
|
likes_link: Likes
|