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