From: Amir E. Aharoni Date: Fri, 1 Jun 2012 09:56:50 +0000 (+0300) Subject: Datepicker: Changed Arabic dayNamesMin to one-letter strings. Fixes #8375 - Datepicke... X-Git-Tag: 1.9.0-beta.1~76 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=8f42ab013469865ae790089717a56b6ca774dc75;p=jquery-ui.git Datepicker: Changed Arabic dayNamesMin to one-letter strings. Fixes #8375 - Datepicker: Incorrect dayNamesMin for Arabic locale. Before this change the minimal names for days of week were the same as the long names. This caused the datepicker to be too wide. The one-letter strings come from the CLDR: http://unicode.org/repos/cldr-tmp/trunk/diff/summary/ar.html --- diff --git a/ui/i18n/jquery.ui.datepicker-ar.js b/ui/i18n/jquery.ui.datepicker-ar.js index f24b3ff5a..f0d009667 100644 --- a/ui/i18n/jquery.ui.datepicker-ar.js +++ b/ui/i18n/jquery.ui.datepicker-ar.js @@ -12,7 +12,7 @@ jQuery(function($){ monthNamesShort: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], dayNames: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], dayNamesShort: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], - dayNamesMin: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], + dayNamesMin: ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], weekHeader: 'أسبوع', dateFormat: 'dd/mm/yy', firstDay: 6,