Skip to content

Firefly III: a personal finances manager

Expand demo text [skip ci]

James Cole94e264b6cef3
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 @@
+<?php
+/**
+ * demo.php
+ * Copyright (c) 2016 [email protected]
+ * This software may be modified and distributed under the terms of the Creative Commons Attribution-ShareAlike 4.0 International License.
+ *
+ * See the LICENSE file for details.
+ */
+
+return [
+ 'no_demo_text' => 'Sorry, there is no extra demo-explanation text for <abbr title="page: {{ Route.getCurrentRoute.getName }}">this page</abbr>.',
+ 'see_help_icon' => 'However, the <i class="fa fa-question-circle"></i>-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 <abbr title="page: {{ Route.getCurrentRoute.getName }}">this page</abbr>.
+{{ trans('demo.no_demo_text')|raw }}
-However, the <i class="fa fa-question-circle"></i>-icon in the top right corner may tell you more.
\ No newline at end of file
+{{ trans('demo.see_help_icon')|raw }}