Bug 1463266 - fix typos in comm-central using codespell. rs=comment-only,typo-fix
--HG-- extra : rebase_source : 4c38b107758d9093d0c886495ee467f9373b3ec5
This commit is contained in:
Родитель
cbe54b983e
Коммит
7d26720e7f
|
@ -160,7 +160,7 @@ class TimezoneUpdater(object):
|
|||
component = kept_components[i]
|
||||
last = i == len(kept_components) - 1
|
||||
# In this block of code, we attempt to match what vzic does when
|
||||
# creating "Outlook-compatible" timezone files. This is to minimise
|
||||
# creating "Outlook-compatible" timezone files. This is to minimize
|
||||
# changes in our zones.json file. And to be more Outlook-compatible.
|
||||
if int(component["DTSTART"][0:8]) < HISTORY_CUTOFF:
|
||||
if not last and "valid_rdates" in component and len(component["valid_rdates"]) > 0:
|
||||
|
@ -199,7 +199,7 @@ class TimezoneUpdater(object):
|
|||
component["DTSTART"] = start_date + start_time
|
||||
|
||||
# Sort the components back into the order they appeared in the original file.
|
||||
# This is to minimise changes in our zones.json file.
|
||||
# This is to minimize changes in our zones.json file.
|
||||
kept_components.sort(key=lambda b: b["line"])
|
||||
|
||||
zone_name = filename[:-4]
|
||||
|
|
|
@ -485,7 +485,7 @@ function getDateFromFilename(aFilename) {
|
|||
let r = aFilename.match(kRegExp);
|
||||
if (!r) {
|
||||
Cu.reportError(
|
||||
"Found log file with name not maching YYYY-MM-DD.HHmmSS+ZZzz.format: " +
|
||||
"Found log file with name not matching YYYY-MM-DD.HHmmSS+ZZzz.format: " +
|
||||
aFilename
|
||||
);
|
||||
return [];
|
||||
|
|
|
@ -1473,7 +1473,7 @@
|
|||
return 0;
|
||||
}
|
||||
|
||||
// We didn't go far enough! Keep going until we find an item atleast partially on-screen.
|
||||
// We didn't go far enough! Keep going until we find an item at least partially on-screen.
|
||||
for (let i = estimatedIndex; i < this._childNodes.length; i++) {
|
||||
let childBoxObj = this._childNodes[i].getBoundingClientRect();
|
||||
if (childBoxObj.screenY + childBoxObj.height > box.screenY > 0) {
|
||||
|
|
|
@ -1021,7 +1021,7 @@ nsresult nsMsgFilterAfterTheFact::ApplyFilter() {
|
|||
|
||||
nsAutoCString value;
|
||||
rv = filterAction->GetStrValue(value);
|
||||
BREAK_ACTION_IF_FAILURE(rv, "Cound not get custom action value");
|
||||
BREAK_ACTION_IF_FAILURE(rv, "Could not get custom action value");
|
||||
bool isAsync = false;
|
||||
customAction->GetIsAsync(&isAsync);
|
||||
rv = customAction->Apply(m_searchHitHdrs, value, this, filterType,
|
||||
|
|
Загрузка…
Ссылка в новой задаче