feat(admin): post content on the Blog Editor field type
- blogeditor and mlblogeditor field types (classes.BlogEditorTypes) on the plugin; post content is mlblogeditor with htmlColumn content_html - Decode stores SanitizeHTMLReport output per locale with notices naming what was removed; clean HTML is stored byte for byte, nothing is refused because of markup - Load serves HTML as stored and markdown posts as their content_html - the admin hooks copy written content to content_html per locale without goldmark; untouched content leaves both columns as they are - editor lang keys (en, pl plural notices), tracer smoke test, updated Postgres admin tests
This commit is contained in:
@@ -131,3 +131,17 @@ tag:
|
||||
delete_confirm: Delete this tag?
|
||||
delete_success: Successfully deleted those tags.
|
||||
return_to_tags: Return to the journal tag list
|
||||
editor:
|
||||
content_invalid: The content must be HTML text.
|
||||
image_invalid: The image must be a JPEG, PNG, GIF or WebP file.
|
||||
upload_failed: The image could not be uploaded.
|
||||
removed_elements:
|
||||
one: ":count element was removed: :names"
|
||||
other: ":count elements were removed: :names"
|
||||
removed_attributes:
|
||||
one: ":count attribute was removed: :names"
|
||||
other: ":count attributes were removed: :names"
|
||||
removed_comments:
|
||||
one: ":count HTML comment was removed"
|
||||
other: ":count HTML comments were removed"
|
||||
markup_changed: The HTML filter changed some markup.
|
||||
|
||||
@@ -83,3 +83,23 @@ category:
|
||||
delete_success: Kategorie zostały pomyślnie usunięte.
|
||||
return_to_categories: Wróć do listy kategorii
|
||||
reorder: Zmień kolejność kategorii
|
||||
editor:
|
||||
content_invalid: Treść musi być tekstem HTML.
|
||||
image_invalid: Obraz musi być plikiem JPEG, PNG, GIF lub WebP.
|
||||
upload_failed: Nie udało się przesłać obrazu.
|
||||
removed_elements:
|
||||
one: "Usunięto :count element: :names"
|
||||
few: "Usunięto :count elementy: :names"
|
||||
many: "Usunięto :count elementów: :names"
|
||||
other: "Usunięto :count elementu: :names"
|
||||
removed_attributes:
|
||||
one: "Usunięto :count atrybut: :names"
|
||||
few: "Usunięto :count atrybuty: :names"
|
||||
many: "Usunięto :count atrybutów: :names"
|
||||
other: "Usunięto :count atrybutu: :names"
|
||||
removed_comments:
|
||||
one: "Usunięto :count komentarz HTML"
|
||||
few: "Usunięto :count komentarze HTML"
|
||||
many: "Usunięto :count komentarzy HTML"
|
||||
other: "Usunięto :count komentarza HTML"
|
||||
markup_changed: Filtr HTML zmienił część znaczników.
|
||||
|
||||
Reference in New Issue
Block a user