extract common routing code into private "_guts()" functions

This commit is contained in:
Igor Galić
2019-05-28 12:37:27 +02:00
committed by Igor Galić
parent 8e6b1ab86e
commit a0aef50674
2 changed files with 36 additions and 24 deletions
+9 -9
View File
@@ -36,39 +36,39 @@ msgstr ""
msgid "{0}'s avatar"
msgstr ""
# src/routes/blogs.rs:84
# src/routes/blogs.rs:96
msgid "To create a new blog, you need to be logged in"
msgstr ""
# src/routes/blogs.rs:126
# src/routes/blogs.rs:138
msgid "A blog with the same name already exists."
msgstr ""
# src/routes/blogs.rs:161
# src/routes/blogs.rs:173
msgid "Your blog was successfully created!"
msgstr ""
# src/routes/blogs.rs:183
# src/routes/blogs.rs:195
msgid "Your blog was deleted."
msgstr ""
# src/routes/blogs.rs:190
# src/routes/blogs.rs:202
msgid "You are not allowed to delete this blog."
msgstr ""
# src/routes/blogs.rs:238
# src/routes/blogs.rs:250
msgid "You are not allowed to edit this blog."
msgstr ""
# src/routes/blogs.rs:283
# src/routes/blogs.rs:295
msgid "You can't use this media as a blog icon."
msgstr ""
# src/routes/blogs.rs:301
# src/routes/blogs.rs:313
msgid "You can't use this media as a blog banner."
msgstr ""
# src/routes/blogs.rs:334
# src/routes/blogs.rs:346
msgid "Your blog information have been updated."
msgstr ""