mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
correctly detect -ise suffix at end of word only
...in translation linting rule
This commit is contained in:
parent
b069164fbf
commit
f2950efca6
@ -34,7 +34,7 @@ var special_rules = {};
|
||||
|
||||
special_rules.en = function (s) {
|
||||
// Prefer the american -ize suffix for verbs rather than -ise
|
||||
return /[^w]ise/.test(s);
|
||||
return /[^w]ise(\s|$)/.test(s);
|
||||
};
|
||||
|
||||
special_rules.fr = function (s) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user