]> git.mxchange.org Git - friendica.git/commitdiff
Improve translation for Storage module
authorPhilipp <admin@philipp.info>
Wed, 1 Sep 2021 12:00:23 +0000 (14:00 +0200)
committerPhilipp <admin@philipp.info>
Wed, 1 Sep 2021 12:00:23 +0000 (14:00 +0200)
src/Module/Admin/Storage.php
view/templates/admin/storage.tpl
view/theme/frio/templates/admin/storage.tpl

index a2172503f5e8e49cd2eb40eca9cf5ccaf750ff6a..c57bdccc1a925fcfd29be7c7452061f4b87c1c76 100644 (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'),
index 299ec8db4667c9606c90a3d637b678bc3b7c6092..e56038359eb526988fe40377dbd7e067ea7ae9ef 100644 (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">
index 7607a08485beddd4829c5d2f2e63ee5b5d9b190d..5239821797a98f5fc9d2bdd2694838a08af88bba 100644 (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">