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:
+66
-23
@@ -45,6 +45,18 @@ msgstr "新しいブログを作成するにはログインする必要があり
|
||||
msgid "You are not allowed to delete this blog."
|
||||
msgstr "あなたはこのブログの作者ではありません。"
|
||||
|
||||
#, fuzzy
|
||||
msgid "You are not allowed to edit this blog."
|
||||
msgstr "あなたはこのブログの作者ではありません。"
|
||||
|
||||
#, fuzzy
|
||||
msgid "You can't use this media as blog icon."
|
||||
msgstr "あなたはこのブログの作者ではありません。"
|
||||
|
||||
#, fuzzy
|
||||
msgid "You can't use this media as blog banner."
|
||||
msgstr "あなたはこのブログの作者ではありません。"
|
||||
|
||||
msgid "You need to be logged in order to like a post"
|
||||
msgstr "投稿をいいねするにはログインする必要があります"
|
||||
|
||||
@@ -237,6 +249,7 @@ msgstr "Plume {{ version }} を実行中"
|
||||
msgid "Edit your account"
|
||||
msgstr "自分のアカウントを編集"
|
||||
|
||||
#, fuzzy
|
||||
msgid "Your Profile"
|
||||
msgstr "自分のプロフィール"
|
||||
|
||||
@@ -257,6 +270,7 @@ msgstr "メールアドレス"
|
||||
msgid "Summary"
|
||||
msgstr "要約"
|
||||
|
||||
#, fuzzy
|
||||
msgid "Update account"
|
||||
msgstr "アカウントをアップデート"
|
||||
|
||||
@@ -393,6 +407,13 @@ msgstr ""
|
||||
msgid "Read the detailed rules"
|
||||
msgstr "詳細な規則を読む"
|
||||
|
||||
msgid "None"
|
||||
msgstr "なし"
|
||||
|
||||
#, fuzzy
|
||||
msgid "No description"
|
||||
msgstr "長い説明"
|
||||
|
||||
msgid "View all"
|
||||
msgstr "すべて表示"
|
||||
|
||||
@@ -566,9 +587,6 @@ msgstr ""
|
||||
msgid "Illustration"
|
||||
msgstr "図"
|
||||
|
||||
msgid "None"
|
||||
msgstr "なし"
|
||||
|
||||
msgid "This is a draft, don't publish it yet."
|
||||
msgstr "これは下書きなので、まだ公開しないでください。"
|
||||
|
||||
@@ -681,6 +699,39 @@ msgid "Sorry about that. If you think this is a bug, please report it."
|
||||
msgstr ""
|
||||
"申し訳ありません。これがバグだと思われる場合は、問題を報告してください。"
|
||||
|
||||
#, fuzzy
|
||||
msgid "Edit \"{}\""
|
||||
msgstr "編集"
|
||||
|
||||
msgid "Description"
|
||||
msgstr "説明"
|
||||
|
||||
msgid ""
|
||||
"You can upload images to your gallery, to use them as blog icons or banners."
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "Upload images"
|
||||
msgstr "アップロード"
|
||||
|
||||
msgid "Blog icon"
|
||||
msgstr ""
|
||||
|
||||
msgid "Blog banner"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "Update blog"
|
||||
msgstr "ブログを作成"
|
||||
|
||||
#, fuzzy
|
||||
msgid "Be very careful, any action taken here can't be reversed."
|
||||
msgstr "十分ご注意ください。ここで行ったすべての操作は取り消しできません。"
|
||||
|
||||
#, fuzzy
|
||||
msgid "Permanently delete this blog"
|
||||
msgstr "このブログを削除"
|
||||
|
||||
#, fuzzy
|
||||
msgid "New Blog"
|
||||
msgstr "新しいブログ"
|
||||
@@ -691,29 +742,19 @@ msgstr "ブログを作成"
|
||||
msgid "Create blog"
|
||||
msgstr "ブログを作成"
|
||||
|
||||
#, fuzzy
|
||||
msgid "There's one author on this blog: "
|
||||
msgid_plural "There are {0} authors on this blog: "
|
||||
msgstr[0] "ブログに {0} 人の作成者がいます: "
|
||||
|
||||
#, fuzzy
|
||||
msgid "There's one article on this blog"
|
||||
msgid_plural "There are {0} articles on this blog"
|
||||
msgstr[0] "ブログに {0} 件の記事があります"
|
||||
|
||||
msgid "No posts to see here yet."
|
||||
msgstr "ここにはまだ表示できる投稿がありません。"
|
||||
msgid "{}'s icon"
|
||||
msgstr ""
|
||||
|
||||
msgid "New article"
|
||||
msgstr "新しい記事"
|
||||
|
||||
#, fuzzy
|
||||
msgid "Be very careful, any action taken here can't be reversed."
|
||||
msgstr "十分ご注意ください。ここで行ったすべての操作は取り消しできません。"
|
||||
msgid "There's one author on this blog: "
|
||||
msgid_plural "There are {0} authors on this blog: "
|
||||
msgstr[0] "ブログに {0} 人の作成者がいます: "
|
||||
|
||||
#, fuzzy
|
||||
msgid "Permanently delete this blog"
|
||||
msgstr "このブログを削除"
|
||||
msgid "No posts to see here yet."
|
||||
msgstr "ここにはまだ表示できる投稿がありません。"
|
||||
|
||||
#, fuzzy
|
||||
msgid "Articles tagged \"{0}\""
|
||||
@@ -743,9 +784,6 @@ msgstr "メディアの詳細"
|
||||
msgid "Media upload"
|
||||
msgstr "メディアのアップロード"
|
||||
|
||||
msgid "Description"
|
||||
msgstr "説明"
|
||||
|
||||
#, fuzzy
|
||||
msgid "Useful for visually impaired people, as well as licensing information"
|
||||
msgstr "視覚的に障害のある方や認可の際に便利です"
|
||||
@@ -777,6 +815,11 @@ msgstr "このメディアを記事に挿入するには、自分の記事にコ
|
||||
msgid "Use as avatar"
|
||||
msgstr "アバターとして使う"
|
||||
|
||||
#, fuzzy
|
||||
#~ msgid "There's one article on this blog"
|
||||
#~ msgid_plural "There are {0} articles on this blog"
|
||||
#~ msgstr[0] "ブログに {0} 件の記事があります"
|
||||
|
||||
#~ msgid "{0}'s followers"
|
||||
#~ msgstr "{{ count }} フォロワー"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user