Skip to content

Commit

Permalink
Merge pull request #577 from thunderbird/v14.0.3
Browse files Browse the repository at this point in the history
V14.0.3 merge to master
  • Loading branch information
cleidigh authored Jun 7, 2024
2 parents 42b312f + 85de2ad commit 01670af
Show file tree
Hide file tree
Showing 89 changed files with 2,665 additions and 1,380 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@

## Versions

Version 14.0.3 : Maintenance Release - June,6 2024

- Promisify and fix export messages timing issue #568
- New: Latinize filenames transform. Use boolean preference:
extensions.importexporttoolsng.export.filename_latinize
- New: UTF-16 filenames filter (emojis, symbols…). Use boolean preference:
extensions.importexporttoolsng.export.filename_filterUTF16
- New: Character filter for filenames. Use UTF-16 string preference:
extensions.importexporttoolsng.export.filename_filter_characters
Enter the characters with no separators

Version 14.0.2 : Subfolders Release - April 10, 2024

- New: Recursive Subfolder Export for EML, HTML, PDF and Plaintext #538
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"title": "ImportExportTools NG",
"name": "import-export-tools-ng",
"version": "14.0.2",
"version": "14.0.3",
"description": "Import and export next-gen tools for messages and folders",
"author": "Christopher Leidigh",
"engines": {
Expand Down
5 changes: 1 addition & 4 deletions scripts/translate-gc.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ var translationArray5 = [

var translationArray = [

{ key: "CRconversion.statusMsg", text: "Converting CR => CRLF line terminations"},
{ key: "Size", text: "Size"},



Expand Down Expand Up @@ -651,9 +651,6 @@ localeFolders = ['en-US', 'ca', 'cs', 'el', 'es-ES', 'gl-ES', 'hu-HU', 'hy-AM',
//localeFolders = ['de', 'ja', 'fr', 'da'];


// localeFolders = ['ru', 'hu-HU', 'hy-AM', 'ko-KR', 'pl', 'da', 'pt-PT'];
//localeFile = "settings.json";
// t();
translateHelpPage();
//translatePage();
//loadTranslationArray(inputFiles, options);
Expand Down
6 changes: 5 additions & 1 deletion src/_locales/ca/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -628,5 +628,9 @@
},
"CRconversion.statusMsg": {
"message": "Convertint CR => CRLF terminacions de línia"
}
},

"Size": {
"message": "Mida"
}
}
Expand Down
4 changes: 4 additions & 0 deletions src/_locales/cs/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -837,5 +837,9 @@

"CRconversion.statusMsg": {
"message": "Převod CR => CRLF zakončení linek"
},

"Size": {
"message": "Velikost"
}
}
6 changes: 5 additions & 1 deletion src/_locales/da/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -631,5 +631,9 @@
},
"CRconversion.statusMsg": {
"message": "Konvertering af CR => CRLF linjeafslutninger"
}
},

"Size": {
"message": "Størrelse"
}
}
Expand Down
6 changes: 5 additions & 1 deletion src/_locales/de/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -631,5 +631,9 @@
},
"CRconversion.statusMsg": {
"message": "Konvertieren von CR => CRLF-Leitungsabschlüssen"
}
},

"Size": {
"message": "Größe"
}
}
Expand Down
6 changes: 5 additions & 1 deletion src/_locales/el/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -631,5 +631,9 @@
},
"CRconversion.statusMsg": {
"message": "Μετατροπή CR => τερματισμοί γραμμής CRLF"
}
},

"Size": {
"message": "Μέγεθος"
}
}
Expand Down
6 changes: 5 additions & 1 deletion src/_locales/en-US/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -631,5 +631,9 @@
},
"CRconversion.statusMsg": {
"message": "Converting CR => CRLF line terminations"
}
},

"Size": {
"message": "Size"
}
}
Expand Down
6 changes: 5 additions & 1 deletion src/_locales/es-ES/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -631,5 +631,9 @@
},
"CRconversion.statusMsg": {
"message": "Conversión de terminaciones de línea CR => CRLF"
}
},

"Size": {
"message": "Tamaño"
}
}
Expand Down
8 changes: 6 additions & 2 deletions src/_locales/fr/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -630,6 +630,10 @@
"message": "Utiliser l’extension .mbox pour les fichiers mbox (non structurés)"
},
"CRconversion.statusMsg": {
"message": "Conversion CR => terminaisons de ligne CRLF"
}
"message": "Conversion des fins de ligne CR ⇒ CRLF"
},

"Size": {
"message": "Taille"
}
}
Expand Down
6 changes: 5 additions & 1 deletion src/_locales/gl-ES/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -631,5 +631,9 @@
},
"CRconversion.statusMsg": {
"message": "Convertendo CR => terminacións de liña CRLF"
}
},

"Size": {
"message": "Tamaño"
}
}
Expand Down
6 changes: 5 additions & 1 deletion src/_locales/hu-HU/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -631,5 +631,9 @@
},
"CRconversion.statusMsg": {
"message": "CR => CRLF vonalvégződések konvertálása"
}
},

"Size": {
"message": "Méret"
}
}
Expand Down
6 changes: 5 additions & 1 deletion src/_locales/hy-AM/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -631,5 +631,9 @@
},
"CRconversion.statusMsg": {
"message": "Փոխակերպում CR => CRLF տողերի վերջավորությունները"
}
},

"Size": {
"message": "Չափը"
}
}
Expand Down
6 changes: 5 additions & 1 deletion src/_locales/it/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -631,5 +631,9 @@
},
"CRconversion.statusMsg": {
"message": "Conversione delle terminazioni di linea CR => CRLF"
}
},

