diff --git a/administrator/components/com_media/src/View/Media/HtmlView.php b/administrator/components/com_media/src/View/Media/HtmlView.php index 0e2eb193d4541..5e47d0a44240a 100644 --- a/administrator/components/com_media/src/View/Media/HtmlView.php +++ b/administrator/components/com_media/src/View/Media/HtmlView.php @@ -65,7 +65,8 @@ public function display($tpl = null) // Check that there are providers if (!count($this->providers)) { - Factory::getApplication()->enqueueMessage(Text::_('COM_MEDIA_ERROR_NO_PROVIDERS'), CMSApplication::MSG_WARNING); + $link = \JRoute::_('index.php?option=com_plugins&view=plugins&filter[folder]=filesystem'); + Factory::getApplication()->enqueueMessage(Text::sprintf('COM_MEDIA_ERROR_NO_PROVIDERS', $link), CMSApplication::MSG_WARNING); } $this->currentPath = Factory::getApplication()->input->getString('path'); diff --git a/administrator/language/en-GB/en-GB.com_media.ini b/administrator/language/en-GB/en-GB.com_media.ini index 71cf516b6aa49..640fd47a1eb9a 100644 --- a/administrator/language/en-GB/en-GB.com_media.ini +++ b/administrator/language/en-GB/en-GB.com_media.ini @@ -21,7 +21,7 @@ COM_MEDIA_DELETE_ERROR="Error deleting the item." COM_MEDIA_DELETE_SUCCESS="Item deleted." COM_MEDIA_EDIT="Media Edit" COM_MEDIA_ERROR="An error occurred." -COM_MEDIA_ERROR_NO_PROVIDERS="No filesystem providers have been found. Please enable at least one filesystem plugin." +COM_MEDIA_ERROR_NO_PROVIDERS="No filesystem providers have been found. Please enable at least one filesystem plugin." COM_MEDIA_ERROR_NOT_AUTHENTICATED="You are not authenticated. Please login." COM_MEDIA_ERROR_NOT_AUTHORIZED="You are not authorized" COM_MEDIA_ERROR_NOT_FOUND="File or Folder not found" diff --git a/administrator/language/en-GB/en-GB.plg_filesystem_local.ini b/administrator/language/en-GB/en-GB.plg_filesystem_local.ini index a8356cc2de9c5..6f33c7dfac757 100644 --- a/administrator/language/en-GB/en-GB.plg_filesystem_local.ini +++ b/administrator/language/en-GB/en-GB.plg_filesystem_local.ini @@ -3,10 +3,8 @@ ; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php ; Note : All ini files need to be saved as UTF-8 -PLG_FILESYSTEM_LOCAL = "FileSystem - Local" -PLG_FILESYSTEM_LOCAL_XML_DESCRIPTION = "Local file system plugin for Joomla!" - -PLG_FILESYSTEM_LOCAL_DISPLAY_NAME_LABEL = "Display Name" - -PLG_FILESYSTEM_LOCAL_DIRECTORIES_LABEL = "Directories" -PLG_FILESYSTEM_LOCAL_DIRECTORIES_DIRECTORY_LABEL = "Select directories" \ No newline at end of file +PLG_FILESYSTEM_LOCAL="FileSystem - Local" +PLG_FILESYSTEM_LOCAL_DEFAULT_NAME="Local" +PLG_FILESYSTEM_LOCAL_DIRECTORIES_DIRECTORY_LABEL="Select directories" +PLG_FILESYSTEM_LOCAL_DIRECTORIES_LABEL="Directories" +PLG_FILESYSTEM_LOCAL_XML_DESCRIPTION="Filesystem plugin to define one or multiple local repositories to store your media files." diff --git a/administrator/language/en-GB/en-GB.plg_filesystem_local.sys.ini b/administrator/language/en-GB/en-GB.plg_filesystem_local.sys.ini index 183b340f00ffd..ab57762e81ec4 100644 --- a/administrator/language/en-GB/en-GB.plg_filesystem_local.sys.ini +++ b/administrator/language/en-GB/en-GB.plg_filesystem_local.sys.ini @@ -3,5 +3,5 @@ ; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php ; Note : All ini files need to be saved as UTF-8 -PLG_FILESYSTEM_LOCAL = "FileSystem - Local" -PLG_FILESYSTEM_LOCAL_XML_DESCRIPTION = "Local file system plugin for Joomla!" \ No newline at end of file +PLG_FILESYSTEM_LOCAL="FileSystem - Local" +PLG_FILESYSTEM_LOCAL_XML_DESCRIPTION="Filesystem plugin to define one or multiple local repositories to store your media files." diff --git a/plugins/filesystem/local/local.php b/plugins/filesystem/local/local.php index 45f61aaaa2ffa..bebd62df3a698 100644 --- a/plugins/filesystem/local/local.php +++ b/plugins/filesystem/local/local.php @@ -12,6 +12,7 @@ use Joomla\CMS\Plugin\CMSPlugin; use Joomla\Component\Media\Administrator\Event\MediaProviderEvent; use Joomla\Component\Media\Administrator\Provider\ProviderInterface; +use Joomla\CMS\Language\Text; /** * FileSystem Local plugin. @@ -65,7 +66,7 @@ public function getID() */ public function getDisplayName() { - return $this->params->get('display_name', 'Local'); + return Text::_('PLG_FILESYSTEM_LOCAL_DEFAULT_NAME'); } /** diff --git a/plugins/filesystem/local/local.xml b/plugins/filesystem/local/local.xml index 44ab34af509cd..2d52fadc666f2 100644 --- a/plugins/filesystem/local/local.xml +++ b/plugins/filesystem/local/local.xml @@ -22,12 +22,6 @@
-