security fix in master branch
[openemr.git] / library / dynarch_calendar_en.inc.php
blob307acac8613e14c24267ff95534b2392e3b5a9b4
1 <?php
2 /**
3 * Generated DocBlock
5 * @package OpenEMR
6 * @link http://www.open-emr.org
7 * @author bradymiller <bradymiller>
8 * @author matrix-amiel <amielel@matrix.co.il>
9 * @author bradymiller <bradymiller>
10 * @author Robert Down <robertdown@live.com>
11 * @author Mihai Bazon <mihai_bazon@yahoo.com>
12 * @copyright Copyright (c) 2010 bradymiller <bradymiller>
13 * @copyright Copyright (c) 2016 matrix-amiel <amielel@matrix.co.il>
14 * @copyright Copyright (c) 2010 bradymiller <bradymiller>
15 * @copyright Copyright (c) 2017 Robert Down <robertdown@live.com>
16 * @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License 3
19 <script type="text/javascript">
20 // ** I18N
21 // Calendar EN language
22 // Author: Mihai Bazon, <mihai_bazon@yahoo.com>
23 // Encoding: any
24 // Distributed under the same terms as the calendar itself.
26 // For translators: please use UTF-8 if possible. We strongly believe that
27 // Unicode is the answer to a real internationalized world. Also please
28 // include your contact information in the header, as can be seen above.
30 // full day names
31 Calendar._DN = new Array
32 ("<?php xl("Sunday", "e"); ?>",
33 "<?php xl("Monday", "e"); ?>",
34 "<?php xl("Tuesday", "e"); ?>",
35 "<?php xl("Wednesday", "e"); ?>",
36 "<?php xl("Thursday", "e"); ?>",
37 "<?php xl("Friday", "e"); ?>",
38 "<?php xl("Saturday", "e"); ?>",
39 "<?php xl("Sunday", "e"); ?>");
41 // Please note that the following array of short day names (and the same goes
42 // for short month names, _SMN) isn't absolutely necessary. We give it here
43 // for exemplification on how one can customize the short day names, but if
44 // they are simply the first N letters of the full name you can simply say:
46 // Calendar._SDN_len = N; // short day name length
47 // Calendar._SMN_len = N; // short month name length
49 // If N = 3 then this is not needed either since we assume a value of 3 if not
50 // present, to be compatible with translation files that were written before
51 // this feature.
53 // short day names
54 Calendar._SDN = new Array
55 ("<?php xl("Sun", "e"); ?>",
56 "<?php xl("Mon", "e"); ?>",
57 "<?php xl("Tue", "e"); ?>",
58 "<?php xl("Wed", "e"); ?>",
59 "<?php xl("Thu", "e"); ?>",
60 "<?php xl("Fri", "e"); ?>",
61 "<?php xl("Sat", "e"); ?>",
62 "<?php xl("Sun", "e"); ?>");
64 // First day of the week. "0" means display Sunday first, "1" means display
65 // Monday first, etc.
66 Calendar._FD = <?php echo $GLOBALS['first_day_week']; ?>
68 // full month names
69 Calendar._MN = new Array
70 ("<?php xl("January", "e"); ?>",
71 "<?php xl("February", "e"); ?>",
72 "<?php xl("March", "e"); ?>",
73 "<?php xl("April", "e"); ?>",
74 "<?php xl("May", "e"); ?>",
75 "<?php xl("June", "e"); ?>",
76 "<?php xl("July", "e"); ?>",
77 "<?php xl("August", "e"); ?>",
78 "<?php xl("September", "e"); ?>",
79 "<?php xl("October", "e"); ?>",
80 "<?php xl("November", "e"); ?>",
81 "<?php xl("December", "e"); ?>");
83 // short month names
84 Calendar._SMN = new Array
85 ("<?php xl("Jan", "e"); ?>",
86 "<?php xl("Feb", "e"); ?>",
87 "<?php xl("Mar", "e"); ?>",
88 "<?php xl("Apr", "e"); ?>",
89 "<?php xl("May", "e"); ?>",
90 "<?php xl("Jun", "e"); ?>",
91 "<?php xl("Jul", "e"); ?>",
92 "<?php xl("Aug", "e"); ?>",
93 "<?php xl("Sep", "e"); ?>",
94 "<?php xl("Oct", "e"); ?>",
95 "<?php xl("Nov", "e"); ?>",
96 "<?php xl("Dec", "e"); ?>");
98 // tooltips
99 Calendar._TT = {};
100 Calendar._TT["INFO"] = "<?php xl("About the calendar", "e"); ?>";
102 Calendar._TT["ABOUT"] =
103 "DHTML Date/Time Selector\n" +
104 "(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-)
105 "For latest version visit: http://www.dynarch.com/projects/calendar/\n" +
106 "Distributed under GNU LGPL. See http://gnu.org/licenses/lgpl.html for details." +
107 "\n\n" +
108 "Date selection:\n" +
109 "- Use the \xab,\xbb buttons to select year\n" +
110 "- Use the " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " buttons to select month\n" +
111 "- Hold mouse button on any of the above buttons for faster selection.";
112 Calendar._TT["ABOUT_TIME"] = "\n\n" +
113 "<?php xl("Time selection", "e"); ?>"+":\n" +
114 "- "+"<?php xl("Click on any of the time parts to increase it", "e"); ?>"+"\n" +
115 "- "+"<?php xl("or Shift-click to decrease it", "e"); ?>"+"\n" +
116 "- "+"<?php xl("or click and drag for faster selection.", "e"); ?>";
118 Calendar._TT["PREV_YEAR"] = "<?php xl("Prev. year (hold for menu)", "e"); ?>";
119 Calendar._TT["PREV_MONTH"] = "<?php xl("Prev. month (hold for menu)", "e"); ?>";
120 Calendar._TT["GO_TODAY"] = "<?php xl("Go Today", "e"); ?>";
121 Calendar._TT["NEXT_MONTH"] = "<?php xl("Next month (hold for menu)", "e"); ?>";
122 Calendar._TT["NEXT_YEAR"] = "<?php xl("Next year (hold for menu)", "e"); ?>";
123 Calendar._TT["SEL_DATE"] = "<?php xl("Select date", "e"); ?>";
124 Calendar._TT["DRAG_TO_MOVE"] = "<?php xl("Drag to move", "e"); ?>";
125 Calendar._TT["PART_TODAY"] = " ("+"<?php xl("today", "e"); ?>"+")";
127 // the following is to inform that "%s" is to be the first day of week
128 // %s will be replaced with the day name.
129 Calendar._TT["DAY_FIRST"] = "Display %s first";
131 // This may be locale-dependent. It specifies the week-end days, as an array
132 // of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1
133 // means Monday, etc.
134 Calendar._TT["WEEKEND"] = "<?php echo implode(',', $GLOBALS['weekend_days']);?>";
136 Calendar._TT["CLOSE"] = "<?php xl("Close", "e"); ?>";
137 Calendar._TT["TODAY"] = "<?php xl("Today", "e"); ?>";
138 Calendar._TT["TIME_PART"] = "<?php xl("(Shift-)Click or drag to change value", "e"); ?>";
140 // date formats
141 Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d";
142 Calendar._TT["TT_DATE_FORMAT"] = "%a, %b %e";
144 Calendar._TT["WK"] = "<?php xl("wk", "e"); ?>";
145 Calendar._TT["TIME"] = "<?php xl("Time", "e"); ?>"+":";
146 </script>