瀏覽代碼

Add threadLocked error

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

+ 1 - 0
lib/errors.js

@@ -10,6 +10,7 @@ let Errors = {
 	noSettings: 'You haven\'t added any settings yet',
 	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',
 	invalidParameter (param, message) {
 		if(message) {
 			var punctuatedMessage = ': ' + message