Avant : renderConfirm() échappait le résumé et l'extrait avec escapeHtml(), donc les **gras**, *italique*, [liens](), listes, titres du Markdown produit par l'IA s'affichaient en texte brut (littéral « **gras** »). Maintenant : renderMarkdownSafe() parse le Markdown en HTML limité et sûr (escapeHtml d'abord, puis regex sur le texte échappé — pas de HTML brut autorisé). + Refonte du panneau de prévisualisation : - .preview-block avec header sticky (label Résumé / Extrait) - .excerpt-block : min-height 180px, max-height 360px, scroll si long - .summary-block : fond bleuté léger, bordure gauche sky - markdown-h3/h4/h5 stylés (serif pour titres), strong/em/code/ul/a - Polices 14px, line-height 1.7, word-break pour texte long + Nouvelle clé i18n summaryLabel dans les 15 locales. + Version 0.4.2 → 0.4.3.
197 lines
4.3 KiB
JSON
197 lines
4.3 KiB
JSON
{
|
|
"extName": {
|
|
"message": "Memento Web Clipper"
|
|
},
|
|
"extDescription": {
|
|
"message": "Capture web pages and highlighted text into your Memento notebooks — connects to your own Memento server."
|
|
},
|
|
"extActionTitle": {
|
|
"message": "Clip to Memento"
|
|
},
|
|
"webClipper": {
|
|
"message": "Web Clipper"
|
|
},
|
|
"connected": {
|
|
"message": "Connected"
|
|
},
|
|
"disconnected": {
|
|
"message": "Not connected"
|
|
},
|
|
"instanceSettings": {
|
|
"message": "Memento URL"
|
|
},
|
|
"instanceUrlLabel": {
|
|
"message": "Your Memento instance URL"
|
|
},
|
|
"presetProduction": {
|
|
"message": "Production preset · memento-note.com"
|
|
},
|
|
"applyReconnect": {
|
|
"message": "Apply and reconnect"
|
|
},
|
|
"openMomento": {
|
|
"message": "Open Memento"
|
|
},
|
|
"settingsHint": {
|
|
"message": "Paste the HTTPS (or LAN) URL of your Memento server. Cookies in this browser handle sign-in."
|
|
},
|
|
"footerVersion": {
|
|
"message": "Memento Web Clipper 0.4.3"
|
|
},
|
|
"errPermissionDenied": {
|
|
"message": "Memento can't access this tab. Check keyboard/site extension permissions — or open the Side Panel."
|
|
},
|
|
"notebookUnnamed": {
|
|
"message": "Untitled notebook"
|
|
},
|
|
"noNotebooks": {
|
|
"message": "No notebooks yet"
|
|
},
|
|
"readingTimeOne": {
|
|
"message": "~1 minute read"
|
|
},
|
|
"readingTimeOther": {
|
|
"message": "Approx. $COUNT$ min read",
|
|
"placeholders": {
|
|
"COUNT": {
|
|
"content": "$1",
|
|
"example": "5"
|
|
}
|
|
}
|
|
},
|
|
"selectionDetected": {
|
|
"message": "Selection detected"
|
|
},
|
|
"ignore": {
|
|
"message": "ignore"
|
|
},
|
|
"selectionHint": {
|
|
"message": "Tip: highlight text on the page to clip a precise selection as a note."
|
|
},
|
|
"clipSelection": {
|
|
"message": "Clip selection"
|
|
},
|
|
"clipPage": {
|
|
"message": "Clip this page"
|
|
},
|
|
"saveLinkOnly": {
|
|
"message": "Save link only"
|
|
},
|
|
"pageNotAccessible": {
|
|
"message": "Can't clip here — this page blocks extension access."
|
|
},
|
|
"errLoginRequired": {
|
|
"message": "Please sign in to Memento in this browser first."
|
|
},
|
|
"errLoadNotebooks": {
|
|
"message": "Could not load notebooks. Try reconnecting."
|
|
},
|
|
"notebooksLoaded": {
|
|
"message": "Notebooks loaded"
|
|
},
|
|
"connecting": {
|
|
"message": "Connecting…"
|
|
},
|
|
"connectedToUrl": {
|
|
"message": "Connected to $URL$",
|
|
"placeholders": {
|
|
"URL": {
|
|
"content": "$1",
|
|
"example": "https://memento-note.com"
|
|
}
|
|
}
|
|
},
|
|
"restrictedPage": {
|
|
"message": "Restricted page — clip via the Memento toolbar or Side Panel."
|
|
},
|
|
"destinationNotebook": {
|
|
"message": "Destination notebook"
|
|
},
|
|
"activePage": {
|
|
"message": "Active page"
|
|
},
|
|
"previewBeforeSave": {
|
|
"message": "Review before saving"
|
|
},
|
|
"noteTitleLabel": {
|
|
"message": "Title"
|
|
},
|
|
"excerptLabel": {
|
|
"message": "Excerpt"
|
|
},
|
|
"saveToMomento": {
|
|
"message": "Save to Memento"
|
|
},
|
|
"back": {
|
|
"message": "Back"
|
|
},
|
|
"analyzingSource": {
|
|
"message": "Analyzing source"
|
|
},
|
|
"statusAnalyzing": {
|
|
"message": "Analyzing…"
|
|
},
|
|
"statusSaving": {
|
|
"message": "Saving…"
|
|
},
|
|
"processingDetail": {
|
|
"message": "Generating tags, a semantic summary, and embeddings."
|
|
},
|
|
"noteSaved": {
|
|
"message": "Note saved"
|
|
},
|
|
"sentToNotebook": {
|
|
"message": "Saved to $NOTEBOOK$",
|
|
"placeholders": {
|
|
"NOTEBOOK": {
|
|
"content": "$1",
|
|
"example": "Read later"
|
|
}
|
|
}
|
|
},
|
|
"viewInMomento": {
|
|
"message": "View in Memento"
|
|
},
|
|
"clipAnother": {
|
|
"message": "Clip another page"
|
|
},
|
|
"failure": {
|
|
"message": "Could not complete"
|
|
},
|
|
"genericError": {
|
|
"message": "Something went wrong reaching your Memento instance."
|
|
},
|
|
"retry": {
|
|
"message": "Retry"
|
|
},
|
|
"errNoSelection": {
|
|
"message": "Select text first, or clip the full page."
|
|
},
|
|
"errAnalyzeFailed": {
|
|
"message": "Could not analyze this page."
|
|
},
|
|
"errSaveFailed": {
|
|
"message": "Could not save your note."
|
|
},
|
|
"errNetwork": {
|
|
"message": "Network issue — check your connection and Memento URL."
|
|
},
|
|
"bannerPickText": {
|
|
"message": "Highlight text on the page, or clip the whole page."
|
|
},
|
|
"errLoginHintUrl": {
|
|
"message": "Connected to: $URL$",
|
|
"placeholders": {
|
|
"URL": {
|
|
"content": "$1"
|
|
}
|
|
}
|
|
},
|
|
"bannerDismiss": {
|
|
"message": "Dismiss"
|
|
},
|
|
"summaryLabel": {
|
|
"message": "Summary"
|
|
}
|
|
}
|