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.8.21~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d0acccf3cc53a7759db4798c2998029586b032a3;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 (cherry picked from commit 8f42ab013469865ae790089717a56b6ca774dc75) --- diff --git a/ui/i18n/jquery.ui.datepicker-ar.js b/ui/i18n/jquery.ui.datepicker-ar.js index 743a15db0..8a9218d8b 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,