Skip to content

Commit b840c3f

Browse files
authored
Merge pull request #609 from monoxane/master
Correcting grammatical errors related to the document char count tooltip
2 parents 7475872 + b7e87f7 commit b840c3f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

public/js/lib/editor/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,13 +171,13 @@ export default class Editor {
171171
this.statusLength.text('Length ' + docLength)
172172
if (docLength > (config.docmaxlength * 0.95)) {
173173
this.statusLength.css('color', 'red')
174-
this.statusLength.attr('title', 'Your almost reach note max length limit.')
174+
this.statusLength.attr('title', 'You have almost reached the limit for this document.')
175175
} else if (docLength > (config.docmaxlength * 0.8)) {
176176
this.statusLength.css('color', 'orange')
177-
this.statusLength.attr('title', 'You nearly fill the note, consider to make more pieces.')
177+
this.statusLength.attr('title', 'This document is nearly full, consider splitting it or creating a new one.')
178178
} else {
179179
this.statusLength.css('color', 'white')
180-
this.statusLength.attr('title', 'You could write up to ' + config.docmaxlength + ' characters in this note.')
180+
this.statusLength.attr('title', 'You can write up to ' + config.docmaxlength + ' characters in this document.')
181181
}
182182
}
183183

0 commit comments

Comments
 (0)