Bug 1463266 - fix typos in comm-central using codespell. rs=comment-only,typo-fix

--HG--
extra : rebase_source : 4c38b107758d9093d0c886495ee467f9373b3ec5
This commit is contained in:
Jorg K 2019-10-22 15:23:42 +02:00
Родитель cbe54b983e
Коммит 7d26720e7f
4 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -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 [];

Просмотреть файл

@ -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,