
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.2 KiB
JavaScript
30 lines
1.2 KiB
JavaScript
define({
|
|
"postbox-text": "Sem napiště svůj komentář (nejméně 3 znaky)",
|
|
"postbox-author": "Jméno (nepovinné)",
|
|
"postbox-email": "E-mail (nepovinný)",
|
|
"postbox-website": "Web (nepovinný)",
|
|
"postbox-preview": "Náhled",
|
|
"postbox-edit": "Upravit",
|
|
"postbox-submit": "Publikovat",
|
|
"num-comments": "Jeden komentář\n{{ n }} Komentářů",
|
|
"no-comments": "Zatím bez komentářů",
|
|
"comment-reply": "Odpovědět",
|
|
"comment-edit": "Upravit",
|
|
"comment-save": "Uložit",
|
|
"comment-delete": "Smazat",
|
|
"comment-confirm": "Potvrdit",
|
|
"comment-close": "Zavřít",
|
|
"comment-cancel": "Zrušit",
|
|
"comment-deleted": "Komentář smazán",
|
|
"comment-queued": "Komentář ve frontě na schválení",
|
|
"comment-anonymous": "Anonym",
|
|
"comment-hidden": "{{ n }} skryto",
|
|
"date-now": "právě teď",
|
|
"date-minute": "před minutou\npřed {{ n }} minutami",
|
|
"date-hour": "před hodinou\npřed {{ n }} hodinami",
|
|
"date-day": "včera\npřed {{ n }} dny",
|
|
"date-week": "minulý týden\npřed {{ n }} týdny",
|
|
"date-month": "minulý měsíc\npřed {{ n }} měsíci",
|
|
"date-year": "minulý rok\npřed {{ n }} lety"
|
|
});
|