Skip to content

Commit 25fe892

Browse files
authored
Merge pull request #1767 from IrAlfred/fix-typos
fix(other): fix typo in various files
2 parents 2bddbe9 + d4a142a commit 25fe892

File tree

13 files changed

+14
-14
lines changed

13 files changed

+14
-14
lines changed

modules/advanced_search/modules.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ protected function output() {
231231
return '<div class="search_content px-0"><div class="content_title d-flex align-items-center px-3">'.
232232
'<i class="bi bi-caret-down-fill adv_expand_all cursor-pointer"></i>'.
233233
'<i class="bi bi-caret-up adv_collapse_all cursor-pointer"></i>'.
234-
'<lable class="ms-2">'.$this->trans('Advanced Search').'</label></div>';
234+
'<label class="ms-2">'.$this->trans('Advanced Search').'</label></div>';
235235
}
236236
}
237237

modules/core/js_modules/actions/privacy_controls.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ async function addSenderToImagesWhitelist(email) {
88
], (response) => {
99
resolve(response);
1010
}, [], false, undefined, () => {
11-
Hm_Notices.show('An error occured while adding the sender to the whitelist', 'danger');
11+
Hm_Notices.show('An error occurred while adding the sender to the whitelist', 'danger');
1212
reject();
1313
});
1414
});

modules/hello_world/setup.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121

122122
/**
123123
* For more examples check out the setup.php file for the other module sets. They don't have
124-
* a lot of comments, but they show how this sytem works in practice for real module sets.
124+
* a lot of comments, but they show how this system works in practice for real module sets.
125125
* Also see the examples in the site module set for more information about how to configure
126126
* modules.
127127
*/

modules/imap/hm-imap-base.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ public function get_response($max=false, $chunked=false, $line_length=8192, $sor
306306
}
307307
}
308308

309-
/* merge lines that should have been recieved as one and add to results */
309+
/* merge lines that should have been received as one and add to results */
310310
if ($chunks && !$last_line_cont) {
311311
$c++;
312312
}

modules/imap/hm-jmap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ public function get_message_structure($uid) {
617617
/**
618618
* Get a message part or the raw message if the part is 0
619619
* @param string $uid message uid
620-
* @param string $message_part the IMAP messge part "number"
620+
* @param string $message_part the IMAP message part "number"
621621
* @param int $max max size to return (ignored)
622622
* @param array $struct message structure (ignored)
623623
* @return string

modules/imap/site.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1412,7 +1412,7 @@ $('.screen-email-like').on("click", function() {
14121412
btnSize: 'sm'
14131413
});
14141414

1415-
var modalContentHeadline = "Adress mail exist in your Block list";
1415+
var modalContentHeadline = "Address mail exists in your Block list";
14161416
modal.addFooterBtn(hm_trans('Add Emails to Trust contact'), 'btn-warning', handleAddEmail);
14171417
modal.setContent(modalContentHeadline + list_html + `<p>${hm_trans('If you add these, all will be unblocked.<br>Are you sure you want to add this in your Trust contact?')}</p>`);
14181418
modal.open();

modules/local_contacts/modules.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ public function process() {
148148
$message = $create_count.' contacts created, '.$update_count.' contacts updated, '.$invalid_mail_count.' Invalid email address';
149149
$type = 'success';
150150
} else {
151-
$message = 'An error occured';
151+
$message = 'An error occurred';
152152
}
153153

154154
$this->session->set('imported_contact', $import_result);

modules/saved_searches/modules.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function process() {
5252
Hm_Msgs::add('Saved search updated', 'info');
5353
}
5454
else {
55-
Hm_Msgs::add('Unable to update the search paramaters', 'danger');
55+
Hm_Msgs::add('Unable to update the search parameters', 'danger');
5656
}
5757
}
5858
}

modules/smtp/assets/markdown/marked.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1106,7 +1106,7 @@ function marked(src, opt, callback) {
11061106
} catch (e) {
11071107
e.message += '\nPlease report this to https://github.com/chjj/marked.';
11081108
if ((opt || marked.defaults).silent) {
1109-
return '<p>An error occured:</p><pre>'
1109+
return '<p>An error occurred:</p><pre>'
11101110
+ escape(e.message + '', true)
11111111
+ '</pre>';
11121112
}

modules/smtp/js_modules/route_handlers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ function applySmtpComposePageHandlers(routeParams) {
6363
var checkInList = check_cc_exist_in_contacts_list();
6464
// if contact_cc not exist in contact list for user
6565
if (checkInList) {
66-
modalContentHeadline = "Adress mail not exist in your contact list";
66+
modalContentHeadline = "Address mail not exist in your contact list";
6767
showBtnSendAnywayDontWarnFuture = false;
6868
}
6969

0 commit comments

Comments
 (0)