Remove custom bookmarklet error message.
Flash error is shown on bookmarklet post error. On error, return post_something message to form
This commit is contained in:
parent
f130ab3842
commit
ad0982f35e
2 changed files with 2 additions and 2 deletions
|
|
@ -40,6 +40,6 @@ app.views.Bookmarklet = Backbone.View.extend({
|
||||||
},
|
},
|
||||||
|
|
||||||
_postError: function(evt) {
|
_postError: function(evt) {
|
||||||
this.$('h4').text(Diaspora.I18n.t('bookmarklet.post_error'));
|
this.$('h4').text(Diaspora.I18n.t('bookmarklet.post_something'));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -54,9 +54,9 @@ en:
|
||||||
add_option: "Add option"
|
add_option: "Add option"
|
||||||
question: "Question"
|
question: "Question"
|
||||||
bookmarklet:
|
bookmarklet:
|
||||||
|
post_something: "Post to diaspora*"
|
||||||
post_submit: "Submitting post..."
|
post_submit: "Submitting post..."
|
||||||
post_success: "Posted! Closing popup window..."
|
post_success: "Posted! Closing popup window..."
|
||||||
post_error: "An error occurred, try again later."
|
|
||||||
infinite_scroll:
|
infinite_scroll:
|
||||||
no_more: "No more posts."
|
no_more: "No more posts."
|
||||||
no_more_contacts: "No more contacts."
|
no_more_contacts: "No more contacts."
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue