mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 10:42:46 +08:00
Extract admin dashboard statistics from core into an extension
This commit is contained in:
parent
8bdbacedcc
commit
e674b0181b
@ -159,16 +159,6 @@ core:
|
||||
settings:
|
||||
submit_button: => core.ref.save_changes
|
||||
|
||||
# These translations are used in the Statistics dashboard widget.
|
||||
statistics:
|
||||
discussions_heading: => core.ref.discussions
|
||||
last_28_days_label: Last 28 days
|
||||
last_7_days_label: Last 7 days
|
||||
posts_heading: => core.ref.posts
|
||||
today_label: Today
|
||||
total_label: Total
|
||||
users_heading: Users
|
||||
|
||||
# These translations are used in image upload buttons.
|
||||
upload_image:
|
||||
remove_button: Remove
|
||||
@ -530,7 +520,7 @@ core:
|
||||
confirmation_email_sent: "We've sent a confirmation email to {email}. If it doesn't arrive soon, check your spam folder."
|
||||
delete: Delete
|
||||
delete_forever: Delete Forever
|
||||
discussions: Discussions
|
||||
discussions: Discussions # Referenced by flarum-statistics.yml
|
||||
edit: Edit
|
||||
email: Email
|
||||
load_more: Load More
|
||||
@ -541,7 +531,7 @@ core:
|
||||
notifications: Notifications
|
||||
okay: OK # Referenced by flarum-tags.yml
|
||||
password: Password
|
||||
posts: Posts
|
||||
posts: Posts # Referenced by flarum-statistics.yml
|
||||
rename: Rename
|
||||
reply: Reply # Referenced by flarum-mentions.yml
|
||||
reset_your_password: Reset Your Password
|
||||
|
19
extensions/lang-english/locale/flarum-statistics.yml
Normal file
19
extensions/lang-english/locale/flarum-statistics.yml
Normal file
@ -0,0 +1,19 @@
|
||||
flarum-statistics:
|
||||
|
||||
##
|
||||
# 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 Statistics dashboard widget.
|
||||
statistics:
|
||||
discussions_heading: => core.ref.discussions
|
||||
last_12_months_label: Last 12 months
|
||||
last_28_days_label: Last 28 days
|
||||
last_7_days_label: Last 7 days
|
||||
posts_heading: => core.ref.posts
|
||||
today_label: Today
|
||||
total_label: Total
|
||||
users_heading: Users
|
Loading…
x
Reference in New Issue
Block a user