From 4369ff350bc15ef931197ff5d81ae79f863230db Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Wed, 29 Nov 2017 13:05:10 +1030 Subject: [PATCH] Add translations for errors messages, log out confirmation --- extensions/lang-english/locale/core.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/extensions/lang-english/locale/core.yml b/extensions/lang-english/locale/core.yml index c22e08c01..9651ccb39 100644 --- a/extensions/lang-english/locale/core.yml +++ b/extensions/lang-english/locale/core.yml @@ -442,11 +442,24 @@ core: next_page_button: => core.ref.next_page previous_page_button: Previous Page + # Translations in this namespace are displayed when Flarum encounters an error. + error: + 403_message: You do not have permission to access this page. + 404_message: The page you requested could not be found. + 500_message: An error occurred while trying to load this page. + 503_message: "{forum} is undergoing maintenance. Thanks for your patience!" + # Translations in this namespace are displayed by the basic HTML discussion index. index: all_discussions_heading: => core.ref.all_discussions next_page_button: => core.ref.next_page + # Translations in this namespace are displayed by the Log Out confirmation interface. + log_out: + log_out_button: => core.ref.log_out + log_out_confirmation: "Are you sure you want to log out of {forum}?" + title: => core.ref.log_out + # Translations in this namespace are displayed by the Reset Password interface. reset_password: confirm_password_label: Confirm New Password