

(function(globals) {

  var django = globals.django || (globals.django = {});

  
  django.pluralidx = function(n) {
    var v=(n != 1);
    if (typeof(v) == 'boolean') {
      return v ? 1 : 0;
    } else {
      return v;
    }
  };
  

  /* gettext library */

  django.catalog = django.catalog || {};
  
  var newcatalog = {
    "* This field is required.": "* This field is required.",
    "ADDRESS": "ADDRESS",
    "Add My School": "Add My School",
    "Address": "Address",
    "Allow": "Allow",
    "Browse": "Browse",
    "By registering you agree to our": "By registering you agree to our",
    "By sending request, you agree to our": "By sending request, you agree to our",
    "CITY": "CITY",
    "Can't find your school?": "Can't find your school?",
    "Cancel": "Cancel",
    "Change country": "Change country",
    "Choose Grade": "Choose Grade",
    "Choose a Grade": "Choose a Grade",
    "Choose your country": "Choose your country",
    "Choose your language": "Choose your language",
    "City": "City",
    "Continue with website": "Continue with website",
    "Country": "Country",
    "Device": "Device",
    "Do you know the student's username?": "Do you know the student's username?",
    "Download Optional Template": "Download Optional Template",
    "EMAIL": "EMAIL",
    "Email": "Email",
    "Email Address": "Email Address",
    "Email address is required.": "Email address is required.",
    "Explore Activities": "Explore Activities",
    "Explore Full Program": "Explore Full Program",
    "FIRST NAME": "FIRST NAME",
    "Find your school by name...": "Find your school by name...",
    "First Name": "First Name",
    "First name is required.": "First name is required.",
    "General enquiries": "General enquiries",
    "Get Directions": "Get Directions",
    "Get in touch": "Get in touch",
    "How can we help you?": "How can we help you?",
    "Invalid email address - please check format (e.g. name@example.com)": "Invalid email address - please check format (e.g. name@example.com)",
    "Invalid email address.": "Invalid email address.",
    "Invalid file extension.": "Invalid file extension.",
    "Invalid input.": "Invalid input.",
    "Invalid phone number": "Invalid phone number",
    "Invalid phone number.": "Invalid phone number.",
    "LAST NAME": "LAST NAME",
    "Last Name": "Last Name",
    "Last name is required.": "Last name is required.",
    "Later": "Later",
    "Matific has mobile apps": "Matific has mobile apps",
    "Maximum file size allowed is 500KB": "Maximum file size allowed is 500KB",
    "Message": "Message",
    "Message is required.": "Message is required.",
    "Name": "Name",
    "Name contains invalid characters.": "Name contains invalid characters.",
    "Not listed? Enter manually": "Not listed? Enter manually",
    "Our offices": "Our offices",
    "PHONE": "PHONE",
    "POSTCODE": "POSTCODE",
    "Parents, start here": "Parents, start here",
    "Phone": "Phone",
    "Phone is required.": "Phone is required.",
    "Please Select": "Please Select",
    "Please Select jpg or png File": "Please Select jpg or png File",
    "Please agree to our Terms of Use and Privacy Policy": "Please agree to our Terms of Use and Privacy Policy",
    "Please agree to our Terms of Use and Privacy Policy.": "Please agree to our Terms of Use and Privacy Policy.",
    "Please fill in all required fields": "Please fill in all required fields",
    "Postcode": "Postcode",
    "Privacy Policy": "Privacy Policy",
    "ROLE AT SCHOOL": "ROLE AT SCHOOL",
    "Read our cookie declaration": "Read our cookie declaration",
    "Register Now": "Register Now",
    "Role at School": "Role at School",
    "Role at school is required.": "Role at school is required.",
    "SCHOOL CODE (Optional)": "SCHOOL CODE (Optional)",
    "SCHOOL NAME": "SCHOOL NAME",
    "SCHOOL TYPE": "SCHOOL TYPE",
    "SIGN IN": "SIGN IN",
    "STATE": "STATE",
    "Sales enquiries": "Sales enquiries",
    "School Code (Optional)": "School Code (Optional)",
    "School Name": "School Name",
    "School Type": "School Type",
    "School type is required.": "School type is required.",
    "School/Company": "School/Company",
    "Schools, start here": "Schools, start here",
    "Select Country": "Select Country",
    "Select State": "Select State",
    "Send Enquiry": "Send Enquiry",
    "Send Request": "Send Request",
    "Share a screenshot if you like": "Share a screenshot if you like",
    "Sign up to receive emails with product updates, special offers and other services that may be of interest to you. You can unsubscribe at any time.": "Sign up to receive emails with product updates, special offers and other services that may be of interest to you. You can unsubscribe at any time.",
    "State": "State",
    "State/Province": "State/Province",
    "Student app": "Student app",
    "Student list is required.": "Student list is required.",
    "Submit": "Submit",
    "Support enquiries": "Support enquiries",
    "Teacher app": "Teacher app",
    "Tell us what\u2019s on your mind...": "Tell us what\u2019s on your mind...",
    "Terms of Use": "Terms of Use",
    "The K - 6 Matific Program": "The K - 6 Matific Program",
    "The Matific website will still work on this device, everything will just be a little bit small. We recommend using our apps for mobile devices.": "The Matific website will still work on this device, everything will just be a little bit small. We recommend using our apps for mobile devices.",
    "The file you select must be less than 0.5MB": "The file you select must be less than 0.5MB",
    "There was an error in the submission of the registration form. Please contact us at support@matific.com.": "There was an error in the submission of the registration form. Please contact us at support@matific.com.",
    "This field is required.": "This field is required.",
    "This is optional. If you don't know it, no problem.": "This is optional. If you don't know it, no problem.",
    "This website uses cookies": "This website uses cookies",
    "Try some activities": "Try some activities",
    "Try some of our maths activities for...": "Try some of our math activities for...",
    "Type your School's name": "Type your School's name",
    "Type your best contact number": "Type your best contact number",
    "Type your email address": "Type your email address",
    "Type your name": "Type your name",
    "Upload Student List": "Upload Student List",
    "We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you\u2019ve provided to them or that they\u2019ve collected from your use of their services. You consent to our cookies if you continue to use our website.": "We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you\u2019ve provided to them or that they\u2019ve collected from your use of their services. You consent to our cookies if you continue to use our website.",
    "You must not select an executable file": "You must not select an executable file",
    "Your Name": "Your Name",
    "Your School": "Your School",
    "Your name is required.": "Your name is required.",
    "Your school is required.": "Your school is required.",
    "and": "and",
    "is required": "is required",
    "\u00a9 %(currentYear)s Matific. All Rights Reserved.": "\u00a9 %(currentYear)s Matific. All Rights Reserved."
  };
  for (var key in newcatalog) {
    django.catalog[key] = newcatalog[key];
  }
  

  if (!django.jsi18n_initialized) {
    django.gettext = function(msgid) {
      var value = django.catalog[msgid];
      if (typeof(value) == 'undefined') {
        return msgid;
      } else {
        return (typeof(value) == 'string') ? value : value[0];
      }
    };

    django.ngettext = function(singular, plural, count) {
      var value = django.catalog[singular];
      if (typeof(value) == 'undefined') {
        return (count == 1) ? singular : plural;
      } else {
        return value[django.pluralidx(count)];
      }
    };

    django.gettext_noop = function(msgid) { return msgid; };

    django.pgettext = function(context, msgid) {
      var value = django.gettext(context + '\x04' + msgid);
      if (value.indexOf('\x04') != -1) {
        value = msgid;
      }
      return value;
    };

    django.npgettext = function(context, singular, plural, count) {
      var value = django.ngettext(context + '\x04' + singular, context + '\x04' + plural, count);
      if (value.indexOf('\x04') != -1) {
        value = django.ngettext(singular, plural, count);
      }
      return value;
    };

    django.interpolate = function(fmt, obj, named) {
      if (named) {
        return fmt.replace(/%\(\w+\)s/g, function(match){return String(obj[match.slice(2,-2)])});
      } else {
        return fmt.replace(/%s/g, function(match){return String(obj.shift())});
      }
    };


    /* formatting library */

    django.formats = {
    "DATETIME_FORMAT": "N j, Y, P",
    "DATETIME_INPUT_FORMATS": [
      "%Y-%m-%d %H:%M:%S",
      "%Y-%m-%d %H:%M:%S.%f",
      "%Y-%m-%d %H:%M",
      "%Y-%m-%d",
      "%m/%d/%Y %H:%M:%S",
      "%m/%d/%Y %H:%M:%S.%f",
      "%m/%d/%Y %H:%M",
      "%m/%d/%Y",
      "%m/%d/%y %H:%M:%S",
      "%m/%d/%y %H:%M:%S.%f",
      "%m/%d/%y %H:%M",
      "%m/%d/%y"
    ],
    "DATE_FORMAT": "N j, Y",
    "DATE_INPUT_FORMATS": [
      "%Y-%m-%d",
      "%m/%d/%Y",
      "%m/%d/%y"
    ],
    "DECIMAL_SEPARATOR": ".",
    "FIRST_DAY_OF_WEEK": "0",
    "MONTH_DAY_FORMAT": "F j",
    "NUMBER_GROUPING": "3",
    "SHORT_DATETIME_FORMAT": "m/d/Y P",
    "SHORT_DATE_FORMAT": "m/d/Y",
    "THOUSAND_SEPARATOR": ",",
    "TIME_FORMAT": "P",
    "TIME_INPUT_FORMATS": [
      "%H:%M:%S",
      "%H:%M:%S.%f",
      "%H:%M"
    ],
    "YEAR_MONTH_FORMAT": "F Y"
  };

    django.get_format = function(format_type) {
      var value = django.formats[format_type];
      if (typeof(value) == 'undefined') {
        return format_type;
      } else {
        return value;
      }
    };

    /* add to global namespace */
    globals.pluralidx = django.pluralidx;
    globals.gettext = django.gettext;
    globals.ngettext = django.ngettext;
    globals.gettext_noop = django.gettext_noop;
    globals.pgettext = django.pgettext;
    globals.npgettext = django.npgettext;
    globals.interpolate = django.interpolate;
    globals.get_format = django.get_format;

    django.jsi18n_initialized = true;
  }

}(this));

