Merge lp:~mmakonnen/openerp-web/70_am_datejs_redo into lp:openerp-web/7.0

Proposed by Michael Telahun Makonnen
Status: Merged
Merge reported by: Xavier (Open ERP)
Merged at revision: not available
Proposed branch: lp:~mmakonnen/openerp-web/70_am_datejs_redo
Merge into: lp:openerp-web/7.0
Diff against target: 199 lines (+195/-0)
1 file modified
am-ET.js (+195/-0)
To merge this branch: bzr merge lp:~mmakonnen/openerp-web/70_am_datejs_redo
Reviewer Review Type Date Requested Status
OpenERP Core Team Pending
Review via email: mp+141307@code.launchpad.net

Description of the change

This change adds an Amharic (Ethiopia) file for DateJS javascript library. It is necessary in order for the web client to function when the Amharic language is selected from the OpenERP server.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== added file 'am-ET.js'
--- am-ET.js 1970-01-01 00:00:00 +0000
+++ am-ET.js 2012-12-27 08:52:19 +0000
@@ -0,0 +1,195 @@
1Date.CultureInfo = {
2 /* Culture Name */
3 name: "am-ET",
4 englishName: "Amharic (Ethiopia)",
5 nativeName: "አምሃርኛ (ኢትዮጵያ)",
6
7 /* Day Name Strings */
8 dayNames: ["እሁድ", "ሰኞ", "ማክሰኞ", "ረብዑ", "ሃሙስ", "ዓርብ", "ቅዳሜ"],
9 abbreviatedDayNames: ["እሁድ", "ሰኞ", "ማክሰ", "ረብዑ", "ሃሙስ", "ዓርብ", "ቅዳሜ"],
10 shortestDayNames: ["እሁ", "ሰኞ", "ማክ", "ረብ", "ሃሙ", "ዓር", "ቅዳ"],
11 firstLetterDayNames: ["እ", "ሰ", "ማ", "ረ", "ሃ", "ዓ", "ቅ"],
12
13 /* Month Name Strings */
14 monthNames: ["ጃንዋሪ", "ፌብሩዋሪ", "ማርች", "አፕሪል", "ሜይ", "ጁን", "ጁላይ", "ኦገስት", "ሴፕቴምበር", "ኦክቶበር", "ኖቬምበር", "ዲሴምበር"],
15 abbreviatedMonthNames: ["ጃንዋ", "ፌብሩ", "ማርች", "አፕሪ", "ሜይ", "ጁን", "ጁላይ", "ኦገስ", "ሴፕቴ", "ኦክቶ", "ኖቬም", "ዲሴም"],
16
17 /* AM/PM Designators */
18 amDesignator: "ከቀኑ",
19 pmDesignator: "ከለሊቱ",
20
21 firstDayOfWeek: 1,
22 twoDigitYearMax: 2029,
23
24 /**
25 * The dateElementOrder is based on the order of the
26 * format specifiers in the formatPatterns.DatePattern.
27 *
28 * Example:
29 <pre>
30 shortDatePattern dateElementOrder
31 ------------------ ----------------
32 "M/d/yyyy" "mdy"
33 "dd/MM/yyyy" "dmy"
34 "yyyy-MM-dd" "ymd"
35 </pre>
36 *
37 * The correct dateElementOrder is required by the parser to
38 * determine the expected order of the date elements in the
39 * string being parsed.
40 */
41 dateElementOrder: "dmy",
42
43 /* Standard date and time format patterns */
44 formatPatterns: {
45 shortDate: "dd/MM/yyyy",
46 longDate: "dd MMMM yyyy",
47 shortTime: "HH:mm",
48 longTime: "HH:mm:ss",
49 fullDateTime: "dd MMMM yyyy HH:mm:ss",
50 sortableDateTime: "yyyy-MM-ddTHH:mm:ss",
51 universalSortableDateTime: "yyyy-MM-dd HH:mm:ssZ",
52 rfc1123: "ddd, dd MMM yyyy HH:mm:ss GMT",
53 monthDay: "dd MMMM",
54 yearMonth: "MMMM yyyy"
55 },
56
57 /**
58 * NOTE: If a string format is not parsing correctly, but
59 * you would expect it parse, the problem likely lies below.
60 *
61 * The following regex patterns control most of the string matching
62 * within the parser.
63 *
64 * The Month name and Day name patterns were automatically generated
65 * and in general should be (mostly) correct.
66 *
67 * Beyond the month and day name patterns are natural language strings.
68 * Example: "next", "today", "months"
69 *
70 * These natural language string may NOT be correct for this culture.
71 * If they are not correct, please translate and edit this file
72 * providing the correct regular expression pattern.
73 *
74 * If you modify this file, please post your revised CultureInfo file
75 * to the Datejs Forum located at http://www.datejs.com/forums/.
76 *
77 * Please mark the subject of the post with [CultureInfo]. Example:
78 * Subject: [CultureInfo] Translated "da-DK" Danish(Denmark)
79 *
80 * We will add the modified patterns to the master source files.
81 *
82 * As well, please review the list of "Future Strings" section below.
83 */
84 regexPatterns: {
85 jan: /^jan(uary)?/i,
86 feb: /^feb(ruary)?/i,
87 mar: /^mar(ch)?/i,
88 apr: /^apr(il)?/i,
89 may: /^may/i,
90 jun: /^jun(e)?/i,
91 jul: /^jul(y)?/i,
92 aug: /^aug(ust)?/i,
93 sep: /^sep(t(ember)?)?/i,
94 oct: /^oct(ober)?/i,
95 nov: /^nov(ember)?/i,
96 dec: /^dec(ember)?/i,
97
98 sun: /^su(n(day)?)?/i,
99 mon: /^mo(n(day)?)?/i,
100 tue: /^tu(e(s(day)?)?)?/i,
101 wed: /^we(d(nesday)?)?/i,
102 thu: /^th(u(r(s(day)?)?)?)?/i,
103 fri: /^fr(i(day)?)?/i,
104 sat: /^sa(t(urday)?)?/i,
105
106 future: /^next/i,
107 past: /^last|past|prev(ious)?/i,
108 add: /^(\+|aft(er)?|from|hence)/i,
109 subtract: /^(\-|bef(ore)?|ago)/i,
110
111 yesterday: /^yes(terday)?/i,
112 today: /^t(od(ay)?)?/i,
113 tomorrow: /^tom(orrow)?/i,
114 now: /^n(ow)?/i,
115
116 millisecond: /^ms|milli(second)?s?/i,
117 second: /^sec(ond)?s?/i,
118 minute: /^mn|min(ute)?s?/i,
119 hour: /^h(our)?s?/i,
120 week: /^w(eek)?s?/i,
121 month: /^m(onth)?s?/i,
122 day: /^d(ay)?s?/i,
123 year: /^y(ear)?s?/i,
124
125 shortMeridian: /^(a|p)/i,
126 longMeridian: /^(a\.?m?\.?|p\.?m?\.?)/i,
127 timezone: /^((e(s|d)t|c(s|d)t|m(s|d)t|p(s|d)t)|((gmt)?\s*(\+|\-)\s*\d\d\d\d?)|gmt|utc)/i,
128 ordinalSuffix: /^\s*(st|nd|rd|th)/i,
129 timeContext: /^\s*(\:|a(?!u|p)|p)/i
130 },
131
132 timezones: [{name:"UTC", offset:"-000"}, {name:"GMT", offset:"-000"}, {name:"EST", offset:"-0500"}, {name:"EDT", offset:"-0400"}, {name:"CST", offset:"-0600"}, {name:"CDT", offset:"-0500"}, {name:"MST", offset:"-0700"}, {name:"MDT", offset:"-0600"}, {name:"PST", offset:"-0800"}, {name:"PDT", offset:"-0700"}]
133};
134
135/********************
136 ** Future Strings **
137 ********************
138 *
139 * The following list of strings may not be currently being used, but
140 * may be incorporated into the Datejs library later.
141 *
142 * We would appreciate any help translating the strings below.
143 *
144 * If you modify this file, please post your revised CultureInfo file
145 * to the Datejs Forum located at http://www.datejs.com/forums/.
146 *
147 * Please mark the subject of the post with [CultureInfo]. Example:
148 * Subject: [CultureInfo] Translated "da-DK" Danish(Denmark)b
149 *
150 * English Name Translated
151 * ------------------ -----------------
152 * about about
153 * ago ago
154 * date date
155 * time time
156 * calendar calendar
157 * show show
158 * hourly hourly
159 * daily daily
160 * weekly weekly
161 * bi-weekly bi-weekly
162 * fortnight fortnight
163 * monthly monthly
164 * bi-monthly bi-monthly
165 * quarter quarter
166 * quarterly quarterly
167 * yearly yearly
168 * annual annual
169 * annually annually
170 * annum annum
171 * again again
172 * between between
173 * after after
174 * from now from now
175 * repeat repeat
176 * times times
177 * per per
178 * min (abbrev minute) min
179 * morning morning
180 * noon noon
181 * night night
182 * midnight midnight
183 * mid-night mid-night
184 * evening evening
185 * final final
186 * future future
187 * spring spring
188 * summer summer
189 * fall fall
190 * winter winter
191 * end of end of
192 * end end
193 * long long
194 * short short
195 */