diff --git a/extensions/sticky/locale/.gitkeep b/extensions/sticky/locale/.gitkeep deleted file mode 100644 index e69de29bb..000000000 diff --git a/extensions/sticky/locale/en.yml b/extensions/sticky/locale/en.yml new file mode 100644 index 000000000..850bc88bf --- /dev/null +++ b/extensions/sticky/locale/en.yml @@ -0,0 +1,37 @@ +flarum-sticky: + + ## + # 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: + sticky_discussions_label: Sticky discussions + + # Translations in this namespace are used by the forum user interface. + forum: + + # These translations are displayed as tooltips for discussion badges. + badge: + sticky_tooltip: => flarum-sticky.ref.sticky + + # These translations are used by the discussion control buttons. + discussion_controls: + sticky_button: => flarum-sticky.ref.sticky + unsticky_button: Unsticky + + # These translations are displayed between posts in the post stream. + post_stream: + discussion_stickied_text: "{username} stickied the discussion." + discussion_unstickied_text: "{username} unstickied the discussion." + + ## + # REUSED TRANSLATIONS - These keys should not be used directly in code! + ## + + # Translations in this namespace are referenced by two or more unique keys. + ref: + sticky: Sticky