From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 21 Mar 2023 03:13:56 +0000 (-0400) Subject: spelling: the X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c6a9e8be397c5b3c519470f8e22f23b0fbdd3b68;p=friendica.git spelling: the Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- diff --git a/src/Network/Probe.php b/src/Network/Probe.php index b87845d984..d344d556c3 100644 --- a/src/Network/Probe.php +++ b/src/Network/Probe.php @@ -1623,7 +1623,7 @@ class Probe if (!empty($feed_data['header']['author-about'])) { $data['about'] = $feed_data['header']['author-about']; } - // OStatus has serious issues when the the url doesn't fit (ssl vs. non ssl) + // OStatus has serious issues when the url doesn't fit (ssl vs. non ssl) // So we take the value that we just fetched, although the other one worked as well if (!empty($feed_data['header']['author-link'])) { $data['url'] = $feed_data['header']['author-link']; diff --git a/src/Protocol/ActivityPub/Receiver.php b/src/Protocol/ActivityPub/Receiver.php index 60846dcdb8..a18a109284 100644 --- a/src/Protocol/ActivityPub/Receiver.php +++ b/src/Protocol/ActivityPub/Receiver.php @@ -248,7 +248,7 @@ class Receiver * Fetches the object type for a given object id * * @param array $activity - * @param string $object_id Object ID of the the provided object + * @param string $object_id Object ID of the provided object * @param integer $uid User ID * * @return string with object type or NULL @@ -1372,7 +1372,7 @@ class Receiver /** * Fetches the object data from external ressources if needed * - * @param string $object_id Object ID of the the provided object + * @param string $object_id Object ID of the provided object * @param array $object The provided object array * @param boolean $trust_source Do we trust the provided object? * @param integer $uid User ID for the signature that we use to fetch data diff --git a/src/Protocol/DFRN.php b/src/Protocol/DFRN.php index b8547de91d..63d5195088 100644 --- a/src/Protocol/DFRN.php +++ b/src/Protocol/DFRN.php @@ -1585,7 +1585,7 @@ class DFRN Logger::info('Process verb ' . $item['verb'] . ' and object-type ' . $item['object-type'] . ' for entrytype ' . $entrytype); if (($entrytype == self::TOP_LEVEL) && !empty($importer['id'])) { - // The filling of the the "contact" variable is done for legacy reasons + // The filling of the "contact" variable is done for legacy reasons // The functions below are partly used by ostatus.php as well - where we have this variable $contact = Contact::selectFirst([], ['id' => $importer['id']]); diff --git a/src/Protocol/Diaspora.php b/src/Protocol/Diaspora.php index f6dbfa7e3a..96a224c69e 100644 --- a/src/Protocol/Diaspora.php +++ b/src/Protocol/Diaspora.php @@ -2770,7 +2770,7 @@ class Diaspora } // Normally we should have a filled "addr" field - but in the past this wasn't the case - // So - just in case - we build the the address here. + // So - just in case - we build the address here. if ($contact['nickname'] != '') { $nick = $contact['nickname']; } else { diff --git a/update.php b/update.php index 672c11a4f4..8dcd1b71dd 100644 --- a/update.php +++ b/update.php @@ -79,7 +79,7 @@ function update_1298() $a = new \stdClass(); $a->strings = []; - // First we get the the localizations + // First we get the localizations if (file_exists('view/lang/$lang/strings.php')) { include 'view/lang/$lang/strings.php'; } diff --git a/view/js/linkPreview.js b/view/js/linkPreview.js index d54cbd5058..e41aed39d4 100644 --- a/view/js/linkPreview.js +++ b/view/js/linkPreview.js @@ -368,7 +368,7 @@ // More than just one image. if (images.length > 1) { - // Enable the the button to change the preview pictures. + // Enable the button to change the preview pictures. $('#previewChangeImg_' + id).show(); if (firstPosted === false) { diff --git a/view/theme/frio/js/hovercard.js b/view/theme/frio/js/hovercard.js index 50c9623766..3933628949 100644 --- a/view/theme/frio/js/hovercard.js +++ b/view/theme/frio/js/hovercard.js @@ -140,7 +140,7 @@ function openHovercard(targetElement, contactUrl, timeNow) { .popover({ html: true, placement: function () { - // Calculate the placement of the the hovercard (if top or bottom) + // Calculate the placement of the hovercard (if top or bottom) // The placement depence on the distance between window top and the element // which triggers the hover-card let get_position = $(targetElement).offset().top - $(window).scrollTop(); diff --git a/view/theme/frio/js/mod_events.js b/view/theme/frio/js/mod_events.js index 1edba87afb..4ac669a353 100644 --- a/view/theme/frio/js/mod_events.js +++ b/view/theme/frio/js/mod_events.js @@ -266,9 +266,9 @@ function eventHoverHtmlContent(event) { // Get only template data if there exists location data if (event.location) { var eventLocationText = htmlToText(event.location); - // Get the the html template for formatting the location + // Get the html template for formatting the location var eventLocationTemplate = eventHoverLocationTemplate(); - // Format the event location data according to the the event location + // Format the event location data according to the event location // template eventLocation = eventLocationTemplate.format(eventLocationText); } @@ -295,7 +295,7 @@ function eventHoverHtmlContent(event) { return formatted; } -// transform the the list view event element into formatted html +// transform the list view event element into formatted html function formatListViewEvent(event) { // The basic template for list view var template = diff --git a/view/theme/frio/js/modal.js b/view/theme/frio/js/modal.js index 59dbf5ba9c..07c2d4676c 100644 --- a/view/theme/frio/js/modal.js +++ b/view/theme/frio/js/modal.js @@ -361,7 +361,7 @@ function toggleJotNav(elm) { // it redirects you to your own server. In such cases we can't // load it into a modal. function openWallMessage(url) { - // Split the the url in its parts. + // Split the url in its parts. var parts = parseUrl(url); // If the host isn't the same we can't load it in a modal. diff --git a/view/theme/frio/js/theme.js b/view/theme/frio/js/theme.js index e29c74f6fe..8556f022c6 100644 --- a/view/theme/frio/js/theme.js +++ b/view/theme/frio/js/theme.js @@ -279,7 +279,7 @@ $(document).ready(function () { // Set the padding for input elements with inline buttons // // In Frio we use some input elements where the submit button is visually - // inside the the input field (through css). We need to set a padding-right + // inside the input field (through css). We need to set a padding-right // to the input element where the padding value would be at least the width // of the button. Otherwise long user input would be invisible because it is // behind the button. diff --git a/view/theme/frio/templates/calendar/event_form.tpl b/view/theme/frio/templates/calendar/event_form.tpl index e22c3776d0..700900941b 100644 --- a/view/theme/frio/templates/calendar/event_form.tpl +++ b/view/theme/frio/templates/calendar/event_form.tpl @@ -47,7 +47,7 @@ {{* The field for event finish time *}} {{$f_dsel nofilter}} - {{* checkbox if the the event doesn't have a finish time *}} + {{* checkbox if the event doesn't have a finish time *}} {{include file="field_checkbox.tpl" field=$nofinish}} diff --git a/view/theme/frio/templates/jot-header.tpl b/view/theme/frio/templates/jot-header.tpl index 9ac56d27d5..643c1d94a9 100644 --- a/view/theme/frio/templates/jot-header.tpl +++ b/view/theme/frio/templates/jot-header.tpl @@ -170,7 +170,7 @@ } }); - // Fade the the the container from the items we want to delete + // Fade the container from the items we want to delete for(var key in ItemsToDelete) { $(ItemsToDelete[key]).fadeTo('fast', 0.33); }; diff --git a/view/theme/frio/templates/nav.tpl b/view/theme/frio/templates/nav.tpl index 8a1d39095e..bac64683a2 100644 --- a/view/theme/frio/templates/nav.tpl +++ b/view/theme/frio/templates/nav.tpl @@ -11,7 +11,7 @@
{{else}} - {{* #logo-img is the the placeholder to insert a mask (friendica logo) into this div + {{* #logo-img is the placeholder to insert a mask (friendica logo) into this div For Firefox we have to call the paths of the mask (look at the bottom of this file). Because for FF we need relative paths we apply them with js after the page is loaded (look at theme.js *}} diff --git a/view/theme/frio/theme.php b/view/theme/frio/theme.php index d49ffaa6f5..9ef4d8ca0a 100644 --- a/view/theme/frio/theme.php +++ b/view/theme/frio/theme.php @@ -153,7 +153,7 @@ function frio_contact_photo_menu(&$args) $pmlink = ''; } - // Set the the indicator for opening the status, profile and photo pages + // Set the indicator for opening the status, profile and photo pages // in a new tab to false if the contact a dfrn (friendica) contact // We do this because we can go back on foreign friendica pages throuhg // friendicas "magic-link" which indicates a friendica user on foreign