diff --git a/scope/pluralise.js b/scope/pluralise.js index 75d8828..b0a32ae 100644 --- a/scope/pluralise.js +++ b/scope/pluralise.js @@ -1,9 +1,8 @@ -export default function pluralise(str1, str2, lang, value) { +export default function pluralise(value, str1, str2, lang) { if (typeof value !== 'number') { return; } - // TODO: We could get lang from the closest parent with lang - + // TODO: We could get lang from the closest parent with lang? str1 = str1 || ''; str2 = str2 || 's';