correctly detect -ise suffix at end of word only

...in translation linting rule
pull/1/head^2
ansuz 3 years ago
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…
Cancel
Save