From d7b1018110eb3718ad39173bfeb6aac7ed0ef44e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Calvo?= <rubencm@gmail.com> Date: Fri, 8 Sep 2017 16:53:20 +0200 Subject: [PATCH] [ticket/15289] Language fixes PHPBB3-15289 --- phpBB/includes/acp/acp_storage.php | 3 +-- phpBB/language/en/acp/storage.php | 10 +++++----- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/phpBB/includes/acp/acp_storage.php b/phpBB/includes/acp/acp_storage.php index c93b503503..30e2791134 100644 --- a/phpBB/includes/acp/acp_storage.php +++ b/phpBB/includes/acp/acp_storage.php @@ -64,8 +64,7 @@ class acp_storage $this->storage_collection = $phpbb_container->get('storage.storage_collection'); // Add necesary language files - $this->lang->add_lang(array('common')); - $this->lang->add_lang(array('acp/storage')); + $this->lang->add_lang(['common', 'acp/storage']); /** * Add language strings diff --git a/phpBB/language/en/acp/storage.php b/phpBB/language/en/acp/storage.php index 12e9069d3b..638df2177e 100644 --- a/phpBB/language/en/acp/storage.php +++ b/phpBB/language/en/acp/storage.php @@ -40,9 +40,9 @@ $lang = array_merge($lang, array( // Template 'STORAGE_TITLE' => 'Storage Settings', - 'STORAGE_TITLE_EXPLAIN' => 'Here you can change the storage.', + 'STORAGE_TITLE_EXPLAIN' => 'Change storage providers for the file storage types of phpBB. Choose local or remote providers to store files added to or created by phpBB.', 'STORAGE_SELECT' => 'Select storage', - 'STORAGE_SELECT_DESC' => 'Select an storage from the list.', + 'STORAGE_SELECT_DESC' => 'Select a storage from the list.', // Storage names 'STORAGE_ATTACHMENT_TITLE' => 'Attachments storage', @@ -54,9 +54,9 @@ $lang = array_merge($lang, array( 'STORAGE_ADAPTER_LOCAL_OPTION_PATH' => 'Path', // Form validation - 'STORAGE_UPDATE_SUCCESSFUL' => 'All storages were successfuly updated.', - 'STORAGE_NO_CHANGES' => 'No changes has been made.', - 'STORAGE_PROVIDER_NOT_EXISTS' => 'Provider selected for %s doesn\'t exist.', + 'STORAGE_UPDATE_SUCCESSFUL' => 'All storage types were successfully updated.', + 'STORAGE_NO_CHANGES' => 'No changes have been applied.', + 'STORAGE_PROVIDER_NOT_EXISTS' => 'Provider selected for %s doesn’t exist.', 'STORAGE_PROVIDER_NOT_AVAILABLE' => 'Provider selected for %s is not available.', 'STORAGE_FORM_TYPE_EMAIL_INCORRECT_FORMAT' => 'Incorrect email for %s of %s.', 'STORAGE_FORM_TYPE_TEXT_TOO_LONG' => 'Text is too long for %s of %s.',