Index: trunk/extensions/Storyboard/Storyboard.i18n.php |
— | — | @@ -36,7 +36,7 @@ |
37 | 37 | 'storyboard-contact' => 'Your E-mail address or telephone number', |
38 | 38 | 'storyboard-agreement' => 'I agree with the publication of this story.', |
39 | 39 | 'storyboard-charsleft' => '($1 {{PLURAL:$1|character|characters}} left)', |
40 | | - 'storyboard-cannotbelonger' => 'Your story may not exceed $ characters!', |
| 40 | + 'storyboard-cannotbelonger' => 'Your story is <b>$1</b> {{PLURAL:$1|character|characters}} to long!', |
41 | 41 | 'storyboard-charsneeded' => '($1 more {{PLURAL:$1|character|characters}} needed)', |
42 | 42 | 'storyboard-needtoagree' => 'You need to agree to the publication of your story to submit it.' |
43 | 43 | ); |
Index: trunk/extensions/Storyboard/tags/Storysubmission/storysubmission.js |
— | — | @@ -17,8 +17,7 @@ |
18 | 18 | |
19 | 19 | if(textlength > upperLimit) { |
20 | 20 | info.innerHTML = 'Your story may not exceed ' + upperLimit + ' characters!'; // TODO: i18n |
21 | | - textarea.value = text.substr( 0, upperLimit ); |
22 | | - return true; |
| 21 | + return false; |
23 | 22 | } else if (textlength < lowerLimit) { |
24 | 23 | info.innerHTML = '('+ ( lowerLimit - textlength ) + ' more characters needed)'; // TODO: i18n |
25 | 24 | return false; |