From eee70fd9af5a97149513cc434d06a22b78f4196e Mon Sep 17 00:00:00 2001 From: Bart Pelle Date: Thu, 20 Aug 2015 09:21:52 +0200 Subject: [PATCH] Fix improper grammar in Dutch i18n file Grammar is incorrect when maximum is 1, 'kunnen' should be 'kan' in that case. --- src/js/select2/i18n/nl.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/js/select2/i18n/nl.js b/src/js/select2/i18n/nl.js index 04d10dc9..e8c016ad 100644 --- a/src/js/select2/i18n/nl.js +++ b/src/js/select2/i18n/nl.js @@ -23,7 +23,8 @@ define(function () { return 'Meer resultaten laden…'; }, maximumSelected: function (args) { - var message = 'Er kunnen maar ' + args.maximum + ' item'; + var verb = args.maximum == 1 ? 'kan' : 'kunnen'; + var message = 'Er ' + verb + ' maar ' + args.maximum + ' item'; if (args.maximum != 1) { message += 's';