diff options
author | Christoph (Sheogorath) Kern | 2017-12-12 10:39:49 +0100 |
---|---|---|
committer | GitHub | 2017-12-12 10:39:49 +0100 |
commit | b840c3fa5769d7cdd000d7d15d25696a404f4207 (patch) | |
tree | d9b12a324ceb69c0ca890bb366a5fe38bc54fc60 /public/js/lib/editor | |
parent | 74758723f9deed8218a6dec588724d722656f6fd (diff) | |
parent | b7e87f7767c5f5ecc5a736c6601fc05d42edf016 (diff) |
Merge pull request #609 from monoxane/master
Correcting grammatical errors related to the document char count tooltip
Diffstat (limited to 'public/js/lib/editor')
-rw-r--r-- | public/js/lib/editor/index.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/public/js/lib/editor/index.js b/public/js/lib/editor/index.js index 33c1e0d4..003b32b7 100644 --- a/public/js/lib/editor/index.js +++ b/public/js/lib/editor/index.js @@ -171,13 +171,13 @@ export default class Editor { this.statusLength.text('Length ' + docLength) if (docLength > (config.docmaxlength * 0.95)) { this.statusLength.css('color', 'red') - this.statusLength.attr('title', 'Your almost reach note max length limit.') + this.statusLength.attr('title', 'You have almost reached the limit for this document.') } else if (docLength > (config.docmaxlength * 0.8)) { this.statusLength.css('color', 'orange') - this.statusLength.attr('title', 'You nearly fill the note, consider to make more pieces.') + this.statusLength.attr('title', 'This document is nearly full, consider splitting it or creating a new one.') } else { this.statusLength.css('color', 'white') - this.statusLength.attr('title', 'You could write up to ' + config.docmaxlength + ' characters in this note.') + this.statusLength.attr('title', 'You can write up to ' + config.docmaxlength + ' characters in this document.') } } |