Improve translation for Storage module
This commit is contained in:
parent
229040332f
commit
728e82d8b0
|
@ -129,6 +129,8 @@ class Storage extends BaseAdmin
|
||||||
|
|
||||||
return Renderer::replaceMacros($t, [
|
return Renderer::replaceMacros($t, [
|
||||||
'$title' => DI::l10n()->t('Administration'),
|
'$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'),
|
'$page' => DI::l10n()->t('Storage'),
|
||||||
'$save' => DI::l10n()->t('Save'),
|
'$save' => DI::l10n()->t('Save'),
|
||||||
'$save_activate' => DI::l10n()->t('Save & Activate'),
|
'$save_activate' => DI::l10n()->t('Save & Activate'),
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
<div id='adminpage'>
|
<div id='adminpage'>
|
||||||
<h1>{{$title}} - {{$page}}</h1>
|
<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}}
|
{{foreach from=$availablestorageforms item=$storage}}
|
||||||
<form action="{{$baseurl}}/admin/storage/{{$storage.prefix}}" method="post">
|
<form action="{{$baseurl}}/admin/storage/{{$storage.prefix}}" method="post">
|
||||||
|
|
|
@ -4,10 +4,10 @@
|
||||||
<h1>{{$title}} - {{$page}}</h1>
|
<h1>{{$title}} - {{$page}}</h1>
|
||||||
|
|
||||||
<div class="well well-lg">
|
<div class="well well-lg">
|
||||||
Current Storage Backend: <b>{{$storagebackend}}</b>
|
{{$label_current}}: <b>{{$storagebackend}}</b>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h2>Storage Configuration</h2>
|
<h2>{{$label_config}}</h2>
|
||||||
|
|
||||||
{{foreach from=$availablestorageforms item=$storage}}
|
{{foreach from=$availablestorageforms item=$storage}}
|
||||||
<form action="{{$baseurl}}/admin/storage/{{$storage.prefix}}" method="post">
|
<form action="{{$baseurl}}/admin/storage/{{$storage.prefix}}" method="post">
|
||||||
|
|
Loading…
Reference in New Issue
Block a user