Skip to content

Commit c63ba46

Browse files
authored
Merge pull request ninenine#35 from ariastel/update
Textarea, russian translation
2 parents 5f461cc + 9b0d87e commit c63ba46

3 files changed

Lines changed: 9 additions & 4 deletions

File tree

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ var Beep = {
4646
Beep.banned_words_raw = hash.id;
4747
} else {
4848
Beep.banned_words = Beep.toRegExp(defaultBanList, true);
49-
Beep.banned_words_raw = defaultBanList.join(',');
49+
Beep.banned_words_raw = defaultBanList.join(', ');
5050
winston.info('Default list of Banned Words is enabled. Please go to administration panel to change the list.');
5151
}
5252

languages/ru/beep.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"titleMatch.error": "Запрещено использовать слово \"%1\" в заголовке.",
3+
"contentMatch.error": "Запрещено использовать слово \"%1\" в сообщениях.",
4+
"tagMatch.error": "Запрещено использовать слово \"%1\" в тегах."
5+
}

public/templates/admin/plugins/beep.tpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<fieldset>
88
<div class="form-group">
99
<label for="illegal"><i>comma-separated</i> list of Illegal Words (post will not be allowed)</label>
10-
<input type="text" class="form-control" id="illegal" name="illegal" placeholder="eg. anal,anus,arse,ass,ballsack" value="" />
10+
<textarea class="form-control" id="illegal" name="illegal" placeholder="eg. anal, anus, arse, ass, ballsack"></textarea>
1111
</div>
1212
</fieldset>
1313
</div>
@@ -18,7 +18,7 @@
1818
<fieldset>
1919
<div class="form-group">
2020
<label for="id"><i>comma-separated</i> list of Banned Words (post will be censored with asterisks)</label>
21-
<input type="text" class="form-control" id="id" name="id" placeholder="eg. anal,anus,arse,ass,ballsack" value="anal,anus,arse,ass,ballsack,balls,bastard,bitch,biatch,bloody,blowjob,blow job,bollock,bollok,boner,boob,bugger,bum,butt,buttplug,clitoris,cock,coon,crap,cunt,damn,dick,dildo,dyke,fag,feck,fellate,fellatio,felching,fuck,f u c k,fudgepacker,fudge packer,flange,homo,jerk,jizz,knobend,knob end,labia,muff,nigger,nigga,penis,piss,poop,prick,pube,pussy,queer,sex,shit,s hit,sh1t,slut,smegma,spunk,tit,tosser,turd,twat,vagina,wank,whore" />
21+
<textarea class="form-control" id="id" name="id" placeholder="eg. anal, anus, arse, ass, ballsack">anal, anus, arse, ass, ballsack, balls, bastard, bitch, biatch, bloody, blowjob, blow job, bollock, bollok, boner, boob, bugger, bum, butt, buttplug, clitoris, cock, coon, crap, cunt, damn, dick, dildo, dyke, fag, feck, fellate, fellatio, felching, fuck, f u c k, fudgepacker, fudge packer, flange, homo, jerk, jizz, knobend, knob end, labia, muff, nigger, nigga, penis, piss, poop, prick, pube, pussy, queer, sex, shit, s hit, sh1t, slut, smegma, spunk, tit, tosser, turd, twat, vagina, wank, whore</textarea>
2222
</div>
2323
</fieldset>
2424
</div>
@@ -31,7 +31,7 @@
3131

3232
<div class="form-group">
3333
<label for="urls"><i>comma-separated</i> list of Banned URLs (link will be shown as [link removed])</label>
34-
<input type="text" class="form-control" id="urls" name="urls" placeholder="eg. google.com,yahoo.com" value="" />
34+
<textarea class="form-control" id="urls" name="urls" placeholder="eg. google.com, yahoo.com"></textarea>
3535
</div>
3636

3737
</fieldset>

0 commit comments

Comments
 (0)