diff options
author | Thomas Citharel <tcit@tcit.fr> | 2017-04-12 17:11:49 +0200 |
---|---|---|
committer | Eugen <eugen@zeonfederated.com> | 2017-04-12 17:11:49 +0200 |
commit | d90d23699ca611f05d8def40109505251507fa46 (patch) | |
tree | e3ffdab55a7d5f5456732d03b827ee2bd140f896 /app/views/errors | |
parent | 1f5ff46fd92f679cdb548c93c47920786f2dcc33 (diff) |
Make Reporting admin section translatable (#1549)
* Make Reporting admin section translatable And translate it into english and french Signed-off-by: Thomas Citharel <tcit@tcit.fr> * Make subject of emails translatable and improve french translation Signed-off-by: Thomas Citharel <tcit@tcit.fr> * Make error pages translatable and translate them in english and french Signed-off-by: Thomas Citharel <tcit@tcit.fr> * Translate site setting section * Insert instance in registration emails and improve them a bit Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'app/views/errors')
-rw-r--r-- | app/views/errors/404.html.haml | 4 | ||||
-rw-r--r-- | app/views/errors/410.html.haml | 4 | ||||
-rw-r--r-- | app/views/errors/422.html.haml | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/app/views/errors/404.html.haml b/app/views/errors/404.html.haml index ba1d5f72d..5ffba3ca9 100644 --- a/app/views/errors/404.html.haml +++ b/app/views/errors/404.html.haml @@ -1,5 +1,5 @@ - content_for :page_title do - The page you were looking for doesn't exist + = t('errors.404') - content_for :content do - The page you were looking for doesn't exist + = t('errors.404') \ No newline at end of file diff --git a/app/views/errors/410.html.haml b/app/views/errors/410.html.haml index 07cf3742f..627c65583 100644 --- a/app/views/errors/410.html.haml +++ b/app/views/errors/410.html.haml @@ -1,5 +1,5 @@ - content_for :page_title do - The page you were looking for doesn't exist anymore + = t('errors.410') - content_for :content do - The page you were looking for doesn't exist anymore + = t('errors.410') diff --git a/app/views/errors/422.html.haml b/app/views/errors/422.html.haml index e369cded6..e710fecb3 100644 --- a/app/views/errors/422.html.haml +++ b/app/views/errors/422.html.haml @@ -1,5 +1,5 @@ - content_for :page_title do - Security verification failed + = t('errors.422.title') - content_for :content do - Security verification failed. Are you blocking cookies? + = t('errors.422.content') |