瀏覽代碼

Add postRemoved error

sbkwgh 8 年之前
父節點
當前提交
4ff67cba08
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      lib/errors.js

+ 1 - 0
lib/errors.js

@@ -11,6 +11,7 @@ let Errors = {
 	passwordSame: 'You can\'t set it to the same password',
 	cannotLikeOwnPost: 'You can\'t like your own post',
 	threadLocked: 'You can\'t post to a locked thread',
+	postRemoved: 'You can\'t reply to a removed post',
 	invalidParameter (param, message) {
 		if(message) {
 			var punctuatedMessage = ': ' + message