From 11e2c2e87354ceec504f8733f0300ac2940b971b Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Sat, 13 May 2017 17:25:05 -0600 Subject: [PATCH] Update sample app --- apps/sample_app.php | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/apps/sample_app.php b/apps/sample_app.php index b517ac0..1feaff8 100644 --- a/apps/sample_app.php +++ b/apps/sample_app.php @@ -2,8 +2,18 @@ dieifnotloggedin(); -$APPS["sample_app"]["title"] = "Sample App"; +// Additional i18n strings +addMultiLangStrings(["en_us" => [ + "sample app" => "Sample Application", + ] +]); +// Set to true to automatically parse the app title as a language string. +$APPS["sample_app"]["i18n"] = TRUE; +// App title. +$APPS["sample_app"]["title"] = "sample app"; +// App icon, from FontAwesome. $APPS["sample_app"]["icon"] = "rocket"; +// App content. $APPS["sample_app"]["content"] = <<<'CONTENTEND'