From 60e63501fe1518845be3bf3462131a93f1ec3821 Mon Sep 17 00:00:00 2001 From: Christian Reiner Date: Tue, 28 Oct 2014 15:44:57 +0100 Subject: [PATCH] Imprint: Fix installation via the owncloud app store. --- imprint/appinfo/app.php | 2 +- imprint/templates/tmpl_dummy.php | 12 ++++-------- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/imprint/appinfo/app.php b/imprint/appinfo/app.php index 4fcb013ee3..272b0b0273 100644 --- a/imprint/appinfo/app.php +++ b/imprint/appinfo/app.php @@ -45,6 +45,6 @@ 'order' => 99999, 'href' => \OCP\Util::linkTo ('imprint', 'index.php'), 'icon' => \OCP\Util::imagePath('imprint', 'imprint-light.svg'), - 'name' => \OC_L10N::get('imprint')->t("Legal notice") + 'name' => \OCP\Util::getL10N ('imprint')->t("Legal notice") )); } // if diff --git a/imprint/templates/tmpl_dummy.php b/imprint/templates/tmpl_dummy.php index 4270eaf5ab..18b554a073 100644 --- a/imprint/templates/tmpl_dummy.php +++ b/imprint/templates/tmpl_dummy.php @@ -41,14 +41,10 @@
t("Nothing here yet")."!");?>
t("The content of the legal notice has to be configured first").".");?>
- t("That configuration is done in the administration section.")); - else - p($l->t("That configuration has to be done by the system administration.")); + t("That configuration is done in the administration section.")); + else + p($l->t("That configuration has to be done by the system administration.")); ?>