From eb458b67003761479e36c286dda555bfbe495e57 Mon Sep 17 00:00:00 2001 From: Robert Korulczyk Date: Wed, 17 Feb 2021 22:25:40 +0100 Subject: [PATCH] Move locale files from language pack to extension. (#13) --- extensions/statistics/locale/.gitkeep | 0 extensions/statistics/locale/en.yml | 20 ++++++++++++++++++++ 2 files changed, 20 insertions(+) delete mode 100644 extensions/statistics/locale/.gitkeep create mode 100644 extensions/statistics/locale/en.yml diff --git a/extensions/statistics/locale/.gitkeep b/extensions/statistics/locale/.gitkeep deleted file mode 100644 index e69de29bb..000000000 diff --git a/extensions/statistics/locale/en.yml b/extensions/statistics/locale/en.yml new file mode 100644 index 000000000..4cadaf7ac --- /dev/null +++ b/extensions/statistics/locale/en.yml @@ -0,0 +1,20 @@ +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: + active_users_text: "{count} active" + 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: => core.ref.users