mirror of
https://github.com/flarum/framework.git
synced 2025-02-27 10:48:57 +08:00
Merge reused strings into core
- Merges two strings from Likes and Mentions into the core YML. - Adds commenting to core YML to indicate strings referenced by extensions. - Changes `others_link` to `others_text` in Mentions. - Removes obsolete `ref:` namespace from Mentions.
This commit is contained in:
parent
66f0bf2755
commit
07c849e780
@ -374,13 +374,15 @@ core:
|
|||||||
notifications: Notifications
|
notifications: Notifications
|
||||||
okay: OK
|
okay: OK
|
||||||
password: Password
|
password: Password
|
||||||
reply: Reply
|
reply: Reply # Referenced by flarum-mentions.yml
|
||||||
restore: Restore
|
restore: Restore
|
||||||
save_changes: Save Changes
|
save_changes: Save Changes # Referenced by flarum-tags.yml
|
||||||
settings: Settings
|
settings: Settings
|
||||||
sign_up: Sign Up
|
sign_up: Sign Up
|
||||||
|
some_others: "{count} other|{count} others" # Referenced by flarum-likes.yml, flarum-mentions.yml
|
||||||
username: Username
|
username: Username
|
||||||
write_a_reply: Write a Reply...
|
write_a_reply: Write a Reply...
|
||||||
|
you: You # Referenced by flarum-likes.yml, flarum-mentions.yml
|
||||||
|
|
||||||
##
|
##
|
||||||
# EMAIL CONTENT
|
# EMAIL CONTENT
|
||||||
|
@ -23,9 +23,9 @@ flarum-likes:
|
|||||||
like_link: Like
|
like_link: Like
|
||||||
liked_by_text: "{users} likes this.|{users} like this."
|
liked_by_text: "{users} likes this.|{users} like this."
|
||||||
liked_by_self_text: "{users} like this." # Can be pluralized to agree with the number of users!
|
liked_by_self_text: "{users} like this." # Can be pluralized to agree with the number of users!
|
||||||
others_link: "{count} others"
|
others_link: => core.ref.some_others
|
||||||
unlike_link: Unlike
|
unlike_link: Unlike
|
||||||
you_text: You
|
you_text: => core.ref.you
|
||||||
|
|
||||||
# These strings are used by the Users Who Like This modal dialog.
|
# These strings are used by the Users Who Like This modal dialog.
|
||||||
post_likes:
|
post_likes:
|
||||||
|
@ -14,26 +14,18 @@ flarum-mentions:
|
|||||||
# These strings are used by the Notifications dropdown, a.k.a. "the bell".
|
# These strings are used by the Notifications dropdown, a.k.a. "the bell".
|
||||||
notifications:
|
notifications:
|
||||||
post_mentioned_text: "{username} replied to your post"
|
post_mentioned_text: "{username} replied to your post"
|
||||||
others_text: => flarum-mentions.ref.others
|
others_text: => core.ref.some_others
|
||||||
user_mentioned_text: "{username} mentioned you"
|
user_mentioned_text: "{username} mentioned you"
|
||||||
|
|
||||||
# These strings are displayed beneath individual posts.
|
# These strings are displayed beneath individual posts.
|
||||||
post:
|
post:
|
||||||
mentioned_by_text: "{users} replied to this." # Can be pluralized to agree with the number of users!
|
mentioned_by_text: "{users} replied to this." # Can be pluralized to agree with the number of users!
|
||||||
mentioned_by_self_text: "{users} replied to this." # Can be pluralized to agree with the number of users!
|
mentioned_by_self_text: "{users} replied to this." # Can be pluralized to agree with the number of users!
|
||||||
others_link: => flarum-mentions.ref.others
|
others_text: => core.ref.some_others
|
||||||
reply_link: => core.ref.reply
|
reply_link: => core.ref.reply
|
||||||
you_text: You
|
you_text: => core.ref.you
|
||||||
|
|
||||||
# These strings are used in the Settings page.
|
# These strings are used in the Settings page.
|
||||||
settings:
|
settings:
|
||||||
notify_post_mentioned_label: Someone replies to one of my posts
|
notify_post_mentioned_label: Someone replies to one of my posts
|
||||||
notify_user_mentioned_label: Someone mentions me in a post
|
notify_user_mentioned_label: Someone mentions me in a post
|
||||||
|
|
||||||
##
|
|
||||||
# REUSED STRINGS - These keys should not be used directly in code!
|
|
||||||
##
|
|
||||||
|
|
||||||
# Strings in this namespace are referenced by two or more unique keys.
|
|
||||||
ref:
|
|
||||||
others: "{count} others"
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user