From 44934f7863bc68ec09aa510a6cb890b16f98a51b Mon Sep 17 00:00:00 2001 From: Brian Teeman Date: Wed, 9 Jun 2021 12:08:15 +0100 Subject: [PATCH] [4.0] com_joomlaupdate typos (#34456) * [4.0] com_joomlaupdate typos Co-authored-by: Quy --- administrator/components/com_joomlaupdate/restore.php | 6 +++--- build/media_source/com_joomlaupdate/js/default.es6.js | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/administrator/components/com_joomlaupdate/restore.php b/administrator/components/com_joomlaupdate/restore.php index a3b73de0dffc1..4aa1e7d133600 100644 --- a/administrator/components/com_joomlaupdate/restore.php +++ b/administrator/components/com_joomlaupdate/restore.php @@ -60,7 +60,7 @@ } // fnmatch not available on non-POSIX systems -// Thanks to soywiz@php.net for this usefull alternative function [http://gr2.php.net/fnmatch] +// Thanks to soywiz@php.net for this useful alternative function [http://gr2.php.net/fnmatch] if (!function_exists('fnmatch')) { function fnmatch($pattern, $string) @@ -3111,7 +3111,7 @@ class AKText extends AKAbstractObject 'BTN_SITEFE' => 'Visit your site\'s frontend', 'BTN_SITEBE' => 'Visit your site\'s backend', 'WARNINGS' => 'Extraction Warnings', - 'ERROR_OCCURED' => 'An error occurred', + 'ERROR_OCCURRED' => 'An error occurred', 'STEALTH_MODE' => 'Stealth mode', 'STEALTH_URL' => 'HTML file to show to web visitors', 'ERR_NOT_A_JPS_FILE' => 'The file is not a JPA archive', @@ -5292,7 +5292,7 @@ public function __toString() switch ($task) { case 'ping': - // ping task - realy does nothing! + // ping task - really does nothing! $timer = AKFactory::getTimer(); $timer->enforce_min_exec_time(); break; diff --git a/build/media_source/com_joomlaupdate/js/default.es6.js b/build/media_source/com_joomlaupdate/js/default.es6.js index 3fc32a7a3628c..aba626b867aff 100644 --- a/build/media_source/com_joomlaupdate/js/default.es6.js +++ b/build/media_source/com_joomlaupdate/js/default.es6.js @@ -364,7 +364,7 @@ Joomla = window.Joomla || {}; PreUpdateChecker.showorangewarning = true; break; default: - // An error occured -> show unknown error note + // An error occurred -> show unknown error note html = Joomla.JText._('COM_JOOMLAUPDATE_VIEW_DEFAULT_EXTENSION_WARNING_UNKNOWN'); } } @@ -375,7 +375,7 @@ Joomla = window.Joomla || {}; // Process Current Version Extension Compatibility html = ''; if (extensionData.serverError) { - // An error occured -> show unknown error note + // An error occurred -> show unknown error note html = Joomla.JText._('COM_JOOMLAUPDATE_VIEW_DEFAULT_EXTENSION_SERVER_ERROR'); } else { // Switch the compatibility state @@ -395,7 +395,7 @@ Joomla = window.Joomla || {}; html = Joomla.JText._('COM_JOOMLAUPDATE_VIEW_DEFAULT_EXTENSION_NO_COMPATIBILITY_INFORMATION'); break; default: - // An error occured -> show unknown error note + // An error occurred -> show unknown error note html = Joomla.JText._('COM_JOOMLAUPDATE_VIEW_DEFAULT_EXTENSION_WARNING_UNKNOWN'); } }