
When the button is clicked, the /preview endpoint is used to render a preview text. The preview is inserted and the preview button is replaced by an edit button to go back to edit mode. Alternatively, the use can click on the preview to edit. Some small CSS modifications are done to accomodate the modification. Also, the preview is wrapped into `.isso-common .text-wrapper .text` to not make the CSS more complex. When in preview mode, the background is stripped/greyish in case it's not easy to make a difference between preview and not preview (due to unformatted text). We avoid to modify borders/shadow boxes because it would make the design "jumpy".
30 lines
1.1 KiB
JavaScript
30 lines
1.1 KiB
JavaScript
define({
|
|
"postbox-text": "Scrivi un commento qui (minimo 3 caratteri)",
|
|
"postbox-author": "Nome (opzionale)",
|
|
"postbox-email": "E-mail (opzionale)",
|
|
"postbox-website": "Sito web (opzionale)",
|
|
"postbox-preview": "Anteprima",
|
|
"postbox-edit": "Modifica",
|
|
"postbox-submit": "Invia",
|
|
"num-comments": "Un Commento\n{{ n }} Commenti",
|
|
"no-comments": "Ancora Nessun Commento",
|
|
"comment-reply": "Rispondi",
|
|
"comment-edit": "Modifica",
|
|
"comment-save": "Salva",
|
|
"comment-delete": "Elimina",
|
|
"comment-confirm": "Conferma",
|
|
"comment-close": "Chiudi",
|
|
"comment-cancel": "Cancella",
|
|
"comment-deleted": "Commento eliminato.",
|
|
"comment-queued": "Commento in coda per moderazione.",
|
|
"comment-anonymous": "Anonimo",
|
|
"comment-hidden": "{{ n }} Nascosto",
|
|
"date-now": "poco fa",
|
|
"date-minute": "un minuto fa\n{{ n }} minuti fa",
|
|
"date-hour": "un ora fa\n{{ n }} ore fa",
|
|
"date-day": "Ieri\n{{ n }} giorni fa",
|
|
"date-week": "questa settimana\n{{ n }} settimane fa",
|
|
"date-month": "questo mese\n{{ n }} mesi fa",
|
|
"date-year": "quest'anno\n{{ n }} anni fa"
|
|
});
|