countdown/js/jquery.countdown-fa.js

15 lines
717 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

/* http://keith-wood.name/countdown.html
Persian (فارسی) initialisation for the jQuery countdown extension
Written by Alireza Ziaie (ziai@magfa.com) Oct 2008.
Digits corrected by Hamed Ramezanian Feb 2013. */
(function($) {
$.countdown.regionalOptions['fa'] = {
labels: ['‌سال', 'ماه', 'هفته', 'روز', 'ساعت', 'دقیقه', 'ثانیه'],
labels1: ['سال', 'ماه', 'هفته', 'روز', 'ساعت', 'دقیقه', 'ثانیه'],
compactLabels: ['س', 'م', 'ه', 'ر'],
whichLabels: null,
digits: ['۰', '۱', '۲', '۳', '۴', '۵', '۶', '۷', '۸', '۹'],
timeSeparator: ':', isRTL: true};
$.countdown.setDefaults($.countdown.regionalOptions['fa']);
})(jQuery);