// ** I18N

// Calendar EN language
// Author: Mihai Bazon, <mishoo@infoiasi.ro>
// Encoding: any
// Distributed under the same terms as the calendar itself.

// For translators: please use UTF-8 if possible.  We strongly believe that
// Unicode is the answer to a real internationalized world.  Also please
// include your contact information in the header, as can be seen above.

var div = Calendar.createElement("div");
function getValue(str){
  if(div){
    div.innerHTML = str;
    return div.innerHTML;
  }
  return str;
}

// full day names
Calendar._DN = new Array
(getValue("&#1575;&#1604;&#1571;&#1581;&#1583;"),
 getValue("&#1575;&#1604;&#1573;&#1579;&#1606;&#1610;&#1606;"),
 getValue("&#1575;&#1604;&#1579;&#1604;&#1575;&#1579;&#1575;&#1569;"),
 getValue("&#1575;&#1604;&#1573;&#1585;&#1576;&#1593;&#1575;&#1569;"),
 getValue("&#1575;&#1604;&#1582;&#1605;&#1610;&#1587;"),
 getValue("&#1575;&#1604;&#1580;&#1605;&#1593;&#1577;"),
 getValue("&#1575;&#1604;&#1587;&#1576;&#1578;"),
 getValue("&#1575;&#1604;&#1571;&#1581;&#1583;"));

// Please note that the following array of short day names (and the same goes
// for short month names, _SMN) isn't absolutely necessary.  We give it here
// for exemplification on how one can customize the short day names, but if
// they are simply the first N letters of the full name you can simply say:
//
//   Calendar._SDN_len = N; // short day name length
//   Calendar._SMN_len = N; // short month name length
//
// If N = 3 then this is not needed either since we assume a value of 3 if not
// present, to be compatible with translation files that were written before
// this feature.

// short day names
Calendar._SDN = new Array
(getValue("&#1575;&#1604;&#1571;&#1581;&#1583;"),
 getValue("&#1575;&#1604;&#1573;&#1579;&#1606;&#1610;&#1606;"),
 getValue("&#1575;&#1604;&#1579;&#1604;&#1575;&#1579;&#1575;&#1569;"),
 getValue("&#1575;&#1604;&#1573;&#1585;&#1576;&#1593;&#1575;&#1569;"),
 getValue("&#1575;&#1604;&#1582;&#1605;&#1610;&#1587;"),
 getValue("&#1575;&#1604;&#1580;&#1605;&#1593;&#1577;"),
 getValue("&#1575;&#1604;&#1587;&#1576;&#1578;"),
 getValue("&#1575;&#1604;&#1571;&#1581;&#1583;"));

// full month names
Calendar._MN = new Array
(getValue("&#1580;&#1575;&#1606;&#1601;&#1610;"),
 getValue("&#1601;&#1610;&#1601;&#1585;&#1610;"),
 getValue("&#1605;&#1575;&#1585;&#1587;"),
 getValue("&#1571;&#1601;&#1585;&#1610;&#1604;"),
 getValue("&#1605;&#1575;&#1610;"),
 getValue("&#1580;&#1608;&#1575;&#1606;"),
 getValue("&#1580;&#1608;&#1610;&#1604;&#1610;&#1577;"),
 getValue("&#1571;&#1608;&#1578;"),
 getValue("&#1587;&#1576;&#1578;&#1605;&#1576;&#1585;"),
 getValue("&#1571;&#1603;&#1578;&#1608;&#1576;&#1585;"),
 getValue("&#1606;&#1608;&#1601;&#1605;&#1576;&#1585;"),
 getValue("&#1583;&#1610;&#1587;&#1605;&#1576;&#1585;"));

// short month names
Calendar._SMN = new Array
(getValue("&#1580;&#1575;&#1606;&#1601;&#1610;"),
 getValue("&#1601;&#1610;&#1601;&#1585;&#1610;"),
 getValue("&#1605;&#1575;&#1585;&#1587;"),
 getValue("&#1571;&#1601;&#1585;&#1610;&#1604;"),
 getValue("&#1605;&#1575;&#1610;"),
 getValue("&#1580;&#1608;&#1575;&#1606;"),
 getValue("&#1580;&#1608;&#1610;&#1604;&#1610;&#1577;"),
 getValue("&#1571;&#1608;&#1578;"),
 getValue("&#1587;&#1576;&#1578;&#1605;&#1576;&#1585;"),
 getValue("&#1571;&#1603;&#1578;&#1608;&#1576;&#1585;"),
 getValue("&#1606;&#1608;&#1601;&#1605;&#1576;&#1585;"),
 getValue("&#1583;&#1610;&#1587;&#1605;&#1576;&#1585;"));

