From 131b2be616e05ea5cd7a609ca22052e935f5ebff Mon Sep 17 00:00:00 2001 From: Web Coldfusion Developer Date: Sat, 31 Aug 2024 23:09:05 -0300 Subject: [PATCH] Create datepicker-pa.js Punjabi Translation --- ui/i18n/datepicker-pa.js | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 ui/i18n/datepicker-pa.js diff --git a/ui/i18n/datepicker-pa.js b/ui/i18n/datepicker-pa.js new file mode 100644 index 0000000000..0f2afb14b8 --- /dev/null +++ b/ui/i18n/datepicker-pa.js @@ -0,0 +1,37 @@ +/* Punjabi initialisation for the jQuery UI date picker plugin. */ +( function( factory ) { + "use strict"; + + if ( typeof define === "function" && define.amd ) { + // AMD. Register as an anonymous module. + define( [ "../widgets/datepicker" ], factory ); + } else { + // Browser globals + factory( jQuery.datepicker ); + } +} )( function( datepicker ) { +"use strict"; + +datepicker.regional[ "pa" ] = { + closeText: "ਬੰਦ", + prevText: "ਪਿਛਲਾ", + nextText: "ਅਗਲਾ", + currentText: "ਅੱਜ", + monthNames: [ "ਜਨਵਰੀ", "ਫਰਵਰੀ", "ਮਾਰਚ", "ਅਪ੍ਰੈਲ", "ਮਈ", "ਜੂਨ", + "ਜੁਲਾਈ", "ਅਗਸਤ", "ਸਤੰਬਰ", "ਅਕਤੂਬਰ", "ਨਵੰਬਰ", "ਦਸੰਬਰ" ], + monthNamesShort: [ "ਜਨ", "ਫ਼ਰ", "ਮਾਰ", "ਅਪ੍ਰੈ", "ਮਈ", "ਜੂਨ", + "ਜੁਲਾ", "ਅਗ", "ਸਤੰ", "ਅਕਤੂ", "ਨਵੰ", "ਦਸੰ" ], + dayNames: [ "ਐਤਵਾਰ", "ਸੋਮਵਾਰ", "ਮੰਗਲਵਾਰ", "ਬੁੱਧਵਾਰ", "ਵੀਰਵਾਰ", "ਸ਼ੁੱਕਰਵਾਰ", "ਸ਼ਨੀਚਰਵਾਰ" ], + dayNamesShort: [ "ਐਤ", "ਸੋਮ", "ਮੰਗਲ", "ਬੁੱਧ", "ਵੀਰ", "ਸ਼ੁੱਕਰ", "ਸ਼ਨੀ" ], + dayNamesMin: [ "ਐ", "ਸੋ", "ਮੰ", "ਬੁੱ", "ਵੀ", "ਸ਼ੁੱ", "ਸ਼" ], + weekHeader: "ਹਫ਼ਤਾ", + dateFormat: "dd/mm/yy", + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: "" }; +datepicker.setDefaults( datepicker.regional[ "pa" ] ); + +return datepicker.regional[ "pa" ]; + +} );