From 94e264b6cef32f843a7bd3988ba8cec655e819cb Mon Sep 17 00:00:00 2001 From: James Cole Date: Mon, 26 Dec 2016 10:00:40 +0100 Subject: [PATCH] Expand demo text [skip ci] --- .env.example | 1 + resources/lang/en_US/demo.php | 14 ++++++++++++++ resources/views/demo/no-demo-text.twig | 4 ++-- 3 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 resources/lang/en_US/demo.php diff --git a/.env.example b/.env.example index 57aceebffb..28d87ce566 100755 --- a/.env.example +++ b/.env.example @@ -37,6 +37,7 @@ MAIL_ENCRYPTION=null SEND_REGISTRATION_MAIL=true SEND_ERROR_MESSAGE=true SHOW_INCOMPLETE_TRANSLATIONS=false + CACHE_PREFIX=firefly ANALYTICS_ID= diff --git a/resources/lang/en_US/demo.php b/resources/lang/en_US/demo.php new file mode 100644 index 0000000000..4cb4c2caec --- /dev/null +++ b/resources/lang/en_US/demo.php @@ -0,0 +1,14 @@ + 'Sorry, there is no extra demo-explanation text for this page.', + 'see_help_icon' => 'However, the -icon in the top right corner may tell you more.', + +]; \ No newline at end of file diff --git a/resources/views/demo/no-demo-text.twig b/resources/views/demo/no-demo-text.twig index 193d1f751e..12c5ad1a64 100644 --- a/resources/views/demo/no-demo-text.twig +++ b/resources/views/demo/no-demo-text.twig @@ -1,3 +1,3 @@ -Sorry, there is no extra demo-explanation text for this page. +{{ trans('demo.no_demo_text')|raw }} -However, the -icon in the top right corner may tell you more. \ No newline at end of file +{{ trans('demo.see_help_icon')|raw }}