From 522a639035190c99641e27ca2759070f693f9057 Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Fri, 8 Mar 2013 09:00:20 +0100 Subject: [PATCH] [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 --- .../static/lib/datejs/globalization/ar-SY.js | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/addons/web/static/lib/datejs/globalization/ar-SY.js b/addons/web/static/lib/datejs/globalization/ar-SY.js index 317881211e6..b504a21d324 100644 --- a/addons/web/static/lib/datejs/globalization/ar-SY.js +++ b/addons/web/static/lib/datejs/globalization/ar-SY.js @@ -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 - */ \ No newline at end of file + */