"Size": {
"message": "Misurare"
}
}
Expand Down
6 changes: 5 additions & 1 deletion src/_locales/ja/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -631,5 +631,9 @@
},
"CRconversion.statusMsg": {
"message": "CR から CRLF へ改行コードを変換しました。"
}
},

"Size": {
"message": "サイズ"
}
}
Expand Down
6 changes: 5 additions & 1 deletion src/_locales/ko-KR/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -631,5 +631,9 @@
},
"CRconversion.statusMsg": {
"message": "CR 변환 => CRLF 라인 종료"
}
},

"Size": {
"message": "크기"
}
}
Expand Down
6 changes: 5 additions & 1 deletion src/_locales/nl/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -631,5 +631,9 @@
},
"CRconversion.statusMsg": {
"message": "CR => CRLF-lijnbeëindigingen converteren"
}
},

"Size": {
"message": "Maat"
}
}
Expand Down
6 changes: 5 additions & 1 deletion src/_locales/pl/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -631,5 +631,9 @@
},
"CRconversion.statusMsg": {
"message": "Konwersja CR => CRLF zakończenia linii"
}
},

"Size": {
"message": "Rozmiar"
}
}
Expand Down
6 changes: 5 additions & 1 deletion src/_locales/pt-PT/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -631,5 +631,9 @@
},
"CRconversion.statusMsg": {
"message": "Convertendo CR => terminações de linha CRLF"
}
},

"Size": {
"message": "Tamanho"
}
}
Expand Down
6 changes: 5 additions & 1 deletion src/_locales/ru/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -631,5 +631,9 @@
},
"CRconversion.statusMsg": {
"message": "Преобразование CR => окончания строки CRLF"
}
},

"Size": {
"message": "Размер"
}
}
Expand Down
6 changes: 5 additions & 1 deletion src/_locales/sk-SK/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -631,5 +631,9 @@
},
"CRconversion.statusMsg": {
"message": "Konverzia zakončení CR => CRLF"
}
},

"Size": {
"message": "Veľkosť"
}
}
Expand Down
6 changes: 5 additions & 1 deletion src/_locales/sl-SI/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -631,5 +631,9 @@
},
"CRconversion.statusMsg": {
"message": "Pretvarjanje zaključkov vrstic CR => CRLF"
}
},

"Size": {
"message": "Velikost"
}
}
Expand Down
6 changes: 5 additions & 1 deletion src/_locales/sv-SE/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -631,5 +631,9 @@
},
"CRconversion.statusMsg": {
"message": "Konvertering av CR => CRLF-linjeavslutningar"
}
},

"Size": {
"message": "Storlek"
}
}
Expand Down
6 changes: 5 additions & 1 deletion src/_locales/zh-CN/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -634,5 +634,9 @@
},
"CRconversion.statusMsg": {
"message": "转换 CR => CRLF 线路终止"
}
},

"Size": {
"message": "尺寸"
}
}
Expand Down
9 changes: 5 additions & 4 deletions src/api/NotifyTools/implementation.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
* This file is provided by the addon-developer-support repository at
* https://github.com/thundernest/addon-developer-support
*
* Version 1.5
* - adjusted to Thunderbird Supernova (Services is now in globalThis)
*
* Version 1.4
* - updated implementation to not assign this anymore
*
Expand All @@ -26,10 +29,8 @@

// Get various parts of the WebExtension framework that we need.
var { ExtensionCommon } = ChromeUtils.import("resource://gre/modules/ExtensionCommon.jsm");

var Services = globalThis.Services || ChromeUtils.import(
'resource://gre/modules/Services.jsm'
).Services;
var Services = globalThis.Services ||
ChromeUtils.import("resource://gre/modules/Services.jsm").Services;

var observerTracker = new Set();

Expand Down
8 changes: 4 additions & 4 deletions src/api/WindowListener/implementation.js
Original file line number Diff line number Diff line change
Expand Up @@ -280,11 +280,11 @@ var WindowListener_102 = class extends ExtensionCommon.ExtensionAPI {
for (let api of apis) {
switch (api) {
case "storage":
XPCOMUtils.defineLazyGetter(messenger, "storage", () => getStorage());
ChromeUtils.defineLazyGetter(messenger, "storage", () => getStorage());
break;

default:
XPCOMUtils.defineLazyGetter(messenger, api, () =>
ChromeUtils.defineLazyGetter(messenger, api, () =>
context.apiCan.findAPIPath(api)
);
}
Expand Down Expand Up @@ -1322,11 +1322,11 @@ var WindowListener_115 = class extends ExtensionCommon.ExtensionAPI {
for (let api of apis) {
switch (api) {
case "storage":
XPCOMUtils.defineLazyGetter(messenger, "storage", () => getStorage());
ChromeUtils.defineLazyGetter(messenger, "storage", () => getStorage());
break;

default:
XPCOMUtils.defineLazyGetter(messenger, api, () =>
ChromeUtils.defineLazyGetter(messenger, api, () =>
context.apiCan.findAPIPath(api)
);
}
Expand Down
1 change: 1 addition & 0 deletions src/background.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<html lang="en">

<head>
Expand Down
2 changes: 1 addition & 1 deletion src/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ function main() {
["locale", "mboximport", "en-US", "chrome/locale/en-US/mboximport/"],

["locale", "mboximport", "ca", "chrome/locale/ca/mboximport/"],
["locale", "mboximport", "cs", "chrome/locale/ca/mboximport/"],
["locale", "mboximport", "cs", "chrome/locale/cs/mboximport/"],
["locale", "mboximport", "da", "chrome/locale/da/mboximport/"],
["locale", "mboximport", "de", "chrome/locale/de/mboximport/"],
["locale", "mboximport", "es-ES", "chrome/locale/es-ES/mboximport/"],
Expand Down
Loading

0 comments on commit 01670af

Please sign in to comment.