Add some feedback when performing some actions (#552)
* Add a way to display flash messages * Make the flash messages look nice * Add actual feedback messages * cargo fmt * Move flash messages to PlumeRocket And add trait to convert PlumeRocket to BaseContext * Remove useless lifetime
This commit is contained in:
+115
@@ -50,6 +50,14 @@ msgstr ""
|
||||
msgid "A blog with the same name already exists."
|
||||
msgstr ""
|
||||
|
||||
# src/routes/blogs.rs:142
|
||||
msgid "Your blog was successfully created!"
|
||||
msgstr ""
|
||||
|
||||
# src/routes/blogs.rs:167
|
||||
msgid "Your blog was deleted."
|
||||
msgstr ""
|
||||
|
||||
# src/routes/blogs.rs:172
|
||||
msgid "You are not allowed to delete this blog."
|
||||
msgstr ""
|
||||
@@ -66,10 +74,54 @@ msgstr ""
|
||||
msgid "You can't use this media as a blog banner."
|
||||
msgstr ""
|
||||
|
||||
# src/routes/blogs.rs:312
|
||||
msgid "Your blog information have been updated."
|
||||
msgstr ""
|
||||
|
||||
# src/routes/comments.rs:89
|
||||
msgid "Your comment have been posted."
|
||||
msgstr ""
|
||||
|
||||
# src/routes/comments.rs:163
|
||||
msgid "Your comment have been deleted."
|
||||
msgstr ""
|
||||
|
||||
# src/routes/instance.rs:145
|
||||
msgid "Instance settings have been saved."
|
||||
msgstr ""
|
||||
|
||||
# src/routes/instance.rs:182
|
||||
msgid "{} have been unblocked."
|
||||
msgstr ""
|
||||
|
||||
# src/routes/instance.rs:184
|
||||
msgid "{} have been blocked."
|
||||
msgstr ""
|
||||
|
||||
# src/routes/instance.rs:218
|
||||
msgid "{} have been banned."
|
||||
msgstr ""
|
||||
|
||||
# src/routes/likes.rs:51
|
||||
msgid "To like a post, you need to be logged in"
|
||||
msgstr ""
|
||||
|
||||
# src/routes/medias.rs:143
|
||||
msgid "Your media have been deleted."
|
||||
msgstr ""
|
||||
|
||||
# src/routes/medias.rs:145
|
||||
msgid "You are not allowed to delete this media."
|
||||
msgstr ""
|
||||
|
||||
# src/routes/medias.rs:154
|
||||
msgid "Your avatar have been updated."
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "You are not allowed to use this media."
|
||||
msgstr "Вы не авторизованы."
|
||||
|
||||
# src/routes/notifications.rs:29
|
||||
msgid "To see your notifications, you need to be logged in"
|
||||
msgstr ""
|
||||
@@ -94,6 +146,32 @@ msgstr "Новый пост"
|
||||
msgid "Edit {0}"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "You are not allowed to publish on this blog."
|
||||
msgstr "Вы не авторизованы."
|
||||
|
||||
# src/routes/posts.rs:351
|
||||
msgid "Your article have been updated."
|
||||
msgstr ""
|
||||
|
||||
# src/routes/posts.rs:527
|
||||
msgid "Your post have been saved."
|
||||
msgstr ""
|
||||
|
||||
# src/routes/posts.rs:565
|
||||
msgid "You are not allowed to delete this article."
|
||||
msgstr ""
|
||||
|
||||
# src/routes/posts.rs:589
|
||||
msgid "Your article have been deleted."
|
||||
msgstr ""
|
||||
|
||||
# src/routes/posts.rs:593
|
||||
msgid ""
|
||||
"It looks like the article you tried to delete doesn't exist. Maybe it is "
|
||||
"already gone?"
|
||||
msgstr ""
|
||||
|
||||
# src/routes/posts.rs:630
|
||||
msgid ""
|
||||
"Couldn't obtain enough information about your account. Please make sure your "
|
||||
@@ -104,6 +182,14 @@ msgstr ""
|
||||
msgid "To reshare a post, you need to be logged in"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "You are now connected."
|
||||
msgstr "Вы не авторизованы."
|
||||
|
||||
#, fuzzy
|
||||
msgid "You are now logged off."
|
||||
msgstr "Вы не авторизованы."
|
||||
|
||||
# src/routes/session.rs:181
|
||||
msgid "Password reset"
|
||||
msgstr ""
|
||||
@@ -124,6 +210,14 @@ msgstr ""
|
||||
msgid "To access your dashboard, you need to be logged in"
|
||||
msgstr ""
|
||||
|
||||
# src/routes/user.rs:158
|
||||
msgid "You are no longer following {}."
|
||||
msgstr ""
|
||||
|
||||
# src/routes/user.rs:174
|
||||
msgid "You are now following {}."
|
||||
msgstr ""
|
||||
|
||||
# src/routes/user.rs:244
|
||||
msgid "To subscribe to someone, you need to be logged in"
|
||||
msgstr ""
|
||||
@@ -132,6 +226,27 @@ msgstr ""
|
||||
msgid "To edit your profile, you need to be logged in"
|
||||
msgstr ""
|
||||
|
||||
# src/routes/user.rs:390
|
||||
msgid "Your profile have been updated."
|
||||
msgstr ""
|
||||
|
||||
# src/routes/user.rs:409
|
||||
msgid "Your account have been deleted."
|
||||
msgstr ""
|
||||
|
||||
# src/routes/user.rs:411
|
||||
msgid "You can't delete someone else's account."
|
||||
msgstr ""
|
||||
|
||||
# src/routes/user.rs:473
|
||||
msgid "Registrations are closed on this instance."
|
||||
msgstr ""
|
||||
|
||||
# src/routes/user.rs:491
|
||||
msgid ""
|
||||
"Your account have been created. You just need to login before you can use it."
|
||||
msgstr ""
|
||||
|
||||
msgid "Plume"
|
||||
msgstr ""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user