Replace text strings for translation support
This commit is contained in:
parent
062cb77539
commit
d5ca889cf5
@ -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,
|
||||
|
@ -1,7 +1,7 @@
|
||||
<div class="generic-content-wrapper">
|
||||
<div class="section-title-wrapper">
|
||||
<div class="pull-right">
|
||||
<button class="btn btn-success btn-xs" onclick="openClose('form');">Manage Repos</button>
|
||||
<button class="btn btn-success btn-xs" onclick="openClose('form');">{{$managerepos}}</button>
|
||||
</div>
|
||||
<h2 id="title">{{$title}} - {{$page}}</h2>
|
||||
<div class="clear"></div>
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
<div class="clear"></div>
|
||||
<div class="section-title-wrapper" style="margin-top: 20px;">
|
||||
<h2>Installed Plugin Repositories</h2>
|
||||
<h2>{{$installedtitle}}</h2>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div class="table-responsive section-content-tools-wrapper">
|
||||
@ -26,12 +26,6 @@
|
||||
<td style="width: 15%;">
|
||||
<button class="btn btn-xs btn-danger pull-right" style="margin-left: 10px; margin-right: 0px;" onclick="removeAddonRepo('{{$repo.name}}'); return false;"><i class='fa fa-trash-o'></i> {{$repoRemoveButton}}</button>
|
||||
</td>
|
||||
<!-- <div style="margin-left: 30%; margin-right: 30%;">
|
||||
<span class="pull-left">{{$repo.name}}</span>
|
||||
<button class="btn btn-xs btn-primary pull-right" onclick="switchAddonRepoBranch('{{$repo.name}}'); return false;">{{$repoBranchButton}}</button>
|
||||
<button class="btn btn-xs btn-danger pull-right" style="margin-left: 10px; margin-right: 0px;" onclick="removeAddonRepo('{{$repo.name}}'); return false;"><i class='fa fa-trash-o'></i> {{$repoRemoveButton}}</button>
|
||||
<button class="btn btn-xs btn-primary pull-right" style="margin-left: 10px; margin-right: 10px;" onclick="updateAddonRepo('{{$repo.name}}'); return false;"><i class='fa fa-download'></i> {{$repoUpdateButton}}</button>
|
||||
</div>-->
|
||||
<div class="clear"></div>
|
||||
</td></tr>
|
||||
{{/foreach}}
|
||||
@ -39,7 +33,7 @@
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
<div class="section-title-wrapper">
|
||||
<h2>Install a New Plugin Repository</h2>
|
||||
<h2>{{$addnewrepotitle}}</h2>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
{{$form}}
|
||||
|
Reference in New Issue
Block a user