[FIX] replace uncommon month names of the ar_SY datejs localization file by more standard ones, courtesy of Ahmad Khayyat

The server only supports the ar_SY variant of arabic, so this is the
one and only locale arabic speakers can currently select. According to
Ahmad Khayyat:

> The [ar-SY datejs localization] uses uncommon month names, which are
> hard to recognize.  The more common month names should be used
> instead.

This could be reverted if more arabic locales are made available in
the server, in order to limit deviations from the upstream package.

lp bug: https://launchpad.net/bugs/1151704 fixed

bzr revid: xmo@openerp.com-20130308080020-6q370e2kmrk2xk2w
This commit is contained in:
Xavier Morel 2013-03-08 09:00:20 +01:00
parent cc87ba5db7
commit 522a639035
1 changed files with 15 additions and 15 deletions

View File

@ -11,8 +11,8 @@ Date.CultureInfo = {
firstLetterDayNames: ["أ", "ا", "ث", "أ", "خ", "ج", "س"],
/* Month Name Strings */
monthNames: ["كانون الثاني", "شباط", "آذار", "نيسان", "أيار", "حزيران", "تموز", "آب", "أيلول", "تشرين الأول", "تشرين الثاني", "كانون الأول"],
abbreviatedMonthNames: ["كانون الثاني", "شباط", "آذار", "نيسان", "أيار", "حزيران", "تموز", "آب", "أيلول", "تشرين الأول", "تشرين الثاني", "كانون الأول"],
monthNames: ["يناير", "فبراير", "مارس", "أبريل", "مايو", "يونيو", "يوليو", "أغسطس", "سبتمبر", "أكتوبر", "نوفمبر", "ديسمبر"],
abbreviatedMonthNames: ["يناير", "فبراير", "مارس", "أبريل", "مايو", "يونيو", "يوليو", "أغسطس", "سبتمبر", "أكتوبر", "نوفمبر", "ديسمبر"],
/* AM/PM Designators */
amDesignator: "ص",
@ -82,18 +82,18 @@ Date.CultureInfo = {
* As well, please review the list of "Future Strings" section below.
*/
regexPatterns: {
jan: /^كانون الثاني/i,
feb: /^شباط/i,
mar: /^آذار/i,
apr: /^نيسان/i,
may: /^أيار/i,
jun: /^حزيران/i,
jul: /^تموز/i,
aug: /^آب/i,
sep: /^أيلول/i,
oct: /^تشرين الأول/i,
nov: /^تشرين الثاني/i,
dec: /^كانون الأول/i,
jan: /^يناير/i,
feb: /^فبراير/i,
mar: /^مارس/i,
apr: /^أبريل/i,
may: /^مايو/i,
jun: /^يونيو/i,
jul: /^يوليو/i,
aug: /^أغسطس/i,
sep: /^سبتمبر/i,
oct: /^أكتوبر/i,
nov: /^نوفمبر/i,
dec: /^ديسمبر/i,
sun: /^الاحد/i,
mon: /^ا(1)?/i,
@ -192,4 +192,4 @@ Date.CultureInfo = {
* end end
* long long
* short short
*/
*/