// tooltips
Calendar._TT = {};
Calendar._TT["INFO"] = getValue("&#1581;&#1608;&#1604; &#1575;&#1604;&#1610;&#1608;&#1605;&#1610;&#1577;");

Calendar._TT["ABOUT"] =
getValue("Date selection:\n") +
getValue("- Use the \xab, \xbb buttons to select year\n") +
getValue("- Use the " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " buttons to select month\n") +
getValue("- Hold mouse button on any of the above buttons for faster selection.");

Calendar._TT["ABOUT_TIME"] = "\n\n" +
getValue("Time selection:\n") +
getValue("- Click on any of the time parts to increase it\n") +
getValue("- or Shift-click to decrease it\n") +
getValue("- or click and drag for faster selection.");

Calendar._TT["PREV_YEAR"] = getValue("&#1575;&#1604;&#1587;&#1606;&#1577; &#1575;&#1604;&#1587;&#1575;&#1576;&#1602;&#1577; (&#1573;&#1590;&#1594;&#1591; &#1593;&#1604;&#1609; &#1602;&#1575;&#1574;&#1605;&#1577; &#1575;&#1604;&#1573;&#1582;&#1578;&#1610;&#1575;&#1585;&#1575;&#1578;)");
Calendar._TT["PREV_MONTH"] = getValue("&#1575;&#1604;&#1588;&#1607;&#1585; &#1575;&#1604;&#1587;&#1575;&#1576;&#1602; (&#1573;&#1590;&#1594;&#1591; &#1593;&#1604;&#1609; &#1602;&#1575;&#1574;&#1605;&#1577; &#1575;&#1604;&#1573;&#1582;&#1578;&#1610;&#1575;&#1585;&#1575;&#1578;)");
Calendar._TT["GO_TODAY"] = getValue("&#1573;&#1584;&#1607;&#1576; &#1573;&#1604;&#1609; &#1607;&#1584;&#1575; &#1575;&#1604;&#1610;&#1608;&#1605;");
Calendar._TT["NEXT_MONTH"] = getValue("&#1575;&#1604;&#1588;&#1607;&#1585; &#1575;&#1604;&#1578;&#1575;&#1604;&#1610; (&#1573;&#1590;&#1594;&#1591; &#1593;&#1604;&#1609; &#1602;&#1575;&#1574;&#1605;&#1577; &#1575;&#1604;&#1573;&#1582;&#1578;&#1610;&#1575;&#1585;&#1575;&#1578;)");
Calendar._TT["NEXT_YEAR"] = getValue("&#1575;&#1604;&#1587;&#1606;&#1577; &#1575;&#1604;&#1578;&#1575;&#1604;&#1610;&#1577; (&#1573;&#1590;&#1594;&#1591; &#1593;&#1604;&#1609; &#1602;&#1575;&#1574;&#1605;&#1577; &#1575;&#1604;&#1573;&#1582;&#1610;&#1575;&#1585;&#1575;&#1578;)");
Calendar._TT["SEL_DATE"] = getValue("&#1573;&#1582;&#1578;&#1610;&#1575;&#1585; &#1575;&#1604;&#1610;&#1608;&#1605;");
Calendar._TT["DRAG_TO_MOVE"] = getValue("Drag to move");
Calendar._TT["PART_TODAY"] = getValue(" (&#1607;&#1584;&#1575; &#1575;&#1604;&#1610;&#1608;&#1605;)");

// the following is to inform that "%s" is to be the first day of week
// %s will be replaced with the day name.
Calendar._TT["DAY_FIRST"] = getValue("Display %s first");

// This may be locale-dependent.  It specifies the week-end days, as an array
// of comma-separated numbers.  The numbers are from 0 to 6: 0 means Sunday, 1
// means Monday, etc.
Calendar._TT["WEEKEND"] = "0,6";

Calendar._TT["CLOSE"] = getValue("&#1573;&#1594;&#1604;&#1575;&#1602;");
Calendar._TT["TODAY"] = getValue("&#1607;&#1584;&#1575; &#1575;&#1604;&#1610;&#1608;&#1605;");
Calendar._TT["TIME_PART"] = getValue("(Shift-)Click or drag to change value");

// date formats
Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d";
Calendar._TT["TT_DATE_FORMAT"] = "%a, %b %e";

Calendar._TT["WK"] = getValue("&#1575;&#1604;&#1571;&#1587;&#1576;&#1608;&#1593;");
Calendar._TT["TIME"] = getValue("&#1575;&#1604;&#1608;&#1602;&#1578; :");
