From d5ca889cf5d479135560b1f915fb5d3986b28c65 Mon Sep 17 00:00:00 2001 From: Andrew Manning Date: Thu, 19 May 2016 07:09:13 -0400 Subject: [PATCH] Replace text strings for translation support --- Zotlabs/Module/Admin.php | 4 +++- view/tpl/admin_plugins.tpl | 12 +++--------- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/Zotlabs/Module/Admin.php b/Zotlabs/Module/Admin.php index cb843e212..4d052cdf8 100644 --- a/Zotlabs/Module/Admin.php +++ b/Zotlabs/Module/Admin.php @@ -1408,7 +1408,9 @@ class Admin extends \Zotlabs\Web\Controller { '$plugins' => $plugins, '$disabled' => t('Disabled - version incompatibility'), '$form_security_token' => get_form_security_token('admin_plugins'), - '$addrepo' => t('Add Plugin Repo'), + '$managerepos' => t('Manage Repos'), + '$installedtitle' => t('Installed Plugin Repositories'), + '$addnewrepotitle' => t('Install a New Plugin Repository'), '$expandform' => false, '$form' => $admin_plugins_add_repo_form, '$newRepoModal' => $newRepoModal, diff --git a/view/tpl/admin_plugins.tpl b/view/tpl/admin_plugins.tpl index 29187e974..993a4dea2 100755 --- a/view/tpl/admin_plugins.tpl +++ b/view/tpl/admin_plugins.tpl @@ -1,7 +1,7 @@
- +

{{$title}} - {{$page}}

@@ -10,7 +10,7 @@
-

Installed Plugin Repositories

+

{{$installedtitle}}

@@ -26,12 +26,6 @@ -
{{/foreach}} @@ -39,7 +33,7 @@
-

Install a New Plugin Repository

+

{{$addnewrepotitle}}

{{$form}}