mirror of
https://github.com/flarum/framework.git
synced 2024-11-24 10:40:51 +08:00
54c21459d6
* Option to prevent users liking their own posts * test: user can only like own post if setting ON Co-authored-by: Sami Mazouz <ilyasmazouz@gmail.com>
46 lines
1.6 KiB
YAML
46 lines
1.6 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
|
|
|
|
# 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
|