From 7c61dd4790bcbf3c44d8ca7f27ce28e0b03143e9 Mon Sep 17 00:00:00 2001 From: dcsjapan Date: Thu, 22 Oct 2015 09:20:24 +0900 Subject: [PATCH] Reorganize key names for Sticky See [flarum/core #265](https://github.com/flarum/core/issues/265). - Adjusts key names to three-tier namespacing. - Adds newly extracted strings. - Adds commenting to match core. --- .../lang-english/locale/flarum-sticky.yml | 34 +++++++++++++++---- 1 file changed, 27 insertions(+), 7 deletions(-) diff --git a/extensions/lang-english/locale/flarum-sticky.yml b/extensions/lang-english/locale/flarum-sticky.yml index 916133cff..fda9f23d6 100644 --- a/extensions/lang-english/locale/flarum-sticky.yml +++ b/extensions/lang-english/locale/flarum-sticky.yml @@ -1,9 +1,29 @@ flarum-sticky: + + ## + # UNIQUE KEYS - The following keys are used in only one location each. + ## + + # Strings in this namespace are used by the admin interface. + admin: + + # These strings are used in the Permissions page of the admin interface. + permissions: + sticky_discussions_label: Sticky discussions + + # Strings in this namespace are used by the forum user interface. forum: - discussion_stickied_notification: "{username} stickied" - discussion_stickied_post: "{username} stickied the discussion." - discussion_unstickied_post: "{username} unstickied the discussion." - notify_discussion_stickied: Someone stickies a discussion I started - stickied: Sticky - sticky: Sticky - unsticky: Unsticky + + # These strings are displayed as tooltips for discussion badges. + badge: + sticky_tooltip: Sticky + + # These strings are used by the discussion control buttons. + discussion_controls: + sticky_button: Sticky + unsticky_button: Unsticky + + # These strings are displayed between posts in the post stream. + post_stream: + discussion_stickied_text: "{username} stickied the discussion." + discussion_unstickied_text: "{username} unstickied the discussion."