From 9fb0356e7105f11c0fb821ab4dc5d2fbdb396cea Mon Sep 17 00:00:00 2001 From: Robert Korulczyk Date: Wed, 17 Feb 2021 22:26:05 +0100 Subject: [PATCH] Move locale files from language pack to extension. (#24) --- extensions/lock/locale/.gitkeep | 0 extensions/lock/locale/en.yml | 37 +++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) delete mode 100644 extensions/lock/locale/.gitkeep create mode 100644 extensions/lock/locale/en.yml diff --git a/extensions/lock/locale/.gitkeep b/extensions/lock/locale/.gitkeep deleted file mode 100644 index e69de29bb..000000000 diff --git a/extensions/lock/locale/en.yml b/extensions/lock/locale/en.yml new file mode 100644 index 000000000..2f80ec264 --- /dev/null +++ b/extensions/lock/locale/en.yml @@ -0,0 +1,37 @@ +flarum-lock: + + ## + # 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: + lock_discussions_label: Lock discussions + + # Translations in this namespace are used by the forum user interface. + forum: + + # These translations are displayed as tooltips for discussion badges. + badge: + locked_tooltip: Locked + + # These translations are used by the discussion control buttons. + discussion_controls: + lock_button: Lock + unlock_button: Unlock + + # These translations are used by the Notifications dropdown, a.k.a. "the bell". + notifications: + discussion_locked_text: "{username} locked" + + # These translations are displayed between posts in the post stream. + post_stream: + discussion_locked_text: "{username} locked the discussion." + discussion_unlocked_text: "{username} unlocked the discussion." + + # These translations are used in the Settings page. + settings: + notify_discussion_locked_label: Someone locks a discussion I started