From c6a9e8be397c5b3c519470f8e22f23b0fbdd3b68 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Mar 2023 23:13:56 -0400 Subject: [PATCH] spelling: the Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- src/Network/Probe.php | 2 +- src/Protocol/ActivityPub/Receiver.php | 4 ++-- src/Protocol/DFRN.php | 2 +- src/Protocol/Diaspora.php | 2 +- update.php | 2 +- view/js/linkPreview.js | 2 +- view/theme/frio/js/hovercard.js | 2 +- view/theme/frio/js/mod_events.js | 6 +++--- view/theme/frio/js/modal.js | 2 +- view/theme/frio/js/theme.js | 2 +- view/theme/frio/templates/calendar/event_form.tpl | 2 +- view/theme/frio/templates/jot-header.tpl | 2 +- view/theme/frio/templates/nav.tpl | 2 +- view/theme/frio/theme.php | 2 +- 14 files changed, 17 insertions(+), 17 deletions(-) diff --git a/src/Network/Probe.php b/src/Network/Probe.php index b87845d98..d344d556c 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 60846dcdb..a18a10928 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 b8547de91..63d519508 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 f6dbfa7e3..96a224c69 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 672c11a4f..8dcd1b71d 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 d54cbd505..e41aed39d 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 50c962376..393362894 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 1edba87af..4ac669a35 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 59dbf5ba9..07c2d4676 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 e29c74f6f..8556f022c 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 e22c3776d..700900941 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 9ac56d27d..643c1d94a 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 8a1d39095..bac64683a 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 d49ffaa6f..9ef4d8ca0 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