mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
Fix #1204 #407 display more helpful error message when a post cannot be upvoted/downvoted/reported for whatever reason
This commit is contained in:
parent
a6f918fbf9
commit
3c415e18d5
4 changed files with 34 additions and 19 deletions
|
|
@ -281,11 +281,18 @@ $lang->fail_to_registed = 'Failed to register.';
|
|||
$lang->fail_to_update = 'Fail to update.';
|
||||
$lang->fail_to_delete = 'Failed to delete.';
|
||||
$lang->fail_to_move = 'Failed to move.';
|
||||
$lang->failed_voted = 'No permission to upvote.';
|
||||
$lang->failed_voted = 'No permission to upvote this post.';
|
||||
$lang->failed_voted_already = 'You have already voted on this post.';
|
||||
$lang->failed_voted_self = 'You cannot upvote your own post.';
|
||||
$lang->failed_voted_canceled = 'You cannot cancel an upvote that you did\'t make.';
|
||||
$lang->failed_blamed = 'No permission to downvote.';
|
||||
$lang->failed_voted_cancel = 'You cannot cancel an upvote.';
|
||||
$lang->failed_blamed = 'No permission to downvote this post.';
|
||||
$lang->failed_blamed_self = 'You cannot downvote your own post.';
|
||||
$lang->failed_blamed_canceled = 'You cannot cancel a downvote that you did\'t make.';
|
||||
$lang->failed_declared = 'No permission to Report.';
|
||||
$lang->failed_blamed_cancel = 'You cannot cancel a downvote.';
|
||||
$lang->failed_declared = 'No permission to report this post.';
|
||||
$lang->failed_declared_already = 'You have already reported this post.';
|
||||
$lang->failed_declared_self = 'You cannot report your own post.';
|
||||
$lang->failed_declared_cancel = 'You cannot cancel the report.';
|
||||
$lang->fail_to_delete_have_children = 'Cannot delete the article with comments.';
|
||||
$lang->confirm_submit = 'Are you sure you want to submit?';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue