Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
Added option to convert HTML to Markdown instead of plain, using Turn…
Browse files Browse the repository at this point in the history
…down #1604
  • Loading branch information
the-djmaze committed Sep 14, 2024
1 parent d3b0d6c commit 8fb7067
Show file tree
Hide file tree
Showing 45 changed files with 201 additions and 135 deletions.
17 changes: 16 additions & 1 deletion dev/Common/Html.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ import { SettingsUserStore } from 'Stores/User/Settings';

const
tmpl = createElement('template'),

turndown = new TurndownService(),

htmlre = /[&<>"']/g,
httpre = /^(https?:)?\/\//i,
htmlmap = {
Expand Down Expand Up @@ -604,6 +607,9 @@ export const
* @returns {string}
*/
htmlToPlain = html => {
if (SettingsUserStore.markdown()) {
return htmlToMarkdown(html);
}
const
hr = '⎯'.repeat(64),
forEach = (selector, fn) => tmpl.content.querySelectorAll(selector).forEach(fn),
Expand Down Expand Up @@ -640,6 +646,8 @@ export const
.replace(/<t[dh](\s[\s\S]*?)?>/gi, '\t')
.replace(/<\/tr(\s[\s\S]*?)?>/gi, '\n');

forEach('style', node => node.remove());

// lines
forEach('hr', node => node.replaceWith(`\n\n${hr}\n\n`));

Expand Down Expand Up @@ -700,6 +708,11 @@ export const
return (tmpl.content.textContent || '').trim();
},

htmlToMarkdown = html => {
tmpl.innerHTML = html;
return turndown.turndown(tmpl.content);
},

/**
* @param {string} plain
* @param {boolean} findEmailAndLinksInText = false
Expand Down Expand Up @@ -771,5 +784,7 @@ export const

rl.Utils = {
htmlToPlain: htmlToPlain,
plainToHtml: plainToHtml
plainToHtml: plainToHtml,
htmlToMarkdown: htmlToMarkdown
// markdownToHtml: md => marked.parse(md)
};
1 change: 1 addition & 0 deletions dev/Common/Links.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ export const

proxy = url =>
BASE + '?/ProxyExternal/'
// + btoa(JSON.stringify([token,url]).replace(/ /g, '%20')).replace(/\+/g, '-').replace(/\//g, '_').replace(/=+$/, ''),
+ btoa(url.replace(/ /g, '%20')).replace(/\+/g, '-').replace(/\//g, '_').replace(/=+$/, ''),
// + b64EncodeJSONSafe(url.replace(/ /g, '%20')),

Expand Down
4 changes: 2 additions & 2 deletions dev/Settings/User/General.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export class UserSettingsGeneral extends AbstractViewSettings {
'viewHTML', 'viewImages', 'viewImagesWhitelist', 'removeColors', 'allowStyles', 'allowDraftAutosave',
'hideDeleted', 'listInlineAttachments', 'simpleAttachmentsList', 'collapseBlockquotes',
'useCheckboxesInList', 'listGrouped', 'replySameFolder', 'allowSpellcheck',
'messageReadAuto', 'showNextMessage', 'messageNewWindow'
'messageReadAuto', 'showNextMessage', 'messageNewWindow', 'markdown'
].forEach(name => this[name] = SettingsUserStore[name]);

this.allowLanguagesOnSettings = !!SettingsGet('allowLanguagesOnSettings');
Expand Down Expand Up @@ -123,7 +123,7 @@ export class UserSettingsGeneral extends AbstractViewSettings {
'ViewHTML', 'ViewImages', 'ViewImagesWhitelist', 'RemoveColors', 'AllowStyles', 'AllowDraftAutosave',
'HideDeleted', 'ListInlineAttachments', 'simpleAttachmentsList', 'CollapseBlockquotes',
'UseCheckboxesInList', 'listGrouped', 'ReplySameFolder', 'allowSpellcheck',
'messageReadAuto', 'showNextMessage', 'messageNewWindow',
'messageReadAuto', 'showNextMessage', 'messageNewWindow', 'markdown',
'DesktopNotifications', 'SoundNotification']);

const fReloadLanguageHelper = (saveSettingsStep) => () => {
Expand Down
4 changes: 3 additions & 1 deletion dev/Stores/User/Settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export const SettingsUserStore = new class {
layout: 1,
editorDefaultType: 'Html',
editorWysiwyg: 'Squire',
markdown: 0,
msgDefaultAction: 1
});

Expand Down Expand Up @@ -113,7 +114,8 @@ export const SettingsUserStore = new class {
'requireTLS',
'pgpSign',
'pgpEncrypt',
'allowSpellcheck'
'allowSpellcheck',
'markdown'
/*
'MessagesPerPage',
'MessageReadDelay',
Expand Down
4 changes: 3 additions & 1 deletion snappymail/v/0.0.0/app/libraries/RainLoop/Actions.php
Original file line number Diff line number Diff line change
Expand Up @@ -595,6 +595,7 @@ public function AppData(bool $bAdmin): array
'listGrouped' => $oConfig->Get('defaults', 'mail_list_grouped', false),
'MessagesPerPage' => \max(10, \intval($oConfig->Get('webmail', 'messages_per_page', 25)) ?: 25),
'messageNewWindow' => false,
'markdown' => false,
'messageReadAuto' => true, // (bool) $oConfig->Get('webmail', 'message_read_auto', true),
'MessageReadDelay' => (int) $oConfig->Get('webmail', 'message_read_delay', 5),
'MsgDefaultAction' => (int) $oConfig->Get('defaults', 'msg_default_action', 1),
Expand Down Expand Up @@ -690,7 +691,8 @@ public function AppData(bool $bAdmin): array
$aResult['listGrouped'] = (bool)$oSettings->GetConf('listGrouped', $aResult['listGrouped']);
$aResult['ContactsAutosave'] = (bool)$oSettings->GetConf('ContactsAutosave', $aResult['ContactsAutosave']);
$aResult['MessagesPerPage'] = \max(10, \intval($oSettings->GetConf('MessagesPerPage', $aResult['MessagesPerPage']) ?: $aResult['MessagesPerPage']));
$aResult['messageNewWindow'] = (int)$oSettings->GetConf('messageNewWindow', $aResult['messageNewWindow']);
$aResult['messageNewWindow'] = (bool)$oSettings->GetConf('messageNewWindow', $aResult['messageNewWindow']);
$aResult['markdown'] = (bool)$oSettings->GetConf('markdown', $aResult['markdown']);
$aResult['messageReadAuto'] = (int)$oSettings->GetConf('messageReadAuto', $aResult['messageReadAuto']);
$aResult['MessageReadDelay'] = (int)$oSettings->GetConf('MessageReadDelay', $aResult['MessageReadDelay']);
$aResult['MsgDefaultAction'] = (int)$oSettings->GetConf('MsgDefaultAction', $aResult['MsgDefaultAction']);
Expand Down
1 change: 1 addition & 0 deletions snappymail/v/0.0.0/app/libraries/RainLoop/Actions/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ public function DoSettingsUpdate() : array
$this->setSettingsFromParams($oSettings, 'MessageReadDelay', 'int');
$this->setSettingsFromParams($oSettings, 'MsgDefaultAction', 'int');
$this->setSettingsFromParams($oSettings, 'showNextMessage', 'bool');
$this->setSettingsFromParams($oSettings, 'markdown', 'bool');

$this->setSettingsFromParams($oSettings, 'Resizer4Width', 'int');
$this->setSettingsFromParams($oSettings, 'Resizer5Width', 'int');
Expand Down
3 changes: 2 additions & 1 deletion snappymail/v/0.0.0/app/localization/ar/user.json
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,8 @@
"IMAGES_OPTION_ALWAYS": "Show always",
"IMAGES_WHITELIST": "Images whitelist",
"MESSAGE_POPUP_WINDOW": "Popup in new window instead of tab",
"MAILTO": "Register as 'mailto:' links handler"
"MAILTO": "Register as 'mailto:' links handler",
"HTML_TO_MD": "Convert HTML to Markdown instead of plain text"
},
"SETTINGS_CONTACTS": {
"LABEL_CONTACTS_AUTOSAVE": "قم باضافة المستلمين تلقائيا الى دفتر العناوين",
Expand Down
3 changes: 2 additions & 1 deletion snappymail/v/0.0.0/app/localization/be/user.json
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,8 @@
"IMAGES_OPTION_ALWAYS": "Показваць заўсёды",
"IMAGES_WHITELIST": "Фарматы з белага спісу",
"MESSAGE_POPUP_WINDOW": "Усплываючае вакно ў новым вакне замест карткі",
"MAILTO": "Register as 'mailto:' links handler"
"MAILTO": "Register as 'mailto:' links handler",
"HTML_TO_MD": "Convert HTML to Markdown instead of plain text"
},
"SETTINGS_CONTACTS": {
"LABEL_CONTACTS_AUTOSAVE": "Аўтаматычна дадаваць атрымальнікаў лістоў у адрасную кнігу",
Expand Down
3 changes: 2 additions & 1 deletion snappymail/v/0.0.0/app/localization/bg/user.json
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,8 @@
"IMAGES_OPTION_ALWAYS": "Show always",
"IMAGES_WHITELIST": "Images whitelist",
"MESSAGE_POPUP_WINDOW": "Popup in new window instead of tab",
"MAILTO": "Register as 'mailto:' links handler"
"MAILTO": "Register as 'mailto:' links handler",
"HTML_TO_MD": "Convert HTML to Markdown instead of plain text"
},
"SETTINGS_CONTACTS": {
"LABEL_CONTACTS_AUTOSAVE": "Автоматично добавяне на получателите към адресната ви книга",
Expand Down
3 changes: 2 additions & 1 deletion snappymail/v/0.0.0/app/localization/cs/user.json
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,8 @@
"IMAGES_OPTION_ALWAYS": "Show always",
"IMAGES_WHITELIST": "Images whitelist",
"MESSAGE_POPUP_WINDOW": "Popup in new window instead of tab",
"MAILTO": "Register as 'mailto:' links handler"
"MAILTO": "Register as 'mailto:' links handler",
"HTML_TO_MD": "Convert HTML to Markdown instead of plain text"
},
"SETTINGS_CONTACTS": {
"LABEL_CONTACTS_AUTOSAVE": "Automaticky přidávat adresy příjemců do Adresáře",
Expand Down
3 changes: 2 additions & 1 deletion snappymail/v/0.0.0/app/localization/da/user.json
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,8 @@
"IMAGES_OPTION_ALWAYS": "Show always",
"IMAGES_WHITELIST": "Images whitelist",
"MESSAGE_POPUP_WINDOW": "Popup in new window instead of tab",
"MAILTO": "Register as 'mailto:' links handler"
"MAILTO": "Register as 'mailto:' links handler",
"HTML_TO_MD": "Convert HTML to Markdown instead of plain text"
},
"SETTINGS_CONTACTS": {
"LABEL_CONTACTS_AUTOSAVE": "Tilføj automatisk modtager til adressebog",
Expand Down
3 changes: 2 additions & 1 deletion snappymail/v/0.0.0/app/localization/de/user.json
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,8 @@
"IMAGES_OPTION_ALWAYS": "Immer anzeigen",
"IMAGES_WHITELIST": "Ausnahmeliste für Bilder",
"MESSAGE_POPUP_WINDOW": "In neuem Fenster statt Tab anzeigen",
"MAILTO": "Register as 'mailto:' links handler"
"MAILTO": "Register as 'mailto:' links handler",
"HTML_TO_MD": "Convert HTML to Markdown instead of plain text"
},
"SETTINGS_CONTACTS": {
"LABEL_CONTACTS_AUTOSAVE": "Empfänger automatisch zu Ihrem Adressbuch hinzuzufügen",
Expand Down
3 changes: 2 additions & 1 deletion snappymail/v/0.0.0/app/localization/el/user.json
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,8 @@
"IMAGES_OPTION_ALWAYS": "Show always",
"IMAGES_WHITELIST": "Images whitelist",
"MESSAGE_POPUP_WINDOW": "Popup in new window instead of tab",
"MAILTO": "Register as 'mailto:' links handler"
"MAILTO": "Register as 'mailto:' links handler",
"HTML_TO_MD": "Convert HTML to Markdown instead of plain text"
},
"SETTINGS_CONTACTS": {
"LABEL_CONTACTS_AUTOSAVE": "Αυτόματη προσθήκη επαφών στον κατάλογο διευθύνσεων",
Expand Down
3 changes: 2 additions & 1 deletion snappymail/v/0.0.0/app/localization/en/user.json
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,8 @@
"IMAGES_OPTION_ALWAYS": "Show always",
"IMAGES_WHITELIST": "Images whitelist",
"MESSAGE_POPUP_WINDOW": "Popup in new window instead of tab",
"MAILTO": "Register as 'mailto:' links handler"
"MAILTO": "Register as 'mailto:' links handler",
"HTML_TO_MD": "Convert HTML to Markdown instead of plain text"
},
"SETTINGS_CONTACTS": {
"LABEL_CONTACTS_AUTOSAVE": "Automatically add recipients to your address book",
Expand Down
3 changes: 2 additions & 1 deletion snappymail/v/0.0.0/app/localization/es/user.json
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,8 @@
"IMAGES_OPTION_ALWAYS": "Mostrar siempre",
"IMAGES_WHITELIST": "Lista blanca de imágenes",
"MESSAGE_POPUP_WINDOW": "Popup en nueva ventana en lugar de pestaña",
"MAILTO": "Register as 'mailto:' links handler"
"MAILTO": "Register as 'mailto:' links handler",
"HTML_TO_MD": "Convert HTML to Markdown instead of plain text"
},
"SETTINGS_CONTACTS": {
"LABEL_CONTACTS_AUTOSAVE": "Agregar automáticamente destinatarios a la libreta de direcciones",
Expand Down
3 changes: 2 additions & 1 deletion snappymail/v/0.0.0/app/localization/et/user.json
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,8 @@
"IMAGES_OPTION_ALWAYS": "Show always",
"IMAGES_WHITELIST": "Images whitelist",
"MESSAGE_POPUP_WINDOW": "Popup in new window instead of tab",
"MAILTO": "Register as 'mailto:' links handler"
"MAILTO": "Register as 'mailto:' links handler",
"HTML_TO_MD": "Convert HTML to Markdown instead of plain text"
},
"SETTINGS_CONTACTS": {
"LABEL_CONTACTS_AUTOSAVE": "Lisa saajad automaatselt aadressiraamatusse",
Expand Down
3 changes: 2 additions & 1 deletion snappymail/v/0.0.0/app/localization/eu/user.json
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,8 @@
"IMAGES_OPTION_ALWAYS": "Show always",
"IMAGES_WHITELIST": "Images whitelist",
"MESSAGE_POPUP_WINDOW": "Popup in new window instead of tab",
"MAILTO": "Register as 'mailto:' links handler"
"MAILTO": "Register as 'mailto:' links handler",
"HTML_TO_MD": "Convert HTML to Markdown instead of plain text"
},
"SETTINGS_CONTACTS": {
"LABEL_CONTACTS_AUTOSAVE": "Automatikoki gehitu hartzaileak helbide-liburura",
Expand Down
3 changes: 2 additions & 1 deletion snappymail/v/0.0.0/app/localization/fa/user.json
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,8 @@
"IMAGES_OPTION_ALWAYS": "Show always",
"IMAGES_WHITELIST": "Images whitelist",
"MESSAGE_POPUP_WINDOW": "Popup in new window instead of tab",
"MAILTO": "Register as 'mailto:' links handler"
"MAILTO": "Register as 'mailto:' links handler",
"HTML_TO_MD": "Convert HTML to Markdown instead of plain text"
},
"SETTINGS_CONTACTS": {
"LABEL_CONTACTS_AUTOSAVE": "اطلاعات تماس گیرندگان را بصورت خودکار در آدرس‌بوک ذخیره کن",
Expand Down
3 changes: 2 additions & 1 deletion snappymail/v/0.0.0/app/localization/fi/user.json
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,8 @@
"IMAGES_OPTION_ALWAYS": "Show always",
"IMAGES_WHITELIST": "Images whitelist",
"MESSAGE_POPUP_WINDOW": "Popup in new window instead of tab",
"MAILTO": "Register as 'mailto:' links handler"
"MAILTO": "Register as 'mailto:' links handler",
"HTML_TO_MD": "Convert HTML to Markdown instead of plain text"
},
"SETTINGS_CONTACTS": {
"LABEL_CONTACTS_AUTOSAVE": "Lisää yhetystieto automaattisesti osoitekirjaan",
Expand Down
3 changes: 2 additions & 1 deletion snappymail/v/0.0.0/app/localization/fr/user.json
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,8 @@
"IMAGES_OPTION_ALWAYS": "Toujours afficher",
"IMAGES_WHITELIST": "Liste blanche Images",
"MESSAGE_POPUP_WINDOW": "Popup dans une nouvelle fenêtre au lieu d'un onglet",
"MAILTO": "Inscrivez-vous en tant que gestionnaire de liens 'mailto:'"
"MAILTO": "Inscrivez-vous en tant que gestionnaire de liens 'mailto:'",
"HTML_TO_MD": "Convert HTML to Markdown instead of plain text"
},
"SETTINGS_CONTACTS": {
"LABEL_CONTACTS_AUTOSAVE": "Ajouter automatiquement les destinataires à votre carnet d'adresses",
Expand Down
3 changes: 2 additions & 1 deletion snappymail/v/0.0.0/app/localization/hu/user.json
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,8 @@
"IMAGES_OPTION_ALWAYS": "Show always",
"IMAGES_WHITELIST": "Images whitelist",
"MESSAGE_POPUP_WINDOW": "Popup in new window instead of tab",
"MAILTO": "Register as 'mailto:' links handler"
"MAILTO": "Register as 'mailto:' links handler",
"HTML_TO_MD": "Convert HTML to Markdown instead of plain text"
},
"SETTINGS_CONTACTS": {
"LABEL_CONTACTS_AUTOSAVE": "Címzettek automatikus hozzáadása a címtárhoz",
Expand Down
3 changes: 2 additions & 1 deletion snappymail/v/0.0.0/app/localization/id/user.json
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,8 @@
"IMAGES_OPTION_ALWAYS": "Show always",
"IMAGES_WHITELIST": "Images whitelist",
"MESSAGE_POPUP_WINDOW": "Popup in new window instead of tab",
"MAILTO": "Register as 'mailto:' links handler"
"MAILTO": "Register as 'mailto:' links handler",
"HTML_TO_MD": "Convert HTML to Markdown instead of plain text"
},
"SETTINGS_CONTACTS": {
"LABEL_CONTACTS_AUTOSAVE": "Tambah penerima ke daftar alamat secara otomatis",
Expand Down
3 changes: 2 additions & 1 deletion snappymail/v/0.0.0/app/localization/is/user.json
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,8 @@
"IMAGES_OPTION_ALWAYS": "Show always",
"IMAGES_WHITELIST": "Images whitelist",
"MESSAGE_POPUP_WINDOW": "Popup in new window instead of tab",
"MAILTO": "Register as 'mailto:' links handler"
"MAILTO": "Register as 'mailto:' links handler",
"HTML_TO_MD": "Convert HTML to Markdown instead of plain text"
},
"SETTINGS_CONTACTS": {
"LABEL_CONTACTS_AUTOSAVE": "Bæta viðtakendum sjálfkrafa í nafnaskrá",
Expand Down
3 changes: 2 additions & 1 deletion snappymail/v/0.0.0/app/localization/it/user.json
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,8 @@
"IMAGES_OPTION_ALWAYS": "Visualizza sempre",
"IMAGES_WHITELIST": "Whitelist per immagini",
"MESSAGE_POPUP_WINDOW": "Popup in new window instead of tab",
"MAILTO": "Register as 'mailto:' links handler"
"MAILTO": "Register as 'mailto:' links handler",
"HTML_TO_MD": "Convert HTML to Markdown instead of plain text"
},
"SETTINGS_CONTACTS": {
"LABEL_CONTACTS_AUTOSAVE": "Aggiungi automaticamente le persone che ti inviano mail alla rubrica",
Expand Down
3 changes: 2 additions & 1 deletion snappymail/v/0.0.0/app/localization/ja/user.json
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,8 @@
"IMAGES_OPTION_ALWAYS": "Show always",
"IMAGES_WHITELIST": "Images whitelist",
"MESSAGE_POPUP_WINDOW": "Popup in new window instead of tab",
"MAILTO": "Register as 'mailto:' links handler"
"MAILTO": "Register as 'mailto:' links handler",
"HTML_TO_MD": "Convert HTML to Markdown instead of plain text"
},
"SETTINGS_CONTACTS": {
"LABEL_CONTACTS_AUTOSAVE": "返信したアドレスをアドレス帳へ自動的に追加する",
Expand Down
3 changes: 2 additions & 1 deletion snappymail/v/0.0.0/app/localization/ko/user.json
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,8 @@
"IMAGES_OPTION_ALWAYS": "Show always",
"IMAGES_WHITELIST": "Images whitelist",
"MESSAGE_POPUP_WINDOW": "Popup in new window instead of tab",
"MAILTO": "Register as 'mailto:' links handler"
"MAILTO": "Register as 'mailto:' links handler",
"HTML_TO_MD": "Convert HTML to Markdown instead of plain text"
},
"SETTINGS_CONTACTS": {
"LABEL_CONTACTS_AUTOSAVE": "수신인을 주소록에 자동으로 추가",
Expand Down
3 changes: 2 additions & 1 deletion snappymail/v/0.0.0/app/localization/lt/user.json
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,8 @@
"IMAGES_OPTION_ALWAYS": "Show always",
"IMAGES_WHITELIST": "Images whitelist",
"MESSAGE_POPUP_WINDOW": "Popup in new window instead of tab",
"MAILTO": "Register as 'mailto:' links handler"
"MAILTO": "Register as 'mailto:' links handler",
"HTML_TO_MD": "Convert HTML to Markdown instead of plain text"
},
"SETTINGS_CONTACTS": {
"LABEL_CONTACTS_AUTOSAVE": "Automatiškai pridėti gavėjus į adresų knygą",
Expand Down
3 changes: 2 additions & 1 deletion snappymail/v/0.0.0/app/localization/lv/user.json
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,8 @@
"IMAGES_OPTION_ALWAYS": "Show always",
"IMAGES_WHITELIST": "Images whitelist",
"MESSAGE_POPUP_WINDOW": "Popup in new window instead of tab",
"MAILTO": "Register as 'mailto:' links handler"
"MAILTO": "Register as 'mailto:' links handler",
"HTML_TO_MD": "Convert HTML to Markdown instead of plain text"
},
"SETTINGS_CONTACTS": {
"LABEL_CONTACTS_AUTOSAVE": "Automatically add recipients to your address book",
Expand Down
3 changes: 2 additions & 1 deletion snappymail/v/0.0.0/app/localization/nb/user.json
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,8 @@
"IMAGES_OPTION_ALWAYS": "Show always",
"IMAGES_WHITELIST": "Images whitelist",
"MESSAGE_POPUP_WINDOW": "Popup in new window instead of tab",
"MAILTO": "Register as 'mailto:' links handler"
"MAILTO": "Register as 'mailto:' links handler",
"HTML_TO_MD": "Convert HTML to Markdown instead of plain text"
},
"SETTINGS_CONTACTS": {
"LABEL_CONTACTS_AUTOSAVE": "Legg til mottakere i adresseboka automatisk",
Expand Down
3 changes: 2 additions & 1 deletion snappymail/v/0.0.0/app/localization/nl/user.json
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,8 @@
"IMAGES_OPTION_ALWAYS": "Altijd tonen",
"IMAGES_WHITELIST": "Afbeeldingen whitelist",
"MESSAGE_POPUP_WINDOW": "Openen in een nieuw venster i.p.v. tab",
"MAILTO": "Registreer als 'mailto:'-linkhandler"
"MAILTO": "Registreer als 'mailto:'-linkhandler",
"HTML_TO_MD": "Converteer HTML naar Markdown i.p.v. platte tekst"
},
"SETTINGS_CONTACTS": {
"LABEL_CONTACTS_AUTOSAVE": "Automatisch ontvangers toevoegen aan uw adresboek",
Expand Down
3 changes: 2 additions & 1 deletion snappymail/v/0.0.0/app/localization/pl/user.json
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,8 @@
"IMAGES_OPTION_ALWAYS": "Zawsze pokazuj",
"IMAGES_WHITELIST": "Biała lista obrazów",
"MESSAGE_POPUP_WINDOW": "Pokaż w nowym oknie zamiast w nowej karcie",
"MAILTO": "Register as 'mailto:' links handler"
"MAILTO": "Register as 'mailto:' links handler",
"HTML_TO_MD": "Convert HTML to Markdown instead of plain text"
},
"SETTINGS_CONTACTS": {
"LABEL_CONTACTS_AUTOSAVE": "Automatycznie dodawaj odbiorców do książki adresowej",
Expand Down
3 changes: 2 additions & 1 deletion snappymail/v/0.0.0/app/localization/pt-BR/user.json
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,8 @@
"IMAGES_OPTION_ALWAYS": "Show always",
"IMAGES_WHITELIST": "Images whitelist",
"MESSAGE_POPUP_WINDOW": "Popup in new window instead of tab",
"MAILTO": "Register as 'mailto:' links handler"
"MAILTO": "Register as 'mailto:' links handler",
"HTML_TO_MD": "Convert HTML to Markdown instead of plain text"
},
"SETTINGS_CONTACTS": {
"LABEL_CONTACTS_AUTOSAVE": "Adicionar automaticamente os destinatários na lista de endereços",
Expand Down
3 changes: 2 additions & 1 deletion snappymail/v/0.0.0/app/localization/pt/user.json
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,8 @@
"IMAGES_OPTION_ALWAYS": "Mostrar sempre",
"IMAGES_WHITELIST": "Lista Branca de imagens",
"MESSAGE_POPUP_WINDOW": "Abrir em nova janela em vez de um separador",
"MAILTO": "Registar como manipulador de ligações 'mailto:'"
"MAILTO": "Registar como manipulador de ligações 'mailto:'",
"HTML_TO_MD": "Convert HTML to Markdown instead of plain text"
},
"SETTINGS_CONTACTS": {
"LABEL_CONTACTS_AUTOSAVE": "Adicionar destinatários automaticamente à sua lista de endereços",
Expand Down
3 changes: 2 additions & 1 deletion snappymail/v/0.0.0/app/localization/ro/user.json
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,8 @@
"IMAGES_OPTION_ALWAYS": "Show always",
"IMAGES_WHITELIST": "Images whitelist",
"MESSAGE_POPUP_WINDOW": "Popup in new window instead of tab",
"MAILTO": "Register as 'mailto:' links handler"
"MAILTO": "Register as 'mailto:' links handler",
"HTML_TO_MD": "Convert HTML to Markdown instead of plain text"
},
"SETTINGS_CONTACTS": {
"LABEL_CONTACTS_AUTOSAVE": "Adaugă automat destinatarii la agenda de scrisori",
Expand Down
Loading

0 comments on commit 8fb7067

Please sign in to comment.