Edit blogs, and add blog icons and banners (#460)
Also adds a parameter to `md_to_html` to only render inline elements (so that we don't have titles or images in blog descriptions). And moves the delete button for the blog on the edition page. I still have to update the SQLite migration once others PRs with migrations will be merged. Also, there will be a problem when you edit a blog while not owning its banner or icon: when validating they will be reset to their default values… I don't see a good solution to this until we have a better way to handle uploads with Rocket (the same is probably happening for articles btw). And the icon/banner are not federated yet, I don't know if I should add it to this PR or if it can come after?   Fixes #453 Fixes #454
This commit is contained in:
+70
-29
@@ -44,6 +44,18 @@ msgstr "Du musst eingeloggt sein, um einen neuen Beitrag zu schreiben"
|
||||
msgid "You are not allowed to delete this blog."
|
||||
msgstr "Du bist kein Autor in diesem Blog."
|
||||
|
||||
#, fuzzy
|
||||
msgid "You are not allowed to edit this blog."
|
||||
msgstr "Du bist kein Autor in diesem Blog."
|
||||
|
||||
#, fuzzy
|
||||
msgid "You can't use this media as blog icon."
|
||||
msgstr "Du bist kein Autor in diesem Blog."
|
||||
|
||||
#, fuzzy
|
||||
msgid "You can't use this media as blog banner."
|
||||
msgstr "Du bist kein Autor in diesem Blog."
|
||||
|
||||
#, fuzzy
|
||||
msgid "You need to be logged in order to like a post"
|
||||
msgstr "Du musst eingeloggt sein, um einen Beitrag zu Liken"
|
||||
@@ -409,6 +421,13 @@ msgstr ""
|
||||
msgid "Read the detailed rules"
|
||||
msgstr "Lies die detailierten Regeln"
|
||||
|
||||
msgid "None"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "No description"
|
||||
msgstr "Lange Beschreibung"
|
||||
|
||||
msgid "View all"
|
||||
msgstr "Alles anzeigen"
|
||||
|
||||
@@ -576,9 +595,6 @@ msgstr ""
|
||||
msgid "Illustration"
|
||||
msgstr "Administration"
|
||||
|
||||
msgid "None"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "This is a draft, don't publish it yet."
|
||||
msgstr "Dieser Beitrag ist noch nicht veröffentlicht."
|
||||
@@ -705,33 +721,30 @@ msgstr ""
|
||||
"gerne melden."
|
||||
|
||||
#, fuzzy
|
||||
msgid "New Blog"
|
||||
msgstr "Neuer Blog"
|
||||
msgid "Edit \"{}\""
|
||||
msgstr "Bearbeiten"
|
||||
|
||||
msgid "Create a blog"
|
||||
msgstr "Erstelle einen Blog"
|
||||
msgid "Description"
|
||||
msgstr "Beschreibung"
|
||||
|
||||
msgid "Create blog"
|
||||
msgid ""
|
||||
"You can upload images to your gallery, to use them as blog icons or banners."
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "Upload images"
|
||||
msgstr "Hochladen"
|
||||
|
||||
msgid "Blog icon"
|
||||
msgstr ""
|
||||
|
||||
msgid "Blog banner"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "Update blog"
|
||||
msgstr "Blog erstellen"
|
||||
|
||||
#, fuzzy
|
||||
msgid "There's one author on this blog: "
|
||||
msgid_plural "There are {0} authors on this blog: "
|
||||
msgstr[0] "Ein Autor in diesem Blog: "
|
||||
msgstr[1] "{0} Autoren in diesem Blog: "
|
||||
|
||||
#, fuzzy
|
||||
msgid "There's one article on this blog"
|
||||
msgid_plural "There are {0} articles on this blog"
|
||||
msgstr[0] "Ein Artikel in diesem Blog"
|
||||
msgstr[1] "{0} Artikel in diesem Blog"
|
||||
|
||||
msgid "No posts to see here yet."
|
||||
msgstr "Bisher keine Artikel vorhanden."
|
||||
|
||||
msgid "New article"
|
||||
msgstr "Neuer Artikel"
|
||||
|
||||
#, fuzzy
|
||||
msgid "Be very careful, any action taken here can't be reversed."
|
||||
msgstr ""
|
||||
@@ -741,6 +754,31 @@ msgstr ""
|
||||
msgid "Permanently delete this blog"
|
||||
msgstr "Artikel löschen"
|
||||
|
||||
#, fuzzy
|
||||
msgid "New Blog"
|
||||
msgstr "Neuer Blog"
|
||||
|
||||
msgid "Create a blog"
|
||||
msgstr "Erstelle einen Blog"
|
||||
|
||||
msgid "Create blog"
|
||||
msgstr "Blog erstellen"
|
||||
|
||||
msgid "{}'s icon"
|
||||
msgstr ""
|
||||
|
||||
msgid "New article"
|
||||
msgstr "Neuer Artikel"
|
||||
|
||||
#, fuzzy
|
||||
msgid "There's one author on this blog: "
|
||||
msgid_plural "There are {0} authors on this blog: "
|
||||
msgstr[0] "Ein Autor in diesem Blog: "
|
||||
msgstr[1] "{0} Autoren in diesem Blog: "
|
||||
|
||||
msgid "No posts to see here yet."
|
||||
msgstr "Bisher keine Artikel vorhanden."
|
||||
|
||||
#, fuzzy
|
||||
msgid "Articles tagged \"{0}\""
|
||||
msgstr "Mit \"{0}\" markierte Artikel"
|
||||
@@ -768,9 +806,6 @@ msgstr ""
|
||||
msgid "Media upload"
|
||||
msgstr "Hochladen von Mediendateien"
|
||||
|
||||
msgid "Description"
|
||||
msgstr "Beschreibung"
|
||||
|
||||
#, fuzzy
|
||||
msgid "Useful for visually impaired people, as well as licensing information"
|
||||
msgstr "Hilfreich für Sehbehinderte und zur Lizenziserung"
|
||||
@@ -804,6 +839,12 @@ msgstr "Um diese Mediendatei einzufügen, kopiere sie in deine Artikel."
|
||||
msgid "Use as avatar"
|
||||
msgstr "Als Avatar verwenden"
|
||||
|
||||
#, fuzzy
|
||||
#~ msgid "There's one article on this blog"
|
||||
#~ msgid_plural "There are {0} articles on this blog"
|
||||
#~ msgstr[0] "Ein Artikel in diesem Blog"
|
||||
#~ msgstr[1] "{0} Artikel in diesem Blog"
|
||||
|
||||
#~ msgid "{0}'s followers"
|
||||
#~ msgstr "{0}s Follower"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user