home *** CD-ROM | disk | FTP | other *** search
/ Freelog 117 / FreelogNo117-OctobreNovembre2013.iso / Theme / 8GadgetPack / 8GadgetPackSetup.msi / Gadgets.7z / Gadgets / tweetz.gadget / sr / jquery.glob.sr.js next >
Text (UTF-16)  |  2013-04-14  |  4KB  |  58 lines

  1. (function($) {
  2.     var cultures = $.global.cultures,
  3.         en = cultures.en,
  4.         standard = en.calendars.standard,
  5.         culture = cultures["sr"] = $.extend(true, {}, en, {
  6.         name: "sr",
  7.         englishName: "Serbian",
  8.         nativeName: "Srpski",
  9.         language: "sr",
  10.         numberFormat: {
  11.             ',': " ",
  12.             '.': ",",
  13.             percent: {
  14.                 pattern: ["-n%","n%"],
  15.                 ',': " ",
  16.                 '.': ","
  17.             },
  18.             currency: {
  19.                 pattern: ["-n$","n$"],
  20.                 ',': " ",
  21.                 '.': ",",
  22.                 symbol: "Din."
  23.             }
  24.         },
  25.         calendars: {
  26.             standard: $.extend(true, {}, standard, {
  27.                 '/': ".",
  28.                 firstDay: 1,
  29.                 days: {
  30.                     names: ["nedelja"," ponedeljak ","utorak","sreda","četvrtak","petak","subota"],
  31.                     namesAbbr: ["Ne","Po","Ut","Sr","Čt","Pe","Su"],
  32.                     namesShort: ["Ne","Po","Ut","Sr","Čt","Pe","Su"]
  33.                 },
  34.                 months: {
  35.                     names: ["Januar","Februar","Mart","April","Maj","Juni","Juli","Avgust","Septembar","Oktobar","Novembar","Decembar",""],
  36.                     namesAbbr: ["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec",""]
  37.                 },
  38.                 monthsGenitive: {
  39.                     names: ["Januara","Februara","Marta","Aprila","Maja","Juna","Jula","Avgusta","Septembara","Oktobara","Novembra","Decembra",""],
  40.                     namesAbbr: ["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec",""]
  41.                 },
  42.                 AM: null,
  43.                 PM: null,
  44.                 patterns: {
  45.                     d: "dd.MM.yyyy",
  46.                     D: "d MMMM yyyy 'г.'",
  47.                     t: "H:mm",
  48.                     T: "H:mm:ss",
  49.                     f: "d MMMM yyyy 'г.' H:mm",
  50.                     F: "d MMMM yyyy 'г.' H:mm:ss",
  51.                     Y: "MMMM yyyy"
  52.                 }
  53.             })
  54.         }
  55.     }, cultures["sr"]);
  56.     culture.calendar = culture.calendars.standard;
  57. })(jQuery);
  58.