1
0
mirror of https://github.com/flarum/core.git synced 2025-08-13 11:54:32 +02:00

Merge pull request #52 from dcsjapan/extract-approval

Add translations for Approval and Suspend
This commit is contained in:
Toby Zerner
2015-11-29 15:17:20 +10:30
3 changed files with 58 additions and 1 deletions

View File

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

View File

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

View File

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