From a626f6dbb5bce0a29ff17d598b13c8f0cd6c60d3 Mon Sep 17 00:00:00 2001 From: dcsjapan Date: Sun, 29 Nov 2015 12:15:44 +0900 Subject: [PATCH] Add translations for Approval and Suspend - Adds resources to support flarum/approval#1. - Adds resources to support flarum/suspend#2. - Updates a comment in core language resources. --- extensions/lang-english/locale/core.yml | 2 +- .../lang-english/locale/flarum-approval.yml | 24 ++++++++++++++ .../lang-english/locale/flarum-suspend.yml | 33 +++++++++++++++++++ 3 files changed, 58 insertions(+), 1 deletion(-) create mode 100644 extensions/lang-english/locale/flarum-approval.yml create mode 100644 extensions/lang-english/locale/flarum-suspend.yml diff --git a/extensions/lang-english/locale/core.yml b/extensions/lang-english/locale/core.yml index f27998d3a..8c594f364 100644 --- a/extensions/lang-english/locale/core.yml +++ b/extensions/lang-english/locale/core.yml @@ -433,7 +433,7 @@ core: password: Password reply: Reply # Referenced by flarum-mentions.yml restore: Restore - save_changes: Save Changes # Referenced by flarum-tags.yml + save_changes: Save Changes # Referenced by flarum-suspend.yml, flarum-tags.yml settings: Settings sign_up: Sign Up some_others: "{count} other|{count} others" # Referenced by flarum-likes.yml, flarum-mentions.yml diff --git a/extensions/lang-english/locale/flarum-approval.yml b/extensions/lang-english/locale/flarum-approval.yml new file mode 100644 index 000000000..b372f5e0f --- /dev/null +++ b/extensions/lang-english/locale/flarum-approval.yml @@ -0,0 +1,24 @@ +flarum-approval: + + ## + # 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: + approve_posts_label: Approve posts + reply_without_approval_label: Reply without approval + + # Translations in this namespace are used by the forum user interface. + forum: + + # These translations are displayed in the post header. + post: + awaiting_approval_text: Awaiting approval + + # These translations are used by the post control buttons. + post_controls: + approve_button: Approve diff --git a/extensions/lang-english/locale/flarum-suspend.yml b/extensions/lang-english/locale/flarum-suspend.yml new file mode 100644 index 000000000..46e82e509 --- /dev/null +++ b/extensions/lang-english/locale/flarum-suspend.yml @@ -0,0 +1,33 @@ +flarum-suspend: + + ## + # 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: + suspend_users_label: Suspend users + + # Translations in this namespace are used by the forum user interface. + forum: + + # These translations are used in the Suspend User modal dialog (admin function). + suspend_user: + submit_button: => core.ref.save_changes + indefinitely_label: Suspended indefinitely + limited_time_label: Suspended for a limited time... + limited_time_days_text: " days" + not_suspended_label: Not suspended + status_heading: Suspension Status + title: "Suspend {user}" + + # These translations are displayed as tooltips for user badges. + user_badge: + suspended_tooltip: Locked + + # These translations are found on the user profile page (admin function). + user_controls: + suspend_button: Suspend