/* gettext library */

var catalog = new Array();

function pluralidx(count) { return (count == 1) ? 0 : 1; }
catalog['6 a.m.'] = '\u06f6 \u0635\u0628\u062d';
catalog['Add'] = '\u0627\u0636\u0627\u0641\u0647 \u06a9\u0631\u062f\u0646';
catalog['Available %s'] = '%s \u0645\u0648\u062c\u0648\u062f';
catalog['Calendar'] = '\u062a\u0642\u0648\u06cc\u0645';
catalog['Cancel'] = '\u0627\u0646\u0635\u0631\u0627\u0641';
catalog['Choose a time'] = '\u06cc\u06a9 \u0632\u0645\u0627\u0646 \u0627\u0646\u062a\u062e\u0627\u0628 \u06a9\u0646\u06cc\u062f';
catalog['Choose all'] = '\u0627\u0646\u062a\u062e\u0627\u0628 \u0647\u0645\u0647';
catalog['Chosen %s'] = '%s \u0627\u0646\u062a\u062e\u0627\u0628 \u0634\u062f\u0647';
catalog['Clear all'] = '\u067e\u0627\u06a9 \u06a9\u0631\u062f\u0646 \u0647\u0645\u0647';
catalog['Clock'] = '\u0633\u0627\u0639\u062a';
catalog['Hide'] = '\u067e\u0646\u0647\u0627\u0646 \u06a9\u0631\u062f\u0646';
catalog['January February March April May June July August September October November December'] = '\u0698\u0627\u0646\u0648\u06cc\u0647 \u0641\u0648\u0631\u06cc\u0647 \u0645\u0627\u0631\u0633 \u0622\u0648\u0631\u06cc\u0644 \u0645\u0647 \u0698\u0648\u0626\u0646 \u0698\u0648\u0626\u06cc\u0647 \u0627\u0648\u062a \u0633\u067e\u062a\u0627\u0645\u0628\u0631 \u0627\u06a9\u062a\u0628\u0631 \u0646\u0648\u0627\u0645\u0628\u0631 \u062f\u0633\u0627\u0645\u0628\u0631';
catalog['Midnight'] = '\u0646\u06cc\u0645\u0647\u200c\u0634\u0628';
catalog['Noon'] = '\u0638\u0647\u0631';
catalog['Now'] = '\u062d\u0627\u0644\u0627';
catalog['Remove'] = '\u062d\u0630\u0641';
catalog['S M T W T F S'] = '\u06cc\u06a9\u0634\u0646\u0628\u0647 \u062f\u0648\u0634\u0646\u0628\u0647 \u0633\u0647\u200c\u0634\u0646\u0628\u0647 \u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647 \u067e\u0646\u062c\u0634\u0646\u0628\u0647 \u062c\u0645\u0639\u0647 \u0634\u0646\u0628\u0647';
catalog['Select your choice(s) and click '] = '\u0645\u0648\u0627\u0631\u062f \u0645\u0648\u0631\u062f \u0646\u0638\u0631 \u0631\u0627 \u0627\u0646\u062a\u062e\u0627\u0628 \u06a9\u0631\u062f\u0647 \u0648 \u06a9\u0644\u06cc\u06a9 \u06a9\u0646\u06cc\u062f ';
catalog['Show'] = '\u0646\u0645\u0627\u06cc\u0634';
catalog['Sunday Monday Tuesday Wednesday Thursday Friday Saturday'] = '\u06cc\u06a9\u0634\u0646\u0628\u0647 \u062f\u0648\u0634\u0646\u0628\u0647 \u0633\u0647\u200c\u0634\u0646\u0628\u0647 \u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647 \u067e\u0646\u062c\u0634\u0646\u0628\u0647 \u062c\u0645\u0639\u0647 \u0634\u0646\u0628\u0647';
catalog['Today'] = '\u0627\u0645\u0631\u0648\u0632';
catalog['Tomorrow'] = '\u0641\u0631\u062f\u0627';
catalog['Yesterday'] = '\u062f\u06cc\u0631\u0648\u0632';


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

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

function gettext_noop(msgid) { return msgid; }


function interpolate(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 */

var formats = new Array();

formats['DATETIME_FORMAT'] = 'j F Y\u060c \u0633\u0627\u0639\u062a G:i:s';
formats['DATE_FORMAT'] = 'j F Y';
formats['DECIMAL_SEPARATOR'] = ',';
formats['MONTH_DAY_FORMAT'] = 'j F';
formats['NUMBER_GROUPING'] = '0';
formats['TIME_FORMAT'] = 'G:i:s';
formats['FIRST_DAY_OF_WEEK'] = '0';
formats['TIME_INPUT_FORMATS'] = ['%H:%M:%S', '%H:%M'];
formats['THOUSAND_SEPARATOR'] = '.';
formats['DATE_INPUT_FORMATS'] = ['%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y'];
formats['YEAR_MONTH_FORMAT'] = 'F Y';
formats['SHORT_DATE_FORMAT'] = 'Y/n/j';
formats['SHORT_DATETIME_FORMAT'] = 'Y/n/j\u060c\u200f G:i:s';
formats['DATETIME_INPUT_FORMATS'] = ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M', '%m/%d/%y'];

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

