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'