summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/drupal.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/drupal.js b/misc/drupal.js
index c2e862435..01c159649 100644
--- a/misc/drupal.js
+++ b/misc/drupal.js
@@ -149,7 +149,7 @@ Drupal.t = function(str, args) {
* A translated string.
*/
Drupal.formatPlural = function(count, singular, plural, args) {
- var args = ars || {};
+ var args = args || {};
args['@count'] = count;
// Determine the index of the plural form.
var index = Drupal.locale.pluralFormula ? Drupal.locale.pluralFormula(args['@count']) : ((args['@count'] == 1) ? 0 : 1);