Improve translation for Storage module

This commit is contained in:
Philipp 2021-09-01 14:00:23 +02:00
parent 229040332f
commit 728e82d8b0
No known key found for this signature in database
GPG Key ID: 9A28B7D4FF5667BD
3 changed files with 6 additions and 4 deletions

View File

@ -129,6 +129,8 @@ class Storage extends BaseAdmin
return Renderer::replaceMacros($t, [
'$title' => DI::l10n()->t('Administration'),
'$label_current' => DI::l10n()->t('Current Storage Backend'),
'$label_config' => DI::l10n()->t('Storage Configuration'),
'$page' => DI::l10n()->t('Storage'),
'$save' => DI::l10n()->t('Save'),
'$save_activate' => DI::l10n()->t('Save & Activate'),

View File

@ -1,9 +1,9 @@
<div id='adminpage'>
<h1>{{$title}} - {{$page}}</h1>
<h2>Current Storage Backend: <b>{{$storagebackend}}</b></h2>
<h2>{{$label_current}}: <b>{{$storagebackend}}</b></h2>
<h2>Storage Configuration</h2>
<h2>{{$label_config}}</h2>
{{foreach from=$availablestorageforms item=$storage}}
<form action="{{$baseurl}}/admin/storage/{{$storage.prefix}}" method="post">

View File

@ -4,10 +4,10 @@
<h1>{{$title}} - {{$page}}</h1>
<div class="well well-lg">
Current Storage Backend: <b>{{$storagebackend}}</b>
{{$label_current}}: <b>{{$storagebackend}}</b>
</div>
<h2>Storage Configuration</h2>
<h2>{{$label_config}}</h2>
{{foreach from=$availablestorageforms item=$storage}}
<form action="{{$baseurl}}/admin/storage/{{$storage.prefix}}" method="post">