From 728e82d8b076cddac451e7db932a79397e443bfb Mon Sep 17 00:00:00 2001 From: Philipp Date: Wed, 1 Sep 2021 14:00:23 +0200 Subject: [PATCH] Improve translation for Storage module --- src/Module/Admin/Storage.php | 2 ++ view/templates/admin/storage.tpl | 4 ++-- view/theme/frio/templates/admin/storage.tpl | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/Module/Admin/Storage.php b/src/Module/Admin/Storage.php index a2172503f..c57bdccc1 100644 --- a/src/Module/Admin/Storage.php +++ b/src/Module/Admin/Storage.php @@ -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'), diff --git a/view/templates/admin/storage.tpl b/view/templates/admin/storage.tpl index 299ec8db4..e56038359 100644 --- a/view/templates/admin/storage.tpl +++ b/view/templates/admin/storage.tpl @@ -1,9 +1,9 @@

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

-

Current Storage Backend: {{$storagebackend}}

+

{{$label_current}}: {{$storagebackend}}

-

Storage Configuration

+

{{$label_config}}

{{foreach from=$availablestorageforms item=$storage}}
diff --git a/view/theme/frio/templates/admin/storage.tpl b/view/theme/frio/templates/admin/storage.tpl index 7607a0848..523982179 100644 --- a/view/theme/frio/templates/admin/storage.tpl +++ b/view/theme/frio/templates/admin/storage.tpl @@ -4,10 +4,10 @@

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

- Current Storage Backend: {{$storagebackend}} + {{$label_current}}: {{$storagebackend}}
-

Storage Configuration

+

{{$label_config}}

{{foreach from=$availablestorageforms item=$storage}}