Move locale files from language pack to extension. (#21)

This commit is contained in:
Robert Korulczyk 2021-02-17 22:25:16 +01:00 committed by GitHub
parent a76ad6ca48
commit d0452d6e89
2 changed files with 37 additions and 0 deletions

View File

@ -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