diff --git a/web/ApiControllers/Calendar/CalendarController.cs b/web/ApiControllers/Calendar/CalendarController.cs index 9cf2eacd..2ad7eed2 100644 --- a/web/ApiControllers/Calendar/CalendarController.cs +++ b/web/ApiControllers/Calendar/CalendarController.cs @@ -28,6 +28,7 @@ using Yavsc.Model; using System.Web.Security; using System.Web.Profile; using System.Web.Http.ModelBinding; +using Yavsc.Model.Google; namespace Yavsc.ApiControllers.Calendar { @@ -133,155 +134,10 @@ namespace Yavsc.ApiControllers.Calendar throw new NotImplementedException(); } - /// - /// Notification. - /// - public class Notification { - /// - /// The title. - /// - public string title; - /// - /// The body. - /// - public string body; - /// - /// The icon. - /// - public string icon; - /// - /// The sound. - /// - public string sound; - /// - /// The tag. - /// - public string tag; - /// - /// The color. - /// - public string color; - /// - /// The click action. - /// - public string click_action; - } - // https://gcm-http.googleapis.com/gcm/send - /// - /// Message with payload. - /// - public class MessageWithPayload { - /// - /// To. - /// - public string to; - /// - /// The registration identifiers. - /// - public string [] registration_ids; - /// - /// The data. - /// - public T[] data ; - /// - /// The notification. - /// - public Notification notification; - /// - /// The collapse key. - /// - public string collapse_key; // in order to collapse ... - /// - /// The priority. - /// - public int priority; // between 0 and 10, 10 is the lowest! - /// - /// The content available. - /// - public bool content_available; - /// - /// The delay while idle. - /// - public bool delay_while_idle; - /// - /// The time to live. - /// - public int time_to_live; // seconds - /// - /// The name of the restricted package. - /// - public string restricted_package_name; - /// - /// The dry run. - /// - public bool dry_run; - /// - /// Validate the specified modelState. - /// - /// Model state. - public void Validate(ModelStateDictionary modelState) { - if (to==null && registration_ids == null) { - modelState.AddModelError ("to", "One of \"to\" or \"registration_ids\" parameters must be specified"); - modelState.AddModelError ("registration_ids", "*"); - } - if (notification == null && data == null) { - modelState.AddModelError ("notification", "At least one of \"notification\" or \"data\" parameters must be specified"); - modelState.AddModelError ("data", "*"); - } - if (notification != null) { - if (notification.icon == null) - modelState.AddModelError ("notification.icon", "please, specify an icon resoure name"); - if (notification.title == null) - modelState.AddModelError ("notification.title", "please, specify a title"); - } - } - } - /// - /// Message with payload response. - /// - public class MessageWithPayloadResponse { - /// - /// The multicast identifier. - /// - public int multicast_id; - /// - /// The success count. - /// - public int success; - /// - /// The failure count. - /// - public int failure; - /// - /// The canonical identifiers... ?!? - /// - public int canonical_ids; - /// - /// Detailled result. - /// - public class Result { - /// - /// The message identifier. - /// - public string message_id; - /// - /// The registration identifier. - /// - public string registration_id; - /// - /// The error. - /// - public string error; - } - /// - /// The results. - /// - public Result [] results; - } /// /// GCM register model. diff --git a/web/Controllers/BlogsController.cs b/web/Controllers/BlogsController.cs index 43d6f12a..e57f1c21 100644 --- a/web/Controllers/BlogsController.cs +++ b/web/Controllers/BlogsController.cs @@ -199,22 +199,26 @@ namespace Yavsc.Controllers /// /// User. /// Title. - [Authorize] + [Authorize, + ValidateInput(false)] public ActionResult Post (string user, string title) { ViewData ["SiteName"] = sitename; string un = Membership.GetUser ().UserName; if (String.IsNullOrEmpty (user)) user = un; + if (String.IsNullOrEmpty (title)) + title = ""; ViewData ["UserName"] = un; - return View (new BlogEditEntryModel { Title = title }); + return View ("Edit", new BlogEditEntryModel { Title = title }); } /// /// Validates the post. /// /// The post. /// Model. - [Authorize] + [Authorize, + ValidateInput(false)] public ActionResult ValidatePost (BlogEditEntryModel model) { string username = Membership.GetUser ().UserName; @@ -233,15 +237,19 @@ namespace Yavsc.Controllers /// /// The edit. /// Model. - [Authorize] + [Authorize, + ValidateInput(false)] public ActionResult ValidateEdit (BlogEditEntryModel model) { ViewData ["SiteName"] = sitename; ViewData ["BlogUser"] = Membership.GetUser ().UserName; if (ModelState.IsValid) { if (!model.Preview) { - BlogManager.UpdatePost (model.Id, model.Title, model.Content, model.Visible); - return UserPost (model); + if (model.Id != 0) + BlogManager.UpdatePost (model.Id, model.Title, model.Content, model.Visible); + else + BlogManager.Post (model.UserName, model.Title, model.Content, model.Visible); + return UserPost(model.UserName, model.Title); } } return View ("Edit", model); @@ -250,7 +258,8 @@ namespace Yavsc.Controllers /// Edit the specified model. /// /// Model. - [Authorize] + [Authorize, + ValidateInput(false)] public ActionResult Edit (BlogEditEntryModel model) { if (model != null) { @@ -261,16 +270,13 @@ namespace Yavsc.Controllers ViewData ["UserName"] = user; if (model.UserName == null) { model.UserName = user; - BlogEntry e = BlogManager.GetPost (model.UserName, model.Title); - if (e == null) { + } + BlogEntry e = BlogManager.GetPost (model.UserName, model.Title); + if (e != null) { + if (e.UserName != user) { return View ("TitleNotFound"); - } else { - model = new BlogEditEntryModel (e); - ModelState.Clear (); - this.TryValidateModel (model); } - } else if (model.UserName != user) { - return View ("TitleNotFound"); + model = new BlogEditEntryModel(e); } } return View (model); diff --git a/web/Helpers/MarkdownHelper.cs b/web/Helpers/MarkdownHelper.cs new file mode 100644 index 00000000..e0839436 --- /dev/null +++ b/web/Helpers/MarkdownHelper.cs @@ -0,0 +1,39 @@ +using System.Web; +using System.Web.Mvc; +using MarkdownDeep; + +namespace Yavsc.Helpers +{ + /// + /// Helper class for transforming Markdown. + /// + public static partial class MarkdownHelper + { + /// + /// Transforms a string of Markdown into HTML. + /// + /// The Markdown that should be transformed. + /// The HTML representation of the supplied Markdown. + public static IHtmlString Markdown(string text) + { + // Transform the supplied text (Markdown) into HTML. + var markdownTransformer = new Markdown(); + string html = markdownTransformer.Transform(text); + + // Wrap the html in an MvcHtmlString otherwise it'll be HtmlEncoded and displayed to the user as HTML :( + return new MvcHtmlString(html); + } + + /// + /// Transforms a string of Markdown into HTML. + /// + /// HtmlHelper - Not used, but required to make this an extension method. + /// The Markdown that should be transformed. + /// The HTML representation of the supplied Markdown. + public static IHtmlString Markdown(this HtmlHelper helper, string text) + { + // Just call the other one, to avoid having two copies (we don't use the HtmlHelper). + return Markdown(text); + } + } +} diff --git a/web/Models/App.master b/web/Models/App.master index fbb0fb7c..a00e1d9c 100644 --- a/web/Models/App.master +++ b/web/Models/App.master @@ -1,18 +1,17 @@ <%@ Master Language="C#" Inherits="System.Web.Mvc.ViewMasterPage" %> - -<% +<% ViewState["orgtitle"] = T.GetString(Page.Title); Page.Title = ViewState["orgtitle"] + " - " + YavscHelpers.SiteName; %> - - - - + + + + - - + + @@ -83,4 +82,4 @@ $( ".bshd" ).on("click",function(e) { } }); - \ No newline at end of file + diff --git a/web/Scripts/MarkdownDeepLib.min.js b/web/Scripts/MarkdownDeepLib.min.js new file mode 100644 index 00000000..e6e20bbc --- /dev/null +++ b/web/Scripts/MarkdownDeepLib.min.js @@ -0,0 +1,443 @@ +// MarkdownDeep - http://www.toptensoftware.com/markdowndeep +// Copyright (C) 2010-2011 Topten Software +// Minified by MiniME from toptensoftware.com +var MarkdownDeep=new(function(){function S(b,e){if(b.indexOf!==undefined)return b.indexOf(e);for(var c=0;c=0){var m=c.indexOf("\n");if(m>=0)if(m +0){b.x( +'\n
\n');b.x("
\n");b.x("
    \n");for(var g=0;g\n');var o='',e=h.C[h.C.length-1];if(e.v==12){e.v=29;e.X=o}else{e=new B();e.N=0;e.v=29;e.X=o;h.C.push(e +)}h.l(this,b);b.x("\n")}b.x("
\n");b.x("
\n")}return b.bh()};i.prototype.OnQualifyUrl=function(b){if(aj(b) +)return b;if(au(b,"/")){var e=this.UrlRootLocation;if(!e){if(!this.UrlBaseLocation)return b;var c=this.UrlBaseLocation. +indexOf("://");if(c==-1)c=0;else c+=3;c=this.UrlBaseLocation.indexOf("/",c);e=c<0?this.UrlBaseLocation:this. +UrlBaseLocation.substr(0,c)}return e+b}else{if(!this.UrlBaseLocation)return b;if(!T(this.UrlBaseLocation,"/")) +return this.UrlBaseLocation+"/"+b;else return this.UrlBaseLocation+b}};i.prototype.OnGetImageSize=function(b,c){ +return null};i.prototype.OnPrepareLink=function(b){var c=b.attributes.href;if(this.NoFollowLinks)b.attributes.rel= +"nofollow";if(this.NewWindowForExternalLinks&&aj(c)||this.NewWindowForLocalLinks&&!aj(c))b.attributes.target="_blank";b. +attributes.href=this.OnQualifyUrl(c)};i.prototype.OnPrepareImage=function(b,e){var c=this.OnGetImageSize(b.attributes. +src,e);if(c!=null){b.attributes.width=c.width;b.attributes.height=c.height}b.attributes.src=this.OnQualifyUrl(b. +attributes.src)};i.prototype.GetLinkDefinition=function(c){var b=this.bv[c];if(b==undefined)return null;else return b};a +.aE=function(b){this.bv=[];this.bs=[];this.bI=[];this.bJ=[];this.bn=null;return new D(this,this.MarkdownInHtml).aH(b)};a +.A=function(b){this.bv[b.id]=b};a.z=function(b){this.bs[b.X]=b};a.Q=function(c){var b=this.bs[c];if(b!=undefined){this. +bI.push(b);delete this.bs[c];return this.bI.length-1}else return-1};a.y=function(b,c){if(this.bn==null)this.bn=[];this. +bn[b]={Abbr:b,Title:c}};a.am=function(){return this.bn};a.aC=function(j,h,g){if(!this.AutoHeadingIDs)return null;var b= +this.bz.aB(j,h,g);if(!b)b="section";var c=b,e=1;while(this.bJ[c]!=undefined){c=b+"-"+e.toString();e++}this.bJ[c]=true; +return c};a.as=function(){this.bE.K();return this.bE};function X(b){return b>="0"&&b<="9"}function af(b){return b>="0"&& +b<="9"||b>="a"&&b<="f"||b>="A"&&b<="F"}function ac(b){return b>="a"&&b<="z"||b>="A"&&b<="Z"}function R(b){return b>="a" +&&b<="z"||b>="A"&&b<="Z"||b>="0"&&b<="9"}function ad(b){return b==" "||b=="\t"||b=="\r"||b=="\n"}function ab(b){return b +==" "||b=="\t"}function Y(b){return b=="\r"||b=="\n"}function ae(b){return b=="*"||b=="_"}function U(b,c){switch(b){case +"\\":case"`":case"*":case"_":case"{":case"}":case"[":case"]":case"(":case")":case">":case"#":case"+":case"-":case".": +case"!":return true;case":":case"|":case"=":case"<":return c}return false}function as(c,b){if(c.charAt(b)!="&")return-1; +var g=b;b++;var e;if(c.charAt(b)=="#"){b++;if(c.charAt(b)=="x"||c.charAt(b)=="X"){b++;e=af}else e=X}else e=R;if(e(c. +charAt(b))){b++;while(e(c.charAt(b)))b++;if(c.charAt(b)==";"){b++;return b}}b=g;return-1}function az(c,h){var b=c. +indexOf("\\");if(b<0)return c;var g=new F(),e=0;while(b>=0){if(U(c.charAt(b+1),h)){if(b>e)g.x(c.substr(e,b-e));e=b+1}b=c +.indexOf("\\",b+1)}if(eb&&ad(e.charAt(c-1)))c--;return e.substr(b,c-b)}function ah(c){var b=c.indexOf("@");if(b<0 +)return false;var e=c.lastIndexOf(".");if(e=e&&ad(c.charAt(b)))b--;if(b=e&&c.charAt(b)!= +"{")b--;if(be&&ad(c.charAt( +b-1)))b--;return{id:h,end:b}}function au(c,b){return c.substr(0,b.length)==b}function T(c,b){return c.substr(-b.length) +==b}function aj(b){return b.indexOf("://")>=0||au(b,"mailto:")}function F(){this.bq=[]}a=F.prototype;a.x=function(b){if( +b)this.bq.push(b)};a.K=function(){this.bq.length=0};a.bh=function(){return this.bq.join("")};a.aw=function(c){var g=c. +length;for(var b=0;b0.90&&c.charAt(b)!="@")this.x(c.charAt(b));else if(e>0.45){this.x( +"&#");this.x(c.charCodeAt(b).toString());this.x(";")}else{this.x("&#x");this.x(c.charCodeAt(b).toString(16));this.x(";") +}}};a.au=function(e,g,j){var h=g+j,b=g,c;for(c=g;cb)this.x(e.substr(b,c-b));this +.x("&");b=c+1;break;case"<":if(c>b)this.x(e.substr(b,c-b));this.x("<");b=c+1;break;case">":if(c>b)this.x(e.substr +(b,c-b));this.x(">");b=c+1;break;case'"':if(c>b)this.x(e.substr(b,c-b));this.x(""");b=c+1;break}if(c>b)this.x(e. +substr(b,c-b))};a.bf=function(e,g,k){var j=g+k,c=g,b;for(b=g;bc)this.x(e.substr(c,b-c));this.x("&");c=b+1}else b=h-1;break;case"<":if(b>c)this.x(e.substr(c,b-c));this.x( +"<");c=b+1;break;case">":if(b>c)this.x(e.substr(c,b-c));this.x(">");c=b+1;break;case'"':if(b>c)this.x(e.substr(c,b +-c));this.x(""");c=b+1;break}if(b>c)this.x(e.substr(c,b-c))};a.be=function(e,g,k){var j=g+k,c=g,b;for(b=g;bc)this.x(e.substr(c,b-c));this.x("&");c=b+1}else b=h-1;break} +if(b>c)this.x(e.substr(c,b-c))};a.av=function(e,h,k){var j=h+k,b=h,g=0,c;for(c=h;cb)this.x(e.substr(b,c-b));b=c+1;this.x(" ");g++;while(g%4!=0){this.x(" ");g++}g--;break;case"\r":case"\n":if(c>b) +this.x(e.substr(b,c-b));this.x("\n");b=c+1;continue;case"&":if(c>b)this.x(e.substr(b,c-b));this.x("&");b=c+1;break; +case"<":if(c>b)this.x(e.substr(b,c-b));this.x("<");b=c+1;break;case">":if(c>b)this.x(e.substr(b,c-b));this.x(">"); +b=c+1;break;case'"':if(c>b)this.x(e.substr(b,c-b));this.x(""");b=c+1;break}g++}if(c>b)this.x(e.substr(b,c-b))}; +function G(){this.aU.apply(this,arguments)}a=G.prototype;a.D=function(){return this.by==this.start};a.J=function(){ +return this.by>=this.end};a.Y=function(){if(this.by>=this.end)return true;var b=this.E.charAt(this.by);return b=="\r"||b +=="\n"||b==undefined||b==""};a.aU=function(){this.E=arguments.length>0?arguments[0]:null;this.start=arguments.length>1? +arguments[1]:0;this.end=arguments.length>2?this.start+arguments[2]:this.E==null?0:this.E.length;this.by=this.start;this. +charset_offsets={}};a.H=function(){if(this.by>=this.end)return"\x00";return this.E.charAt(this.by)};a.aM=function(){ +return this.E.substr(this.by)};a.ba=function(){this.by=this.end};a.a5=function(b){this.by+=b};a.bb=function(){this.by= +this.E.indexOf("\n",this.by);if(this.by<0)this.by=this.end};a.aZ=function(){var b=this.by;if(this.E.charAt(this.by)== +"\r")this.by++;if(this.E.charAt(this.by)=="\n")this.by++;return this.by!=b};a.bc=function(){this.bb();this.aZ()};a.F= +function(b){if(this.by+b>=this.end)return"\x00";return this.E.charAt(this.by+b)};a.aW=function(b){if(this.E.charAt(this. +by)==b){this.by++;return true}return false};a.a9=function(b){if(this.E.substr(this.by,b.length)==b){this.by+=b.length; +return true}return false};a.bd=function(){var c=this.by;while(true){var b=this.E.charAt(this.by);if(b!=" "&&b!="\t"&&b!= +"\r"&&b!="\n")break;this.by++}return this.by!=c};a.a8=function(){var c=this.by;while(true){var b=this.E.charAt(this.by); +if(b!=" "&&b!="\t")break;this.by++}return this.by!=c};a.aa=function(c){c.lastIndex=this.by;var b=c.exec(this.E);if(b== +null){this.by=this.end;return false}if(b.index+b[0].length>this.end){this.by=this.end;return false}this.by=b.index; +return true};a.ad=function(g){var c=-1;for(var e in g){var b=g[e];if(b==null){b={};b.bD=-1;b.bt=-1;g[e]=b}if(b.bD==-1|| +this.by=b.bt&&b.bt!=-1){b.bD=this.by;b.bt=this.E.indexOf(e,this.by)}if(c==-1||b.bt=this.by)return"";else + return this.E.substr(this.mark,this.by-this.mark)};a.a7=function(){var b=this.E.charAt(this.by);if(b>="a"&&b<="z"||b>= +"A"&&b<="Z"||b=="_"){this.by++;while(true){b=this.E.charAt(this.by);if(b>="a"&&b<="z"||b>="A"&&b<="Z"||b=="_"||b>="0"&&b +<="9")this.by++;else return true}}return false};a.a4=function(){var e=this.by;this.a8();this.az();while(true){var b=this +.H();if(R(b)||b=="-"||b=="_"||b==":"||b=="."||b==" ")this.a5(1);else break}if(this.by>this.mark){var c=ay(this.W());if(c +.length>0){this.a8();return c}}this.by=e;return null};a.a6=function(){if(this.E.charAt(this.by)!="&")return false;var b= +as(this.E,this.by);if(b<0)return false;this.by=b;return true};a.a2=function(b){if(this.E.charAt(this.by)=="\\"&&U(this.E +.charAt(this.by+1),b)){this.by+=2;return true}else{if(this.by");else b.x(">")};a.aO= +function(b){b.x("")};function ai(b){b=b.toLowerCase();return b.substr(0,7)=="http://"||b. +substr(0,8)=="https://"||b.substr(0,6)=="ftp://"}function ag(b){var e=b.by,c=ap(b);if(c!=null)return c;b.by=e; +return null}function ap(b){if(b.H()!="<")return null;b.a5(1);if(b.a9("!--")){b.az();if(b.Z("-->")){var g=new w("!");g. +attributes.content=b.W();g.closed=true;b.a5(3);return g}}var h=b.aW("/");b.az();if(!b.a7())return null;var c=new w(b.W() +);c.closing=h;if(h){if(b.H()!=">")return null;b.a5(1);return c}while(!b.J()){b.bd();if(b.a9("/>")){c.closed=true; +return c}if(b.aW(">"))return c;b.az();if(!b.a7())return null;var e=b.W();b.bd();if(b.aW("=")){b.bd();if(b.aW('"')){b.az( +);if(!b.Z('"'))return null;c.attributes[e]=b.W();b.a5(1)}else{b.az();while(!b.J()&&!ad(b.H())&&b.H()!=">"&&b.H()!="/")b. +a5(1);if(!b.J())c.attributes[e]=b.W()}}else c.attributes[e]=""}return null}var Q={b:1,blockquote:1,code:1,dd:1,dt:1,dl:1 +,del:1,em:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,i:1,kbd:1,li:1,ol:1,ul:1,p:1,pre:1,s:1,sub:1,sup:1,strong:1,strike:1,img:1,a:1 +},O={a:{href:1,title:1,"class":1},img:{src:1,width:1,height:1,alt:1,title:1,"class":1}},d=1,l=2,u=4,f=8,aw={p:d|f,div:d, +h1:d|f,h2:d|f,h3:d|f,h4:d|f,h5:d|f,h6:d|f,blockquote:d,pre:d,table:d,dl:d,ol:d,ul:d,form:d,fieldset:d,iframe:d,script:d| +l,noscript:d|l,math:d|l,ins:d|l,del:d|l,img:d|l,li:f,dd:f,dt:f,td:f,th:f,legend:f,address:f,hr:d|u,"!":d|u,head:d}; +delete d;delete l;delete u;function C(c,e,b){this.id=c;this.url=e;if(b==undefined)this.title=null;else this.title=b}a=C. +prototype;a.aR=function(h,b,g){if(this.url.substr(0,7).toLowerCase()=="mailto:"){b.x('");b.aw(g);b.x("")}else{var e= +new w("a"),c=h.as();c.bf(this.url,0,this.url.length);e.attributes.href=c.bh();if(this.title){c.K();c.bf(this.title,0, +this.title.length);e.attributes.title=c.bh()}h.OnPrepareLink(e);e.aS(b);b.x(g);b.x("")}};a.aP=function(g,h,e){var c= +new w("img"),b=g.as();b.bf(this.url,0,this.url.length);c.attributes.src=b.bh();if(e){b.K();b.bf(e,0,e.length);c. +attributes.alt=b.bh()}if(this.title){b.K();b.bf(this.title,0,this.title.length);c.attributes.title=b.bh()}c.closed=true; +g.OnPrepareImage(c,g.RenderingTitledImage);c.aS(h)};function an(b,e){var g=b.by,c=aq(b,e);if(c==null)b.by=g;return c} +function aq(b,e){b.bd();if(!b.aW("["))return null;b.az();if(!b.Z("]"))return null;var c=b.W();if(c.length==0)return null +;if(!b.a9("]:"))return null;var g=ar(b,c,e);b.a8();if(!b.Y())return null;return g}function ar(b,h,c){b.bd();if(b.Y()) +return null;var e=new C(h);if(b.aW("<")){b.az();while(b.H()!=">"){if(b.J())return null;b.a2(c)}var p=b.W();if(!b.aW(">") +)return null;e.url=az(ay(p),c);b.bd()}else{b.az();var k=1;while(!b.Y()){var j=b.H();if(ad(j))break;if(h==null)if(j=="(") +k++;else if(j==")"){k--;if(k==0)break}b.a2(c)}e.url=az(ay(b.W()),c)}b.a8();if(b.H()==")")return e;var m=b.Y(),n=b.by;if( +b.Y()){b.aZ();b.a8()}var g;switch(b.H()){case"'":case'"':g=b.H();break;case"(":g=")";break;default:if(m){b.by=n;return e +}else return null}b.a5(1);b.az();while(true){if(b.Y())return null;if(b.H()==g){if(g!=")"){var o=b.by;b.a5(1);b.a8();if(h +==null&&b.H()!=")"||h!=null&&!b.Y())continue;b.by=o}break}b.a2(c)}e.title=az(b.W(),c);b.a5(1);return e}function am(b,c){ +this.def=b;this.link_text=c}function ax(e,c,b){this.type=e;this.startOffset=c;this.length=b;this.X=null}function E(b){ +this.bw=b;this.bB=new G();this.bG=[];this.br=false;this.bH=[]}a=E.prototype;a.ah=function(b,e,h,g){this.bj(e,h,g);if( +this.bH.length==1&&this.bw.HtmlClassTitledImages!=null&&this.bH[0].type==10){var c=this.bH[0].X;b.x('
\n');this.bw.RenderingTitledImage=true;this.l(b,e);this.bw.RenderingTitledImage= +false;b.x("\n");if(c.def.title){b.x("

");b.bf(c.def.title,0,c.def.title.length);b.x("

\n")}b.x("
\n")}else{b.x +("

");this.l(b,e);b.x("

\n")}};a.af=function(c,b){this.ae(c,b,0,b.length)};a.ae=function(c,b,g,e){this.bj(b,g,e); +this.l(c,b)};a.ag=function(c){var b=new F();this.ae(b,c,0,c.length);return b.bh()};a.aB=function(j,n,m){this.bj(j,n,m); +var k=this.bH,c=new F();for(var h=0;h\n");break;case 3:b.x("");break; +case 4:b.x("");break;case 5:b.x("");break;case 6:b.x("");break;case 7:b.x("");b.au(h,c. +startOffset,c.length);b.x("");break;case 9:var g=c.X,m=new E(this.bw);m.br=true;g.def.aR(this.bw,b,m.ag(g. +link_text));break;case 10:var g=c.X;g.def.aP(this.bw,b,g.link_text);break;case 14:var k=c.X;b.x('');b.x(k.index+1);b.x("");break;case 15:var e=c.X; +b.x("");b.au(e.Abbr,0,e.Abbr.length);b +.x("");break}this.ak(c)}};a.bj=function(y,x,s){var b=this.bB;b.aU(y,x,s);var j=this.bH;j.length=0;var h=null,k= +this.bw.am(),o=k==null?/[\*\_\`\[\!\<\&\ \\]/g:null,q=this.bw.ExtraMode,g=b.by;while(!b.J()){if(o!=null&&!b.aa(o))break; +var m=b.by,c=null;switch(b.H()){case"*":case"_":c=this.P();if(c!=null)switch(c.type){case 13:case 11:case 12:if(h==null) +h=[];h.push(c);break}break;case"`":c=this.aF();break;case"[":case"!":var t=b.by;c=this.aI();if(c==null)b.by=t;break;case +"<":var e=b.by,p=ag(b);if(p!=null)if(!this.bw.SafeMode||p.at())c=this.U(1,e,b.by-e);else b.by=e;else{b.by=e;c=this.aD(); +if(c==null)b.by=e}break;case"&":var e=b.by;if(b.a6())c=this.U(2,e,b.by-e);break;case" ":if(b.F(1)==" "&&Y(b.F(2))){b.a5( +2);if(!b.J()){b.aZ();c=this.U(8,m,0)}}break;case"\\":if(U(b.F(1),q)){c=this.U(0,b.by+1,1);b.a5(2)}break}if(c==null&&k!= +null&&!R(b.F(-1))){var v=b.by;for(var r in k){var n=k[r];if(b.a9(n.Abbr)&&!R(b.H())){c=this.O(15,n);break}b.bK=v}}if(c!= +null){if(m>g)j.push(this.U(0,g,m-g));j.push(c);g=b.by}else b.a5(1)}if(b.by>g)j.push(this.U(0,g,b.by-g));if(h!=null)this. +aV(j,h)};a.P=function(){var b=this.bB,e=b.H(),k=e=="*"?"_":"*",c=b.by;if(b.D()||ad(b.F(-1))){while(ae(b.H()))b.a5(1);if( +b.J()||ad(b.H()))return this.U(2,c,b.by-c);b.by=c}while(ae(b.F(-1)))b.a5(-1);var h=b.D()||ad(b.F(-1));b.by=c;while(b.H() +==e)b.a5(1);var j=b.by-c;while(ae(b.F(1)))b.a5(1);var g=b.J()||ad(b.H());b.by=c+j;if(h)return this.U(11,c,b.by-c);if(g) +return this.U(12,c,b.by-c);if(this.bw.ExtraMode&&e=="_")return null;return this.U(13,c,b.by-c)};a.bg=function(h,g,b,c){ +var e=this.U(b.type,b.startOffset+c,b.length-c);b.length=c;g.splice(S(g,b)+1,0,e);h.splice(S(h,b)+1,0,e);return e};a.aV= +function(n,b){var m=this.bB.E,j=true;while(j){j=false;for(var h=0;h=3)e=e%2==1?1:2;if(c.length>e){c=this.bg(n,b,c,c.length-e) +;h--}if(g.length>e)this.bg(n,b,g,e);c.type=e==1?3:5;g.type=e==1?4:6;b.splice(S(b,c),1);b.splice(S(b,g),1);j=true;break}} +}};a.aD=function(){if(this.br)return null;var c=this.bB;c.a5(1);c.az();var j=this.bw.ExtraMode;while(!c.J()){var h=c.H() +;if(ad(h))break;if(h==">"){var b=az(c.W(),j),e=null;if(ah(b)){var g;if(b.toLowerCase().substr(0,7)=="mailto:")g=b.substr +(7);else{g=b;b="mailto:"+b}e=new am(new C("auto",b,null),g)}else if(al(b))e=new am(new C("auto",b,null),b);if(e!=null){c +.a5(1);return this.O(9,e)}return null}c.a2(j)}return null};a.aI=function(){var b=this.bB,h=b.aW("!")?10:9;if(!b.aW("[")) +return null;var o=this.by;if(this.bw.ExtraMode&&h==9&&b.aW("^")){b.a8();b.az();var m=b.a4();if(m!=null&&b.aW("]")){var s +=this.bw.Q(m);if(s>=0)return this.O(14,{index:s,id:m})}this.by=o}if(this.br&&h==9)return null;var r=this.bw.ExtraMode;b. +az();var j=1;while(!b.J()){var p=b.H();if(p=="[")j++;else if(p=="]"){j--;if(j==0)break}b.a2(r)}if(b.J())return null;var +n=az(b.W(),r);b.a5(1);o=b.by;if(b.aW("(")){var t=ar(b,null,this.bw.ExtraMode);if(t==null)return null;b.bd();if(!b.aW(")" +))return null;return this.O(h,new am(t,n))}if(!b.aW(" "))b.aW("\t");if(b.Y()){b.aZ();b.a8()}var c=null;if(b.H()=="["){b. +a5(1);b.az();if(!b.Z("]"))return null;c=b.W();b.a5(1)}else b.by=o;if(!c){c=n;while(true){var k=c.indexOf("\n");if(k<0) +break;var g=k;while(g>0&&ad(c.charAt(g-1)))g--;var e=k;while(e')}else b.x(">")}else b.x("");c.bz.ae(b,this.E,this.R,this.N);b.x("\n");break;case 14:b.x("
\n"); +return;case 10:case 11:b.x("
  • ");c.bz.ae(b,this.E,this.R,this.N);b.x("
  • \n");break;case 15:b.x(this.E.substr(this.R +,this.N));return;case 16:b.au(this.E,this.R,this.N);return;case 18:b.x("");var h=b;if(c.FormatCodeBlock){h=b;b=new F()}for(var e=0;e\n\n");return;case 9:b.x("
    \n");this.aN(c,b);b.x("
    \n");return;case 19:b.x( +"
  • \n");this.aN(c,b);b.x("
  • \n");return;case 20:b.x("
      \n");this.aN(c,b);b.x("
    \n");return;case 21:b.x( +"
      \n");this.aN(c,b);b.x("
    \n");return;case 22:var g=this.X,n=g.name.toLowerCase();if(n=="a")c.OnPrepareLink(g); +else if(n=="img")c.OnPrepareImage(g,c.RenderingTitledImage);g.aS(b);b.x("\n");this.aN(c,b);g.aO(b);b.x("\n");return;case + 23:case 28:this.aN(c,b);return;case 24:this.X.l(c,b);return;case 25:b.x("
    ");if(this.C!=null){b.x("\n");this.aN(c,b) +}else c.bz.ae(b,this.E,this.R,this.N);b.x("
    \n");break;case 26:if(this.C==null){var m=this.an().split("\n");for(var +e=0;e");c.bz.af(b,ay(o));b.x("\n")}}else{b.x("
    \n");this.aN(c,b);b.x( +"
    \n")}break;case 27:b.x("
    \n");this.aN(c,b);b.x("
    \n");return;case 29:b.x("

    ");if(this.N>0){c.bz.ae(b,this +.E,this.R,this.N);b.x(" ")}b.x(this.X);b.x("

    \n");break}};a.aY=function(){this.v=12;this.R=this.ay;this.N=this. +aA};a.ao=function(){return this.R+this.N};a.a3=function(b){this.N=b-this.R};a.aq=function(){var c=0;for(var b=this.ay;b< +this.ay+this.aA;b++)if(this.E.charAt(b)==" ")c++;else break;return c};a.V=function(b){this.v=b.v;this.E=b.E;this.R=b.R; +this.N=b.N;this.ay=b.ay;this.aA=b.aA;return this};function D(b,c){this.bw=b;this.bx=0;this.bo=c}a=D.prototype;a.aH= +function(c){var b=new G(c);return this.a1(b)};a.aL=function(g,e,b){var c=new G(g,e,b);return this.a1(c)};a.bi=function(b +,c,e){if(e.length>1)return false;if(e.length==1){var g=b.by;b.by=e[0].ay;c.bu=c.aG(b);if(c.bu==null)return false;b.by=g; +e.length=0}while(true){var g=b.by,h=c.aG(b);if(h!=null){c.bA.push(h);continue}b.by=g;break}return true};a.a1=function(j) +{var e=[],c=[],k=-1;while(!j.J()){var m=k==0,b=this.ab(j);k=b.v;if(b.v==25)b.X=m;if(b.v==7||b.v==8){if(c.length>0){var g +=c.pop();this.S(e,c);if(g.v!=0){g.aY();g.v=b.v==7?1:2;e.push(g);continue}}if(b.v==7){b.aY();c.push(b)}else if(b.N>=3){b. +v=14;e.push(b)}else{b.aY();c.push(b)}continue}var h=c.length>0?c[0].v:0;if(b.v==24){var o=b.X,n=j.by;if(!this.bi(j,o,c)) +{j.by=n;b.aY()}else{e.push(b);continue}}switch(b.v){case 0:switch(h){case 0:this.ai(b);break;case 12:this.S(e,c);this.ai +(b);break;case 9:case 10:case 11:case 25:case 28:case 13:c.push(b);break}break;case 12:switch(h){case 0:case 12:c.push(b +);break;case 9:case 10:case 11:case 25:case 28:var g=c[c.length-1];if(g.v==0){this.S(e,c);c.push(b)}else c.push(b);break +;case 13:this.S(e,c);c.push(b);break}break;case 13:switch(h){case 0:c.push(b);break;case 12:case 9:var g=c[c.length-1]; +if(g.v==0){this.S(e,c);c.push(b)}else{b.aY();c.push(b)}break;case 10:case 11:case 13:case 25:case 28:c.push(b);break} +break;case 9:if(h!=9)this.S(e,c);c.push(b);break;case 10:case 11:switch(h){case 0:c.push(b);break;case 12:case 9:var g=c +[c.length-1];if(g.v==0||this.bx==10||this.bx==11||this.bx==25){this.S(e,c);c.push(b)}else{b.aY();c.push(b)}break;case 10 +:case 11:if(b.v!=10&&b.v!=11)this.S(e,c);c.push(b);break;case 25:case 28:if(b.v!=h)this.S(e,c);c.push(b);break;case 13: +this.S(e,c);c.push(b);break}break;case 25:case 28:switch(h){case 0:case 12:case 25:case 28:this.S(e,c);c.push(b);break; +default:b.aY();c.push(b);break}break;default:this.S(e,c);e.push(b);break}}this.S(e,c);if(this.bw.ExtraMode)this.I(e); +return e};a.T=function(c){var b;if(this.bw.bC.length>1)b=this.bw.bC.pop();else b=new B();b.ay=c;return b};a.ai=function( +b){this.bw.bC.push(b)};a.aj=function(b){for(var c=0;c0&&b[b.length-1].v==0)this.ai(b.pop());if(b.length==0)return;switch(b[0].v){case 12:var h=this.T(b[ +0].ay);h.v=12;h.E=b[0].E;h.R=b[0].R;h.a3(b[b.length-1].ao());c.push(h);this.aj(b);break;case 9:var p=this.aQ(b),o=new D( +this.bw,this.bo);o.bx=9;var n=this.T(b[0].ay);n.v=9;n.C=o.aH(p);this.aj(b);c.push(n);break;case 10:case 11:c.push(this.M +(b));break;case 25:if(c.length>0){var j=c[c.length-1];switch(j.v){case 12:j.v=26;break;case 25:break;default:var k=this. +T(j.ay);k.v=26;k.C=[];k.C.push(j);c.pop();c.push(k);break}}c.push(this.G(b));break;case 28:this.bw.z(this.L(b));break; +case 13:var e=this.T(b[0].ay);e.v=18;e.C=[];var g=b[0].an();if(g.substr(0,2)=="{{"&&g.substr(g.length-2,2)=="}}"){e.X=g. +substr(2,g.length-4);b.splice(0,1)}for(var m=0;m6)j=6;b.a8();c.R=b.by;b.bb();if(this.bw.ExtraMode&&!this.bw.SafeMode){var m=at(b.E,c.R,b.by);if(m!=null){c.X=m. +id;b.by=m.end}}while(b.by>c.R&&b.F(-1)=="#")b.a5(-1);while(b.by>c.R&&ad(b.F(-1)))b.a5(-1);c.N=b.by-c.R;b.bb();return 1+j +-1}if(e=="-"||e=="="){var k=e;while(b.H()==k)b.a5(1);b.a8();if(b.Y())return k=="="?7:8;b.by=h}if(this.bw.ExtraMode){var +s=av(b);if(s!=null){c.X=s;return 24}b.by=h;if(e=="~"){if(this.aJ(b,c))return c.v;b.by=h}}var g=-1,r=0;while(!b.Y()){if(b +.H()==" "){if(g<0)r++}else if(b.H()=="\t"){if(g<0)g=b.by}else break;b.a5(1)}if(b.Y()){c.N=0;return 0}if(r>=4){c.R=h+4; +return 13}if(g>=0&&g-h<4){c.R=g+1;return 13}c.R=b.by;e=b.H();if(e=="<"){if(this.a0(b,c))return c.v;b.by=c.R}if(e==">"){ +if(ab(b.F(1))){b.a5(2);c.R=b.by;return 9}b.a5(1);c.R=b.by;return 9}if(e=="-"||e=="_"||e=="*"){var o=0;while(!b.Y()){var +k=b.H();if(b.H()==e){o++;b.a5(1);continue}if(ab(b.H())){b.a5(1);continue}break}if(b.Y()&&o>=3)return 14;b.by=c.R}if(this +.bw.ExtraMode&&e=="*"&&b.F(1)=="["){b.a5(2);b.a8();b.az();while(!b.Y()&&b.H()!="]")b.a5(1);var n=ay(b.W());if(b.H()=="]" +&&b.F(1)==":"&&n){b.a5(2);b.a8();b.az();b.bb();var v=b.W();this.bw.y(n,v);return 0}b.by=c.R}if((e=="*"||e=="+"||e=="-") +&&ab(b.F(1))){b.a5(1);b.a8();c.R=b.by;return 11}if(e==":"&&this.bw.ExtraMode&&ab(b.F(1))){b.a5(1);b.a8();c.R=b.by; +return 25}if(X(e)){b.a5(1);while(X(b.H()))b.a5(1);if(b.aW(".")&&b.a8()){c.R=b.by;return 10}b.by=c.R}if(e=="["){if(this. +bw.ExtraMode&&b.F(1)=="^"){var t=b.by;b.a5(2);var p=b.a4();if(p!=null&&b.aW("]")&&b.aW(":")){b.a8();c.R=b.by;c.X=p; +return 28}b.by=t}var q=an(b,this.bw.ExtraMode);if(q!=null){this.bw.A(q);return 0}}return 12};a.ar=function(c){var b=c. +attributes.markdown;if(b==undefined)if(this.bo)return 3;else return 0;delete c.attributes.markdown;if(b=="1")return(c.ap +()&8)!=0?2:1;if(b=="block")return 1;if(b=="deep")return 3;if(b=="span")return 2;return 4};a.aK=function(b,e,o,m){var g=b +.by,k=1,j=false;while(!b.J()){if(!b.Z("<"))break;var n=b.by,h=ag(b);if(h==null){b.a5(1);continue}if(this.bw.SafeMode&&m +==4&&!j)if(!h.at())j=true;if(h.closed)continue;if(h.name==o.name)if(h.closing){k--;if(k==0){b.a8();b.aZ();e.v=22;e.X=o;e +.a3(b.by);switch(m){case 2:var c=this.T(g);c.E=b.E;c.v=17;c.R=g;c.N=n-g;e.C=[];e.C.push(c);break;case 1:case 3:var p=new + D(this.bw,m==3);e.C=p.aL(b.E,g,n-g);break;case 4:if(j){e.v=16;e.a3(b.by)}else{var c=this.T(g);c.E=b.E;c.v=15;c.R=g;c.N= +n-g;e.C=[];e.C.push(c)}break}return true}}else k++}return false};a.a0=function(b,c){var g=b.by,h=ag(b);if(h==null) +return false;if(h.closing)return false;var m=false;if(this.bw.SafeMode&&!h.at())m=true;var q=h.ap();if((q&1)==0) +return false;if((q&4)!=0||h.closed){b.a8();b.aZ();c.N=b.by-c.R;c.v=m?16:15;return true}if((q&2)!=0){b.a8();if(!b.Y()) +return false}var o=this.bw.ExtractHeadBlocks&&h.name.toLowerCase()=="head",t=b.by;if(!o&&this.bw.ExtraMode){var n=this. +ar(h);if(n!=0)return this.aK(b,c,h,n)}var k=null,p=1;while(!b.J()){if(!b.Z("<"))break;var s=b.by,j=ag(b);if(j==null){b. +a5(1);continue}if(this.bw.SafeMode&&!j.at())m=true;if(j.closed)continue;if(!o&&!j.closing&&this.bw.ExtraMode&&!m){var n= +this.ar(j);if(n!=0){var r=this.T(g);if(this.aK(b,r,j,n)){if(k==null)k=[];if(s>g){var e=this.T(g);e.E=b.E;e.v=15;e.R=g;e. +N=s-g;k.push(e)}k.push(r);g=b.by;continue}else this.ai(r)}}if(j.name==h.name&&!j.closed)if(j.closing){p--;if(p==0){b.a8( +);b.aZ();if(m){c.v=16;c.a3(b.by);return true}if(k!=null){if(b.by>g){var e=this.T(g);e.E=b.E;e.v=15;e.R=g;e.N=b.by-g;k. +push(e)}c.v=23;c.a3(b.by);c.C=k;return true}if(o){var v=b.E.substr(t,s-t);this.bw.HeadBlockContent=this.bw. +HeadBlockContent+ay(v)+"\n";c.v=15;c.R=b.bK;c.contentEnd=b.bK;c.ay=b.bK;return true}c.v=15;c.N=b.by-c.R;return true}} +else p++}return 0};a.M=function(b){var r=b[0].v,t=b[0].aq();for(var c=1;ct){b[c].v=13;var v=b[c].ao();b[c].R=b[c].ay+s;b[c].a3(v)}}}var h=this.T(0);h.v=r==11?21:20;h.C=[];for( +var c=0;c0&&b[k-1].v==0)k--;var g=c;while(g");h.bz.af(b,e[c]);b.x("\n")}};a.l=function(e,b){b.x("\n");if( +this.bu!=null){b.x("\n\n");this.aT(e,b,this.bu,"th");b.x("\n\n")}b.x("\n");for(var c=0;c< +this.bA.length;c++){var g=this.bA[c];b.x("\n");this.aT(e,b,g,"td");b.x("\n")}b.x("\n");b.x("
    \n" +)};function av(b){b.a8();if(b.H()!="|"&&b.H()!=":"&&b.H()!="-")return null;var c=null;if(b.aW("|")){c=new H();c.ax=true} +while(true){b.a8();if(b.H()=="|")return null;var g=b.aW(":");while(b.H()=="-")b.a5(1);var h=b.aW(":");b.a8();var e=0;if( +g&&h)e=3;else if(g)e=1;else if(h)e=2;if(b.Y()){if(c==null)return null;c.bp.push(e);return c}if(!b.aW("|"))return null; +if(c==null)c=new H();c.bp.push(e);b.a8();if(b.Y()){c.bk=true;return c}}}this.Markdown=i;this.HtmlTag=w})(); +// MarkdownDeep - http://www.toptensoftware.com/markdowndeep +// Copyright (C) 2010-2011 Topten Software +var MarkdownDeepEditor=new(function(){var q=false,w={Z:"undo",Y:"redo",B:"bold",I:"italic",H:"heading",K:"code",U: +"ullist",O:"ollist",Q:"indent",E:"outdent",L:"link",G:"img",R:"hr","0":"h0","1":"h1","2":"h2","3":"h3","4":"h4","5":"h5" +,"6":"h6"};function A(d,b){return d.substr(0,b.length)==b}function t(d,b){return d.substr(-b.length)==b}function v(b){ +return b==" "||b=="\t"||b=="\r"||b=="\n"}function x(b){return b=="\r"||b=="\n"}function y(e){var b=0,d=e.length;while(b< +d&&v(e.charAt(b)))b++;while(d-1>b&&v(e.charAt(d-1)))d--;return e.substr(b,d-b)}function s(b,d,e){if(b.addEventListener)b +.addEventListener(d,e,false);else if(b.attachEvent)b.attachEvent("on"+d,e)}function B(b,d,e){if(b.removeEventListener)b. +removeEventListener(d,e,false);else if(b.detachEvent)b.detachEvent("on"+d,e)}function u(b){if(b.preventDefault)b. +preventDefault();if(b.cancelBubble!==undefined){b.cancelBubble=true;b.keyCode=0;b.returnValue=false}return false} +function z(d,b){return b-d.value.slice(0,b).split("\r\n").length+1}function p(){}a=p.prototype;a.D=function(b){this.aa=b +;if(q){var d=document.selection.createRange(),f=d.duplicate();f.moveToElementText(b);var e=-f.moveStart("character",- +10000000);this.Z=-d.moveStart("character",-10000000)-e;this.Y=-d.moveEnd("character",-10000000)-e;this.ad=b.value. +replace(/\r\n/gm,"\n")}else{this.Z=b.selectionStart;this.Y=b.selectionEnd;this.ad=b.value}};a.u=function(){var b=new p() +;b.aa=this.aa;b.Y=this.Y;b.Z=this.Z;b.ad=this.ad;return b};a.m=function(){if(q){this.aa.value=this.ad;this.aa.focus(); +var b=this.aa.createTextRange();b.collapse(true);b.moveEnd("character",this.Y);b.moveStart("character",this.Z);b.select( +)}else{var d=this.aa.scrollTop;this.aa.value=this.ad;this.aa.focus();this.aa.setSelectionRange(this.Z,this.Y);this.aa. +scrollTop=d}};a.J=function(b){this.ad=this.ad.substr(0,this.Z)+b+this.ad.substr(this.Y);this.Y=this.Z+b.length};function + r(b,d,e,f){if(b=b.length&&this.ad.substr(this.Z-b.length,b.length +)==b};a.s=function(b){return this.ad.substr(this.Y,b.length)==b};a.U=function(){while(v(this.ad.charAt(this.Z)))this.Z++ +;while(this.Y>this.Z&&v(this.ad.charAt(this.Y-1)))this.Y--};a.E=function(b){return b==0||x(this.ad.charAt(b-1))};a.p= +function(b){while(b>0&&!x(this.ad.charAt(b-1)))b--;return b};a.r=function(b){while(b2&&this.ad.substr(b-2,2)=="\r\n")return b-2;if(b>1&&x(this.ad.charAt(b-1)))return b-1;return b};a.M= +function(){this.Z=this.p(this.Z);if(!this.E(this.Y))this.Y=this.P(this.r(this.Y))};a.S=function(b){while(b>0&&v(this.ad. +charAt(b-1)))b--;return b};a.Q=function(b){while(v(this.ad.charAt(b)))b++;return b};a.L=function(){this.Z=this.S(this.Z) +;this.Y=this.Q(this.Y)};a.o=function(){var d=this.t(),b=d.match(/\n[ \t\r]*\n/);if(b){alert( +"Please make a selection that doesn't include a paragraph break");return false}return true};a.B=function(f){var e=this. +ad.length;for(var b=f;b0){var d=this.p(this.R(b));if(d==0)break;if(this.B(d)) +break;b=d}if(this.q(b).af!=0){b=this.p(e);while(b>0){if(this.q(b).af!=0)return b;b=this.p(this.R(b))}}return b};a.v= +function(b){while(b0){if(this.ae==this.ag.length){this.n();this.ae--}this.ae--;this.ag[this.ae].m();this.ac=0;this.H( +)}};c.cmd_redo=function(){if(this.ae+10)this.x(b, +true);else{var e=b.p(b.Z),d;for(d=e;d0){this.x(b,false);return true} +return false};a.k=function(d,e){var g=d.ad,f=e.length,b=d.t();if(A(b,e)&&t(b,e))d.J(b.substr(f,b.length-f*2));else{d.U() +;b=d.t();if(!b)b="text";else b=b.replace(/(\r\n|\n|\r)/gm,"");d.J(e+b+e);d.C(-f,-f)}return true};c.cmd_bold=function(b){ +if(!b.o())return false;b.U();if(b.G("**"))b.Z-=2;if(b.s("**"))b.Y+=2;return this.k(b,"**")};c.cmd_italic=function(b){if( +!b.o())return false;b.U();if(b.G("*")&&!b.G("**")||b.G("***"))b.Z-=1;if(b.s("*")&&!b.G("**")||b.s("***"))b.Y+=1; +return this.k(b,"*")};a.A=function(b,g){if(false&&b.Z==b.Y){b.L();b.J("\n\n> Quote\n\n");b.Z+=4;b.Y=b.Z+5;return true}b. +M();var e=b.t().split("\n");for(var d=0;d "))f=e[d].substr(2)}else f="> "+ +e[d];e.splice(d,1,f)}b.J(e.join("\n"));return true};c.cmd_indent=function(b){return this.A(b,false)};c.cmd_outdent= +function(b){return this.A(b,true)};a.z=function(b,o){var g=[];if(b.t().indexOf("\n")>0){b.M();var f=b.Z;g.push(f);while( +true){f=b.w(f);if(f>=b.Y)break;g.push(f)}}else g.push(b.p(b.Z));var n=o=="*"?"* ":"1. ";for(var d=0;d=0;d--){var f=g[d],h=b.q(f);b.I(f,h.af,n)}var j=new +MarkdownDeep.Markdown();j.ExtraMode=true;var e=j.GetListItems(b.ad,b.Z);while(e!=null){var i=0;for(var d=0;d1)b.M();return true};c.cmd_ullist= +function(b){return this.z(b,"*")};c.cmd_ollist=function(b){return this.z(b,"1")};c.cmd_link=function(b){b.U();if(!b.o()) +return false;var e=prompt("Enter the target URL:");if(e===null)return false;var d=b.t();if(d.length==0)d="link text";var + f="["+d+"]("+e+")";b.J(f);b.Z++;b.Y=b.Z+d.length;return true};c.cmd_img=function(b){b.U();if(!b.o())return false;var e= +prompt("Enter the image URL");if(e===null)return false;var d=b.t();if(d.length==0)d="Image Text";var f="!["+d+"]("+e+")" +;b.J(f);b.Z+=2;b.Y=b.Z+d.length;return true};c.cmd_hr=function(b){b.L();if(b.Z==0)b.J("----------\n\n");else b.J( +"\n\n----------\n\n");b.Z=b.Y;return true};c.IndentNewLine=function(){var i=this,g,h=function(){window.clearInterval(g); +var b=new p();b.D(i.aa);var e=b.p(b.R(b.Z)),d=e;while(true){var f=b.ad.charAt(d);if(f!=" "&&f!="\t")break;d++}if(d>e){b. +J(b.ad.substr(e,d-e));b.Z=b.Y}b.m()};g=window.setInterval(h,1);return false};c.cmd_indented_newline=function(b){b.J("\n" +);b.Z=b.Y;var e=b.p(b.R(b.Z)),d=e;while(true){var f=b.ad.charAt(d);if(f!=" "&&f!="\t")break;d++}if(d>e){b.J(b.ad.substr( +e,d-e));b.Z=b.Y}return true};c.InvokeCommand=function(b){if(b=="undo"||b=="redo"){this["cmd_"+b]();this.aa.focus(); +return}var d=new p();d.D(this.aa);var e=d.u();if(this["cmd_"+b](d)){this.ac=0;this.ag.splice(this.ae,this.ag.length-this +.ae,e);this.ae++;d.m();this.H();return true}else{this.aa.focus();return false}};delete a;delete c;this.Editor=l})(); +// MarkdownDeep - http://www.toptensoftware.com/markdowndeep +// Copyright (C) 2010-2011 Topten Software +var MarkdownDeepEditorUI=new(function(){this.HelpHtmlWritten=false;this.HelpHtml=function(b){var a="";a+= +'\n";return a};this.ToolbarHtml=function(){var a="";a+='\n";a+="
      \n";a+= +'
    • \n';a+= +'
    • \n';a+= +'
    • \n';a+= +'
    • \n' +;a+= +'
    • \n' +;a+='
    • \n';a+= +'
    • \n';a+= +'
    • \n';a+= +'
    • \n';a+= +'
    • \n';a+= +'
    • \n';a+= +'
    • \n';a+= +'
    • \n';a+= +'
    • \n';a+= +'
    • \n';a+= +'
    • \n';a+= +'
    • \n';a+= +"
    \n";a+='
    \n';return a};this.onResizerMouseDown=function(a){var h=window.event?a. +srcElement:a.target,f=$(h).closest(".mdd_resizer_wrap").prev(".mdd_editor_wrap").children("textarea")[0],l=a.clientY,k=$ +(f).height();$(document).bind("mousemove.mdd",e);$(document).bind("mouseup.mdd",g);return false;function g(b){$(document +).unbind("mousemove.mdd");$(document).unbind("mouseup.mdd");return false}function e(c){var b=k+c.clientY-l;if(b<50)b=50; +$(f).height(b);return false}};var j=0,i=false;this.onShowHelpPopup=function(){$("#mdd_syntax_container").fadeIn("fast"); +$(".modal_content").scrollTop(j);$(document).bind("keydown.mdd",function(k){if(k.keyCode==27){MarkdownDeepEditorUI. +onCloseHelpPopup();return false}});if(!i){i=true;var a=$("#mdd_help_location").attr("href");if(!a)a="mdd_help.htm";$( +"#mdd_syntax").load(a)}return false};this.onCloseHelpPopup=function(){j=$(".modal_content").scrollTop();$( +"#mdd_syntax_container").fadeOut("fast");$(document).unbind("keydown.mdd");$(document).unbind("scroll.mdd");return false +};this.onToolbarButton=function(a){var b=$(a.target).closest("div.mdd_toolbar_wrap").next(".mdd_editor_wrap").children( +"textarea").data("mdd");b.InvokeCommand($(a.target).attr("id").substr(4));return false}})();(function(a){a.fn. +MarkdownDeep=function(f){var h={resizebar:true,toolbar:true,help_location:"mdd_help.html"};if(f)a.extend(h,f); +return this.each(function(){var d=a(this).parent(".mdd_editor_wrap");if(d.length==0)d=a(this).wrap( +'
    ').parent();if(h.toolbar){var k=d.prev(".mdd_toolbar_wrap"),c=d.prev(".mdd_toolbar");if( +k.length==0){if(c.length==0){c=a('
    ');c.insertBefore(d)}k=c.wrap( +'
    ').parent()}else if(c.length==0){c=a('
    ');k.html(c)}c.append( +a(MarkdownDeepEditorUI.ToolbarHtml()));a("a.mdd_button",c).click(MarkdownDeepEditorUI.onToolbarButton);a("a.mdd_help",c) +.click(MarkdownDeepEditorUI.onShowHelpPopup);if(!MarkdownDeepEditorUI.HelpHtmlWritten){var l=a(MarkdownDeepEditorUI. +HelpHtml(h.help_location));l.appendTo(a("body"));a("#mdd_close_help").click(MarkdownDeepEditorUI.onCloseHelpPopup); +MarkdownDeepEditorUI.HelpHtmlWritten=true}}var b,e;if(h.resizebar){e=d.next(".mdd_resizer_wrap"),b=e.length==0?d.next( +".mdd_resizer"):e.children(".mdd_resizer");if(e.length==0){if(b.length==0){b=a('
    ');b. +insertAfter(d)}e=b.wrap('
    ').parent()}else if(b.length==0){b=a( +'
    ');e.html(b)}e.bind("mousedown",MarkdownDeepEditorUI.onResizerMouseDown)}var j=a(this).attr( +"data-mdd-preview");if(!j)j=".mdd_preview";var i=a(j)[0];if(!i){a('
    ').insertAfter(b?b: +this);i=a(".mdd_preview")[0]}var g=new MarkdownDeepEditor.Editor(this,i);if(f){jQuery.extend(g.Markdown,f);jQuery.extend +(g,f)}g.onOptionsChanged();a(this).data("mdd",g)})}})(jQuery) \ No newline at end of file diff --git a/web/Scripts/cldr.js b/web/Scripts/cldr.js new file mode 100644 index 00000000..5b3c637a --- /dev/null +++ b/web/Scripts/cldr.js @@ -0,0 +1,667 @@ +/** + * CLDR JavaScript Library v0.4.1 + * http://jquery.com/ + * + * Copyright 2013 Rafael Xavier de Souza + * Released under the MIT license + * http://jquery.org/license + * + * Date: 2015-02-25T13:51Z + */ +/*! + * CLDR JavaScript Library v0.4.1 2015-02-25T13:51Z MIT license © Rafael Xavier + * http://git.io/h4lmVg + */ +(function( root, factory ) { + + if ( typeof define === "function" && define.amd ) { + // AMD. + define( factory ); + } else if ( typeof module === "object" && typeof module.exports === "object" ) { + // Node. CommonJS. + module.exports = factory(); + } else { + // Global + root.Cldr = factory(); + } + +}( this, function() { + + + var arrayIsArray = Array.isArray || function( obj ) { + return Object.prototype.toString.call( obj ) === "[object Array]"; + }; + + + + + var pathNormalize = function( path, attributes ) { + if ( arrayIsArray( path ) ) { + path = path.join( "/" ); + } + if ( typeof path !== "string" ) { + throw new Error( "invalid path \"" + path + "\"" ); + } + // 1: Ignore leading slash `/` + // 2: Ignore leading `cldr/` + path = path + .replace( /^\// , "" ) /* 1 */ + .replace( /^cldr\// , "" ); /* 2 */ + + // Replace {attribute}'s + path = path.replace( /{[a-zA-Z]+}/g, function( name ) { + name = name.replace( /^{([^}]*)}$/, "$1" ); + return attributes[ name ]; + }); + + return path.split( "/" ); + }; + + + + + var arraySome = function( array, callback ) { + var i, length; + if ( array.some ) { + return array.some( callback ); + } + for ( i = 0, length = array.length; i < length; i++ ) { + if ( callback( array[ i ], i, array ) ) { + return true; + } + } + return false; + }; + + + + + /** + * Return the maximized language id as defined in + * http://www.unicode.org/reports/tr35/#Likely_Subtags + * 1. Canonicalize. + * 1.1 Make sure the input locale is in canonical form: uses the right + * separator, and has the right casing. + * TODO Right casing? What df? It seems languages are lowercase, scripts are + * Capitalized, territory is uppercase. I am leaving this as an exercise to + * the user. + * + * 1.2 Replace any deprecated subtags with their canonical values using the + * data in supplemental metadata. Use the first value in the + * replacement list, if it exists. Language tag replacements may have multiple + * parts, such as "sh" ➞ "sr_Latn" or mo" ➞ "ro_MD". In such a case, the + * original script and/or region are retained if there is one. Thus + * "sh_Arab_AQ" ➞ "sr_Arab_AQ", not "sr_Latn_AQ". + * TODO What data? + * + * 1.3 If the tag is grandfathered (see in the supplemental data), then return it. + * TODO grandfathered? + * + * 1.4 Remove the script code 'Zzzz' and the region code 'ZZ' if they occur. + * 1.5 Get the components of the cleaned-up source tag (languages, scripts, + * and regions), plus any variants and extensions. + * 2. Lookup. Lookup each of the following in order, and stop on the first + * match: + * 2.1 languages_scripts_regions + * 2.2 languages_regions + * 2.3 languages_scripts + * 2.4 languages + * 2.5 und_scripts + * 3. Return + * 3.1 If there is no match, either return an error value, or the match for + * "und" (in APIs where a valid language tag is required). + * 3.2 Otherwise there is a match = languagem_scriptm_regionm + * 3.3 Let xr = xs if xs is not empty, and xm otherwise. + * 3.4 Return the language tag composed of languager _ scriptr _ regionr + + * variants + extensions. + * + * @subtags [Array] normalized language id subtags tuple (see init.js). + */ + var coreLikelySubtags = function( Cldr, cldr, subtags, options ) { + var match, matchFound, + language = subtags[ 0 ], + script = subtags[ 1 ], + sep = Cldr.localeSep, + territory = subtags[ 2 ]; + options = options || {}; + + // Skip if (language, script, territory) is not empty [3.3] + if ( language !== "und" && script !== "Zzzz" && territory !== "ZZ" ) { + return [ language, script, territory ]; + } + + // Skip if no supplemental likelySubtags data is present + if ( typeof cldr.get( "supplemental/likelySubtags" ) === "undefined" ) { + return; + } + + // [2] + matchFound = arraySome([ + [ language, script, territory ], + [ language, territory ], + [ language, script ], + [ language ], + [ "und", script ] + ], function( test ) { + return match = !(/\b(Zzzz|ZZ)\b/).test( test.join( sep ) ) /* [1.4] */ && cldr.get( [ "supplemental/likelySubtags", test.join( sep ) ] ); + }); + + // [3] + if ( matchFound ) { + // [3.2 .. 3.4] + match = match.split( sep ); + return [ + language !== "und" ? language : match[ 0 ], + script !== "Zzzz" ? script : match[ 1 ], + territory !== "ZZ" ? territory : match[ 2 ] + ]; + } else if ( options.force ) { + // [3.1.2] + return cldr.get( "supplemental/likelySubtags/und" ).split( sep ); + } else { + // [3.1.1] + return; + } + }; + + + + /** + * Given a locale, remove any fields that Add Likely Subtags would add. + * http://www.unicode.org/reports/tr35/#Likely_Subtags + * 1. First get max = AddLikelySubtags(inputLocale). If an error is signaled, + * return it. + * 2. Remove the variants from max. + * 3. Then for trial in {language, language _ region, language _ script}. If + * AddLikelySubtags(trial) = max, then return trial + variants. + * 4. If you do not get a match, return max + variants. + * + * @maxLanguageId [Array] maxLanguageId tuple (see init.js). + */ + var coreRemoveLikelySubtags = function( Cldr, cldr, maxLanguageId ) { + var match, matchFound, + language = maxLanguageId[ 0 ], + script = maxLanguageId[ 1 ], + territory = maxLanguageId[ 2 ]; + + // [3] + matchFound = arraySome([ + [ [ language, "Zzzz", "ZZ" ], [ language ] ], + [ [ language, "Zzzz", territory ], [ language, territory ] ], + [ [ language, script, "ZZ" ], [ language, script ] ] + ], function( test ) { + var result = coreLikelySubtags( Cldr, cldr, test[ 0 ] ); + match = test[ 1 ]; + return result && result[ 0 ] === maxLanguageId[ 0 ] && + result[ 1 ] === maxLanguageId[ 1 ] && + result[ 2 ] === maxLanguageId[ 2 ]; + }); + + // [4] + return matchFound ? match : maxLanguageId; + }; + + + + + /** + * subtags( locale ) + * + * @locale [String] + */ + var coreSubtags = function( locale ) { + var aux, unicodeLanguageId, + subtags = []; + + locale = locale.replace( /_/, "-" ); + + // Unicode locale extensions. + aux = locale.split( "-u-" ); + if ( aux[ 1 ] ) { + aux[ 1 ] = aux[ 1 ].split( "-t-" ); + locale = aux[ 0 ] + ( aux[ 1 ][ 1 ] ? "-t-" + aux[ 1 ][ 1 ] : ""); + subtags[ 4 /* unicodeLocaleExtensions */ ] = aux[ 1 ][ 0 ]; + } + + // TODO normalize transformed extensions. Currently, skipped. + // subtags[ x ] = locale.split( "-t-" )[ 1 ]; + unicodeLanguageId = locale.split( "-t-" )[ 0 ]; + + // unicode_language_id = "root" + // | unicode_language_subtag + // (sep unicode_script_subtag)? + // (sep unicode_region_subtag)? + // (sep unicode_variant_subtag)* ; + // + // Although unicode_language_subtag = alpha{2,8}, I'm using alpha{2,3}. Because, there's no language on CLDR lengthier than 3. + aux = unicodeLanguageId.match( /^(([a-z]{2,3})(-([A-Z][a-z]{3}))?(-([A-Z]{2}|[0-9]{3}))?)(-[a-zA-Z0-9]{5,8}|[0-9][a-zA-Z0-9]{3})*$|^(root)$/ ); + if ( aux === null ) { + return [ "und", "Zzzz", "ZZ" ]; + } + subtags[ 0 /* language */ ] = aux[ 9 ] /* root */ || aux[ 2 ] || "und"; + subtags[ 1 /* script */ ] = aux[ 4 ] || "Zzzz"; + subtags[ 2 /* territory */ ] = aux[ 6 ] || "ZZ"; + subtags[ 3 /* variant */ ] = aux[ 7 ]; + + // 0: language + // 1: script + // 2: territory (aka region) + // 3: variant + // 4: unicodeLocaleExtensions + return subtags; + }; + + + + + var arrayForEach = function( array, callback ) { + var i, length; + if ( array.forEach ) { + return array.forEach( callback ); + } + for ( i = 0, length = array.length; i < length; i++ ) { + callback( array[ i ], i, array ); + } + }; + + + + + /** + * bundleLookup( minLanguageId ) + * + * @Cldr [Cldr class] + * + * @cldr [Cldr instance] + * + * @minLanguageId [String] requested languageId after applied remove likely subtags. + */ + var bundleLookup = function( Cldr, cldr, minLanguageId ) { + var availableBundleMap = Cldr._availableBundleMap, + availableBundleMapQueue = Cldr._availableBundleMapQueue; + + if ( availableBundleMapQueue.length ) { + arrayForEach( availableBundleMapQueue, function( bundle ) { + var existing, maxBundle, minBundle, subtags; + subtags = coreSubtags( bundle ); + maxBundle = coreLikelySubtags( Cldr, cldr, subtags, { force: true } ) || subtags; + minBundle = coreRemoveLikelySubtags( Cldr, cldr, maxBundle ); + minBundle = minBundle.join( Cldr.localeSep ); + existing = availableBundleMapQueue[ minBundle ]; + if ( existing && existing.length < bundle.length ) { + return; + } + availableBundleMap[ minBundle ] = bundle; + }); + Cldr._availableBundleMapQueue = []; + } + + return availableBundleMap[ minLanguageId ] || null; + }; + + + + + var objectKeys = function( object ) { + var i, + result = []; + + if ( Object.keys ) { + return Object.keys( object ); + } + + for ( i in object ) { + result.push( i ); + } + + return result; + }; + + + + + var createError = function( code, attributes ) { + var error, message; + + message = code + ( attributes && JSON ? ": " + JSON.stringify( attributes ) : "" ); + error = new Error( message ); + error.code = code; + + // extend( error, attributes ); + arrayForEach( objectKeys( attributes ), function( attribute ) { + error[ attribute ] = attributes[ attribute ]; + }); + + return error; + }; + + + + + var validate = function( code, check, attributes ) { + if ( !check ) { + throw createError( code, attributes ); + } + }; + + + + + var validatePresence = function( value, name ) { + validate( "E_MISSING_PARAMETER", typeof value !== "undefined", { + name: name + }); + }; + + + + + var validateType = function( value, name, check, expected ) { + validate( "E_INVALID_PAR_TYPE", check, { + expected: expected, + name: name, + value: value + }); + }; + + + + + var validateTypePath = function( value, name ) { + validateType( value, name, typeof value === "string" || arrayIsArray( value ), "String or Array" ); + }; + + + + + /** + * Function inspired by jQuery Core, but reduced to our use case. + */ + var isPlainObject = function( obj ) { + return obj !== null && "" + obj === "[object Object]"; + }; + + + + + var validateTypePlainObject = function( value, name ) { + validateType( value, name, typeof value === "undefined" || isPlainObject( value ), "Plain Object" ); + }; + + + + + var validateTypeString = function( value, name ) { + validateType( value, name, typeof value === "string", "a string" ); + }; + + + + + // @path: normalized path + var resourceGet = function( data, path ) { + var i, + node = data, + length = path.length; + + for ( i = 0; i < length - 1; i++ ) { + node = node[ path[ i ] ]; + if ( !node ) { + return undefined; + } + } + return node[ path[ i ] ]; + }; + + + + + /** + * setAvailableBundles( Cldr, json ) + * + * @Cldr [Cldr class] + * + * @json resolved/unresolved cldr data. + * + * Set available bundles queue based on passed json CLDR data. Considers a bundle as any String at /main/{bundle}. + */ + var coreSetAvailableBundles = function( Cldr, json ) { + var bundle, + availableBundleMapQueue = Cldr._availableBundleMapQueue, + main = resourceGet( json, [ "main" ] ); + + if ( main ) { + for ( bundle in main ) { + if ( main.hasOwnProperty( bundle ) && bundle !== "root" ) { + availableBundleMapQueue.push( bundle ); + } + } + } + }; + + + + var alwaysArray = function( somethingOrArray ) { + return arrayIsArray( somethingOrArray ) ? somethingOrArray : [ somethingOrArray ]; + }; + + + var jsonMerge = (function() { + + // Returns new deeply merged JSON. + // + // Eg. + // merge( { a: { b: 1, c: 2 } }, { a: { b: 3, d: 4 } } ) + // -> { a: { b: 3, c: 2, d: 4 } } + // + // @arguments JSON's + // + var merge = function() { + var destination = {}, + sources = [].slice.call( arguments, 0 ); + arrayForEach( sources, function( source ) { + var prop; + for ( prop in source ) { + if ( prop in destination && arrayIsArray( destination[ prop ] ) ) { + + // Concat Arrays + destination[ prop ] = destination[ prop ].concat( source[ prop ] ); + + } else if ( prop in destination && typeof destination[ prop ] === "object" ) { + + // Merge Objects + destination[ prop ] = merge( destination[ prop ], source[ prop ] ); + + } else { + + // Set new values + destination[ prop ] = source[ prop ]; + + } + } + }); + return destination; + }; + + return merge; + +}()); + + + /** + * load( Cldr, source, jsons ) + * + * @Cldr [Cldr class] + * + * @source [Object] + * + * @jsons [arguments] + */ + var coreLoad = function( Cldr, source, jsons ) { + var i, j, json; + + validatePresence( jsons[ 0 ], "json" ); + + // Support arbitrary parameters, e.g., `Cldr.load({...}, {...})`. + for ( i = 0; i < jsons.length; i++ ) { + + // Support array parameters, e.g., `Cldr.load([{...}, {...}])`. + json = alwaysArray( jsons[ i ] ); + + for ( j = 0; j < json.length; j++ ) { + validateTypePlainObject( json[ j ], "json" ); + source = jsonMerge( source, json[ j ] ); + coreSetAvailableBundles( Cldr, json[ j ] ); + } + } + + return source; + }; + + + + var itemGetResolved = function( Cldr, path, attributes ) { + // Resolve path + var normalizedPath = pathNormalize( path, attributes ); + + return resourceGet( Cldr._resolved, normalizedPath ); + }; + + + + + /** + * new Cldr() + */ + var Cldr = function( locale ) { + this.init( locale ); + }; + + // Build optimization hack to avoid duplicating functions across modules. + Cldr._alwaysArray = alwaysArray; + Cldr._coreLoad = coreLoad; + Cldr._createError = createError; + Cldr._itemGetResolved = itemGetResolved; + Cldr._jsonMerge = jsonMerge; + Cldr._pathNormalize = pathNormalize; + Cldr._resourceGet = resourceGet; + Cldr._validatePresence = validatePresence; + Cldr._validateType = validateType; + Cldr._validateTypePath = validateTypePath; + Cldr._validateTypePlainObject = validateTypePlainObject; + + Cldr._availableBundleMap = {}; + Cldr._availableBundleMapQueue = []; + Cldr._resolved = {}; + + // Allow user to override locale separator "-" (default) | "_". According to http://www.unicode.org/reports/tr35/#Unicode_language_identifier, both "-" and "_" are valid locale separators (eg. "en_GB", "en-GB"). According to http://unicode.org/cldr/trac/ticket/6786 its usage must be consistent throughout the data set. + Cldr.localeSep = "-"; + + /** + * Cldr.load( json [, json, ...] ) + * + * @json [JSON] CLDR data or [Array] Array of @json's. + * + * Load resolved cldr data. + */ + Cldr.load = function() { + Cldr._resolved = coreLoad( Cldr, Cldr._resolved, arguments ); + }; + + /** + * .init() automatically run on instantiation/construction. + */ + Cldr.prototype.init = function( locale ) { + var attributes, language, maxLanguageId, minLanguageId, script, subtags, territory, unicodeLocaleExtensions, variant, + sep = Cldr.localeSep; + + validatePresence( locale, "locale" ); + validateTypeString( locale, "locale" ); + + subtags = coreSubtags( locale ); + + unicodeLocaleExtensions = subtags[ 4 ]; + variant = subtags[ 3 ]; + + // Normalize locale code. + // Get (or deduce) the "triple subtags": language, territory (also aliased as region), and script subtags. + // Get the variant subtags (calendar, collation, currency, etc). + // refs: + // - http://www.unicode.org/reports/tr35/#Field_Definitions + // - http://www.unicode.org/reports/tr35/#Language_and_Locale_IDs + // - http://www.unicode.org/reports/tr35/#Unicode_locale_identifier + + // When a locale id does not specify a language, or territory (region), or script, they are obtained by Likely Subtags. + maxLanguageId = coreLikelySubtags( Cldr, this, subtags, { force: true } ) || subtags; + language = maxLanguageId[ 0 ]; + script = maxLanguageId[ 1 ]; + territory = maxLanguageId[ 2 ]; + + minLanguageId = coreRemoveLikelySubtags( Cldr, this, maxLanguageId ).join( sep ); + + // Set attributes + this.attributes = attributes = { + bundle: bundleLookup( Cldr, this, minLanguageId ), + + // Unicode Language Id + minlanguageId: minLanguageId, + maxLanguageId: maxLanguageId.join( sep ), + + // Unicode Language Id Subtabs + language: language, + script: script, + territory: territory, + region: territory, /* alias */ + variant: variant + }; + + // Unicode locale extensions. + unicodeLocaleExtensions && ( "-" + unicodeLocaleExtensions ).replace( /-[a-z]{3,8}|(-[a-z]{2})-([a-z]{3,8})/g, function( attribute, key, type ) { + + if ( key ) { + + // Extension is in the `keyword` form. + attributes[ "u" + key ] = type; + } else { + + // Extension is in the `attribute` form. + attributes[ "u" + attribute ] = true; + } + }); + + this.locale = locale; + }; + + /** + * .get() + */ + Cldr.prototype.get = function( path ) { + + validatePresence( path, "path" ); + validateTypePath( path, "path" ); + + return itemGetResolved( Cldr, path, this.attributes ); + }; + + /** + * .main() + */ + Cldr.prototype.main = function( path ) { + validatePresence( path, "path" ); + validateTypePath( path, "path" ); + + validate( "E_MISSING_BUNDLE", this.attributes.bundle !== null, { + locale: this.locale + }); + + path = alwaysArray( path ); + return this.get( [ "main/{bundle}" ].concat( path ) ); + }; + + return Cldr; + + + + +})); diff --git a/web/Scripts/cldr/event.js b/web/Scripts/cldr/event.js new file mode 100644 index 00000000..f9eaa368 --- /dev/null +++ b/web/Scripts/cldr/event.js @@ -0,0 +1,585 @@ +/** + * CLDR JavaScript Library v0.4.1 + * http://jquery.com/ + * + * Copyright 2013 Rafael Xavier de Souza + * Released under the MIT license + * http://jquery.org/license + * + * Date: 2015-02-25T13:51Z + */ +/*! + * CLDR JavaScript Library v0.4.1 2015-02-25T13:51Z MIT license © Rafael Xavier + * http://git.io/h4lmVg + */ +(function( factory ) { + + if ( typeof define === "function" && define.amd ) { + // AMD. + define( [ "../cldr" ], factory ); + } else if ( typeof module === "object" && typeof module.exports === "object" ) { + // Node. CommonJS. + module.exports = factory( require( "cldrjs" ) ); + } else { + // Global + factory( Cldr ); + } + +}(function( Cldr ) { + + // Build optimization hack to avoid duplicating functions across modules. + var pathNormalize = Cldr._pathNormalize, + validatePresence = Cldr._validatePresence, + validateType = Cldr._validateType; + +/*! + * EventEmitter v4.2.7 - git.io/ee + * Oliver Caldwell + * MIT license + * @preserve + */ + +var EventEmitter; +/* jshint ignore:start */ +EventEmitter = (function () { + + + /** + * Class for managing events. + * Can be extended to provide event functionality in other classes. + * + * @class EventEmitter Manages event registering and emitting. + */ + function EventEmitter() {} + + // Shortcuts to improve speed and size + var proto = EventEmitter.prototype; + var exports = this; + var originalGlobalValue = exports.EventEmitter; + + /** + * Finds the index of the listener for the event in it's storage array. + * + * @param {Function[]} listeners Array of listeners to search through. + * @param {Function} listener Method to look for. + * @return {Number} Index of the specified listener, -1 if not found + * @api private + */ + function indexOfListener(listeners, listener) { + var i = listeners.length; + while (i--) { + if (listeners[i].listener === listener) { + return i; + } + } + + return -1; + } + + /** + * Alias a method while keeping the context correct, to allow for overwriting of target method. + * + * @param {String} name The name of the target method. + * @return {Function} The aliased method + * @api private + */ + function alias(name) { + return function aliasClosure() { + return this[name].apply(this, arguments); + }; + } + + /** + * Returns the listener array for the specified event. + * Will initialise the event object and listener arrays if required. + * Will return an object if you use a regex search. The object contains keys for each matched event. So /ba[rz]/ might return an object containing bar and baz. But only if you have either defined them with defineEvent or added some listeners to them. + * Each property in the object response is an array of listener functions. + * + * @param {String|RegExp} evt Name of the event to return the listeners from. + * @return {Function[]|Object} All listener functions for the event. + */ + proto.getListeners = function getListeners(evt) { + var events = this._getEvents(); + var response; + var key; + + // Return a concatenated array of all matching events if + // the selector is a regular expression. + if (evt instanceof RegExp) { + response = {}; + for (key in events) { + if (events.hasOwnProperty(key) && evt.test(key)) { + response[key] = events[key]; + } + } + } + else { + response = events[evt] || (events[evt] = []); + } + + return response; + }; + + /** + * Takes a list of listener objects and flattens it into a list of listener functions. + * + * @param {Object[]} listeners Raw listener objects. + * @return {Function[]} Just the listener functions. + */ + proto.flattenListeners = function flattenListeners(listeners) { + var flatListeners = []; + var i; + + for (i = 0; i < listeners.length; i += 1) { + flatListeners.push(listeners[i].listener); + } + + return flatListeners; + }; + + /** + * Fetches the requested listeners via getListeners but will always return the results inside an object. This is mainly for internal use but others may find it useful. + * + * @param {String|RegExp} evt Name of the event to return the listeners from. + * @return {Object} All listener functions for an event in an object. + */ + proto.getListenersAsObject = function getListenersAsObject(evt) { + var listeners = this.getListeners(evt); + var response; + + if (listeners instanceof Array) { + response = {}; + response[evt] = listeners; + } + + return response || listeners; + }; + + /** + * Adds a listener function to the specified event. + * The listener will not be added if it is a duplicate. + * If the listener returns true then it will be removed after it is called. + * If you pass a regular expression as the event name then the listener will be added to all events that match it. + * + * @param {String|RegExp} evt Name of the event to attach the listener to. + * @param {Function} listener Method to be called when the event is emitted. If the function returns true then it will be removed after calling. + * @return {Object} Current instance of EventEmitter for chaining. + */ + proto.addListener = function addListener(evt, listener) { + var listeners = this.getListenersAsObject(evt); + var listenerIsWrapped = typeof listener === 'object'; + var key; + + for (key in listeners) { + if (listeners.hasOwnProperty(key) && indexOfListener(listeners[key], listener) === -1) { + listeners[key].push(listenerIsWrapped ? listener : { + listener: listener, + once: false + }); + } + } + + return this; + }; + + /** + * Alias of addListener + */ + proto.on = alias('addListener'); + + /** + * Semi-alias of addListener. It will add a listener that will be + * automatically removed after it's first execution. + * + * @param {String|RegExp} evt Name of the event to attach the listener to. + * @param {Function} listener Method to be called when the event is emitted. If the function returns true then it will be removed after calling. + * @return {Object} Current instance of EventEmitter for chaining. + */ + proto.addOnceListener = function addOnceListener(evt, listener) { + return this.addListener(evt, { + listener: listener, + once: true + }); + }; + + /** + * Alias of addOnceListener. + */ + proto.once = alias('addOnceListener'); + + /** + * Defines an event name. This is required if you want to use a regex to add a listener to multiple events at once. If you don't do this then how do you expect it to know what event to add to? Should it just add to every possible match for a regex? No. That is scary and bad. + * You need to tell it what event names should be matched by a regex. + * + * @param {String} evt Name of the event to create. + * @return {Object} Current instance of EventEmitter for chaining. + */ + proto.defineEvent = function defineEvent(evt) { + this.getListeners(evt); + return this; + }; + + /** + * Uses defineEvent to define multiple events. + * + * @param {String[]} evts An array of event names to define. + * @return {Object} Current instance of EventEmitter for chaining. + */ + proto.defineEvents = function defineEvents(evts) { + for (var i = 0; i < evts.length; i += 1) { + this.defineEvent(evts[i]); + } + return this; + }; + + /** + * Removes a listener function from the specified event. + * When passed a regular expression as the event name, it will remove the listener from all events that match it. + * + * @param {String|RegExp} evt Name of the event to remove the listener from. + * @param {Function} listener Method to remove from the event. + * @return {Object} Current instance of EventEmitter for chaining. + */ + proto.removeListener = function removeListener(evt, listener) { + var listeners = this.getListenersAsObject(evt); + var index; + var key; + + for (key in listeners) { + if (listeners.hasOwnProperty(key)) { + index = indexOfListener(listeners[key], listener); + + if (index !== -1) { + listeners[key].splice(index, 1); + } + } + } + + return this; + }; + + /** + * Alias of removeListener + */ + proto.off = alias('removeListener'); + + /** + * Adds listeners in bulk using the manipulateListeners method. + * If you pass an object as the second argument you can add to multiple events at once. The object should contain key value pairs of events and listeners or listener arrays. You can also pass it an event name and an array of listeners to be added. + * You can also pass it a regular expression to add the array of listeners to all events that match it. + * Yeah, this function does quite a bit. That's probably a bad thing. + * + * @param {String|Object|RegExp} evt An event name if you will pass an array of listeners next. An object if you wish to add to multiple events at once. + * @param {Function[]} [listeners] An optional array of listener functions to add. + * @return {Object} Current instance of EventEmitter for chaining. + */ + proto.addListeners = function addListeners(evt, listeners) { + // Pass through to manipulateListeners + return this.manipulateListeners(false, evt, listeners); + }; + + /** + * Removes listeners in bulk using the manipulateListeners method. + * If you pass an object as the second argument you can remove from multiple events at once. The object should contain key value pairs of events and listeners or listener arrays. + * You can also pass it an event name and an array of listeners to be removed. + * You can also pass it a regular expression to remove the listeners from all events that match it. + * + * @param {String|Object|RegExp} evt An event name if you will pass an array of listeners next. An object if you wish to remove from multiple events at once. + * @param {Function[]} [listeners] An optional array of listener functions to remove. + * @return {Object} Current instance of EventEmitter for chaining. + */ + proto.removeListeners = function removeListeners(evt, listeners) { + // Pass through to manipulateListeners + return this.manipulateListeners(true, evt, listeners); + }; + + /** + * Edits listeners in bulk. The addListeners and removeListeners methods both use this to do their job. You should really use those instead, this is a little lower level. + * The first argument will determine if the listeners are removed (true) or added (false). + * If you pass an object as the second argument you can add/remove from multiple events at once. The object should contain key value pairs of events and listeners or listener arrays. + * You can also pass it an event name and an array of listeners to be added/removed. + * You can also pass it a regular expression to manipulate the listeners of all events that match it. + * + * @param {Boolean} remove True if you want to remove listeners, false if you want to add. + * @param {String|Object|RegExp} evt An event name if you will pass an array of listeners next. An object if you wish to add/remove from multiple events at once. + * @param {Function[]} [listeners] An optional array of listener functions to add/remove. + * @return {Object} Current instance of EventEmitter for chaining. + */ + proto.manipulateListeners = function manipulateListeners(remove, evt, listeners) { + var i; + var value; + var single = remove ? this.removeListener : this.addListener; + var multiple = remove ? this.removeListeners : this.addListeners; + + // If evt is an object then pass each of it's properties to this method + if (typeof evt === 'object' && !(evt instanceof RegExp)) { + for (i in evt) { + if (evt.hasOwnProperty(i) && (value = evt[i])) { + // Pass the single listener straight through to the singular method + if (typeof value === 'function') { + single.call(this, i, value); + } + else { + // Otherwise pass back to the multiple function + multiple.call(this, i, value); + } + } + } + } + else { + // So evt must be a string + // And listeners must be an array of listeners + // Loop over it and pass each one to the multiple method + i = listeners.length; + while (i--) { + single.call(this, evt, listeners[i]); + } + } + + return this; + }; + + /** + * Removes all listeners from a specified event. + * If you do not specify an event then all listeners will be removed. + * That means every event will be emptied. + * You can also pass a regex to remove all events that match it. + * + * @param {String|RegExp} [evt] Optional name of the event to remove all listeners for. Will remove from every event if not passed. + * @return {Object} Current instance of EventEmitter for chaining. + */ + proto.removeEvent = function removeEvent(evt) { + var type = typeof evt; + var events = this._getEvents(); + var key; + + // Remove different things depending on the state of evt + if (type === 'string') { + // Remove all listeners for the specified event + delete events[evt]; + } + else if (evt instanceof RegExp) { + // Remove all events matching the regex. + for (key in events) { + if (events.hasOwnProperty(key) && evt.test(key)) { + delete events[key]; + } + } + } + else { + // Remove all listeners in all events + delete this._events; + } + + return this; + }; + + /** + * Alias of removeEvent. + * + * Added to mirror the node API. + */ + proto.removeAllListeners = alias('removeEvent'); + + /** + * Emits an event of your choice. + * When emitted, every listener attached to that event will be executed. + * If you pass the optional argument array then those arguments will be passed to every listener upon execution. + * Because it uses `apply`, your array of arguments will be passed as if you wrote them out separately. + * So they will not arrive within the array on the other side, they will be separate. + * You can also pass a regular expression to emit to all events that match it. + * + * @param {String|RegExp} evt Name of the event to emit and execute listeners for. + * @param {Array} [args] Optional array of arguments to be passed to each listener. + * @return {Object} Current instance of EventEmitter for chaining. + */ + proto.emitEvent = function emitEvent(evt, args) { + var listeners = this.getListenersAsObject(evt); + var listener; + var i; + var key; + var response; + + for (key in listeners) { + if (listeners.hasOwnProperty(key)) { + i = listeners[key].length; + + while (i--) { + // If the listener returns true then it shall be removed from the event + // The function is executed either with a basic call or an apply if there is an args array + listener = listeners[key][i]; + + if (listener.once === true) { + this.removeListener(evt, listener.listener); + } + + response = listener.listener.apply(this, args || []); + + if (response === this._getOnceReturnValue()) { + this.removeListener(evt, listener.listener); + } + } + } + } + + return this; + }; + + /** + * Alias of emitEvent + */ + proto.trigger = alias('emitEvent'); + + /** + * Subtly different from emitEvent in that it will pass its arguments on to the listeners, as opposed to taking a single array of arguments to pass on. + * As with emitEvent, you can pass a regex in place of the event name to emit to all events that match it. + * + * @param {String|RegExp} evt Name of the event to emit and execute listeners for. + * @param {...*} Optional additional arguments to be passed to each listener. + * @return {Object} Current instance of EventEmitter for chaining. + */ + proto.emit = function emit(evt) { + var args = Array.prototype.slice.call(arguments, 1); + return this.emitEvent(evt, args); + }; + + /** + * Sets the current value to check against when executing listeners. If a + * listeners return value matches the one set here then it will be removed + * after execution. This value defaults to true. + * + * @param {*} value The new value to check for when executing listeners. + * @return {Object} Current instance of EventEmitter for chaining. + */ + proto.setOnceReturnValue = function setOnceReturnValue(value) { + this._onceReturnValue = value; + return this; + }; + + /** + * Fetches the current value to check against when executing listeners. If + * the listeners return value matches this one then it should be removed + * automatically. It will return true by default. + * + * @return {*|Boolean} The current value to check for or the default, true. + * @api private + */ + proto._getOnceReturnValue = function _getOnceReturnValue() { + if (this.hasOwnProperty('_onceReturnValue')) { + return this._onceReturnValue; + } + else { + return true; + } + }; + + /** + * Fetches the events object and creates one if required. + * + * @return {Object} The events storage object. + * @api private + */ + proto._getEvents = function _getEvents() { + return this._events || (this._events = {}); + }; + + /** + * Reverts the global {@link EventEmitter} to its previous value and returns a reference to this version. + * + * @return {Function} Non conflicting EventEmitter class. + */ + EventEmitter.noConflict = function noConflict() { + exports.EventEmitter = originalGlobalValue; + return EventEmitter; + }; + + return EventEmitter; +}()); +/* jshint ignore:end */ + + + + var validateTypeFunction = function( value, name ) { + validateType( value, name, typeof value === "undefined" || typeof value === "function", "Function" ); + }; + + + + + var superGet, superInit, + globalEe = new EventEmitter(); + + function validateTypeEvent( value, name ) { + validateType( value, name, typeof value === "string" || value instanceof RegExp, "String or RegExp" ); + } + + function validateThenCall( method, self ) { + return function( event, listener ) { + validatePresence( event, "event" ); + validateTypeEvent( event, "event" ); + + validatePresence( listener, "listener" ); + validateTypeFunction( listener, "listener" ); + + return self[ method ].apply( self, arguments ); + }; + } + + function off( self ) { + return validateThenCall( "off", self ); + } + + function on( self ) { + return validateThenCall( "on", self ); + } + + function once( self ) { + return validateThenCall( "once", self ); + } + + Cldr.off = off( globalEe ); + Cldr.on = on( globalEe ); + Cldr.once = once( globalEe ); + + /** + * Overload Cldr.prototype.init(). + */ + superInit = Cldr.prototype.init; + Cldr.prototype.init = function() { + var ee; + this.ee = ee = new EventEmitter(); + this.off = off( ee ); + this.on = on( ee ); + this.once = once( ee ); + superInit.apply( this, arguments ); + }; + + /** + * getOverload is encapsulated, because of cldr/unresolved. If it's loaded + * after cldr/event (and note it overwrites .get), it can trigger this + * overload again. + */ + function getOverload() { + + /** + * Overload Cldr.prototype.get(). + */ + superGet = Cldr.prototype.get; + Cldr.prototype.get = function( path ) { + var value = superGet.apply( this, arguments ); + path = pathNormalize( path, this.attributes ).join( "/" ); + globalEe.trigger( "get", [ path, value ] ); + this.ee.trigger( "get", [ path, value ] ); + return value; + }; + } + + Cldr._eventInit = getOverload; + getOverload(); + + return Cldr; + + + + +})); diff --git a/web/Scripts/cldr/supplemental.js b/web/Scripts/cldr/supplemental.js new file mode 100644 index 00000000..87153683 --- /dev/null +++ b/web/Scripts/cldr/supplemental.js @@ -0,0 +1,101 @@ +/** + * CLDR JavaScript Library v0.4.1 + * http://jquery.com/ + * + * Copyright 2013 Rafael Xavier de Souza + * Released under the MIT license + * http://jquery.org/license + * + * Date: 2015-02-25T13:51Z + */ +/*! + * CLDR JavaScript Library v0.4.1 2015-02-25T13:51Z MIT license © Rafael Xavier + * http://git.io/h4lmVg + */ +(function( factory ) { + + if ( typeof define === "function" && define.amd ) { + // AMD. + define( [ "../cldr" ], factory ); + } else if ( typeof module === "object" && typeof module.exports === "object" ) { + // Node. CommonJS. + module.exports = factory( require( "cldrjs" ) ); + } else { + // Global + factory( Cldr ); + } + +}(function( Cldr ) { + + // Build optimization hack to avoid duplicating functions across modules. + var alwaysArray = Cldr._alwaysArray; + + + + var supplementalMain = function( cldr ) { + + var prepend, supplemental; + + prepend = function( prepend ) { + return function( path ) { + path = alwaysArray( path ); + return cldr.get( [ prepend ].concat( path ) ); + }; + }; + + supplemental = prepend( "supplemental" ); + + // Week Data + // http://www.unicode.org/reports/tr35/tr35-dates.html#Week_Data + supplemental.weekData = prepend( "supplemental/weekData" ); + + supplemental.weekData.firstDay = function() { + return cldr.get( "supplemental/weekData/firstDay/{territory}" ) || + cldr.get( "supplemental/weekData/firstDay/001" ); + }; + + supplemental.weekData.minDays = function() { + var minDays = cldr.get( "supplemental/weekData/minDays/{territory}" ) || + cldr.get( "supplemental/weekData/minDays/001" ); + return parseInt( minDays, 10 ); + }; + + // Time Data + // http://www.unicode.org/reports/tr35/tr35-dates.html#Time_Data + supplemental.timeData = prepend( "supplemental/timeData" ); + + supplemental.timeData.allowed = function() { + return cldr.get( "supplemental/timeData/{territory}/_allowed" ) || + cldr.get( "supplemental/timeData/001/_allowed" ); + }; + + supplemental.timeData.preferred = function() { + return cldr.get( "supplemental/timeData/{territory}/_preferred" ) || + cldr.get( "supplemental/timeData/001/_preferred" ); + }; + + return supplemental; + + }; + + + + + var initSuper = Cldr.prototype.init; + + /** + * .init() automatically ran on construction. + * + * Overload .init(). + */ + Cldr.prototype.init = function() { + initSuper.apply( this, arguments ); + this.supplemental = supplementalMain( this ); + }; + + return Cldr; + + + + +})); diff --git a/web/Scripts/cldr/unresolved.js b/web/Scripts/cldr/unresolved.js new file mode 100644 index 00000000..2dd323f2 --- /dev/null +++ b/web/Scripts/cldr/unresolved.js @@ -0,0 +1,164 @@ +/** + * CLDR JavaScript Library v0.4.1 + * http://jquery.com/ + * + * Copyright 2013 Rafael Xavier de Souza + * Released under the MIT license + * http://jquery.org/license + * + * Date: 2015-02-25T13:51Z + */ +/*! + * CLDR JavaScript Library v0.4.1 2015-02-25T13:51Z MIT license © Rafael Xavier + * http://git.io/h4lmVg + */ +(function( factory ) { + + if ( typeof define === "function" && define.amd ) { + // AMD. + define( [ "../cldr" ], factory ); + } else if ( typeof module === "object" && typeof module.exports === "object" ) { + // Node. CommonJS. + module.exports = factory( require( "cldrjs" ) ); + } else { + // Global + factory( Cldr ); + } + +}(function( Cldr ) { + + // Build optimization hack to avoid duplicating functions across modules. + var coreLoad = Cldr._coreLoad; + var jsonMerge = Cldr._jsonMerge; + var pathNormalize = Cldr._pathNormalize; + var resourceGet = Cldr._resourceGet; + var validatePresence = Cldr._validatePresence; + var validateTypePath = Cldr._validateTypePath; + + + + var bundleParentLookup = function( Cldr, locale ) { + var normalizedPath, parent; + + if ( locale === "root" ) { + return; + } + + // First, try to find parent on supplemental data. + normalizedPath = pathNormalize( [ "supplemental/parentLocales/parentLocale", locale ] ); + parent = resourceGet( Cldr._resolved, normalizedPath ) || resourceGet( Cldr._raw, normalizedPath ); + if ( parent ) { + return parent; + } + + // Or truncate locale. + parent = locale.substr( 0, locale.lastIndexOf( Cldr.localeSep ) ); + if ( !parent ) { + return "root"; + } + + return parent; + }; + + + + + // @path: normalized path + var resourceSet = function( data, path, value ) { + var i, + node = data, + length = path.length; + + for ( i = 0; i < length - 1; i++ ) { + if ( !node[ path[ i ] ] ) { + node[ path[ i ] ] = {}; + } + node = node[ path[ i ] ]; + } + node[ path[ i ] ] = value; + }; + + + var itemLookup = (function() { + + var lookup; + + lookup = function( Cldr, locale, path, attributes, childLocale ) { + var normalizedPath, parent, value; + + // 1: Finish recursion + // 2: Avoid infinite loop + if ( typeof locale === "undefined" /* 1 */ || locale === childLocale /* 2 */ ) { + return; + } + + // Resolve path + normalizedPath = pathNormalize( path, attributes ); + + // Check resolved (cached) data first + // 1: Due to #16, never use the cached resolved non-leaf nodes. It may not + // represent its leafs in its entirety. + value = resourceGet( Cldr._resolved, normalizedPath ); + if ( value && typeof value !== "object" /* 1 */ ) { + return value; + } + + // Check raw data + value = resourceGet( Cldr._raw, normalizedPath ); + + if ( !value ) { + // Or, lookup at parent locale + parent = bundleParentLookup( Cldr, locale ); + value = lookup( Cldr, parent, path, jsonMerge( attributes, { bundle: parent }), locale ); + } + + if ( value ) { + // Set resolved (cached) + resourceSet( Cldr._resolved, normalizedPath, value ); + } + + return value; + }; + + return lookup; + +}()); + + + Cldr._raw = {}; + + /** + * Cldr.load( json [, json, ...] ) + * + * @json [JSON] CLDR data or [Array] Array of @json's. + * + * Load resolved or unresolved cldr data. + * Overwrite Cldr.load(). + */ + Cldr.load = function() { + Cldr._raw = coreLoad( Cldr, Cldr._raw, arguments ); + }; + + /** + * Overwrite Cldr.prototype.get(). + */ + Cldr.prototype.get = function( path ) { + validatePresence( path, "path" ); + validateTypePath( path, "path" ); + + // 1: use bundle as locale on item lookup for simplification purposes, because no other extended subtag is used anyway on bundle parent lookup. + // 2: during init(), this method is called, but bundle is yet not defined. Use "" as a workaround in this very specific scenario. + return itemLookup( Cldr, this.attributes && this.attributes.bundle /* 1 */ || "" /* 2 */, path, this.attributes ); + }; + + // In case cldr/unresolved is loaded after cldr/event, we trigger its overloads again. Because, .get is overwritten in here. + if ( Cldr._eventInit ) { + Cldr._eventInit(); + } + + return Cldr; + + + + +})); diff --git a/web/Scripts/globalize.js b/web/Scripts/globalize.js new file mode 100644 index 00000000..2f744ac6 --- /dev/null +++ b/web/Scripts/globalize.js @@ -0,0 +1,355 @@ +/** + * Globalize v1.0.0 + * + * http://github.com/jquery/globalize + * + * Copyright jQuery Foundation and other contributors + * Released under the MIT license + * http://jquery.org/license + * + * Date: 2015-04-23T12:02Z + */ +/*! + * Globalize v1.0.0 2015-04-23T12:02Z Released under the MIT license + * http://git.io/TrdQbw + */ +(function( root, factory ) { + + // UMD returnExports + if ( typeof define === "function" && define.amd ) { + + // AMD + define([ + "cldr", + "cldr/event" + ], factory ); + } else if ( typeof exports === "object" ) { + + // Node, CommonJS + module.exports = factory( require( "cldrjs" ) ); + } else { + + // Global + root.Globalize = factory( root.Cldr ); + } +}( this, function( Cldr ) { + + +/** + * A toString method that outputs meaningful values for objects or arrays and + * still performs as fast as a plain string in case variable is string, or as + * fast as `"" + number` in case variable is a number. + * Ref: http://jsperf.com/my-stringify + */ +var toString = function( variable ) { + return typeof variable === "string" ? variable : ( typeof variable === "number" ? "" + + variable : JSON.stringify( variable ) ); +}; + + + + +/** + * formatMessage( message, data ) + * + * @message [String] A message with optional {vars} to be replaced. + * + * @data [Array or JSON] Object with replacing-variables content. + * + * Return the formatted message. For example: + * + * - formatMessage( "{0} second", [ 1 ] ); // 1 second + * + * - formatMessage( "{0}/{1}", ["m", "s"] ); // m/s + * + * - formatMessage( "{name} <{email}>", { + * name: "Foo", + * email: "bar@baz.qux" + * }); // Foo + */ +var formatMessage = function( message, data ) { + + // Replace {attribute}'s + message = message.replace( /{[0-9a-zA-Z-_. ]+}/g, function( name ) { + name = name.replace( /^{([^}]*)}$/, "$1" ); + return toString( data[ name ] ); + }); + + return message; +}; + + + + +var objectExtend = function() { + var destination = arguments[ 0 ], + sources = [].slice.call( arguments, 1 ); + + sources.forEach(function( source ) { + var prop; + for ( prop in source ) { + destination[ prop ] = source[ prop ]; + } + }); + + return destination; +}; + + + + +var createError = function( code, message, attributes ) { + var error; + + message = code + ( message ? ": " + formatMessage( message, attributes ) : "" ); + error = new Error( message ); + error.code = code; + + objectExtend( error, attributes ); + + return error; +}; + + + + +var validate = function( code, message, check, attributes ) { + if ( !check ) { + throw createError( code, message, attributes ); + } +}; + + + + +var alwaysArray = function( stringOrArray ) { + return Array.isArray( stringOrArray ) ? stringOrArray : stringOrArray ? [ stringOrArray ] : []; +}; + + + + +var validateCldr = function( path, value, options ) { + var skipBoolean; + options = options || {}; + + skipBoolean = alwaysArray( options.skip ).some(function( pathRe ) { + return pathRe.test( path ); + }); + + validate( "E_MISSING_CLDR", "Missing required CLDR content `{path}`.", value || skipBoolean, { + path: path + }); +}; + + + + +var validateDefaultLocale = function( value ) { + validate( "E_DEFAULT_LOCALE_NOT_DEFINED", "Default locale has not been defined.", + value !== undefined, {} ); +}; + + + + +var validateParameterPresence = function( value, name ) { + validate( "E_MISSING_PARAMETER", "Missing required parameter `{name}`.", + value !== undefined, { name: name }); +}; + + + + +/** + * range( value, name, minimum, maximum ) + * + * @value [Number]. + * + * @name [String] name of variable. + * + * @minimum [Number]. The lowest valid value, inclusive. + * + * @maximum [Number]. The greatest valid value, inclusive. + */ +var validateParameterRange = function( value, name, minimum, maximum ) { + validate( + "E_PAR_OUT_OF_RANGE", + "Parameter `{name}` has value `{value}` out of range [{minimum}, {maximum}].", + value === undefined || value >= minimum && value <= maximum, + { + maximum: maximum, + minimum: minimum, + name: name, + value: value + } + ); +}; + + + + +var validateParameterType = function( value, name, check, expected ) { + validate( + "E_INVALID_PAR_TYPE", + "Invalid `{name}` parameter ({value}). {expected} expected.", + check, + { + expected: expected, + name: name, + value: value + } + ); +}; + + + + +var validateParameterTypeLocale = function( value, name ) { + validateParameterType( + value, + name, + value === undefined || typeof value === "string" || value instanceof Cldr, + "String or Cldr instance" + ); +}; + + + + +/** + * Function inspired by jQuery Core, but reduced to our use case. + */ +var isPlainObject = function( obj ) { + return obj !== null && "" + obj === "[object Object]"; +}; + + + + +var validateParameterTypePlainObject = function( value, name ) { + validateParameterType( + value, + name, + value === undefined || isPlainObject( value ), + "Plain Object" + ); +}; + + + + +var alwaysCldr = function( localeOrCldr ) { + return localeOrCldr instanceof Cldr ? localeOrCldr : new Cldr( localeOrCldr ); +}; + + + + +// ref: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions?redirectlocale=en-US&redirectslug=JavaScript%2FGuide%2FRegular_Expressions +var regexpEscape = function( string ) { + return string.replace( /([.*+?^=!:${}()|\[\]\/\\])/g, "\\$1" ); +}; + + + + +var stringPad = function( str, count, right ) { + var length; + if ( typeof str !== "string" ) { + str = String( str ); + } + for ( length = str.length; length < count; length += 1 ) { + str = ( right ? ( str + "0" ) : ( "0" + str ) ); + } + return str; +}; + + + + +function validateLikelySubtags( cldr ) { + cldr.once( "get", validateCldr ); + cldr.get( "supplemental/likelySubtags" ); +} + +/** + * [new] Globalize( locale|cldr ) + * + * @locale [String] + * + * @cldr [Cldr instance] + * + * Create a Globalize instance. + */ +function Globalize( locale ) { + if ( !( this instanceof Globalize ) ) { + return new Globalize( locale ); + } + + validateParameterPresence( locale, "locale" ); + validateParameterTypeLocale( locale, "locale" ); + + this.cldr = alwaysCldr( locale ); + + validateLikelySubtags( this.cldr ); +} + +/** + * Globalize.load( json, ... ) + * + * @json [JSON] + * + * Load resolved or unresolved cldr data. + * Somewhat equivalent to previous Globalize.addCultureInfo(...). + */ +Globalize.load = function() { + // validations are delegated to Cldr.load(). + Cldr.load.apply( Cldr, arguments ); +}; + +/** + * Globalize.locale( [locale|cldr] ) + * + * @locale [String] + * + * @cldr [Cldr instance] + * + * Set default Cldr instance if locale or cldr argument is passed. + * + * Return the default Cldr instance. + */ +Globalize.locale = function( locale ) { + validateParameterTypeLocale( locale, "locale" ); + + if ( arguments.length ) { + this.cldr = alwaysCldr( locale ); + validateLikelySubtags( this.cldr ); + } + return this.cldr; +}; + +/** + * Optimization to avoid duplicating some internal functions across modules. + */ +Globalize._alwaysArray = alwaysArray; +Globalize._createError = createError; +Globalize._formatMessage = formatMessage; +Globalize._isPlainObject = isPlainObject; +Globalize._objectExtend = objectExtend; +Globalize._regexpEscape = regexpEscape; +Globalize._stringPad = stringPad; +Globalize._validate = validate; +Globalize._validateCldr = validateCldr; +Globalize._validateDefaultLocale = validateDefaultLocale; +Globalize._validateParameterPresence = validateParameterPresence; +Globalize._validateParameterRange = validateParameterRange; +Globalize._validateParameterTypePlainObject = validateParameterTypePlainObject; +Globalize._validateParameterType = validateParameterType; + +return Globalize; + + + + +})); diff --git a/web/Scripts/globalize/cultures/globalize.culture.af-ZA.js b/web/Scripts/globalize/cultures/globalize.culture.af-ZA.js deleted file mode 100644 index 094a81f4..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.af-ZA.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Globalize Culture af-ZA - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "af-ZA", "default", { - name: "af-ZA", - englishName: "Afrikaans (South Africa)", - nativeName: "Afrikaans (Suid Afrika)", - language: "af", - numberFormat: { - percent: { - pattern: ["-n%","n%"] - }, - currency: { - pattern: ["$-n","$ n"], - symbol: "R" - } - }, - calendars: { - standard: { - days: { - names: ["Sondag","Maandag","Dinsdag","Woensdag","Donderdag","Vrydag","Saterdag"], - namesAbbr: ["Son","Maan","Dins","Woen","Dond","Vry","Sat"], - namesShort: ["So","Ma","Di","Wo","Do","Vr","Sa"] - }, - months: { - names: ["Januarie","Februarie","Maart","April","Mei","Junie","Julie","Augustus","September","Oktober","November","Desember",""], - namesAbbr: ["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Aug","Sep","Okt","Nov","Des",""] - }, - patterns: { - d: "yyyy/MM/dd", - D: "dd MMMM yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd MMMM yyyy hh:mm tt", - F: "dd MMMM yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.af.js b/web/Scripts/globalize/cultures/globalize.culture.af.js deleted file mode 100644 index 9ac04079..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.af.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Globalize Culture af - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "af", "default", { - name: "af", - englishName: "Afrikaans", - nativeName: "Afrikaans", - language: "af", - numberFormat: { - percent: { - pattern: ["-n%","n%"] - }, - currency: { - pattern: ["$-n","$ n"], - symbol: "R" - } - }, - calendars: { - standard: { - days: { - names: ["Sondag","Maandag","Dinsdag","Woensdag","Donderdag","Vrydag","Saterdag"], - namesAbbr: ["Son","Maan","Dins","Woen","Dond","Vry","Sat"], - namesShort: ["So","Ma","Di","Wo","Do","Vr","Sa"] - }, - months: { - names: ["Januarie","Februarie","Maart","April","Mei","Junie","Julie","Augustus","September","Oktober","November","Desember",""], - namesAbbr: ["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Aug","Sep","Okt","Nov","Des",""] - }, - patterns: { - d: "yyyy/MM/dd", - D: "dd MMMM yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd MMMM yyyy hh:mm tt", - F: "dd MMMM yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.am-ET.js b/web/Scripts/globalize/cultures/globalize.culture.am-ET.js deleted file mode 100644 index 742c2090..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.am-ET.js +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Globalize Culture am-ET - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "am-ET", "default", { - name: "am-ET", - englishName: "Amharic (Ethiopia)", - nativeName: "አማርኛ (ኢትዮጵያ)", - language: "am", - numberFormat: { - decimals: 1, - groupSizes: [3,0], - "NaN": "NAN", - percent: { - pattern: ["-n%","n%"], - decimals: 1, - groupSizes: [3,0] - }, - currency: { - pattern: ["-$n","$n"], - groupSizes: [3,0], - symbol: "ETB" - } - }, - calendars: { - standard: { - days: { - names: ["እሑድ","ሰኞ","ማክሰኞ","ረቡዕ","ሐሙስ","ዓርብ","ቅዳሜ"], - namesAbbr: ["እሑድ","ሰኞ","ማክሰ","ረቡዕ","ሐሙስ","ዓርብ","ቅዳሜ"], - namesShort: ["እ","ሰ","ማ","ረ","ሐ","ዓ","ቅ"] - }, - months: { - names: ["ጃንዩወሪ","ፌብሩወሪ","ማርች","ኤፕረል","ሜይ","ጁን","ጁላይ","ኦገስት","ሴፕቴምበር","ኦክተውበር","ኖቬምበር","ዲሴምበር",""], - namesAbbr: ["ጃንዩ","ፌብሩ","ማርች","ኤፕረ","ሜይ","ጁን","ጁላይ","ኦገስ","ሴፕቴ","ኦክተ","ኖቬም","ዲሴም",""] - }, - AM: ["ጡዋት","ጡዋት","ጡዋት"], - PM: ["ከሰዓት","ከሰዓት","ከሰዓት"], - eras: [{"name":"ዓመተ ምሕረት","start":null,"offset":0}], - patterns: { - d: "d/M/yyyy", - D: "dddd '፣' MMMM d 'ቀን' yyyy", - f: "dddd '፣' MMMM d 'ቀን' yyyy h:mm tt", - F: "dddd '፣' MMMM d 'ቀን' yyyy h:mm:ss tt", - M: "MMMM d ቀን", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.am.js b/web/Scripts/globalize/cultures/globalize.culture.am.js deleted file mode 100644 index ad6f9d4f..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.am.js +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Globalize Culture am - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "am", "default", { - name: "am", - englishName: "Amharic", - nativeName: "አማርኛ", - language: "am", - numberFormat: { - decimals: 1, - groupSizes: [3,0], - "NaN": "NAN", - percent: { - pattern: ["-n%","n%"], - decimals: 1, - groupSizes: [3,0] - }, - currency: { - pattern: ["-$n","$n"], - groupSizes: [3,0], - symbol: "ETB" - } - }, - calendars: { - standard: { - days: { - names: ["እሑድ","ሰኞ","ማክሰኞ","ረቡዕ","ሐሙስ","ዓርብ","ቅዳሜ"], - namesAbbr: ["እሑድ","ሰኞ","ማክሰ","ረቡዕ","ሐሙስ","ዓርብ","ቅዳሜ"], - namesShort: ["እ","ሰ","ማ","ረ","ሐ","ዓ","ቅ"] - }, - months: { - names: ["ጃንዩወሪ","ፌብሩወሪ","ማርች","ኤፕረል","ሜይ","ጁን","ጁላይ","ኦገስት","ሴፕቴምበር","ኦክተውበር","ኖቬምበር","ዲሴምበር",""], - namesAbbr: ["ጃንዩ","ፌብሩ","ማርች","ኤፕረ","ሜይ","ጁን","ጁላይ","ኦገስ","ሴፕቴ","ኦክተ","ኖቬም","ዲሴም",""] - }, - AM: ["ጡዋት","ጡዋት","ጡዋት"], - PM: ["ከሰዓት","ከሰዓት","ከሰዓት"], - eras: [{"name":"ዓመተ ምሕረት","start":null,"offset":0}], - patterns: { - d: "d/M/yyyy", - D: "dddd '፣' MMMM d 'ቀን' yyyy", - f: "dddd '፣' MMMM d 'ቀን' yyyy h:mm tt", - F: "dddd '፣' MMMM d 'ቀን' yyyy h:mm:ss tt", - M: "MMMM d ቀን", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.ar-AE.js b/web/Scripts/globalize/cultures/globalize.culture.ar-AE.js deleted file mode 100644 index d2a4bb14..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.ar-AE.js +++ /dev/null @@ -1,457 +0,0 @@ -/* - * Globalize Culture ar-AE - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "ar-AE", "default", { - name: "ar-AE", - englishName: "Arabic (U.A.E.)", - nativeName: "العربية (الإمارات العربية المتحدة)", - language: "ar", - isRTL: true, - numberFormat: { - pattern: ["n-"], - "NaN": "ليس برقم", - negativeInfinity: "-لا نهاية", - positiveInfinity: "+لا نهاية", - currency: { - pattern: ["$n-","$ n"], - symbol: "د.إ.\u200f" - } - }, - calendars: { - standard: { - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM, yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd MMMM, yyyy hh:mm tt", - F: "dd MMMM, yyyy hh:mm:ss tt", - M: "dd MMMM" - } - }, - UmAlQura: { - name: "UmAlQura", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MMMM/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd/MMMM/yyyy hh:mm tt", - F: "dd/MMMM/yyyy hh:mm:ss tt", - M: "dd MMMM" - }, - convert: { - _yearInfo: [ - // MonthLengthFlags, Gregorian Date - [746, -2198707200000], - [1769, -2168121600000], - [3794, -2137449600000], - [3748, -2106777600000], - [3402, -2076192000000], - [2710, -2045606400000], - [1334, -2015020800000], - [2741, -1984435200000], - [3498, -1953763200000], - [2980, -1923091200000], - [2889, -1892505600000], - [2707, -1861920000000], - [1323, -1831334400000], - [2647, -1800748800000], - [1206, -1770076800000], - [2741, -1739491200000], - [1450, -1708819200000], - [3413, -1678233600000], - [3370, -1647561600000], - [2646, -1616976000000], - [1198, -1586390400000], - [2397, -1555804800000], - [748, -1525132800000], - [1749, -1494547200000], - [1706, -1463875200000], - [1365, -1433289600000], - [1195, -1402704000000], - [2395, -1372118400000], - [698, -1341446400000], - [1397, -1310860800000], - [2994, -1280188800000], - [1892, -1249516800000], - [1865, -1218931200000], - [1621, -1188345600000], - [683, -1157760000000], - [1371, -1127174400000], - [2778, -1096502400000], - [1748, -1065830400000], - [3785, -1035244800000], - [3474, -1004572800000], - [3365, -973987200000], - [2637, -943401600000], - [685, -912816000000], - [1389, -882230400000], - [2922, -851558400000], - [2898, -820886400000], - [2725, -790300800000], - [2635, -759715200000], - [1175, -729129600000], - [2359, -698544000000], - [694, -667872000000], - [1397, -637286400000], - [3434, -606614400000], - [3410, -575942400000], - [2710, -545356800000], - [2349, -514771200000], - [605, -484185600000], - [1245, -453600000000], - [2778, -422928000000], - [1492, -392256000000], - [3497, -361670400000], - [3410, -330998400000], - [2730, -300412800000], - [1238, -269827200000], - [2486, -239241600000], - [884, -208569600000], - [1897, -177984000000], - [1874, -147312000000], - [1701, -116726400000], - [1355, -86140800000], - [2731, -55555200000], - [1370, -24883200000], - [2773, 5702400000], - [3538, 36374400000], - [3492, 67046400000], - [3401, 97632000000], - [2709, 128217600000], - [1325, 158803200000], - [2653, 189388800000], - [1370, 220060800000], - [2773, 250646400000], - [1706, 281318400000], - [1685, 311904000000], - [1323, 342489600000], - [2647, 373075200000], - [1198, 403747200000], - [2422, 434332800000], - [1388, 465004800000], - [2901, 495590400000], - [2730, 526262400000], - [2645, 556848000000], - [1197, 587433600000], - [2397, 618019200000], - [730, 648691200000], - [1497, 679276800000], - [3506, 709948800000], - [2980, 740620800000], - [2890, 771206400000], - [2645, 801792000000], - [693, 832377600000], - [1397, 862963200000], - [2922, 893635200000], - [3026, 924307200000], - [3012, 954979200000], - [2953, 985564800000], - [2709, 1016150400000], - [1325, 1046736000000], - [1453, 1077321600000], - [2922, 1107993600000], - [1748, 1138665600000], - [3529, 1169251200000], - [3474, 1199923200000], - [2726, 1230508800000], - [2390, 1261094400000], - [686, 1291680000000], - [1389, 1322265600000], - [874, 1352937600000], - [2901, 1383523200000], - [2730, 1414195200000], - [2381, 1444780800000], - [1181, 1475366400000], - [2397, 1505952000000], - [698, 1536624000000], - [1461, 1567209600000], - [1450, 1597881600000], - [3413, 1628467200000], - [2714, 1659139200000], - [2350, 1689724800000], - [622, 1720310400000], - [1373, 1750896000000], - [2778, 1781568000000], - [1748, 1812240000000], - [1701, 1842825600000], - [0, 1873411200000] - ], - minDate: -2198707200000, - maxDate: 1873411199999, - toGregorian: function(hyear, hmonth, hday) { - var days = hday - 1, - gyear = hyear - 1318; - if (gyear < 0 || gyear >= this._yearInfo.length) return null; - var info = this._yearInfo[gyear], - gdate = new Date(info[1]), - monthLength = info[0]; - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the gregorian date in the same timezone, - // not what the gregorian date was at GMT time, so we adjust for the offset. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - for (var i = 0; i < hmonth; i++) { - days += 29 + (monthLength & 1); - monthLength = monthLength >> 1; - } - gdate.setDate(gdate.getDate() + days); - return gdate; - }, - fromGregorian: function(gdate) { - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the hijri date in the same timezone, - // not what the hijri date was at GMT time, so we adjust for the offset. - var ticks = gdate - gdate.getTimezoneOffset() * 60000; - if (ticks < this.minDate || ticks > this.maxDate) return null; - var hyear = 0, - hmonth = 1; - // find the earliest gregorian date in the array that is greater than or equal to the given date - while (ticks > this._yearInfo[++hyear][1]) { } - if (ticks !== this._yearInfo[hyear][1]) { - hyear--; - } - var info = this._yearInfo[hyear], - // how many days has it been since the date we found in the array? - // 86400000 = ticks per day - days = Math.floor((ticks - info[1]) / 86400000), - monthLength = info[0]; - hyear += 1318; // the Nth array entry corresponds to hijri year 1318+N - // now increment day/month based on the total days, considering - // how many days are in each month. We cannot run past the year - // mark since we would have found a different array entry in that case. - var daysInMonth = 29 + (monthLength & 1); - while (days >= daysInMonth) { - days -= daysInMonth; - monthLength = monthLength >> 1; - daysInMonth = 29 + (monthLength & 1); - hmonth++; - } - // remaining days is less than is in one month, thus is the day of the month we landed on - // hmonth-1 because in javascript months are zero based, stay consistent with that. - return [hyear, hmonth - 1, days + 1]; - } - } - }, - Hijri: { - name: "Hijri", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MM/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd/MM/yyyy hh:mm tt", - F: "dd/MM/yyyy hh:mm:ss tt", - M: "dd MMMM" - }, - convert: { - // Adapted to Script from System.Globalization.HijriCalendar - ticks1970: 62135596800000, - // number of days leading up to each month - monthDays: [0, 30, 59, 89, 118, 148, 177, 207, 236, 266, 295, 325, 355], - minDate: -42521673600000, - maxDate: 253402300799999, - // The number of days to add or subtract from the calendar to accommodate the variances - // in the start and the end of Ramadan and to accommodate the date difference between - // countries/regions. May be dynamically adjusted based on user preference, but should - // remain in the range of -2 to 2, inclusive. - hijriAdjustment: 0, - toGregorian: function(hyear, hmonth, hday) { - var daysSinceJan0101 = this.daysToYear(hyear) + this.monthDays[hmonth] + hday - 1 - this.hijriAdjustment; - // 86400000 = ticks per day - var gdate = new Date(daysSinceJan0101 * 86400000 - this.ticks1970); - // adjust for timezone, because we are interested in the gregorian date for the same timezone - // but ticks in javascript is always from GMT, unlike the server were ticks counts from the base - // date in the current timezone. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - return gdate; - }, - fromGregorian: function(gdate) { - if ((gdate < this.minDate) || (gdate > this.maxDate)) return null; - var ticks = this.ticks1970 + (gdate-0) - gdate.getTimezoneOffset() * 60000, - daysSinceJan0101 = Math.floor(ticks / 86400000) + 1 + this.hijriAdjustment; - // very particular formula determined by someone smart, adapted from the server-side implementation. - // it approximates the hijri year. - var hday, hmonth, hyear = Math.floor(((daysSinceJan0101 - 227013) * 30) / 10631) + 1, - absDays = this.daysToYear(hyear), - daysInYear = this.isLeapYear(hyear) ? 355 : 354; - // hyear is just approximate, it may need adjustment up or down by 1. - if (daysSinceJan0101 < absDays) { - hyear--; - absDays -= daysInYear; - } - else if (daysSinceJan0101 === absDays) { - hyear--; - absDays = this.daysToYear(hyear); - } - else { - if (daysSinceJan0101 > (absDays + daysInYear)) { - absDays += daysInYear; - hyear++; - } - } - // determine month by looking at how many days into the hyear we are - // monthDays contains the number of days up to each month. - hmonth = 0; - var daysIntoYear = daysSinceJan0101 - absDays; - while (hmonth <= 11 && daysIntoYear > this.monthDays[hmonth]) { - hmonth++; - } - hmonth--; - hday = daysIntoYear - this.monthDays[hmonth]; - return [hyear, hmonth, hday]; - }, - daysToYear: function(year) { - // calculates how many days since Jan 1, 0001 - var yearsToYear30 = Math.floor((year - 1) / 30) * 30, - yearsInto30 = year - yearsToYear30 - 1, - days = Math.floor((yearsToYear30 * 10631) / 30) + 227013; - while (yearsInto30 > 0) { - days += (this.isLeapYear(yearsInto30) ? 355 : 354); - yearsInto30--; - } - return days; - }, - isLeapYear: function(year) { - return ((((year * 11) + 14) % 30) < 11); - } - } - }, - Gregorian_MiddleEastFrench: { - name: "Gregorian_MiddleEastFrench", - firstDay: 6, - days: { - names: ["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"], - namesAbbr: ["dim.","lun.","mar.","mer.","jeu.","ven.","sam."], - namesShort: ["di","lu","ma","me","je","ve","sa"] - }, - months: { - names: ["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""], - namesAbbr: ["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"ap. J.-C.","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt", - M: "dd MMMM" - } - }, - Gregorian_Arabic: { - name: "Gregorian_Arabic", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""], - namesAbbr: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - }, - Gregorian_TransliteratedFrench: { - name: "Gregorian_TransliteratedFrench", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.ar-BH.js b/web/Scripts/globalize/cultures/globalize.culture.ar-BH.js deleted file mode 100644 index 62e60f28..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.ar-BH.js +++ /dev/null @@ -1,462 +0,0 @@ -/* - * Globalize Culture ar-BH - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "ar-BH", "default", { - name: "ar-BH", - englishName: "Arabic (Bahrain)", - nativeName: "العربية (البحرين)", - language: "ar", - isRTL: true, - numberFormat: { - pattern: ["n-"], - decimals: 3, - "NaN": "ليس برقم", - negativeInfinity: "-لا نهاية", - positiveInfinity: "+لا نهاية", - percent: { - decimals: 3 - }, - currency: { - pattern: ["$n-","$ n"], - decimals: 3, - symbol: "د.ب.\u200f" - } - }, - calendars: { - standard: { - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["يناير","فبراير","مارس","ابريل","مايو","يونيو","يوليو","اغسطس","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM, yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd MMMM, yyyy hh:mm tt", - F: "dd MMMM, yyyy hh:mm:ss tt", - M: "dd MMMM" - } - }, - UmAlQura: { - name: "UmAlQura", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MMMM/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd/MMMM/yyyy hh:mm tt", - F: "dd/MMMM/yyyy hh:mm:ss tt", - M: "dd MMMM" - }, - convert: { - _yearInfo: [ - // MonthLengthFlags, Gregorian Date - [746, -2198707200000], - [1769, -2168121600000], - [3794, -2137449600000], - [3748, -2106777600000], - [3402, -2076192000000], - [2710, -2045606400000], - [1334, -2015020800000], - [2741, -1984435200000], - [3498, -1953763200000], - [2980, -1923091200000], - [2889, -1892505600000], - [2707, -1861920000000], - [1323, -1831334400000], - [2647, -1800748800000], - [1206, -1770076800000], - [2741, -1739491200000], - [1450, -1708819200000], - [3413, -1678233600000], - [3370, -1647561600000], - [2646, -1616976000000], - [1198, -1586390400000], - [2397, -1555804800000], - [748, -1525132800000], - [1749, -1494547200000], - [1706, -1463875200000], - [1365, -1433289600000], - [1195, -1402704000000], - [2395, -1372118400000], - [698, -1341446400000], - [1397, -1310860800000], - [2994, -1280188800000], - [1892, -1249516800000], - [1865, -1218931200000], - [1621, -1188345600000], - [683, -1157760000000], - [1371, -1127174400000], - [2778, -1096502400000], - [1748, -1065830400000], - [3785, -1035244800000], - [3474, -1004572800000], - [3365, -973987200000], - [2637, -943401600000], - [685, -912816000000], - [1389, -882230400000], - [2922, -851558400000], - [2898, -820886400000], - [2725, -790300800000], - [2635, -759715200000], - [1175, -729129600000], - [2359, -698544000000], - [694, -667872000000], - [1397, -637286400000], - [3434, -606614400000], - [3410, -575942400000], - [2710, -545356800000], - [2349, -514771200000], - [605, -484185600000], - [1245, -453600000000], - [2778, -422928000000], - [1492, -392256000000], - [3497, -361670400000], - [3410, -330998400000], - [2730, -300412800000], - [1238, -269827200000], - [2486, -239241600000], - [884, -208569600000], - [1897, -177984000000], - [1874, -147312000000], - [1701, -116726400000], - [1355, -86140800000], - [2731, -55555200000], - [1370, -24883200000], - [2773, 5702400000], - [3538, 36374400000], - [3492, 67046400000], - [3401, 97632000000], - [2709, 128217600000], - [1325, 158803200000], - [2653, 189388800000], - [1370, 220060800000], - [2773, 250646400000], - [1706, 281318400000], - [1685, 311904000000], - [1323, 342489600000], - [2647, 373075200000], - [1198, 403747200000], - [2422, 434332800000], - [1388, 465004800000], - [2901, 495590400000], - [2730, 526262400000], - [2645, 556848000000], - [1197, 587433600000], - [2397, 618019200000], - [730, 648691200000], - [1497, 679276800000], - [3506, 709948800000], - [2980, 740620800000], - [2890, 771206400000], - [2645, 801792000000], - [693, 832377600000], - [1397, 862963200000], - [2922, 893635200000], - [3026, 924307200000], - [3012, 954979200000], - [2953, 985564800000], - [2709, 1016150400000], - [1325, 1046736000000], - [1453, 1077321600000], - [2922, 1107993600000], - [1748, 1138665600000], - [3529, 1169251200000], - [3474, 1199923200000], - [2726, 1230508800000], - [2390, 1261094400000], - [686, 1291680000000], - [1389, 1322265600000], - [874, 1352937600000], - [2901, 1383523200000], - [2730, 1414195200000], - [2381, 1444780800000], - [1181, 1475366400000], - [2397, 1505952000000], - [698, 1536624000000], - [1461, 1567209600000], - [1450, 1597881600000], - [3413, 1628467200000], - [2714, 1659139200000], - [2350, 1689724800000], - [622, 1720310400000], - [1373, 1750896000000], - [2778, 1781568000000], - [1748, 1812240000000], - [1701, 1842825600000], - [0, 1873411200000] - ], - minDate: -2198707200000, - maxDate: 1873411199999, - toGregorian: function(hyear, hmonth, hday) { - var days = hday - 1, - gyear = hyear - 1318; - if (gyear < 0 || gyear >= this._yearInfo.length) return null; - var info = this._yearInfo[gyear], - gdate = new Date(info[1]), - monthLength = info[0]; - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the gregorian date in the same timezone, - // not what the gregorian date was at GMT time, so we adjust for the offset. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - for (var i = 0; i < hmonth; i++) { - days += 29 + (monthLength & 1); - monthLength = monthLength >> 1; - } - gdate.setDate(gdate.getDate() + days); - return gdate; - }, - fromGregorian: function(gdate) { - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the hijri date in the same timezone, - // not what the hijri date was at GMT time, so we adjust for the offset. - var ticks = gdate - gdate.getTimezoneOffset() * 60000; - if (ticks < this.minDate || ticks > this.maxDate) return null; - var hyear = 0, - hmonth = 1; - // find the earliest gregorian date in the array that is greater than or equal to the given date - while (ticks > this._yearInfo[++hyear][1]) { } - if (ticks !== this._yearInfo[hyear][1]) { - hyear--; - } - var info = this._yearInfo[hyear], - // how many days has it been since the date we found in the array? - // 86400000 = ticks per day - days = Math.floor((ticks - info[1]) / 86400000), - monthLength = info[0]; - hyear += 1318; // the Nth array entry corresponds to hijri year 1318+N - // now increment day/month based on the total days, considering - // how many days are in each month. We cannot run past the year - // mark since we would have found a different array entry in that case. - var daysInMonth = 29 + (monthLength & 1); - while (days >= daysInMonth) { - days -= daysInMonth; - monthLength = monthLength >> 1; - daysInMonth = 29 + (monthLength & 1); - hmonth++; - } - // remaining days is less than is in one month, thus is the day of the month we landed on - // hmonth-1 because in javascript months are zero based, stay consistent with that. - return [hyear, hmonth - 1, days + 1]; - } - } - }, - Hijri: { - name: "Hijri", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MM/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd/MM/yyyy hh:mm tt", - F: "dd/MM/yyyy hh:mm:ss tt", - M: "dd MMMM" - }, - convert: { - // Adapted to Script from System.Globalization.HijriCalendar - ticks1970: 62135596800000, - // number of days leading up to each month - monthDays: [0, 30, 59, 89, 118, 148, 177, 207, 236, 266, 295, 325, 355], - minDate: -42521673600000, - maxDate: 253402300799999, - // The number of days to add or subtract from the calendar to accommodate the variances - // in the start and the end of Ramadan and to accommodate the date difference between - // countries/regions. May be dynamically adjusted based on user preference, but should - // remain in the range of -2 to 2, inclusive. - hijriAdjustment: 0, - toGregorian: function(hyear, hmonth, hday) { - var daysSinceJan0101 = this.daysToYear(hyear) + this.monthDays[hmonth] + hday - 1 - this.hijriAdjustment; - // 86400000 = ticks per day - var gdate = new Date(daysSinceJan0101 * 86400000 - this.ticks1970); - // adjust for timezone, because we are interested in the gregorian date for the same timezone - // but ticks in javascript is always from GMT, unlike the server were ticks counts from the base - // date in the current timezone. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - return gdate; - }, - fromGregorian: function(gdate) { - if ((gdate < this.minDate) || (gdate > this.maxDate)) return null; - var ticks = this.ticks1970 + (gdate-0) - gdate.getTimezoneOffset() * 60000, - daysSinceJan0101 = Math.floor(ticks / 86400000) + 1 + this.hijriAdjustment; - // very particular formula determined by someone smart, adapted from the server-side implementation. - // it approximates the hijri year. - var hday, hmonth, hyear = Math.floor(((daysSinceJan0101 - 227013) * 30) / 10631) + 1, - absDays = this.daysToYear(hyear), - daysInYear = this.isLeapYear(hyear) ? 355 : 354; - // hyear is just approximate, it may need adjustment up or down by 1. - if (daysSinceJan0101 < absDays) { - hyear--; - absDays -= daysInYear; - } - else if (daysSinceJan0101 === absDays) { - hyear--; - absDays = this.daysToYear(hyear); - } - else { - if (daysSinceJan0101 > (absDays + daysInYear)) { - absDays += daysInYear; - hyear++; - } - } - // determine month by looking at how many days into the hyear we are - // monthDays contains the number of days up to each month. - hmonth = 0; - var daysIntoYear = daysSinceJan0101 - absDays; - while (hmonth <= 11 && daysIntoYear > this.monthDays[hmonth]) { - hmonth++; - } - hmonth--; - hday = daysIntoYear - this.monthDays[hmonth]; - return [hyear, hmonth, hday]; - }, - daysToYear: function(year) { - // calculates how many days since Jan 1, 0001 - var yearsToYear30 = Math.floor((year - 1) / 30) * 30, - yearsInto30 = year - yearsToYear30 - 1, - days = Math.floor((yearsToYear30 * 10631) / 30) + 227013; - while (yearsInto30 > 0) { - days += (this.isLeapYear(yearsInto30) ? 355 : 354); - yearsInto30--; - } - return days; - }, - isLeapYear: function(year) { - return ((((year * 11) + 14) % 30) < 11); - } - } - }, - Gregorian_MiddleEastFrench: { - name: "Gregorian_MiddleEastFrench", - firstDay: 6, - days: { - names: ["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"], - namesAbbr: ["dim.","lun.","mar.","mer.","jeu.","ven.","sam."], - namesShort: ["di","lu","ma","me","je","ve","sa"] - }, - months: { - names: ["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""], - namesAbbr: ["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"ap. J.-C.","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt", - M: "dd MMMM" - } - }, - Gregorian_Arabic: { - name: "Gregorian_Arabic", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""], - namesAbbr: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - }, - Gregorian_TransliteratedFrench: { - name: "Gregorian_TransliteratedFrench", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.ar-DZ.js b/web/Scripts/globalize/cultures/globalize.culture.ar-DZ.js deleted file mode 100644 index 5e8225a1..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.ar-DZ.js +++ /dev/null @@ -1,458 +0,0 @@ -/* - * Globalize Culture ar-DZ - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "ar-DZ", "default", { - name: "ar-DZ", - englishName: "Arabic (Algeria)", - nativeName: "العربية (الجزائر)", - language: "ar", - isRTL: true, - numberFormat: { - pattern: ["n-"], - "NaN": "ليس برقم", - negativeInfinity: "-لا نهاية", - positiveInfinity: "+لا نهاية", - currency: { - pattern: ["$n-","$ n"], - symbol: "د.ج.\u200f" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - patterns: { - d: "dd-MM-yyyy", - D: "dd MMMM, yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dd MMMM, yyyy H:mm", - F: "dd MMMM, yyyy H:mm:ss", - M: "dd MMMM" - } - }, - Hijri: { - name: "Hijri", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MM/yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dd/MM/yyyy H:mm", - F: "dd/MM/yyyy H:mm:ss", - M: "dd MMMM" - }, - convert: { - // Adapted to Script from System.Globalization.HijriCalendar - ticks1970: 62135596800000, - // number of days leading up to each month - monthDays: [0, 30, 59, 89, 118, 148, 177, 207, 236, 266, 295, 325, 355], - minDate: -42521673600000, - maxDate: 253402300799999, - // The number of days to add or subtract from the calendar to accommodate the variances - // in the start and the end of Ramadan and to accommodate the date difference between - // countries/regions. May be dynamically adjusted based on user preference, but should - // remain in the range of -2 to 2, inclusive. - hijriAdjustment: 0, - toGregorian: function(hyear, hmonth, hday) { - var daysSinceJan0101 = this.daysToYear(hyear) + this.monthDays[hmonth] + hday - 1 - this.hijriAdjustment; - // 86400000 = ticks per day - var gdate = new Date(daysSinceJan0101 * 86400000 - this.ticks1970); - // adjust for timezone, because we are interested in the gregorian date for the same timezone - // but ticks in javascript is always from GMT, unlike the server were ticks counts from the base - // date in the current timezone. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - return gdate; - }, - fromGregorian: function(gdate) { - if ((gdate < this.minDate) || (gdate > this.maxDate)) return null; - var ticks = this.ticks1970 + (gdate-0) - gdate.getTimezoneOffset() * 60000, - daysSinceJan0101 = Math.floor(ticks / 86400000) + 1 + this.hijriAdjustment; - // very particular formula determined by someone smart, adapted from the server-side implementation. - // it approximates the hijri year. - var hday, hmonth, hyear = Math.floor(((daysSinceJan0101 - 227013) * 30) / 10631) + 1, - absDays = this.daysToYear(hyear), - daysInYear = this.isLeapYear(hyear) ? 355 : 354; - // hyear is just approximate, it may need adjustment up or down by 1. - if (daysSinceJan0101 < absDays) { - hyear--; - absDays -= daysInYear; - } - else if (daysSinceJan0101 === absDays) { - hyear--; - absDays = this.daysToYear(hyear); - } - else { - if (daysSinceJan0101 > (absDays + daysInYear)) { - absDays += daysInYear; - hyear++; - } - } - // determine month by looking at how many days into the hyear we are - // monthDays contains the number of days up to each month. - hmonth = 0; - var daysIntoYear = daysSinceJan0101 - absDays; - while (hmonth <= 11 && daysIntoYear > this.monthDays[hmonth]) { - hmonth++; - } - hmonth--; - hday = daysIntoYear - this.monthDays[hmonth]; - return [hyear, hmonth, hday]; - }, - daysToYear: function(year) { - // calculates how many days since Jan 1, 0001 - var yearsToYear30 = Math.floor((year - 1) / 30) * 30, - yearsInto30 = year - yearsToYear30 - 1, - days = Math.floor((yearsToYear30 * 10631) / 30) + 227013; - while (yearsInto30 > 0) { - days += (this.isLeapYear(yearsInto30) ? 355 : 354); - yearsInto30--; - } - return days; - }, - isLeapYear: function(year) { - return ((((year * 11) + 14) % 30) < 11); - } - } - }, - UmAlQura: { - name: "UmAlQura", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MMMM/yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dd/MMMM/yyyy H:mm", - F: "dd/MMMM/yyyy H:mm:ss", - M: "dd MMMM" - }, - convert: { - _yearInfo: [ - // MonthLengthFlags, Gregorian Date - [746, -2198707200000], - [1769, -2168121600000], - [3794, -2137449600000], - [3748, -2106777600000], - [3402, -2076192000000], - [2710, -2045606400000], - [1334, -2015020800000], - [2741, -1984435200000], - [3498, -1953763200000], - [2980, -1923091200000], - [2889, -1892505600000], - [2707, -1861920000000], - [1323, -1831334400000], - [2647, -1800748800000], - [1206, -1770076800000], - [2741, -1739491200000], - [1450, -1708819200000], - [3413, -1678233600000], - [3370, -1647561600000], - [2646, -1616976000000], - [1198, -1586390400000], - [2397, -1555804800000], - [748, -1525132800000], - [1749, -1494547200000], - [1706, -1463875200000], - [1365, -1433289600000], - [1195, -1402704000000], - [2395, -1372118400000], - [698, -1341446400000], - [1397, -1310860800000], - [2994, -1280188800000], - [1892, -1249516800000], - [1865, -1218931200000], - [1621, -1188345600000], - [683, -1157760000000], - [1371, -1127174400000], - [2778, -1096502400000], - [1748, -1065830400000], - [3785, -1035244800000], - [3474, -1004572800000], - [3365, -973987200000], - [2637, -943401600000], - [685, -912816000000], - [1389, -882230400000], - [2922, -851558400000], - [2898, -820886400000], - [2725, -790300800000], - [2635, -759715200000], - [1175, -729129600000], - [2359, -698544000000], - [694, -667872000000], - [1397, -637286400000], - [3434, -606614400000], - [3410, -575942400000], - [2710, -545356800000], - [2349, -514771200000], - [605, -484185600000], - [1245, -453600000000], - [2778, -422928000000], - [1492, -392256000000], - [3497, -361670400000], - [3410, -330998400000], - [2730, -300412800000], - [1238, -269827200000], - [2486, -239241600000], - [884, -208569600000], - [1897, -177984000000], - [1874, -147312000000], - [1701, -116726400000], - [1355, -86140800000], - [2731, -55555200000], - [1370, -24883200000], - [2773, 5702400000], - [3538, 36374400000], - [3492, 67046400000], - [3401, 97632000000], - [2709, 128217600000], - [1325, 158803200000], - [2653, 189388800000], - [1370, 220060800000], - [2773, 250646400000], - [1706, 281318400000], - [1685, 311904000000], - [1323, 342489600000], - [2647, 373075200000], - [1198, 403747200000], - [2422, 434332800000], - [1388, 465004800000], - [2901, 495590400000], - [2730, 526262400000], - [2645, 556848000000], - [1197, 587433600000], - [2397, 618019200000], - [730, 648691200000], - [1497, 679276800000], - [3506, 709948800000], - [2980, 740620800000], - [2890, 771206400000], - [2645, 801792000000], - [693, 832377600000], - [1397, 862963200000], - [2922, 893635200000], - [3026, 924307200000], - [3012, 954979200000], - [2953, 985564800000], - [2709, 1016150400000], - [1325, 1046736000000], - [1453, 1077321600000], - [2922, 1107993600000], - [1748, 1138665600000], - [3529, 1169251200000], - [3474, 1199923200000], - [2726, 1230508800000], - [2390, 1261094400000], - [686, 1291680000000], - [1389, 1322265600000], - [874, 1352937600000], - [2901, 1383523200000], - [2730, 1414195200000], - [2381, 1444780800000], - [1181, 1475366400000], - [2397, 1505952000000], - [698, 1536624000000], - [1461, 1567209600000], - [1450, 1597881600000], - [3413, 1628467200000], - [2714, 1659139200000], - [2350, 1689724800000], - [622, 1720310400000], - [1373, 1750896000000], - [2778, 1781568000000], - [1748, 1812240000000], - [1701, 1842825600000], - [0, 1873411200000] - ], - minDate: -2198707200000, - maxDate: 1873411199999, - toGregorian: function(hyear, hmonth, hday) { - var days = hday - 1, - gyear = hyear - 1318; - if (gyear < 0 || gyear >= this._yearInfo.length) return null; - var info = this._yearInfo[gyear], - gdate = new Date(info[1]), - monthLength = info[0]; - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the gregorian date in the same timezone, - // not what the gregorian date was at GMT time, so we adjust for the offset. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - for (var i = 0; i < hmonth; i++) { - days += 29 + (monthLength & 1); - monthLength = monthLength >> 1; - } - gdate.setDate(gdate.getDate() + days); - return gdate; - }, - fromGregorian: function(gdate) { - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the hijri date in the same timezone, - // not what the hijri date was at GMT time, so we adjust for the offset. - var ticks = gdate - gdate.getTimezoneOffset() * 60000; - if (ticks < this.minDate || ticks > this.maxDate) return null; - var hyear = 0, - hmonth = 1; - // find the earliest gregorian date in the array that is greater than or equal to the given date - while (ticks > this._yearInfo[++hyear][1]) { } - if (ticks !== this._yearInfo[hyear][1]) { - hyear--; - } - var info = this._yearInfo[hyear], - // how many days has it been since the date we found in the array? - // 86400000 = ticks per day - days = Math.floor((ticks - info[1]) / 86400000), - monthLength = info[0]; - hyear += 1318; // the Nth array entry corresponds to hijri year 1318+N - // now increment day/month based on the total days, considering - // how many days are in each month. We cannot run past the year - // mark since we would have found a different array entry in that case. - var daysInMonth = 29 + (monthLength & 1); - while (days >= daysInMonth) { - days -= daysInMonth; - monthLength = monthLength >> 1; - daysInMonth = 29 + (monthLength & 1); - hmonth++; - } - // remaining days is less than is in one month, thus is the day of the month we landed on - // hmonth-1 because in javascript months are zero based, stay consistent with that. - return [hyear, hmonth - 1, days + 1]; - } - } - }, - Gregorian_MiddleEastFrench: { - name: "Gregorian_MiddleEastFrench", - firstDay: 6, - days: { - names: ["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"], - namesAbbr: ["dim.","lun.","mar.","mer.","jeu.","ven.","sam."], - namesShort: ["di","lu","ma","me","je","ve","sa"] - }, - months: { - names: ["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""], - namesAbbr: ["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"ap. J.-C.","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dddd, MMMM dd, yyyy H:mm", - F: "dddd, MMMM dd, yyyy H:mm:ss", - M: "dd MMMM" - } - }, - Gregorian_Arabic: { - name: "Gregorian_Arabic", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""], - namesAbbr: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dddd, MMMM dd, yyyy H:mm", - F: "dddd, MMMM dd, yyyy H:mm:ss" - } - }, - Gregorian_TransliteratedEnglish: { - name: "Gregorian_TransliteratedEnglish", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["أ","ا","ث","أ","خ","ج","س"] - }, - months: { - names: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["يناير","فبراير","مارس","ابريل","مايو","يونيو","يوليو","اغسطس","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dddd, MMMM dd, yyyy H:mm", - F: "dddd, MMMM dd, yyyy H:mm:ss" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.ar-EG.js b/web/Scripts/globalize/cultures/globalize.culture.ar-EG.js deleted file mode 100644 index 35313e56..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.ar-EG.js +++ /dev/null @@ -1,484 +0,0 @@ -/* - * Globalize Culture ar-EG - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "ar-EG", "default", { - name: "ar-EG", - englishName: "Arabic (Egypt)", - nativeName: "العربية (مصر)", - language: "ar", - isRTL: true, - numberFormat: { - pattern: ["n-"], - decimals: 3, - "NaN": "ليس برقم", - negativeInfinity: "-لا نهاية", - positiveInfinity: "+لا نهاية", - percent: { - decimals: 3 - }, - currency: { - pattern: ["$n-","$ n"], - symbol: "ج.م.\u200f" - } - }, - calendars: { - standard: { - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM, yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd MMMM, yyyy hh:mm tt", - F: "dd MMMM, yyyy hh:mm:ss tt", - M: "dd MMMM" - } - }, - UmAlQura: { - name: "UmAlQura", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MMMM/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd/MMMM/yyyy hh:mm tt", - F: "dd/MMMM/yyyy hh:mm:ss tt", - M: "dd MMMM" - }, - convert: { - _yearInfo: [ - // MonthLengthFlags, Gregorian Date - [746, -2198707200000], - [1769, -2168121600000], - [3794, -2137449600000], - [3748, -2106777600000], - [3402, -2076192000000], - [2710, -2045606400000], - [1334, -2015020800000], - [2741, -1984435200000], - [3498, -1953763200000], - [2980, -1923091200000], - [2889, -1892505600000], - [2707, -1861920000000], - [1323, -1831334400000], - [2647, -1800748800000], - [1206, -1770076800000], - [2741, -1739491200000], - [1450, -1708819200000], - [3413, -1678233600000], - [3370, -1647561600000], - [2646, -1616976000000], - [1198, -1586390400000], - [2397, -1555804800000], - [748, -1525132800000], - [1749, -1494547200000], - [1706, -1463875200000], - [1365, -1433289600000], - [1195, -1402704000000], - [2395, -1372118400000], - [698, -1341446400000], - [1397, -1310860800000], - [2994, -1280188800000], - [1892, -1249516800000], - [1865, -1218931200000], - [1621, -1188345600000], - [683, -1157760000000], - [1371, -1127174400000], - [2778, -1096502400000], - [1748, -1065830400000], - [3785, -1035244800000], - [3474, -1004572800000], - [3365, -973987200000], - [2637, -943401600000], - [685, -912816000000], - [1389, -882230400000], - [2922, -851558400000], - [2898, -820886400000], - [2725, -790300800000], - [2635, -759715200000], - [1175, -729129600000], - [2359, -698544000000], - [694, -667872000000], - [1397, -637286400000], - [3434, -606614400000], - [3410, -575942400000], - [2710, -545356800000], - [2349, -514771200000], - [605, -484185600000], - [1245, -453600000000], - [2778, -422928000000], - [1492, -392256000000], - [3497, -361670400000], - [3410, -330998400000], - [2730, -300412800000], - [1238, -269827200000], - [2486, -239241600000], - [884, -208569600000], - [1897, -177984000000], - [1874, -147312000000], - [1701, -116726400000], - [1355, -86140800000], - [2731, -55555200000], - [1370, -24883200000], - [2773, 5702400000], - [3538, 36374400000], - [3492, 67046400000], - [3401, 97632000000], - [2709, 128217600000], - [1325, 158803200000], - [2653, 189388800000], - [1370, 220060800000], - [2773, 250646400000], - [1706, 281318400000], - [1685, 311904000000], - [1323, 342489600000], - [2647, 373075200000], - [1198, 403747200000], - [2422, 434332800000], - [1388, 465004800000], - [2901, 495590400000], - [2730, 526262400000], - [2645, 556848000000], - [1197, 587433600000], - [2397, 618019200000], - [730, 648691200000], - [1497, 679276800000], - [3506, 709948800000], - [2980, 740620800000], - [2890, 771206400000], - [2645, 801792000000], - [693, 832377600000], - [1397, 862963200000], - [2922, 893635200000], - [3026, 924307200000], - [3012, 954979200000], - [2953, 985564800000], - [2709, 1016150400000], - [1325, 1046736000000], - [1453, 1077321600000], - [2922, 1107993600000], - [1748, 1138665600000], - [3529, 1169251200000], - [3474, 1199923200000], - [2726, 1230508800000], - [2390, 1261094400000], - [686, 1291680000000], - [1389, 1322265600000], - [874, 1352937600000], - [2901, 1383523200000], - [2730, 1414195200000], - [2381, 1444780800000], - [1181, 1475366400000], - [2397, 1505952000000], - [698, 1536624000000], - [1461, 1567209600000], - [1450, 1597881600000], - [3413, 1628467200000], - [2714, 1659139200000], - [2350, 1689724800000], - [622, 1720310400000], - [1373, 1750896000000], - [2778, 1781568000000], - [1748, 1812240000000], - [1701, 1842825600000], - [0, 1873411200000] - ], - minDate: -2198707200000, - maxDate: 1873411199999, - toGregorian: function(hyear, hmonth, hday) { - var days = hday - 1, - gyear = hyear - 1318; - if (gyear < 0 || gyear >= this._yearInfo.length) return null; - var info = this._yearInfo[gyear], - gdate = new Date(info[1]), - monthLength = info[0]; - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the gregorian date in the same timezone, - // not what the gregorian date was at GMT time, so we adjust for the offset. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - for (var i = 0; i < hmonth; i++) { - days += 29 + (monthLength & 1); - monthLength = monthLength >> 1; - } - gdate.setDate(gdate.getDate() + days); - return gdate; - }, - fromGregorian: function(gdate) { - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the hijri date in the same timezone, - // not what the hijri date was at GMT time, so we adjust for the offset. - var ticks = gdate - gdate.getTimezoneOffset() * 60000; - if (ticks < this.minDate || ticks > this.maxDate) return null; - var hyear = 0, - hmonth = 1; - // find the earliest gregorian date in the array that is greater than or equal to the given date - while (ticks > this._yearInfo[++hyear][1]) { } - if (ticks !== this._yearInfo[hyear][1]) { - hyear--; - } - var info = this._yearInfo[hyear], - // how many days has it been since the date we found in the array? - // 86400000 = ticks per day - days = Math.floor((ticks - info[1]) / 86400000), - monthLength = info[0]; - hyear += 1318; // the Nth array entry corresponds to hijri year 1318+N - // now increment day/month based on the total days, considering - // how many days are in each month. We cannot run past the year - // mark since we would have found a different array entry in that case. - var daysInMonth = 29 + (monthLength & 1); - while (days >= daysInMonth) { - days -= daysInMonth; - monthLength = monthLength >> 1; - daysInMonth = 29 + (monthLength & 1); - hmonth++; - } - // remaining days is less than is in one month, thus is the day of the month we landed on - // hmonth-1 because in javascript months are zero based, stay consistent with that. - return [hyear, hmonth - 1, days + 1]; - } - } - }, - Gregorian_TransliteratedEnglish: { - name: "Gregorian_TransliteratedEnglish", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["أ","ا","ث","أ","خ","ج","س"] - }, - months: { - names: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["يناير","فبراير","مارس","ابريل","مايو","يونيو","يوليو","اغسطس","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - }, - Hijri: { - name: "Hijri", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MM/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd/MM/yyyy hh:mm tt", - F: "dd/MM/yyyy hh:mm:ss tt", - M: "dd MMMM" - }, - convert: { - // Adapted to Script from System.Globalization.HijriCalendar - ticks1970: 62135596800000, - // number of days leading up to each month - monthDays: [0, 30, 59, 89, 118, 148, 177, 207, 236, 266, 295, 325, 355], - minDate: -42521673600000, - maxDate: 253402300799999, - // The number of days to add or subtract from the calendar to accommodate the variances - // in the start and the end of Ramadan and to accommodate the date difference between - // countries/regions. May be dynamically adjusted based on user preference, but should - // remain in the range of -2 to 2, inclusive. - hijriAdjustment: 0, - toGregorian: function(hyear, hmonth, hday) { - var daysSinceJan0101 = this.daysToYear(hyear) + this.monthDays[hmonth] + hday - 1 - this.hijriAdjustment; - // 86400000 = ticks per day - var gdate = new Date(daysSinceJan0101 * 86400000 - this.ticks1970); - // adjust for timezone, because we are interested in the gregorian date for the same timezone - // but ticks in javascript is always from GMT, unlike the server were ticks counts from the base - // date in the current timezone. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - return gdate; - }, - fromGregorian: function(gdate) { - if ((gdate < this.minDate) || (gdate > this.maxDate)) return null; - var ticks = this.ticks1970 + (gdate-0) - gdate.getTimezoneOffset() * 60000, - daysSinceJan0101 = Math.floor(ticks / 86400000) + 1 + this.hijriAdjustment; - // very particular formula determined by someone smart, adapted from the server-side implementation. - // it approximates the hijri year. - var hday, hmonth, hyear = Math.floor(((daysSinceJan0101 - 227013) * 30) / 10631) + 1, - absDays = this.daysToYear(hyear), - daysInYear = this.isLeapYear(hyear) ? 355 : 354; - // hyear is just approximate, it may need adjustment up or down by 1. - if (daysSinceJan0101 < absDays) { - hyear--; - absDays -= daysInYear; - } - else if (daysSinceJan0101 === absDays) { - hyear--; - absDays = this.daysToYear(hyear); - } - else { - if (daysSinceJan0101 > (absDays + daysInYear)) { - absDays += daysInYear; - hyear++; - } - } - // determine month by looking at how many days into the hyear we are - // monthDays contains the number of days up to each month. - hmonth = 0; - var daysIntoYear = daysSinceJan0101 - absDays; - while (hmonth <= 11 && daysIntoYear > this.monthDays[hmonth]) { - hmonth++; - } - hmonth--; - hday = daysIntoYear - this.monthDays[hmonth]; - return [hyear, hmonth, hday]; - }, - daysToYear: function(year) { - // calculates how many days since Jan 1, 0001 - var yearsToYear30 = Math.floor((year - 1) / 30) * 30, - yearsInto30 = year - yearsToYear30 - 1, - days = Math.floor((yearsToYear30 * 10631) / 30) + 227013; - while (yearsInto30 > 0) { - days += (this.isLeapYear(yearsInto30) ? 355 : 354); - yearsInto30--; - } - return days; - }, - isLeapYear: function(year) { - return ((((year * 11) + 14) % 30) < 11); - } - } - }, - Gregorian_MiddleEastFrench: { - name: "Gregorian_MiddleEastFrench", - firstDay: 6, - days: { - names: ["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"], - namesAbbr: ["dim.","lun.","mar.","mer.","jeu.","ven.","sam."], - namesShort: ["di","lu","ma","me","je","ve","sa"] - }, - months: { - names: ["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""], - namesAbbr: ["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"ap. J.-C.","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt", - M: "dd MMMM" - } - }, - Gregorian_Arabic: { - name: "Gregorian_Arabic", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""], - namesAbbr: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - }, - Gregorian_TransliteratedFrench: { - name: "Gregorian_TransliteratedFrench", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.ar-IQ.js b/web/Scripts/globalize/cultures/globalize.culture.ar-IQ.js deleted file mode 100644 index 14658fb1..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.ar-IQ.js +++ /dev/null @@ -1,457 +0,0 @@ -/* - * Globalize Culture ar-IQ - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "ar-IQ", "default", { - name: "ar-IQ", - englishName: "Arabic (Iraq)", - nativeName: "العربية (العراق)", - language: "ar", - isRTL: true, - numberFormat: { - pattern: ["n-"], - "NaN": "ليس برقم", - negativeInfinity: "-لا نهاية", - positiveInfinity: "+لا نهاية", - currency: { - pattern: ["$n-","$ n"], - symbol: "د.ع.\u200f" - } - }, - calendars: { - standard: { - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""], - namesAbbr: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM, yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd MMMM, yyyy hh:mm tt", - F: "dd MMMM, yyyy hh:mm:ss tt", - M: "dd MMMM" - } - }, - UmAlQura: { - name: "UmAlQura", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MMMM/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd/MMMM/yyyy hh:mm tt", - F: "dd/MMMM/yyyy hh:mm:ss tt", - M: "dd MMMM" - }, - convert: { - _yearInfo: [ - // MonthLengthFlags, Gregorian Date - [746, -2198707200000], - [1769, -2168121600000], - [3794, -2137449600000], - [3748, -2106777600000], - [3402, -2076192000000], - [2710, -2045606400000], - [1334, -2015020800000], - [2741, -1984435200000], - [3498, -1953763200000], - [2980, -1923091200000], - [2889, -1892505600000], - [2707, -1861920000000], - [1323, -1831334400000], - [2647, -1800748800000], - [1206, -1770076800000], - [2741, -1739491200000], - [1450, -1708819200000], - [3413, -1678233600000], - [3370, -1647561600000], - [2646, -1616976000000], - [1198, -1586390400000], - [2397, -1555804800000], - [748, -1525132800000], - [1749, -1494547200000], - [1706, -1463875200000], - [1365, -1433289600000], - [1195, -1402704000000], - [2395, -1372118400000], - [698, -1341446400000], - [1397, -1310860800000], - [2994, -1280188800000], - [1892, -1249516800000], - [1865, -1218931200000], - [1621, -1188345600000], - [683, -1157760000000], - [1371, -1127174400000], - [2778, -1096502400000], - [1748, -1065830400000], - [3785, -1035244800000], - [3474, -1004572800000], - [3365, -973987200000], - [2637, -943401600000], - [685, -912816000000], - [1389, -882230400000], - [2922, -851558400000], - [2898, -820886400000], - [2725, -790300800000], - [2635, -759715200000], - [1175, -729129600000], - [2359, -698544000000], - [694, -667872000000], - [1397, -637286400000], - [3434, -606614400000], - [3410, -575942400000], - [2710, -545356800000], - [2349, -514771200000], - [605, -484185600000], - [1245, -453600000000], - [2778, -422928000000], - [1492, -392256000000], - [3497, -361670400000], - [3410, -330998400000], - [2730, -300412800000], - [1238, -269827200000], - [2486, -239241600000], - [884, -208569600000], - [1897, -177984000000], - [1874, -147312000000], - [1701, -116726400000], - [1355, -86140800000], - [2731, -55555200000], - [1370, -24883200000], - [2773, 5702400000], - [3538, 36374400000], - [3492, 67046400000], - [3401, 97632000000], - [2709, 128217600000], - [1325, 158803200000], - [2653, 189388800000], - [1370, 220060800000], - [2773, 250646400000], - [1706, 281318400000], - [1685, 311904000000], - [1323, 342489600000], - [2647, 373075200000], - [1198, 403747200000], - [2422, 434332800000], - [1388, 465004800000], - [2901, 495590400000], - [2730, 526262400000], - [2645, 556848000000], - [1197, 587433600000], - [2397, 618019200000], - [730, 648691200000], - [1497, 679276800000], - [3506, 709948800000], - [2980, 740620800000], - [2890, 771206400000], - [2645, 801792000000], - [693, 832377600000], - [1397, 862963200000], - [2922, 893635200000], - [3026, 924307200000], - [3012, 954979200000], - [2953, 985564800000], - [2709, 1016150400000], - [1325, 1046736000000], - [1453, 1077321600000], - [2922, 1107993600000], - [1748, 1138665600000], - [3529, 1169251200000], - [3474, 1199923200000], - [2726, 1230508800000], - [2390, 1261094400000], - [686, 1291680000000], - [1389, 1322265600000], - [874, 1352937600000], - [2901, 1383523200000], - [2730, 1414195200000], - [2381, 1444780800000], - [1181, 1475366400000], - [2397, 1505952000000], - [698, 1536624000000], - [1461, 1567209600000], - [1450, 1597881600000], - [3413, 1628467200000], - [2714, 1659139200000], - [2350, 1689724800000], - [622, 1720310400000], - [1373, 1750896000000], - [2778, 1781568000000], - [1748, 1812240000000], - [1701, 1842825600000], - [0, 1873411200000] - ], - minDate: -2198707200000, - maxDate: 1873411199999, - toGregorian: function(hyear, hmonth, hday) { - var days = hday - 1, - gyear = hyear - 1318; - if (gyear < 0 || gyear >= this._yearInfo.length) return null; - var info = this._yearInfo[gyear], - gdate = new Date(info[1]), - monthLength = info[0]; - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the gregorian date in the same timezone, - // not what the gregorian date was at GMT time, so we adjust for the offset. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - for (var i = 0; i < hmonth; i++) { - days += 29 + (monthLength & 1); - monthLength = monthLength >> 1; - } - gdate.setDate(gdate.getDate() + days); - return gdate; - }, - fromGregorian: function(gdate) { - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the hijri date in the same timezone, - // not what the hijri date was at GMT time, so we adjust for the offset. - var ticks = gdate - gdate.getTimezoneOffset() * 60000; - if (ticks < this.minDate || ticks > this.maxDate) return null; - var hyear = 0, - hmonth = 1; - // find the earliest gregorian date in the array that is greater than or equal to the given date - while (ticks > this._yearInfo[++hyear][1]) { } - if (ticks !== this._yearInfo[hyear][1]) { - hyear--; - } - var info = this._yearInfo[hyear], - // how many days has it been since the date we found in the array? - // 86400000 = ticks per day - days = Math.floor((ticks - info[1]) / 86400000), - monthLength = info[0]; - hyear += 1318; // the Nth array entry corresponds to hijri year 1318+N - // now increment day/month based on the total days, considering - // how many days are in each month. We cannot run past the year - // mark since we would have found a different array entry in that case. - var daysInMonth = 29 + (monthLength & 1); - while (days >= daysInMonth) { - days -= daysInMonth; - monthLength = monthLength >> 1; - daysInMonth = 29 + (monthLength & 1); - hmonth++; - } - // remaining days is less than is in one month, thus is the day of the month we landed on - // hmonth-1 because in javascript months are zero based, stay consistent with that. - return [hyear, hmonth - 1, days + 1]; - } - } - }, - Hijri: { - name: "Hijri", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MM/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd/MM/yyyy hh:mm tt", - F: "dd/MM/yyyy hh:mm:ss tt", - M: "dd MMMM" - }, - convert: { - // Adapted to Script from System.Globalization.HijriCalendar - ticks1970: 62135596800000, - // number of days leading up to each month - monthDays: [0, 30, 59, 89, 118, 148, 177, 207, 236, 266, 295, 325, 355], - minDate: -42521673600000, - maxDate: 253402300799999, - // The number of days to add or subtract from the calendar to accommodate the variances - // in the start and the end of Ramadan and to accommodate the date difference between - // countries/regions. May be dynamically adjusted based on user preference, but should - // remain in the range of -2 to 2, inclusive. - hijriAdjustment: 0, - toGregorian: function(hyear, hmonth, hday) { - var daysSinceJan0101 = this.daysToYear(hyear) + this.monthDays[hmonth] + hday - 1 - this.hijriAdjustment; - // 86400000 = ticks per day - var gdate = new Date(daysSinceJan0101 * 86400000 - this.ticks1970); - // adjust for timezone, because we are interested in the gregorian date for the same timezone - // but ticks in javascript is always from GMT, unlike the server were ticks counts from the base - // date in the current timezone. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - return gdate; - }, - fromGregorian: function(gdate) { - if ((gdate < this.minDate) || (gdate > this.maxDate)) return null; - var ticks = this.ticks1970 + (gdate-0) - gdate.getTimezoneOffset() * 60000, - daysSinceJan0101 = Math.floor(ticks / 86400000) + 1 + this.hijriAdjustment; - // very particular formula determined by someone smart, adapted from the server-side implementation. - // it approximates the hijri year. - var hday, hmonth, hyear = Math.floor(((daysSinceJan0101 - 227013) * 30) / 10631) + 1, - absDays = this.daysToYear(hyear), - daysInYear = this.isLeapYear(hyear) ? 355 : 354; - // hyear is just approximate, it may need adjustment up or down by 1. - if (daysSinceJan0101 < absDays) { - hyear--; - absDays -= daysInYear; - } - else if (daysSinceJan0101 === absDays) { - hyear--; - absDays = this.daysToYear(hyear); - } - else { - if (daysSinceJan0101 > (absDays + daysInYear)) { - absDays += daysInYear; - hyear++; - } - } - // determine month by looking at how many days into the hyear we are - // monthDays contains the number of days up to each month. - hmonth = 0; - var daysIntoYear = daysSinceJan0101 - absDays; - while (hmonth <= 11 && daysIntoYear > this.monthDays[hmonth]) { - hmonth++; - } - hmonth--; - hday = daysIntoYear - this.monthDays[hmonth]; - return [hyear, hmonth, hday]; - }, - daysToYear: function(year) { - // calculates how many days since Jan 1, 0001 - var yearsToYear30 = Math.floor((year - 1) / 30) * 30, - yearsInto30 = year - yearsToYear30 - 1, - days = Math.floor((yearsToYear30 * 10631) / 30) + 227013; - while (yearsInto30 > 0) { - days += (this.isLeapYear(yearsInto30) ? 355 : 354); - yearsInto30--; - } - return days; - }, - isLeapYear: function(year) { - return ((((year * 11) + 14) % 30) < 11); - } - } - }, - Gregorian_MiddleEastFrench: { - name: "Gregorian_MiddleEastFrench", - firstDay: 6, - days: { - names: ["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"], - namesAbbr: ["dim.","lun.","mar.","mer.","jeu.","ven.","sam."], - namesShort: ["di","lu","ma","me","je","ve","sa"] - }, - months: { - names: ["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""], - namesAbbr: ["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"ap. J.-C.","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt", - M: "dd MMMM" - } - }, - Gregorian_TransliteratedEnglish: { - name: "Gregorian_TransliteratedEnglish", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["أ","ا","ث","أ","خ","ج","س"] - }, - months: { - names: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["يناير","فبراير","مارس","ابريل","مايو","يونيو","يوليو","اغسطس","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - }, - Gregorian_TransliteratedFrench: { - name: "Gregorian_TransliteratedFrench", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.ar-JO.js b/web/Scripts/globalize/cultures/globalize.culture.ar-JO.js deleted file mode 100644 index 9db0acd9..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.ar-JO.js +++ /dev/null @@ -1,462 +0,0 @@ -/* - * Globalize Culture ar-JO - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "ar-JO", "default", { - name: "ar-JO", - englishName: "Arabic (Jordan)", - nativeName: "العربية (الأردن)", - language: "ar", - isRTL: true, - numberFormat: { - pattern: ["n-"], - decimals: 3, - "NaN": "ليس برقم", - negativeInfinity: "-لا نهاية", - positiveInfinity: "+لا نهاية", - percent: { - decimals: 3 - }, - currency: { - pattern: ["$n-","$ n"], - decimals: 3, - symbol: "د.ا.\u200f" - } - }, - calendars: { - standard: { - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""], - namesAbbr: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM, yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd MMMM, yyyy hh:mm tt", - F: "dd MMMM, yyyy hh:mm:ss tt", - M: "dd MMMM" - } - }, - UmAlQura: { - name: "UmAlQura", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MMMM/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd/MMMM/yyyy hh:mm tt", - F: "dd/MMMM/yyyy hh:mm:ss tt", - M: "dd MMMM" - }, - convert: { - _yearInfo: [ - // MonthLengthFlags, Gregorian Date - [746, -2198707200000], - [1769, -2168121600000], - [3794, -2137449600000], - [3748, -2106777600000], - [3402, -2076192000000], - [2710, -2045606400000], - [1334, -2015020800000], - [2741, -1984435200000], - [3498, -1953763200000], - [2980, -1923091200000], - [2889, -1892505600000], - [2707, -1861920000000], - [1323, -1831334400000], - [2647, -1800748800000], - [1206, -1770076800000], - [2741, -1739491200000], - [1450, -1708819200000], - [3413, -1678233600000], - [3370, -1647561600000], - [2646, -1616976000000], - [1198, -1586390400000], - [2397, -1555804800000], - [748, -1525132800000], - [1749, -1494547200000], - [1706, -1463875200000], - [1365, -1433289600000], - [1195, -1402704000000], - [2395, -1372118400000], - [698, -1341446400000], - [1397, -1310860800000], - [2994, -1280188800000], - [1892, -1249516800000], - [1865, -1218931200000], - [1621, -1188345600000], - [683, -1157760000000], - [1371, -1127174400000], - [2778, -1096502400000], - [1748, -1065830400000], - [3785, -1035244800000], - [3474, -1004572800000], - [3365, -973987200000], - [2637, -943401600000], - [685, -912816000000], - [1389, -882230400000], - [2922, -851558400000], - [2898, -820886400000], - [2725, -790300800000], - [2635, -759715200000], - [1175, -729129600000], - [2359, -698544000000], - [694, -667872000000], - [1397, -637286400000], - [3434, -606614400000], - [3410, -575942400000], - [2710, -545356800000], - [2349, -514771200000], - [605, -484185600000], - [1245, -453600000000], - [2778, -422928000000], - [1492, -392256000000], - [3497, -361670400000], - [3410, -330998400000], - [2730, -300412800000], - [1238, -269827200000], - [2486, -239241600000], - [884, -208569600000], - [1897, -177984000000], - [1874, -147312000000], - [1701, -116726400000], - [1355, -86140800000], - [2731, -55555200000], - [1370, -24883200000], - [2773, 5702400000], - [3538, 36374400000], - [3492, 67046400000], - [3401, 97632000000], - [2709, 128217600000], - [1325, 158803200000], - [2653, 189388800000], - [1370, 220060800000], - [2773, 250646400000], - [1706, 281318400000], - [1685, 311904000000], - [1323, 342489600000], - [2647, 373075200000], - [1198, 403747200000], - [2422, 434332800000], - [1388, 465004800000], - [2901, 495590400000], - [2730, 526262400000], - [2645, 556848000000], - [1197, 587433600000], - [2397, 618019200000], - [730, 648691200000], - [1497, 679276800000], - [3506, 709948800000], - [2980, 740620800000], - [2890, 771206400000], - [2645, 801792000000], - [693, 832377600000], - [1397, 862963200000], - [2922, 893635200000], - [3026, 924307200000], - [3012, 954979200000], - [2953, 985564800000], - [2709, 1016150400000], - [1325, 1046736000000], - [1453, 1077321600000], - [2922, 1107993600000], - [1748, 1138665600000], - [3529, 1169251200000], - [3474, 1199923200000], - [2726, 1230508800000], - [2390, 1261094400000], - [686, 1291680000000], - [1389, 1322265600000], - [874, 1352937600000], - [2901, 1383523200000], - [2730, 1414195200000], - [2381, 1444780800000], - [1181, 1475366400000], - [2397, 1505952000000], - [698, 1536624000000], - [1461, 1567209600000], - [1450, 1597881600000], - [3413, 1628467200000], - [2714, 1659139200000], - [2350, 1689724800000], - [622, 1720310400000], - [1373, 1750896000000], - [2778, 1781568000000], - [1748, 1812240000000], - [1701, 1842825600000], - [0, 1873411200000] - ], - minDate: -2198707200000, - maxDate: 1873411199999, - toGregorian: function(hyear, hmonth, hday) { - var days = hday - 1, - gyear = hyear - 1318; - if (gyear < 0 || gyear >= this._yearInfo.length) return null; - var info = this._yearInfo[gyear], - gdate = new Date(info[1]), - monthLength = info[0]; - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the gregorian date in the same timezone, - // not what the gregorian date was at GMT time, so we adjust for the offset. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - for (var i = 0; i < hmonth; i++) { - days += 29 + (monthLength & 1); - monthLength = monthLength >> 1; - } - gdate.setDate(gdate.getDate() + days); - return gdate; - }, - fromGregorian: function(gdate) { - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the hijri date in the same timezone, - // not what the hijri date was at GMT time, so we adjust for the offset. - var ticks = gdate - gdate.getTimezoneOffset() * 60000; - if (ticks < this.minDate || ticks > this.maxDate) return null; - var hyear = 0, - hmonth = 1; - // find the earliest gregorian date in the array that is greater than or equal to the given date - while (ticks > this._yearInfo[++hyear][1]) { } - if (ticks !== this._yearInfo[hyear][1]) { - hyear--; - } - var info = this._yearInfo[hyear], - // how many days has it been since the date we found in the array? - // 86400000 = ticks per day - days = Math.floor((ticks - info[1]) / 86400000), - monthLength = info[0]; - hyear += 1318; // the Nth array entry corresponds to hijri year 1318+N - // now increment day/month based on the total days, considering - // how many days are in each month. We cannot run past the year - // mark since we would have found a different array entry in that case. - var daysInMonth = 29 + (monthLength & 1); - while (days >= daysInMonth) { - days -= daysInMonth; - monthLength = monthLength >> 1; - daysInMonth = 29 + (monthLength & 1); - hmonth++; - } - // remaining days is less than is in one month, thus is the day of the month we landed on - // hmonth-1 because in javascript months are zero based, stay consistent with that. - return [hyear, hmonth - 1, days + 1]; - } - } - }, - Hijri: { - name: "Hijri", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MM/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd/MM/yyyy hh:mm tt", - F: "dd/MM/yyyy hh:mm:ss tt", - M: "dd MMMM" - }, - convert: { - // Adapted to Script from System.Globalization.HijriCalendar - ticks1970: 62135596800000, - // number of days leading up to each month - monthDays: [0, 30, 59, 89, 118, 148, 177, 207, 236, 266, 295, 325, 355], - minDate: -42521673600000, - maxDate: 253402300799999, - // The number of days to add or subtract from the calendar to accommodate the variances - // in the start and the end of Ramadan and to accommodate the date difference between - // countries/regions. May be dynamically adjusted based on user preference, but should - // remain in the range of -2 to 2, inclusive. - hijriAdjustment: 0, - toGregorian: function(hyear, hmonth, hday) { - var daysSinceJan0101 = this.daysToYear(hyear) + this.monthDays[hmonth] + hday - 1 - this.hijriAdjustment; - // 86400000 = ticks per day - var gdate = new Date(daysSinceJan0101 * 86400000 - this.ticks1970); - // adjust for timezone, because we are interested in the gregorian date for the same timezone - // but ticks in javascript is always from GMT, unlike the server were ticks counts from the base - // date in the current timezone. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - return gdate; - }, - fromGregorian: function(gdate) { - if ((gdate < this.minDate) || (gdate > this.maxDate)) return null; - var ticks = this.ticks1970 + (gdate-0) - gdate.getTimezoneOffset() * 60000, - daysSinceJan0101 = Math.floor(ticks / 86400000) + 1 + this.hijriAdjustment; - // very particular formula determined by someone smart, adapted from the server-side implementation. - // it approximates the hijri year. - var hday, hmonth, hyear = Math.floor(((daysSinceJan0101 - 227013) * 30) / 10631) + 1, - absDays = this.daysToYear(hyear), - daysInYear = this.isLeapYear(hyear) ? 355 : 354; - // hyear is just approximate, it may need adjustment up or down by 1. - if (daysSinceJan0101 < absDays) { - hyear--; - absDays -= daysInYear; - } - else if (daysSinceJan0101 === absDays) { - hyear--; - absDays = this.daysToYear(hyear); - } - else { - if (daysSinceJan0101 > (absDays + daysInYear)) { - absDays += daysInYear; - hyear++; - } - } - // determine month by looking at how many days into the hyear we are - // monthDays contains the number of days up to each month. - hmonth = 0; - var daysIntoYear = daysSinceJan0101 - absDays; - while (hmonth <= 11 && daysIntoYear > this.monthDays[hmonth]) { - hmonth++; - } - hmonth--; - hday = daysIntoYear - this.monthDays[hmonth]; - return [hyear, hmonth, hday]; - }, - daysToYear: function(year) { - // calculates how many days since Jan 1, 0001 - var yearsToYear30 = Math.floor((year - 1) / 30) * 30, - yearsInto30 = year - yearsToYear30 - 1, - days = Math.floor((yearsToYear30 * 10631) / 30) + 227013; - while (yearsInto30 > 0) { - days += (this.isLeapYear(yearsInto30) ? 355 : 354); - yearsInto30--; - } - return days; - }, - isLeapYear: function(year) { - return ((((year * 11) + 14) % 30) < 11); - } - } - }, - Gregorian_MiddleEastFrench: { - name: "Gregorian_MiddleEastFrench", - firstDay: 6, - days: { - names: ["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"], - namesAbbr: ["dim.","lun.","mar.","mer.","jeu.","ven.","sam."], - namesShort: ["di","lu","ma","me","je","ve","sa"] - }, - months: { - names: ["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""], - namesAbbr: ["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"ap. J.-C.","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt", - M: "dd MMMM" - } - }, - Gregorian_TransliteratedEnglish: { - name: "Gregorian_TransliteratedEnglish", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["أ","ا","ث","أ","خ","ج","س"] - }, - months: { - names: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["يناير","فبراير","مارس","ابريل","مايو","يونيو","يوليو","اغسطس","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - }, - Gregorian_TransliteratedFrench: { - name: "Gregorian_TransliteratedFrench", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.ar-KW.js b/web/Scripts/globalize/cultures/globalize.culture.ar-KW.js deleted file mode 100644 index e69de29b..00000000 diff --git a/web/Scripts/globalize/cultures/globalize.culture.ar-LB.js b/web/Scripts/globalize/cultures/globalize.culture.ar-LB.js deleted file mode 100644 index 6c621f85..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.ar-LB.js +++ /dev/null @@ -1,457 +0,0 @@ -/* - * Globalize Culture ar-LB - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "ar-LB", "default", { - name: "ar-LB", - englishName: "Arabic (Lebanon)", - nativeName: "العربية (لبنان)", - language: "ar", - isRTL: true, - numberFormat: { - pattern: ["n-"], - "NaN": "ليس برقم", - negativeInfinity: "-لا نهاية", - positiveInfinity: "+لا نهاية", - currency: { - pattern: ["$n-","$ n"], - symbol: "ل.ل.\u200f" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""], - namesAbbr: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM, yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd MMMM, yyyy hh:mm tt", - F: "dd MMMM, yyyy hh:mm:ss tt", - M: "dd MMMM" - } - }, - UmAlQura: { - name: "UmAlQura", - firstDay: 1, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MMMM/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd/MMMM/yyyy hh:mm tt", - F: "dd/MMMM/yyyy hh:mm:ss tt", - M: "dd MMMM" - }, - convert: { - _yearInfo: [ - // MonthLengthFlags, Gregorian Date - [746, -2198707200000], - [1769, -2168121600000], - [3794, -2137449600000], - [3748, -2106777600000], - [3402, -2076192000000], - [2710, -2045606400000], - [1334, -2015020800000], - [2741, -1984435200000], - [3498, -1953763200000], - [2980, -1923091200000], - [2889, -1892505600000], - [2707, -1861920000000], - [1323, -1831334400000], - [2647, -1800748800000], - [1206, -1770076800000], - [2741, -1739491200000], - [1450, -1708819200000], - [3413, -1678233600000], - [3370, -1647561600000], - [2646, -1616976000000], - [1198, -1586390400000], - [2397, -1555804800000], - [748, -1525132800000], - [1749, -1494547200000], - [1706, -1463875200000], - [1365, -1433289600000], - [1195, -1402704000000], - [2395, -1372118400000], - [698, -1341446400000], - [1397, -1310860800000], - [2994, -1280188800000], - [1892, -1249516800000], - [1865, -1218931200000], - [1621, -1188345600000], - [683, -1157760000000], - [1371, -1127174400000], - [2778, -1096502400000], - [1748, -1065830400000], - [3785, -1035244800000], - [3474, -1004572800000], - [3365, -973987200000], - [2637, -943401600000], - [685, -912816000000], - [1389, -882230400000], - [2922, -851558400000], - [2898, -820886400000], - [2725, -790300800000], - [2635, -759715200000], - [1175, -729129600000], - [2359, -698544000000], - [694, -667872000000], - [1397, -637286400000], - [3434, -606614400000], - [3410, -575942400000], - [2710, -545356800000], - [2349, -514771200000], - [605, -484185600000], - [1245, -453600000000], - [2778, -422928000000], - [1492, -392256000000], - [3497, -361670400000], - [3410, -330998400000], - [2730, -300412800000], - [1238, -269827200000], - [2486, -239241600000], - [884, -208569600000], - [1897, -177984000000], - [1874, -147312000000], - [1701, -116726400000], - [1355, -86140800000], - [2731, -55555200000], - [1370, -24883200000], - [2773, 5702400000], - [3538, 36374400000], - [3492, 67046400000], - [3401, 97632000000], - [2709, 128217600000], - [1325, 158803200000], - [2653, 189388800000], - [1370, 220060800000], - [2773, 250646400000], - [1706, 281318400000], - [1685, 311904000000], - [1323, 342489600000], - [2647, 373075200000], - [1198, 403747200000], - [2422, 434332800000], - [1388, 465004800000], - [2901, 495590400000], - [2730, 526262400000], - [2645, 556848000000], - [1197, 587433600000], - [2397, 618019200000], - [730, 648691200000], - [1497, 679276800000], - [3506, 709948800000], - [2980, 740620800000], - [2890, 771206400000], - [2645, 801792000000], - [693, 832377600000], - [1397, 862963200000], - [2922, 893635200000], - [3026, 924307200000], - [3012, 954979200000], - [2953, 985564800000], - [2709, 1016150400000], - [1325, 1046736000000], - [1453, 1077321600000], - [2922, 1107993600000], - [1748, 1138665600000], - [3529, 1169251200000], - [3474, 1199923200000], - [2726, 1230508800000], - [2390, 1261094400000], - [686, 1291680000000], - [1389, 1322265600000], - [874, 1352937600000], - [2901, 1383523200000], - [2730, 1414195200000], - [2381, 1444780800000], - [1181, 1475366400000], - [2397, 1505952000000], - [698, 1536624000000], - [1461, 1567209600000], - [1450, 1597881600000], - [3413, 1628467200000], - [2714, 1659139200000], - [2350, 1689724800000], - [622, 1720310400000], - [1373, 1750896000000], - [2778, 1781568000000], - [1748, 1812240000000], - [1701, 1842825600000], - [0, 1873411200000] - ], - minDate: -2198707200000, - maxDate: 1873411199999, - toGregorian: function(hyear, hmonth, hday) { - var days = hday - 1, - gyear = hyear - 1318; - if (gyear < 0 || gyear >= this._yearInfo.length) return null; - var info = this._yearInfo[gyear], - gdate = new Date(info[1]), - monthLength = info[0]; - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the gregorian date in the same timezone, - // not what the gregorian date was at GMT time, so we adjust for the offset. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - for (var i = 0; i < hmonth; i++) { - days += 29 + (monthLength & 1); - monthLength = monthLength >> 1; - } - gdate.setDate(gdate.getDate() + days); - return gdate; - }, - fromGregorian: function(gdate) { - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the hijri date in the same timezone, - // not what the hijri date was at GMT time, so we adjust for the offset. - var ticks = gdate - gdate.getTimezoneOffset() * 60000; - if (ticks < this.minDate || ticks > this.maxDate) return null; - var hyear = 0, - hmonth = 1; - // find the earliest gregorian date in the array that is greater than or equal to the given date - while (ticks > this._yearInfo[++hyear][1]) { } - if (ticks !== this._yearInfo[hyear][1]) { - hyear--; - } - var info = this._yearInfo[hyear], - // how many days has it been since the date we found in the array? - // 86400000 = ticks per day - days = Math.floor((ticks - info[1]) / 86400000), - monthLength = info[0]; - hyear += 1318; // the Nth array entry corresponds to hijri year 1318+N - // now increment day/month based on the total days, considering - // how many days are in each month. We cannot run past the year - // mark since we would have found a different array entry in that case. - var daysInMonth = 29 + (monthLength & 1); - while (days >= daysInMonth) { - days -= daysInMonth; - monthLength = monthLength >> 1; - daysInMonth = 29 + (monthLength & 1); - hmonth++; - } - // remaining days is less than is in one month, thus is the day of the month we landed on - // hmonth-1 because in javascript months are zero based, stay consistent with that. - return [hyear, hmonth - 1, days + 1]; - } - } - }, - Hijri: { - name: "Hijri", - firstDay: 1, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MM/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd/MM/yyyy hh:mm tt", - F: "dd/MM/yyyy hh:mm:ss tt", - M: "dd MMMM" - }, - convert: { - // Adapted to Script from System.Globalization.HijriCalendar - ticks1970: 62135596800000, - // number of days leading up to each month - monthDays: [0, 30, 59, 89, 118, 148, 177, 207, 236, 266, 295, 325, 355], - minDate: -42521673600000, - maxDate: 253402300799999, - // The number of days to add or subtract from the calendar to accommodate the variances - // in the start and the end of Ramadan and to accommodate the date difference between - // countries/regions. May be dynamically adjusted based on user preference, but should - // remain in the range of -2 to 2, inclusive. - hijriAdjustment: 0, - toGregorian: function(hyear, hmonth, hday) { - var daysSinceJan0101 = this.daysToYear(hyear) + this.monthDays[hmonth] + hday - 1 - this.hijriAdjustment; - // 86400000 = ticks per day - var gdate = new Date(daysSinceJan0101 * 86400000 - this.ticks1970); - // adjust for timezone, because we are interested in the gregorian date for the same timezone - // but ticks in javascript is always from GMT, unlike the server were ticks counts from the base - // date in the current timezone. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - return gdate; - }, - fromGregorian: function(gdate) { - if ((gdate < this.minDate) || (gdate > this.maxDate)) return null; - var ticks = this.ticks1970 + (gdate-0) - gdate.getTimezoneOffset() * 60000, - daysSinceJan0101 = Math.floor(ticks / 86400000) + 1 + this.hijriAdjustment; - // very particular formula determined by someone smart, adapted from the server-side implementation. - // it approximates the hijri year. - var hday, hmonth, hyear = Math.floor(((daysSinceJan0101 - 227013) * 30) / 10631) + 1, - absDays = this.daysToYear(hyear), - daysInYear = this.isLeapYear(hyear) ? 355 : 354; - // hyear is just approximate, it may need adjustment up or down by 1. - if (daysSinceJan0101 < absDays) { - hyear--; - absDays -= daysInYear; - } - else if (daysSinceJan0101 === absDays) { - hyear--; - absDays = this.daysToYear(hyear); - } - else { - if (daysSinceJan0101 > (absDays + daysInYear)) { - absDays += daysInYear; - hyear++; - } - } - // determine month by looking at how many days into the hyear we are - // monthDays contains the number of days up to each month. - hmonth = 0; - var daysIntoYear = daysSinceJan0101 - absDays; - while (hmonth <= 11 && daysIntoYear > this.monthDays[hmonth]) { - hmonth++; - } - hmonth--; - hday = daysIntoYear - this.monthDays[hmonth]; - return [hyear, hmonth, hday]; - }, - daysToYear: function(year) { - // calculates how many days since Jan 1, 0001 - var yearsToYear30 = Math.floor((year - 1) / 30) * 30, - yearsInto30 = year - yearsToYear30 - 1, - days = Math.floor((yearsToYear30 * 10631) / 30) + 227013; - while (yearsInto30 > 0) { - days += (this.isLeapYear(yearsInto30) ? 355 : 354); - yearsInto30--; - } - return days; - }, - isLeapYear: function(year) { - return ((((year * 11) + 14) % 30) < 11); - } - } - }, - Gregorian_MiddleEastFrench: { - name: "Gregorian_MiddleEastFrench", - firstDay: 1, - days: { - names: ["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"], - namesAbbr: ["dim.","lun.","mar.","mer.","jeu.","ven.","sam."], - namesShort: ["di","lu","ma","me","je","ve","sa"] - }, - months: { - names: ["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""], - namesAbbr: ["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"ap. J.-C.","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt", - M: "dd MMMM" - } - }, - Gregorian_TransliteratedEnglish: { - name: "Gregorian_TransliteratedEnglish", - firstDay: 1, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["أ","ا","ث","أ","خ","ج","س"] - }, - months: { - names: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["يناير","فبراير","مارس","ابريل","مايو","يونيو","يوليو","اغسطس","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - }, - Gregorian_TransliteratedFrench: { - name: "Gregorian_TransliteratedFrench", - firstDay: 1, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.ar-LY.js b/web/Scripts/globalize/cultures/globalize.culture.ar-LY.js deleted file mode 100644 index 73a42663..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.ar-LY.js +++ /dev/null @@ -1,462 +0,0 @@ -/* - * Globalize Culture ar-LY - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "ar-LY", "default", { - name: "ar-LY", - englishName: "Arabic (Libya)", - nativeName: "العربية (ليبيا)", - language: "ar", - isRTL: true, - numberFormat: { - pattern: ["n-"], - decimals: 3, - "NaN": "ليس برقم", - negativeInfinity: "-لا نهاية", - positiveInfinity: "+لا نهاية", - percent: { - decimals: 3 - }, - currency: { - pattern: ["$n-","$n"], - decimals: 3, - symbol: "د.ل.\u200f" - } - }, - calendars: { - standard: { - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM, yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd MMMM, yyyy hh:mm tt", - F: "dd MMMM, yyyy hh:mm:ss tt", - M: "dd MMMM" - } - }, - Hijri: { - name: "Hijri", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MM/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd/MM/yyyy hh:mm tt", - F: "dd/MM/yyyy hh:mm:ss tt", - M: "dd MMMM" - }, - convert: { - // Adapted to Script from System.Globalization.HijriCalendar - ticks1970: 62135596800000, - // number of days leading up to each month - monthDays: [0, 30, 59, 89, 118, 148, 177, 207, 236, 266, 295, 325, 355], - minDate: -42521673600000, - maxDate: 253402300799999, - // The number of days to add or subtract from the calendar to accommodate the variances - // in the start and the end of Ramadan and to accommodate the date difference between - // countries/regions. May be dynamically adjusted based on user preference, but should - // remain in the range of -2 to 2, inclusive. - hijriAdjustment: 0, - toGregorian: function(hyear, hmonth, hday) { - var daysSinceJan0101 = this.daysToYear(hyear) + this.monthDays[hmonth] + hday - 1 - this.hijriAdjustment; - // 86400000 = ticks per day - var gdate = new Date(daysSinceJan0101 * 86400000 - this.ticks1970); - // adjust for timezone, because we are interested in the gregorian date for the same timezone - // but ticks in javascript is always from GMT, unlike the server were ticks counts from the base - // date in the current timezone. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - return gdate; - }, - fromGregorian: function(gdate) { - if ((gdate < this.minDate) || (gdate > this.maxDate)) return null; - var ticks = this.ticks1970 + (gdate-0) - gdate.getTimezoneOffset() * 60000, - daysSinceJan0101 = Math.floor(ticks / 86400000) + 1 + this.hijriAdjustment; - // very particular formula determined by someone smart, adapted from the server-side implementation. - // it approximates the hijri year. - var hday, hmonth, hyear = Math.floor(((daysSinceJan0101 - 227013) * 30) / 10631) + 1, - absDays = this.daysToYear(hyear), - daysInYear = this.isLeapYear(hyear) ? 355 : 354; - // hyear is just approximate, it may need adjustment up or down by 1. - if (daysSinceJan0101 < absDays) { - hyear--; - absDays -= daysInYear; - } - else if (daysSinceJan0101 === absDays) { - hyear--; - absDays = this.daysToYear(hyear); - } - else { - if (daysSinceJan0101 > (absDays + daysInYear)) { - absDays += daysInYear; - hyear++; - } - } - // determine month by looking at how many days into the hyear we are - // monthDays contains the number of days up to each month. - hmonth = 0; - var daysIntoYear = daysSinceJan0101 - absDays; - while (hmonth <= 11 && daysIntoYear > this.monthDays[hmonth]) { - hmonth++; - } - hmonth--; - hday = daysIntoYear - this.monthDays[hmonth]; - return [hyear, hmonth, hday]; - }, - daysToYear: function(year) { - // calculates how many days since Jan 1, 0001 - var yearsToYear30 = Math.floor((year - 1) / 30) * 30, - yearsInto30 = year - yearsToYear30 - 1, - days = Math.floor((yearsToYear30 * 10631) / 30) + 227013; - while (yearsInto30 > 0) { - days += (this.isLeapYear(yearsInto30) ? 355 : 354); - yearsInto30--; - } - return days; - }, - isLeapYear: function(year) { - return ((((year * 11) + 14) % 30) < 11); - } - } - }, - UmAlQura: { - name: "UmAlQura", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MMMM/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd/MMMM/yyyy hh:mm tt", - F: "dd/MMMM/yyyy hh:mm:ss tt", - M: "dd MMMM" - }, - convert: { - _yearInfo: [ - // MonthLengthFlags, Gregorian Date - [746, -2198707200000], - [1769, -2168121600000], - [3794, -2137449600000], - [3748, -2106777600000], - [3402, -2076192000000], - [2710, -2045606400000], - [1334, -2015020800000], - [2741, -1984435200000], - [3498, -1953763200000], - [2980, -1923091200000], - [2889, -1892505600000], - [2707, -1861920000000], - [1323, -1831334400000], - [2647, -1800748800000], - [1206, -1770076800000], - [2741, -1739491200000], - [1450, -1708819200000], - [3413, -1678233600000], - [3370, -1647561600000], - [2646, -1616976000000], - [1198, -1586390400000], - [2397, -1555804800000], - [748, -1525132800000], - [1749, -1494547200000], - [1706, -1463875200000], - [1365, -1433289600000], - [1195, -1402704000000], - [2395, -1372118400000], - [698, -1341446400000], - [1397, -1310860800000], - [2994, -1280188800000], - [1892, -1249516800000], - [1865, -1218931200000], - [1621, -1188345600000], - [683, -1157760000000], - [1371, -1127174400000], - [2778, -1096502400000], - [1748, -1065830400000], - [3785, -1035244800000], - [3474, -1004572800000], - [3365, -973987200000], - [2637, -943401600000], - [685, -912816000000], - [1389, -882230400000], - [2922, -851558400000], - [2898, -820886400000], - [2725, -790300800000], - [2635, -759715200000], - [1175, -729129600000], - [2359, -698544000000], - [694, -667872000000], - [1397, -637286400000], - [3434, -606614400000], - [3410, -575942400000], - [2710, -545356800000], - [2349, -514771200000], - [605, -484185600000], - [1245, -453600000000], - [2778, -422928000000], - [1492, -392256000000], - [3497, -361670400000], - [3410, -330998400000], - [2730, -300412800000], - [1238, -269827200000], - [2486, -239241600000], - [884, -208569600000], - [1897, -177984000000], - [1874, -147312000000], - [1701, -116726400000], - [1355, -86140800000], - [2731, -55555200000], - [1370, -24883200000], - [2773, 5702400000], - [3538, 36374400000], - [3492, 67046400000], - [3401, 97632000000], - [2709, 128217600000], - [1325, 158803200000], - [2653, 189388800000], - [1370, 220060800000], - [2773, 250646400000], - [1706, 281318400000], - [1685, 311904000000], - [1323, 342489600000], - [2647, 373075200000], - [1198, 403747200000], - [2422, 434332800000], - [1388, 465004800000], - [2901, 495590400000], - [2730, 526262400000], - [2645, 556848000000], - [1197, 587433600000], - [2397, 618019200000], - [730, 648691200000], - [1497, 679276800000], - [3506, 709948800000], - [2980, 740620800000], - [2890, 771206400000], - [2645, 801792000000], - [693, 832377600000], - [1397, 862963200000], - [2922, 893635200000], - [3026, 924307200000], - [3012, 954979200000], - [2953, 985564800000], - [2709, 1016150400000], - [1325, 1046736000000], - [1453, 1077321600000], - [2922, 1107993600000], - [1748, 1138665600000], - [3529, 1169251200000], - [3474, 1199923200000], - [2726, 1230508800000], - [2390, 1261094400000], - [686, 1291680000000], - [1389, 1322265600000], - [874, 1352937600000], - [2901, 1383523200000], - [2730, 1414195200000], - [2381, 1444780800000], - [1181, 1475366400000], - [2397, 1505952000000], - [698, 1536624000000], - [1461, 1567209600000], - [1450, 1597881600000], - [3413, 1628467200000], - [2714, 1659139200000], - [2350, 1689724800000], - [622, 1720310400000], - [1373, 1750896000000], - [2778, 1781568000000], - [1748, 1812240000000], - [1701, 1842825600000], - [0, 1873411200000] - ], - minDate: -2198707200000, - maxDate: 1873411199999, - toGregorian: function(hyear, hmonth, hday) { - var days = hday - 1, - gyear = hyear - 1318; - if (gyear < 0 || gyear >= this._yearInfo.length) return null; - var info = this._yearInfo[gyear], - gdate = new Date(info[1]), - monthLength = info[0]; - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the gregorian date in the same timezone, - // not what the gregorian date was at GMT time, so we adjust for the offset. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - for (var i = 0; i < hmonth; i++) { - days += 29 + (monthLength & 1); - monthLength = monthLength >> 1; - } - gdate.setDate(gdate.getDate() + days); - return gdate; - }, - fromGregorian: function(gdate) { - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the hijri date in the same timezone, - // not what the hijri date was at GMT time, so we adjust for the offset. - var ticks = gdate - gdate.getTimezoneOffset() * 60000; - if (ticks < this.minDate || ticks > this.maxDate) return null; - var hyear = 0, - hmonth = 1; - // find the earliest gregorian date in the array that is greater than or equal to the given date - while (ticks > this._yearInfo[++hyear][1]) { } - if (ticks !== this._yearInfo[hyear][1]) { - hyear--; - } - var info = this._yearInfo[hyear], - // how many days has it been since the date we found in the array? - // 86400000 = ticks per day - days = Math.floor((ticks - info[1]) / 86400000), - monthLength = info[0]; - hyear += 1318; // the Nth array entry corresponds to hijri year 1318+N - // now increment day/month based on the total days, considering - // how many days are in each month. We cannot run past the year - // mark since we would have found a different array entry in that case. - var daysInMonth = 29 + (monthLength & 1); - while (days >= daysInMonth) { - days -= daysInMonth; - monthLength = monthLength >> 1; - daysInMonth = 29 + (monthLength & 1); - hmonth++; - } - // remaining days is less than is in one month, thus is the day of the month we landed on - // hmonth-1 because in javascript months are zero based, stay consistent with that. - return [hyear, hmonth - 1, days + 1]; - } - } - }, - Gregorian_MiddleEastFrench: { - name: "Gregorian_MiddleEastFrench", - firstDay: 6, - days: { - names: ["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"], - namesAbbr: ["dim.","lun.","mar.","mer.","jeu.","ven.","sam."], - namesShort: ["di","lu","ma","me","je","ve","sa"] - }, - months: { - names: ["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""], - namesAbbr: ["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"ap. J.-C.","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt", - M: "dd MMMM" - } - }, - Gregorian_Arabic: { - name: "Gregorian_Arabic", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""], - namesAbbr: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - }, - Gregorian_TransliteratedFrench: { - name: "Gregorian_TransliteratedFrench", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.ar-MA.js b/web/Scripts/globalize/cultures/globalize.culture.ar-MA.js deleted file mode 100644 index 0b953c42..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.ar-MA.js +++ /dev/null @@ -1,458 +0,0 @@ -/* - * Globalize Culture ar-MA - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "ar-MA", "default", { - name: "ar-MA", - englishName: "Arabic (Morocco)", - nativeName: "العربية (المملكة المغربية)", - language: "ar", - isRTL: true, - numberFormat: { - pattern: ["n-"], - "NaN": "ليس برقم", - negativeInfinity: "-لا نهاية", - positiveInfinity: "+لا نهاية", - currency: { - pattern: ["$n-","$ n"], - symbol: "د.م.\u200f" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["يناير","فبراير","مارس","أبريل","ماي","يونيو","يوليوز","غشت","شتنبر","أكتوبر","نونبر","دجنبر",""], - namesAbbr: ["يناير","فبراير","مارس","أبريل","ماي","يونيو","يوليوز","غشت","شتنبر","أكتوبر","نونبر","دجنبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - patterns: { - d: "dd-MM-yyyy", - D: "dd MMMM, yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dd MMMM, yyyy H:mm", - F: "dd MMMM, yyyy H:mm:ss", - M: "dd MMMM" - } - }, - Hijri: { - name: "Hijri", - firstDay: 1, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MM/yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dd/MM/yyyy H:mm", - F: "dd/MM/yyyy H:mm:ss", - M: "dd MMMM" - }, - convert: { - // Adapted to Script from System.Globalization.HijriCalendar - ticks1970: 62135596800000, - // number of days leading up to each month - monthDays: [0, 30, 59, 89, 118, 148, 177, 207, 236, 266, 295, 325, 355], - minDate: -42521673600000, - maxDate: 253402300799999, - // The number of days to add or subtract from the calendar to accommodate the variances - // in the start and the end of Ramadan and to accommodate the date difference between - // countries/regions. May be dynamically adjusted based on user preference, but should - // remain in the range of -2 to 2, inclusive. - hijriAdjustment: 0, - toGregorian: function(hyear, hmonth, hday) { - var daysSinceJan0101 = this.daysToYear(hyear) + this.monthDays[hmonth] + hday - 1 - this.hijriAdjustment; - // 86400000 = ticks per day - var gdate = new Date(daysSinceJan0101 * 86400000 - this.ticks1970); - // adjust for timezone, because we are interested in the gregorian date for the same timezone - // but ticks in javascript is always from GMT, unlike the server were ticks counts from the base - // date in the current timezone. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - return gdate; - }, - fromGregorian: function(gdate) { - if ((gdate < this.minDate) || (gdate > this.maxDate)) return null; - var ticks = this.ticks1970 + (gdate-0) - gdate.getTimezoneOffset() * 60000, - daysSinceJan0101 = Math.floor(ticks / 86400000) + 1 + this.hijriAdjustment; - // very particular formula determined by someone smart, adapted from the server-side implementation. - // it approximates the hijri year. - var hday, hmonth, hyear = Math.floor(((daysSinceJan0101 - 227013) * 30) / 10631) + 1, - absDays = this.daysToYear(hyear), - daysInYear = this.isLeapYear(hyear) ? 355 : 354; - // hyear is just approximate, it may need adjustment up or down by 1. - if (daysSinceJan0101 < absDays) { - hyear--; - absDays -= daysInYear; - } - else if (daysSinceJan0101 === absDays) { - hyear--; - absDays = this.daysToYear(hyear); - } - else { - if (daysSinceJan0101 > (absDays + daysInYear)) { - absDays += daysInYear; - hyear++; - } - } - // determine month by looking at how many days into the hyear we are - // monthDays contains the number of days up to each month. - hmonth = 0; - var daysIntoYear = daysSinceJan0101 - absDays; - while (hmonth <= 11 && daysIntoYear > this.monthDays[hmonth]) { - hmonth++; - } - hmonth--; - hday = daysIntoYear - this.monthDays[hmonth]; - return [hyear, hmonth, hday]; - }, - daysToYear: function(year) { - // calculates how many days since Jan 1, 0001 - var yearsToYear30 = Math.floor((year - 1) / 30) * 30, - yearsInto30 = year - yearsToYear30 - 1, - days = Math.floor((yearsToYear30 * 10631) / 30) + 227013; - while (yearsInto30 > 0) { - days += (this.isLeapYear(yearsInto30) ? 355 : 354); - yearsInto30--; - } - return days; - }, - isLeapYear: function(year) { - return ((((year * 11) + 14) % 30) < 11); - } - } - }, - UmAlQura: { - name: "UmAlQura", - firstDay: 1, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MMMM/yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dd/MMMM/yyyy H:mm", - F: "dd/MMMM/yyyy H:mm:ss", - M: "dd MMMM" - }, - convert: { - _yearInfo: [ - // MonthLengthFlags, Gregorian Date - [746, -2198707200000], - [1769, -2168121600000], - [3794, -2137449600000], - [3748, -2106777600000], - [3402, -2076192000000], - [2710, -2045606400000], - [1334, -2015020800000], - [2741, -1984435200000], - [3498, -1953763200000], - [2980, -1923091200000], - [2889, -1892505600000], - [2707, -1861920000000], - [1323, -1831334400000], - [2647, -1800748800000], - [1206, -1770076800000], - [2741, -1739491200000], - [1450, -1708819200000], - [3413, -1678233600000], - [3370, -1647561600000], - [2646, -1616976000000], - [1198, -1586390400000], - [2397, -1555804800000], - [748, -1525132800000], - [1749, -1494547200000], - [1706, -1463875200000], - [1365, -1433289600000], - [1195, -1402704000000], - [2395, -1372118400000], - [698, -1341446400000], - [1397, -1310860800000], - [2994, -1280188800000], - [1892, -1249516800000], - [1865, -1218931200000], - [1621, -1188345600000], - [683, -1157760000000], - [1371, -1127174400000], - [2778, -1096502400000], - [1748, -1065830400000], - [3785, -1035244800000], - [3474, -1004572800000], - [3365, -973987200000], - [2637, -943401600000], - [685, -912816000000], - [1389, -882230400000], - [2922, -851558400000], - [2898, -820886400000], - [2725, -790300800000], - [2635, -759715200000], - [1175, -729129600000], - [2359, -698544000000], - [694, -667872000000], - [1397, -637286400000], - [3434, -606614400000], - [3410, -575942400000], - [2710, -545356800000], - [2349, -514771200000], - [605, -484185600000], - [1245, -453600000000], - [2778, -422928000000], - [1492, -392256000000], - [3497, -361670400000], - [3410, -330998400000], - [2730, -300412800000], - [1238, -269827200000], - [2486, -239241600000], - [884, -208569600000], - [1897, -177984000000], - [1874, -147312000000], - [1701, -116726400000], - [1355, -86140800000], - [2731, -55555200000], - [1370, -24883200000], - [2773, 5702400000], - [3538, 36374400000], - [3492, 67046400000], - [3401, 97632000000], - [2709, 128217600000], - [1325, 158803200000], - [2653, 189388800000], - [1370, 220060800000], - [2773, 250646400000], - [1706, 281318400000], - [1685, 311904000000], - [1323, 342489600000], - [2647, 373075200000], - [1198, 403747200000], - [2422, 434332800000], - [1388, 465004800000], - [2901, 495590400000], - [2730, 526262400000], - [2645, 556848000000], - [1197, 587433600000], - [2397, 618019200000], - [730, 648691200000], - [1497, 679276800000], - [3506, 709948800000], - [2980, 740620800000], - [2890, 771206400000], - [2645, 801792000000], - [693, 832377600000], - [1397, 862963200000], - [2922, 893635200000], - [3026, 924307200000], - [3012, 954979200000], - [2953, 985564800000], - [2709, 1016150400000], - [1325, 1046736000000], - [1453, 1077321600000], - [2922, 1107993600000], - [1748, 1138665600000], - [3529, 1169251200000], - [3474, 1199923200000], - [2726, 1230508800000], - [2390, 1261094400000], - [686, 1291680000000], - [1389, 1322265600000], - [874, 1352937600000], - [2901, 1383523200000], - [2730, 1414195200000], - [2381, 1444780800000], - [1181, 1475366400000], - [2397, 1505952000000], - [698, 1536624000000], - [1461, 1567209600000], - [1450, 1597881600000], - [3413, 1628467200000], - [2714, 1659139200000], - [2350, 1689724800000], - [622, 1720310400000], - [1373, 1750896000000], - [2778, 1781568000000], - [1748, 1812240000000], - [1701, 1842825600000], - [0, 1873411200000] - ], - minDate: -2198707200000, - maxDate: 1873411199999, - toGregorian: function(hyear, hmonth, hday) { - var days = hday - 1, - gyear = hyear - 1318; - if (gyear < 0 || gyear >= this._yearInfo.length) return null; - var info = this._yearInfo[gyear], - gdate = new Date(info[1]), - monthLength = info[0]; - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the gregorian date in the same timezone, - // not what the gregorian date was at GMT time, so we adjust for the offset. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - for (var i = 0; i < hmonth; i++) { - days += 29 + (monthLength & 1); - monthLength = monthLength >> 1; - } - gdate.setDate(gdate.getDate() + days); - return gdate; - }, - fromGregorian: function(gdate) { - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the hijri date in the same timezone, - // not what the hijri date was at GMT time, so we adjust for the offset. - var ticks = gdate - gdate.getTimezoneOffset() * 60000; - if (ticks < this.minDate || ticks > this.maxDate) return null; - var hyear = 0, - hmonth = 1; - // find the earliest gregorian date in the array that is greater than or equal to the given date - while (ticks > this._yearInfo[++hyear][1]) { } - if (ticks !== this._yearInfo[hyear][1]) { - hyear--; - } - var info = this._yearInfo[hyear], - // how many days has it been since the date we found in the array? - // 86400000 = ticks per day - days = Math.floor((ticks - info[1]) / 86400000), - monthLength = info[0]; - hyear += 1318; // the Nth array entry corresponds to hijri year 1318+N - // now increment day/month based on the total days, considering - // how many days are in each month. We cannot run past the year - // mark since we would have found a different array entry in that case. - var daysInMonth = 29 + (monthLength & 1); - while (days >= daysInMonth) { - days -= daysInMonth; - monthLength = monthLength >> 1; - daysInMonth = 29 + (monthLength & 1); - hmonth++; - } - // remaining days is less than is in one month, thus is the day of the month we landed on - // hmonth-1 because in javascript months are zero based, stay consistent with that. - return [hyear, hmonth - 1, days + 1]; - } - } - }, - Gregorian_MiddleEastFrench: { - name: "Gregorian_MiddleEastFrench", - firstDay: 1, - days: { - names: ["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"], - namesAbbr: ["dim.","lun.","mar.","mer.","jeu.","ven.","sam."], - namesShort: ["di","lu","ma","me","je","ve","sa"] - }, - months: { - names: ["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""], - namesAbbr: ["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"ap. J.-C.","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dddd, MMMM dd, yyyy H:mm", - F: "dddd, MMMM dd, yyyy H:mm:ss", - M: "dd MMMM" - } - }, - Gregorian_Arabic: { - name: "Gregorian_Arabic", - firstDay: 1, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""], - namesAbbr: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dddd, MMMM dd, yyyy H:mm", - F: "dddd, MMMM dd, yyyy H:mm:ss" - } - }, - Gregorian_TransliteratedEnglish: { - name: "Gregorian_TransliteratedEnglish", - firstDay: 1, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["أ","ا","ث","أ","خ","ج","س"] - }, - months: { - names: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["يناير","فبراير","مارس","ابريل","مايو","يونيو","يوليو","اغسطس","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dddd, MMMM dd, yyyy H:mm", - F: "dddd, MMMM dd, yyyy H:mm:ss" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.ar-OM.js b/web/Scripts/globalize/cultures/globalize.culture.ar-OM.js deleted file mode 100644 index 6b184a1e..00000000 Binary files a/web/Scripts/globalize/cultures/globalize.culture.ar-OM.js and /dev/null differ diff --git a/web/Scripts/globalize/cultures/globalize.culture.ar-QA.js b/web/Scripts/globalize/cultures/globalize.culture.ar-QA.js deleted file mode 100644 index dfa405e1..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.ar-QA.js +++ /dev/null @@ -1,457 +0,0 @@ -/* - * Globalize Culture ar-QA - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "ar-QA", "default", { - name: "ar-QA", - englishName: "Arabic (Qatar)", - nativeName: "العربية (قطر)", - language: "ar", - isRTL: true, - numberFormat: { - pattern: ["n-"], - "NaN": "ليس برقم", - negativeInfinity: "-لا نهاية", - positiveInfinity: "+لا نهاية", - currency: { - pattern: ["$n-","$ n"], - symbol: "ر.ق.\u200f" - } - }, - calendars: { - standard: { - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM, yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd MMMM, yyyy hh:mm tt", - F: "dd MMMM, yyyy hh:mm:ss tt", - M: "dd MMMM" - } - }, - UmAlQura: { - name: "UmAlQura", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MMMM/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd/MMMM/yyyy hh:mm tt", - F: "dd/MMMM/yyyy hh:mm:ss tt", - M: "dd MMMM" - }, - convert: { - _yearInfo: [ - // MonthLengthFlags, Gregorian Date - [746, -2198707200000], - [1769, -2168121600000], - [3794, -2137449600000], - [3748, -2106777600000], - [3402, -2076192000000], - [2710, -2045606400000], - [1334, -2015020800000], - [2741, -1984435200000], - [3498, -1953763200000], - [2980, -1923091200000], - [2889, -1892505600000], - [2707, -1861920000000], - [1323, -1831334400000], - [2647, -1800748800000], - [1206, -1770076800000], - [2741, -1739491200000], - [1450, -1708819200000], - [3413, -1678233600000], - [3370, -1647561600000], - [2646, -1616976000000], - [1198, -1586390400000], - [2397, -1555804800000], - [748, -1525132800000], - [1749, -1494547200000], - [1706, -1463875200000], - [1365, -1433289600000], - [1195, -1402704000000], - [2395, -1372118400000], - [698, -1341446400000], - [1397, -1310860800000], - [2994, -1280188800000], - [1892, -1249516800000], - [1865, -1218931200000], - [1621, -1188345600000], - [683, -1157760000000], - [1371, -1127174400000], - [2778, -1096502400000], - [1748, -1065830400000], - [3785, -1035244800000], - [3474, -1004572800000], - [3365, -973987200000], - [2637, -943401600000], - [685, -912816000000], - [1389, -882230400000], - [2922, -851558400000], - [2898, -820886400000], - [2725, -790300800000], - [2635, -759715200000], - [1175, -729129600000], - [2359, -698544000000], - [694, -667872000000], - [1397, -637286400000], - [3434, -606614400000], - [3410, -575942400000], - [2710, -545356800000], - [2349, -514771200000], - [605, -484185600000], - [1245, -453600000000], - [2778, -422928000000], - [1492, -392256000000], - [3497, -361670400000], - [3410, -330998400000], - [2730, -300412800000], - [1238, -269827200000], - [2486, -239241600000], - [884, -208569600000], - [1897, -177984000000], - [1874, -147312000000], - [1701, -116726400000], - [1355, -86140800000], - [2731, -55555200000], - [1370, -24883200000], - [2773, 5702400000], - [3538, 36374400000], - [3492, 67046400000], - [3401, 97632000000], - [2709, 128217600000], - [1325, 158803200000], - [2653, 189388800000], - [1370, 220060800000], - [2773, 250646400000], - [1706, 281318400000], - [1685, 311904000000], - [1323, 342489600000], - [2647, 373075200000], - [1198, 403747200000], - [2422, 434332800000], - [1388, 465004800000], - [2901, 495590400000], - [2730, 526262400000], - [2645, 556848000000], - [1197, 587433600000], - [2397, 618019200000], - [730, 648691200000], - [1497, 679276800000], - [3506, 709948800000], - [2980, 740620800000], - [2890, 771206400000], - [2645, 801792000000], - [693, 832377600000], - [1397, 862963200000], - [2922, 893635200000], - [3026, 924307200000], - [3012, 954979200000], - [2953, 985564800000], - [2709, 1016150400000], - [1325, 1046736000000], - [1453, 1077321600000], - [2922, 1107993600000], - [1748, 1138665600000], - [3529, 1169251200000], - [3474, 1199923200000], - [2726, 1230508800000], - [2390, 1261094400000], - [686, 1291680000000], - [1389, 1322265600000], - [874, 1352937600000], - [2901, 1383523200000], - [2730, 1414195200000], - [2381, 1444780800000], - [1181, 1475366400000], - [2397, 1505952000000], - [698, 1536624000000], - [1461, 1567209600000], - [1450, 1597881600000], - [3413, 1628467200000], - [2714, 1659139200000], - [2350, 1689724800000], - [622, 1720310400000], - [1373, 1750896000000], - [2778, 1781568000000], - [1748, 1812240000000], - [1701, 1842825600000], - [0, 1873411200000] - ], - minDate: -2198707200000, - maxDate: 1873411199999, - toGregorian: function(hyear, hmonth, hday) { - var days = hday - 1, - gyear = hyear - 1318; - if (gyear < 0 || gyear >= this._yearInfo.length) return null; - var info = this._yearInfo[gyear], - gdate = new Date(info[1]), - monthLength = info[0]; - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the gregorian date in the same timezone, - // not what the gregorian date was at GMT time, so we adjust for the offset. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - for (var i = 0; i < hmonth; i++) { - days += 29 + (monthLength & 1); - monthLength = monthLength >> 1; - } - gdate.setDate(gdate.getDate() + days); - return gdate; - }, - fromGregorian: function(gdate) { - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the hijri date in the same timezone, - // not what the hijri date was at GMT time, so we adjust for the offset. - var ticks = gdate - gdate.getTimezoneOffset() * 60000; - if (ticks < this.minDate || ticks > this.maxDate) return null; - var hyear = 0, - hmonth = 1; - // find the earliest gregorian date in the array that is greater than or equal to the given date - while (ticks > this._yearInfo[++hyear][1]) { } - if (ticks !== this._yearInfo[hyear][1]) { - hyear--; - } - var info = this._yearInfo[hyear], - // how many days has it been since the date we found in the array? - // 86400000 = ticks per day - days = Math.floor((ticks - info[1]) / 86400000), - monthLength = info[0]; - hyear += 1318; // the Nth array entry corresponds to hijri year 1318+N - // now increment day/month based on the total days, considering - // how many days are in each month. We cannot run past the year - // mark since we would have found a different array entry in that case. - var daysInMonth = 29 + (monthLength & 1); - while (days >= daysInMonth) { - days -= daysInMonth; - monthLength = monthLength >> 1; - daysInMonth = 29 + (monthLength & 1); - hmonth++; - } - // remaining days is less than is in one month, thus is the day of the month we landed on - // hmonth-1 because in javascript months are zero based, stay consistent with that. - return [hyear, hmonth - 1, days + 1]; - } - } - }, - Hijri: { - name: "Hijri", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MM/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd/MM/yyyy hh:mm tt", - F: "dd/MM/yyyy hh:mm:ss tt", - M: "dd MMMM" - }, - convert: { - // Adapted to Script from System.Globalization.HijriCalendar - ticks1970: 62135596800000, - // number of days leading up to each month - monthDays: [0, 30, 59, 89, 118, 148, 177, 207, 236, 266, 295, 325, 355], - minDate: -42521673600000, - maxDate: 253402300799999, - // The number of days to add or subtract from the calendar to accommodate the variances - // in the start and the end of Ramadan and to accommodate the date difference between - // countries/regions. May be dynamically adjusted based on user preference, but should - // remain in the range of -2 to 2, inclusive. - hijriAdjustment: 0, - toGregorian: function(hyear, hmonth, hday) { - var daysSinceJan0101 = this.daysToYear(hyear) + this.monthDays[hmonth] + hday - 1 - this.hijriAdjustment; - // 86400000 = ticks per day - var gdate = new Date(daysSinceJan0101 * 86400000 - this.ticks1970); - // adjust for timezone, because we are interested in the gregorian date for the same timezone - // but ticks in javascript is always from GMT, unlike the server were ticks counts from the base - // date in the current timezone. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - return gdate; - }, - fromGregorian: function(gdate) { - if ((gdate < this.minDate) || (gdate > this.maxDate)) return null; - var ticks = this.ticks1970 + (gdate-0) - gdate.getTimezoneOffset() * 60000, - daysSinceJan0101 = Math.floor(ticks / 86400000) + 1 + this.hijriAdjustment; - // very particular formula determined by someone smart, adapted from the server-side implementation. - // it approximates the hijri year. - var hday, hmonth, hyear = Math.floor(((daysSinceJan0101 - 227013) * 30) / 10631) + 1, - absDays = this.daysToYear(hyear), - daysInYear = this.isLeapYear(hyear) ? 355 : 354; - // hyear is just approximate, it may need adjustment up or down by 1. - if (daysSinceJan0101 < absDays) { - hyear--; - absDays -= daysInYear; - } - else if (daysSinceJan0101 === absDays) { - hyear--; - absDays = this.daysToYear(hyear); - } - else { - if (daysSinceJan0101 > (absDays + daysInYear)) { - absDays += daysInYear; - hyear++; - } - } - // determine month by looking at how many days into the hyear we are - // monthDays contains the number of days up to each month. - hmonth = 0; - var daysIntoYear = daysSinceJan0101 - absDays; - while (hmonth <= 11 && daysIntoYear > this.monthDays[hmonth]) { - hmonth++; - } - hmonth--; - hday = daysIntoYear - this.monthDays[hmonth]; - return [hyear, hmonth, hday]; - }, - daysToYear: function(year) { - // calculates how many days since Jan 1, 0001 - var yearsToYear30 = Math.floor((year - 1) / 30) * 30, - yearsInto30 = year - yearsToYear30 - 1, - days = Math.floor((yearsToYear30 * 10631) / 30) + 227013; - while (yearsInto30 > 0) { - days += (this.isLeapYear(yearsInto30) ? 355 : 354); - yearsInto30--; - } - return days; - }, - isLeapYear: function(year) { - return ((((year * 11) + 14) % 30) < 11); - } - } - }, - Gregorian_MiddleEastFrench: { - name: "Gregorian_MiddleEastFrench", - firstDay: 6, - days: { - names: ["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"], - namesAbbr: ["dim.","lun.","mar.","mer.","jeu.","ven.","sam."], - namesShort: ["di","lu","ma","me","je","ve","sa"] - }, - months: { - names: ["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""], - namesAbbr: ["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"ap. J.-C.","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt", - M: "dd MMMM" - } - }, - Gregorian_Arabic: { - name: "Gregorian_Arabic", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""], - namesAbbr: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - }, - Gregorian_TransliteratedFrench: { - name: "Gregorian_TransliteratedFrench", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.ar-SA.js b/web/Scripts/globalize/cultures/globalize.culture.ar-SA.js deleted file mode 100644 index cba34f69..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.ar-SA.js +++ /dev/null @@ -1,457 +0,0 @@ -/* - * Globalize Culture ar-SA - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "ar-SA", "default", { - name: "ar-SA", - englishName: "Arabic (Saudi Arabia)", - nativeName: "العربية (المملكة العربية السعودية)", - language: "ar", - isRTL: true, - numberFormat: { - pattern: ["n-"], - "NaN": "ليس برقم", - negativeInfinity: "-لا نهاية", - positiveInfinity: "+لا نهاية", - currency: { - pattern: ["$n-","$ n"], - symbol: "ر.س.\u200f" - } - }, - calendars: { - standard: { - name: "UmAlQura", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MMMM/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd/MMMM/yyyy hh:mm tt", - F: "dd/MMMM/yyyy hh:mm:ss tt", - M: "dd MMMM" - }, - convert: { - _yearInfo: [ - // MonthLengthFlags, Gregorian Date - [746, -2198707200000], - [1769, -2168121600000], - [3794, -2137449600000], - [3748, -2106777600000], - [3402, -2076192000000], - [2710, -2045606400000], - [1334, -2015020800000], - [2741, -1984435200000], - [3498, -1953763200000], - [2980, -1923091200000], - [2889, -1892505600000], - [2707, -1861920000000], - [1323, -1831334400000], - [2647, -1800748800000], - [1206, -1770076800000], - [2741, -1739491200000], - [1450, -1708819200000], - [3413, -1678233600000], - [3370, -1647561600000], - [2646, -1616976000000], - [1198, -1586390400000], - [2397, -1555804800000], - [748, -1525132800000], - [1749, -1494547200000], - [1706, -1463875200000], - [1365, -1433289600000], - [1195, -1402704000000], - [2395, -1372118400000], - [698, -1341446400000], - [1397, -1310860800000], - [2994, -1280188800000], - [1892, -1249516800000], - [1865, -1218931200000], - [1621, -1188345600000], - [683, -1157760000000], - [1371, -1127174400000], - [2778, -1096502400000], - [1748, -1065830400000], - [3785, -1035244800000], - [3474, -1004572800000], - [3365, -973987200000], - [2637, -943401600000], - [685, -912816000000], - [1389, -882230400000], - [2922, -851558400000], - [2898, -820886400000], - [2725, -790300800000], - [2635, -759715200000], - [1175, -729129600000], - [2359, -698544000000], - [694, -667872000000], - [1397, -637286400000], - [3434, -606614400000], - [3410, -575942400000], - [2710, -545356800000], - [2349, -514771200000], - [605, -484185600000], - [1245, -453600000000], - [2778, -422928000000], - [1492, -392256000000], - [3497, -361670400000], - [3410, -330998400000], - [2730, -300412800000], - [1238, -269827200000], - [2486, -239241600000], - [884, -208569600000], - [1897, -177984000000], - [1874, -147312000000], - [1701, -116726400000], - [1355, -86140800000], - [2731, -55555200000], - [1370, -24883200000], - [2773, 5702400000], - [3538, 36374400000], - [3492, 67046400000], - [3401, 97632000000], - [2709, 128217600000], - [1325, 158803200000], - [2653, 189388800000], - [1370, 220060800000], - [2773, 250646400000], - [1706, 281318400000], - [1685, 311904000000], - [1323, 342489600000], - [2647, 373075200000], - [1198, 403747200000], - [2422, 434332800000], - [1388, 465004800000], - [2901, 495590400000], - [2730, 526262400000], - [2645, 556848000000], - [1197, 587433600000], - [2397, 618019200000], - [730, 648691200000], - [1497, 679276800000], - [3506, 709948800000], - [2980, 740620800000], - [2890, 771206400000], - [2645, 801792000000], - [693, 832377600000], - [1397, 862963200000], - [2922, 893635200000], - [3026, 924307200000], - [3012, 954979200000], - [2953, 985564800000], - [2709, 1016150400000], - [1325, 1046736000000], - [1453, 1077321600000], - [2922, 1107993600000], - [1748, 1138665600000], - [3529, 1169251200000], - [3474, 1199923200000], - [2726, 1230508800000], - [2390, 1261094400000], - [686, 1291680000000], - [1389, 1322265600000], - [874, 1352937600000], - [2901, 1383523200000], - [2730, 1414195200000], - [2381, 1444780800000], - [1181, 1475366400000], - [2397, 1505952000000], - [698, 1536624000000], - [1461, 1567209600000], - [1450, 1597881600000], - [3413, 1628467200000], - [2714, 1659139200000], - [2350, 1689724800000], - [622, 1720310400000], - [1373, 1750896000000], - [2778, 1781568000000], - [1748, 1812240000000], - [1701, 1842825600000], - [0, 1873411200000] - ], - minDate: -2198707200000, - maxDate: 1873411199999, - toGregorian: function(hyear, hmonth, hday) { - var days = hday - 1, - gyear = hyear - 1318; - if (gyear < 0 || gyear >= this._yearInfo.length) return null; - var info = this._yearInfo[gyear], - gdate = new Date(info[1]), - monthLength = info[0]; - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the gregorian date in the same timezone, - // not what the gregorian date was at GMT time, so we adjust for the offset. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - for (var i = 0; i < hmonth; i++) { - days += 29 + (monthLength & 1); - monthLength = monthLength >> 1; - } - gdate.setDate(gdate.getDate() + days); - return gdate; - }, - fromGregorian: function(gdate) { - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the hijri date in the same timezone, - // not what the hijri date was at GMT time, so we adjust for the offset. - var ticks = gdate - gdate.getTimezoneOffset() * 60000; - if (ticks < this.minDate || ticks > this.maxDate) return null; - var hyear = 0, - hmonth = 1; - // find the earliest gregorian date in the array that is greater than or equal to the given date - while (ticks > this._yearInfo[++hyear][1]) { } - if (ticks !== this._yearInfo[hyear][1]) { - hyear--; - } - var info = this._yearInfo[hyear], - // how many days has it been since the date we found in the array? - // 86400000 = ticks per day - days = Math.floor((ticks - info[1]) / 86400000), - monthLength = info[0]; - hyear += 1318; // the Nth array entry corresponds to hijri year 1318+N - // now increment day/month based on the total days, considering - // how many days are in each month. We cannot run past the year - // mark since we would have found a different array entry in that case. - var daysInMonth = 29 + (monthLength & 1); - while (days >= daysInMonth) { - days -= daysInMonth; - monthLength = monthLength >> 1; - daysInMonth = 29 + (monthLength & 1); - hmonth++; - } - // remaining days is less than is in one month, thus is the day of the month we landed on - // hmonth-1 because in javascript months are zero based, stay consistent with that. - return [hyear, hmonth - 1, days + 1]; - } - } - }, - Hijri: { - name: "Hijri", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MM/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd/MM/yyyy hh:mm tt", - F: "dd/MM/yyyy hh:mm:ss tt", - M: "dd MMMM" - }, - convert: { - // Adapted to Script from System.Globalization.HijriCalendar - ticks1970: 62135596800000, - // number of days leading up to each month - monthDays: [0, 30, 59, 89, 118, 148, 177, 207, 236, 266, 295, 325, 355], - minDate: -42521673600000, - maxDate: 253402300799999, - // The number of days to add or subtract from the calendar to accommodate the variances - // in the start and the end of Ramadan and to accommodate the date difference between - // countries/regions. May be dynamically adjusted based on user preference, but should - // remain in the range of -2 to 2, inclusive. - hijriAdjustment: 0, - toGregorian: function(hyear, hmonth, hday) { - var daysSinceJan0101 = this.daysToYear(hyear) + this.monthDays[hmonth] + hday - 1 - this.hijriAdjustment; - // 86400000 = ticks per day - var gdate = new Date(daysSinceJan0101 * 86400000 - this.ticks1970); - // adjust for timezone, because we are interested in the gregorian date for the same timezone - // but ticks in javascript is always from GMT, unlike the server were ticks counts from the base - // date in the current timezone. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - return gdate; - }, - fromGregorian: function(gdate) { - if ((gdate < this.minDate) || (gdate > this.maxDate)) return null; - var ticks = this.ticks1970 + (gdate-0) - gdate.getTimezoneOffset() * 60000, - daysSinceJan0101 = Math.floor(ticks / 86400000) + 1 + this.hijriAdjustment; - // very particular formula determined by someone smart, adapted from the server-side implementation. - // it approximates the hijri year. - var hday, hmonth, hyear = Math.floor(((daysSinceJan0101 - 227013) * 30) / 10631) + 1, - absDays = this.daysToYear(hyear), - daysInYear = this.isLeapYear(hyear) ? 355 : 354; - // hyear is just approximate, it may need adjustment up or down by 1. - if (daysSinceJan0101 < absDays) { - hyear--; - absDays -= daysInYear; - } - else if (daysSinceJan0101 === absDays) { - hyear--; - absDays = this.daysToYear(hyear); - } - else { - if (daysSinceJan0101 > (absDays + daysInYear)) { - absDays += daysInYear; - hyear++; - } - } - // determine month by looking at how many days into the hyear we are - // monthDays contains the number of days up to each month. - hmonth = 0; - var daysIntoYear = daysSinceJan0101 - absDays; - while (hmonth <= 11 && daysIntoYear > this.monthDays[hmonth]) { - hmonth++; - } - hmonth--; - hday = daysIntoYear - this.monthDays[hmonth]; - return [hyear, hmonth, hday]; - }, - daysToYear: function(year) { - // calculates how many days since Jan 1, 0001 - var yearsToYear30 = Math.floor((year - 1) / 30) * 30, - yearsInto30 = year - yearsToYear30 - 1, - days = Math.floor((yearsToYear30 * 10631) / 30) + 227013; - while (yearsInto30 > 0) { - days += (this.isLeapYear(yearsInto30) ? 355 : 354); - yearsInto30--; - } - return days; - }, - isLeapYear: function(year) { - return ((((year * 11) + 14) % 30) < 11); - } - } - }, - Gregorian_MiddleEastFrench: { - name: "Gregorian_MiddleEastFrench", - firstDay: 6, - days: { - names: ["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"], - namesAbbr: ["dim.","lun.","mar.","mer.","jeu.","ven.","sam."], - namesShort: ["di","lu","ma","me","je","ve","sa"] - }, - months: { - names: ["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""], - namesAbbr: ["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"ap. J.-C.","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt", - M: "dd MMMM" - } - }, - Gregorian_Arabic: { - name: "Gregorian_Arabic", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""], - namesAbbr: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - }, - Gregorian_Localized: { - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM, yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd MMMM, yyyy hh:mm tt", - F: "dd MMMM, yyyy hh:mm:ss tt", - M: "dd MMMM" - } - }, - Gregorian_TransliteratedFrench: { - name: "Gregorian_TransliteratedFrench", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.ar-SY.js b/web/Scripts/globalize/cultures/globalize.culture.ar-SY.js deleted file mode 100644 index d75faa69..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.ar-SY.js +++ /dev/null @@ -1,457 +0,0 @@ -/* - * Globalize Culture ar-SY - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "ar-SY", "default", { - name: "ar-SY", - englishName: "Arabic (Syria)", - nativeName: "العربية (سوريا)", - language: "ar", - isRTL: true, - numberFormat: { - pattern: ["n-"], - "NaN": "ليس برقم", - negativeInfinity: "-لا نهاية", - positiveInfinity: "+لا نهاية", - currency: { - pattern: ["$n-","$ n"], - symbol: "ل.س.\u200f" - } - }, - calendars: { - standard: { - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""], - namesAbbr: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM, yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd MMMM, yyyy hh:mm tt", - F: "dd MMMM, yyyy hh:mm:ss tt", - M: "dd MMMM" - } - }, - UmAlQura: { - name: "UmAlQura", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MMMM/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd/MMMM/yyyy hh:mm tt", - F: "dd/MMMM/yyyy hh:mm:ss tt", - M: "dd MMMM" - }, - convert: { - _yearInfo: [ - // MonthLengthFlags, Gregorian Date - [746, -2198707200000], - [1769, -2168121600000], - [3794, -2137449600000], - [3748, -2106777600000], - [3402, -2076192000000], - [2710, -2045606400000], - [1334, -2015020800000], - [2741, -1984435200000], - [3498, -1953763200000], - [2980, -1923091200000], - [2889, -1892505600000], - [2707, -1861920000000], - [1323, -1831334400000], - [2647, -1800748800000], - [1206, -1770076800000], - [2741, -1739491200000], - [1450, -1708819200000], - [3413, -1678233600000], - [3370, -1647561600000], - [2646, -1616976000000], - [1198, -1586390400000], - [2397, -1555804800000], - [748, -1525132800000], - [1749, -1494547200000], - [1706, -1463875200000], - [1365, -1433289600000], - [1195, -1402704000000], - [2395, -1372118400000], - [698, -1341446400000], - [1397, -1310860800000], - [2994, -1280188800000], - [1892, -1249516800000], - [1865, -1218931200000], - [1621, -1188345600000], - [683, -1157760000000], - [1371, -1127174400000], - [2778, -1096502400000], - [1748, -1065830400000], - [3785, -1035244800000], - [3474, -1004572800000], - [3365, -973987200000], - [2637, -943401600000], - [685, -912816000000], - [1389, -882230400000], - [2922, -851558400000], - [2898, -820886400000], - [2725, -790300800000], - [2635, -759715200000], - [1175, -729129600000], - [2359, -698544000000], - [694, -667872000000], - [1397, -637286400000], - [3434, -606614400000], - [3410, -575942400000], - [2710, -545356800000], - [2349, -514771200000], - [605, -484185600000], - [1245, -453600000000], - [2778, -422928000000], - [1492, -392256000000], - [3497, -361670400000], - [3410, -330998400000], - [2730, -300412800000], - [1238, -269827200000], - [2486, -239241600000], - [884, -208569600000], - [1897, -177984000000], - [1874, -147312000000], - [1701, -116726400000], - [1355, -86140800000], - [2731, -55555200000], - [1370, -24883200000], - [2773, 5702400000], - [3538, 36374400000], - [3492, 67046400000], - [3401, 97632000000], - [2709, 128217600000], - [1325, 158803200000], - [2653, 189388800000], - [1370, 220060800000], - [2773, 250646400000], - [1706, 281318400000], - [1685, 311904000000], - [1323, 342489600000], - [2647, 373075200000], - [1198, 403747200000], - [2422, 434332800000], - [1388, 465004800000], - [2901, 495590400000], - [2730, 526262400000], - [2645, 556848000000], - [1197, 587433600000], - [2397, 618019200000], - [730, 648691200000], - [1497, 679276800000], - [3506, 709948800000], - [2980, 740620800000], - [2890, 771206400000], - [2645, 801792000000], - [693, 832377600000], - [1397, 862963200000], - [2922, 893635200000], - [3026, 924307200000], - [3012, 954979200000], - [2953, 985564800000], - [2709, 1016150400000], - [1325, 1046736000000], - [1453, 1077321600000], - [2922, 1107993600000], - [1748, 1138665600000], - [3529, 1169251200000], - [3474, 1199923200000], - [2726, 1230508800000], - [2390, 1261094400000], - [686, 1291680000000], - [1389, 1322265600000], - [874, 1352937600000], - [2901, 1383523200000], - [2730, 1414195200000], - [2381, 1444780800000], - [1181, 1475366400000], - [2397, 1505952000000], - [698, 1536624000000], - [1461, 1567209600000], - [1450, 1597881600000], - [3413, 1628467200000], - [2714, 1659139200000], - [2350, 1689724800000], - [622, 1720310400000], - [1373, 1750896000000], - [2778, 1781568000000], - [1748, 1812240000000], - [1701, 1842825600000], - [0, 1873411200000] - ], - minDate: -2198707200000, - maxDate: 1873411199999, - toGregorian: function(hyear, hmonth, hday) { - var days = hday - 1, - gyear = hyear - 1318; - if (gyear < 0 || gyear >= this._yearInfo.length) return null; - var info = this._yearInfo[gyear], - gdate = new Date(info[1]), - monthLength = info[0]; - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the gregorian date in the same timezone, - // not what the gregorian date was at GMT time, so we adjust for the offset. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - for (var i = 0; i < hmonth; i++) { - days += 29 + (monthLength & 1); - monthLength = monthLength >> 1; - } - gdate.setDate(gdate.getDate() + days); - return gdate; - }, - fromGregorian: function(gdate) { - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the hijri date in the same timezone, - // not what the hijri date was at GMT time, so we adjust for the offset. - var ticks = gdate - gdate.getTimezoneOffset() * 60000; - if (ticks < this.minDate || ticks > this.maxDate) return null; - var hyear = 0, - hmonth = 1; - // find the earliest gregorian date in the array that is greater than or equal to the given date - while (ticks > this._yearInfo[++hyear][1]) { } - if (ticks !== this._yearInfo[hyear][1]) { - hyear--; - } - var info = this._yearInfo[hyear], - // how many days has it been since the date we found in the array? - // 86400000 = ticks per day - days = Math.floor((ticks - info[1]) / 86400000), - monthLength = info[0]; - hyear += 1318; // the Nth array entry corresponds to hijri year 1318+N - // now increment day/month based on the total days, considering - // how many days are in each month. We cannot run past the year - // mark since we would have found a different array entry in that case. - var daysInMonth = 29 + (monthLength & 1); - while (days >= daysInMonth) { - days -= daysInMonth; - monthLength = monthLength >> 1; - daysInMonth = 29 + (monthLength & 1); - hmonth++; - } - // remaining days is less than is in one month, thus is the day of the month we landed on - // hmonth-1 because in javascript months are zero based, stay consistent with that. - return [hyear, hmonth - 1, days + 1]; - } - } - }, - Hijri: { - name: "Hijri", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MM/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd/MM/yyyy hh:mm tt", - F: "dd/MM/yyyy hh:mm:ss tt", - M: "dd MMMM" - }, - convert: { - // Adapted to Script from System.Globalization.HijriCalendar - ticks1970: 62135596800000, - // number of days leading up to each month - monthDays: [0, 30, 59, 89, 118, 148, 177, 207, 236, 266, 295, 325, 355], - minDate: -42521673600000, - maxDate: 253402300799999, - // The number of days to add or subtract from the calendar to accommodate the variances - // in the start and the end of Ramadan and to accommodate the date difference between - // countries/regions. May be dynamically adjusted based on user preference, but should - // remain in the range of -2 to 2, inclusive. - hijriAdjustment: 0, - toGregorian: function(hyear, hmonth, hday) { - var daysSinceJan0101 = this.daysToYear(hyear) + this.monthDays[hmonth] + hday - 1 - this.hijriAdjustment; - // 86400000 = ticks per day - var gdate = new Date(daysSinceJan0101 * 86400000 - this.ticks1970); - // adjust for timezone, because we are interested in the gregorian date for the same timezone - // but ticks in javascript is always from GMT, unlike the server were ticks counts from the base - // date in the current timezone. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - return gdate; - }, - fromGregorian: function(gdate) { - if ((gdate < this.minDate) || (gdate > this.maxDate)) return null; - var ticks = this.ticks1970 + (gdate-0) - gdate.getTimezoneOffset() * 60000, - daysSinceJan0101 = Math.floor(ticks / 86400000) + 1 + this.hijriAdjustment; - // very particular formula determined by someone smart, adapted from the server-side implementation. - // it approximates the hijri year. - var hday, hmonth, hyear = Math.floor(((daysSinceJan0101 - 227013) * 30) / 10631) + 1, - absDays = this.daysToYear(hyear), - daysInYear = this.isLeapYear(hyear) ? 355 : 354; - // hyear is just approximate, it may need adjustment up or down by 1. - if (daysSinceJan0101 < absDays) { - hyear--; - absDays -= daysInYear; - } - else if (daysSinceJan0101 === absDays) { - hyear--; - absDays = this.daysToYear(hyear); - } - else { - if (daysSinceJan0101 > (absDays + daysInYear)) { - absDays += daysInYear; - hyear++; - } - } - // determine month by looking at how many days into the hyear we are - // monthDays contains the number of days up to each month. - hmonth = 0; - var daysIntoYear = daysSinceJan0101 - absDays; - while (hmonth <= 11 && daysIntoYear > this.monthDays[hmonth]) { - hmonth++; - } - hmonth--; - hday = daysIntoYear - this.monthDays[hmonth]; - return [hyear, hmonth, hday]; - }, - daysToYear: function(year) { - // calculates how many days since Jan 1, 0001 - var yearsToYear30 = Math.floor((year - 1) / 30) * 30, - yearsInto30 = year - yearsToYear30 - 1, - days = Math.floor((yearsToYear30 * 10631) / 30) + 227013; - while (yearsInto30 > 0) { - days += (this.isLeapYear(yearsInto30) ? 355 : 354); - yearsInto30--; - } - return days; - }, - isLeapYear: function(year) { - return ((((year * 11) + 14) % 30) < 11); - } - } - }, - Gregorian_MiddleEastFrench: { - name: "Gregorian_MiddleEastFrench", - firstDay: 6, - days: { - names: ["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"], - namesAbbr: ["dim.","lun.","mar.","mer.","jeu.","ven.","sam."], - namesShort: ["di","lu","ma","me","je","ve","sa"] - }, - months: { - names: ["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""], - namesAbbr: ["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"ap. J.-C.","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt", - M: "dd MMMM" - } - }, - Gregorian_TransliteratedEnglish: { - name: "Gregorian_TransliteratedEnglish", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["أ","ا","ث","أ","خ","ج","س"] - }, - months: { - names: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["يناير","فبراير","مارس","ابريل","مايو","يونيو","يوليو","اغسطس","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - }, - Gregorian_TransliteratedFrench: { - name: "Gregorian_TransliteratedFrench", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.ar-TN.js b/web/Scripts/globalize/cultures/globalize.culture.ar-TN.js deleted file mode 100644 index d7614ada..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.ar-TN.js +++ /dev/null @@ -1,463 +0,0 @@ -/* - * Globalize Culture ar-TN - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "ar-TN", "default", { - name: "ar-TN", - englishName: "Arabic (Tunisia)", - nativeName: "العربية (تونس)", - language: "ar", - isRTL: true, - numberFormat: { - pattern: ["n-"], - decimals: 3, - "NaN": "ليس برقم", - negativeInfinity: "-لا نهاية", - positiveInfinity: "+لا نهاية", - percent: { - decimals: 3 - }, - currency: { - pattern: ["$n-","$ n"], - decimals: 3, - symbol: "د.ت.\u200f" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - patterns: { - d: "dd-MM-yyyy", - D: "dd MMMM, yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dd MMMM, yyyy H:mm", - F: "dd MMMM, yyyy H:mm:ss", - M: "dd MMMM" - } - }, - Hijri: { - name: "Hijri", - firstDay: 1, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MM/yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dd/MM/yyyy H:mm", - F: "dd/MM/yyyy H:mm:ss", - M: "dd MMMM" - }, - convert: { - // Adapted to Script from System.Globalization.HijriCalendar - ticks1970: 62135596800000, - // number of days leading up to each month - monthDays: [0, 30, 59, 89, 118, 148, 177, 207, 236, 266, 295, 325, 355], - minDate: -42521673600000, - maxDate: 253402300799999, - // The number of days to add or subtract from the calendar to accommodate the variances - // in the start and the end of Ramadan and to accommodate the date difference between - // countries/regions. May be dynamically adjusted based on user preference, but should - // remain in the range of -2 to 2, inclusive. - hijriAdjustment: 0, - toGregorian: function(hyear, hmonth, hday) { - var daysSinceJan0101 = this.daysToYear(hyear) + this.monthDays[hmonth] + hday - 1 - this.hijriAdjustment; - // 86400000 = ticks per day - var gdate = new Date(daysSinceJan0101 * 86400000 - this.ticks1970); - // adjust for timezone, because we are interested in the gregorian date for the same timezone - // but ticks in javascript is always from GMT, unlike the server were ticks counts from the base - // date in the current timezone. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - return gdate; - }, - fromGregorian: function(gdate) { - if ((gdate < this.minDate) || (gdate > this.maxDate)) return null; - var ticks = this.ticks1970 + (gdate-0) - gdate.getTimezoneOffset() * 60000, - daysSinceJan0101 = Math.floor(ticks / 86400000) + 1 + this.hijriAdjustment; - // very particular formula determined by someone smart, adapted from the server-side implementation. - // it approximates the hijri year. - var hday, hmonth, hyear = Math.floor(((daysSinceJan0101 - 227013) * 30) / 10631) + 1, - absDays = this.daysToYear(hyear), - daysInYear = this.isLeapYear(hyear) ? 355 : 354; - // hyear is just approximate, it may need adjustment up or down by 1. - if (daysSinceJan0101 < absDays) { - hyear--; - absDays -= daysInYear; - } - else if (daysSinceJan0101 === absDays) { - hyear--; - absDays = this.daysToYear(hyear); - } - else { - if (daysSinceJan0101 > (absDays + daysInYear)) { - absDays += daysInYear; - hyear++; - } - } - // determine month by looking at how many days into the hyear we are - // monthDays contains the number of days up to each month. - hmonth = 0; - var daysIntoYear = daysSinceJan0101 - absDays; - while (hmonth <= 11 && daysIntoYear > this.monthDays[hmonth]) { - hmonth++; - } - hmonth--; - hday = daysIntoYear - this.monthDays[hmonth]; - return [hyear, hmonth, hday]; - }, - daysToYear: function(year) { - // calculates how many days since Jan 1, 0001 - var yearsToYear30 = Math.floor((year - 1) / 30) * 30, - yearsInto30 = year - yearsToYear30 - 1, - days = Math.floor((yearsToYear30 * 10631) / 30) + 227013; - while (yearsInto30 > 0) { - days += (this.isLeapYear(yearsInto30) ? 355 : 354); - yearsInto30--; - } - return days; - }, - isLeapYear: function(year) { - return ((((year * 11) + 14) % 30) < 11); - } - } - }, - UmAlQura: { - name: "UmAlQura", - firstDay: 1, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MMMM/yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dd/MMMM/yyyy H:mm", - F: "dd/MMMM/yyyy H:mm:ss", - M: "dd MMMM" - }, - convert: { - _yearInfo: [ - // MonthLengthFlags, Gregorian Date - [746, -2198707200000], - [1769, -2168121600000], - [3794, -2137449600000], - [3748, -2106777600000], - [3402, -2076192000000], - [2710, -2045606400000], - [1334, -2015020800000], - [2741, -1984435200000], - [3498, -1953763200000], - [2980, -1923091200000], - [2889, -1892505600000], - [2707, -1861920000000], - [1323, -1831334400000], - [2647, -1800748800000], - [1206, -1770076800000], - [2741, -1739491200000], - [1450, -1708819200000], - [3413, -1678233600000], - [3370, -1647561600000], - [2646, -1616976000000], - [1198, -1586390400000], - [2397, -1555804800000], - [748, -1525132800000], - [1749, -1494547200000], - [1706, -1463875200000], - [1365, -1433289600000], - [1195, -1402704000000], - [2395, -1372118400000], - [698, -1341446400000], - [1397, -1310860800000], - [2994, -1280188800000], - [1892, -1249516800000], - [1865, -1218931200000], - [1621, -1188345600000], - [683, -1157760000000], - [1371, -1127174400000], - [2778, -1096502400000], - [1748, -1065830400000], - [3785, -1035244800000], - [3474, -1004572800000], - [3365, -973987200000], - [2637, -943401600000], - [685, -912816000000], - [1389, -882230400000], - [2922, -851558400000], - [2898, -820886400000], - [2725, -790300800000], - [2635, -759715200000], - [1175, -729129600000], - [2359, -698544000000], - [694, -667872000000], - [1397, -637286400000], - [3434, -606614400000], - [3410, -575942400000], - [2710, -545356800000], - [2349, -514771200000], - [605, -484185600000], - [1245, -453600000000], - [2778, -422928000000], - [1492, -392256000000], - [3497, -361670400000], - [3410, -330998400000], - [2730, -300412800000], - [1238, -269827200000], - [2486, -239241600000], - [884, -208569600000], - [1897, -177984000000], - [1874, -147312000000], - [1701, -116726400000], - [1355, -86140800000], - [2731, -55555200000], - [1370, -24883200000], - [2773, 5702400000], - [3538, 36374400000], - [3492, 67046400000], - [3401, 97632000000], - [2709, 128217600000], - [1325, 158803200000], - [2653, 189388800000], - [1370, 220060800000], - [2773, 250646400000], - [1706, 281318400000], - [1685, 311904000000], - [1323, 342489600000], - [2647, 373075200000], - [1198, 403747200000], - [2422, 434332800000], - [1388, 465004800000], - [2901, 495590400000], - [2730, 526262400000], - [2645, 556848000000], - [1197, 587433600000], - [2397, 618019200000], - [730, 648691200000], - [1497, 679276800000], - [3506, 709948800000], - [2980, 740620800000], - [2890, 771206400000], - [2645, 801792000000], - [693, 832377600000], - [1397, 862963200000], - [2922, 893635200000], - [3026, 924307200000], - [3012, 954979200000], - [2953, 985564800000], - [2709, 1016150400000], - [1325, 1046736000000], - [1453, 1077321600000], - [2922, 1107993600000], - [1748, 1138665600000], - [3529, 1169251200000], - [3474, 1199923200000], - [2726, 1230508800000], - [2390, 1261094400000], - [686, 1291680000000], - [1389, 1322265600000], - [874, 1352937600000], - [2901, 1383523200000], - [2730, 1414195200000], - [2381, 1444780800000], - [1181, 1475366400000], - [2397, 1505952000000], - [698, 1536624000000], - [1461, 1567209600000], - [1450, 1597881600000], - [3413, 1628467200000], - [2714, 1659139200000], - [2350, 1689724800000], - [622, 1720310400000], - [1373, 1750896000000], - [2778, 1781568000000], - [1748, 1812240000000], - [1701, 1842825600000], - [0, 1873411200000] - ], - minDate: -2198707200000, - maxDate: 1873411199999, - toGregorian: function(hyear, hmonth, hday) { - var days = hday - 1, - gyear = hyear - 1318; - if (gyear < 0 || gyear >= this._yearInfo.length) return null; - var info = this._yearInfo[gyear], - gdate = new Date(info[1]), - monthLength = info[0]; - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the gregorian date in the same timezone, - // not what the gregorian date was at GMT time, so we adjust for the offset. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - for (var i = 0; i < hmonth; i++) { - days += 29 + (monthLength & 1); - monthLength = monthLength >> 1; - } - gdate.setDate(gdate.getDate() + days); - return gdate; - }, - fromGregorian: function(gdate) { - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the hijri date in the same timezone, - // not what the hijri date was at GMT time, so we adjust for the offset. - var ticks = gdate - gdate.getTimezoneOffset() * 60000; - if (ticks < this.minDate || ticks > this.maxDate) return null; - var hyear = 0, - hmonth = 1; - // find the earliest gregorian date in the array that is greater than or equal to the given date - while (ticks > this._yearInfo[++hyear][1]) { } - if (ticks !== this._yearInfo[hyear][1]) { - hyear--; - } - var info = this._yearInfo[hyear], - // how many days has it been since the date we found in the array? - // 86400000 = ticks per day - days = Math.floor((ticks - info[1]) / 86400000), - monthLength = info[0]; - hyear += 1318; // the Nth array entry corresponds to hijri year 1318+N - // now increment day/month based on the total days, considering - // how many days are in each month. We cannot run past the year - // mark since we would have found a different array entry in that case. - var daysInMonth = 29 + (monthLength & 1); - while (days >= daysInMonth) { - days -= daysInMonth; - monthLength = monthLength >> 1; - daysInMonth = 29 + (monthLength & 1); - hmonth++; - } - // remaining days is less than is in one month, thus is the day of the month we landed on - // hmonth-1 because in javascript months are zero based, stay consistent with that. - return [hyear, hmonth - 1, days + 1]; - } - } - }, - Gregorian_MiddleEastFrench: { - name: "Gregorian_MiddleEastFrench", - firstDay: 1, - days: { - names: ["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"], - namesAbbr: ["dim.","lun.","mar.","mer.","jeu.","ven.","sam."], - namesShort: ["di","lu","ma","me","je","ve","sa"] - }, - months: { - names: ["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""], - namesAbbr: ["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"ap. J.-C.","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dddd, MMMM dd, yyyy H:mm", - F: "dddd, MMMM dd, yyyy H:mm:ss", - M: "dd MMMM" - } - }, - Gregorian_Arabic: { - name: "Gregorian_Arabic", - firstDay: 1, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""], - namesAbbr: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dddd, MMMM dd, yyyy H:mm", - F: "dddd, MMMM dd, yyyy H:mm:ss" - } - }, - Gregorian_TransliteratedEnglish: { - name: "Gregorian_TransliteratedEnglish", - firstDay: 1, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["أ","ا","ث","أ","خ","ج","س"] - }, - months: { - names: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["يناير","فبراير","مارس","ابريل","مايو","يونيو","يوليو","اغسطس","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dddd, MMMM dd, yyyy H:mm", - F: "dddd, MMMM dd, yyyy H:mm:ss" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.ar-YE.js b/web/Scripts/globalize/cultures/globalize.culture.ar-YE.js deleted file mode 100644 index e69de29b..00000000 diff --git a/web/Scripts/globalize/cultures/globalize.culture.ar.js b/web/Scripts/globalize/cultures/globalize.culture.ar.js deleted file mode 100644 index e69de29b..00000000 diff --git a/web/Scripts/globalize/cultures/globalize.culture.arn-CL.js b/web/Scripts/globalize/cultures/globalize.culture.arn-CL.js deleted file mode 100644 index b898ab34..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.arn-CL.js +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Globalize Culture arn-CL - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "arn-CL", "default", { - name: "arn-CL", - englishName: "Mapudungun (Chile)", - nativeName: "Mapudungun (Chile)", - language: "arn", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "NeuN", - negativeInfinity: "-Infinito", - positiveInfinity: "Infinito", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-$ n","$ n"], - ",": ".", - ".": "," - } - }, - calendars: { - standard: { - "/": "-", - days: { - names: ["domingo","lunes","martes","miércoles","jueves","viernes","sábado"], - namesAbbr: ["dom","lun","mar","mié","jue","vie","sáb"], - namesShort: ["do","lu","ma","mi","ju","vi","sá"] - }, - months: { - names: ["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""], - namesAbbr: ["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""] - }, - AM: null, - PM: null, - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd-MM-yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dddd, dd' de 'MMMM' de 'yyyy H:mm", - F: "dddd, dd' de 'MMMM' de 'yyyy H:mm:ss", - M: "dd MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.arn.js b/web/Scripts/globalize/cultures/globalize.culture.arn.js deleted file mode 100644 index b27f5d55..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.arn.js +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Globalize Culture arn - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "arn", "default", { - name: "arn", - englishName: "Mapudungun", - nativeName: "Mapudungun", - language: "arn", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "NeuN", - negativeInfinity: "-Infinito", - positiveInfinity: "Infinito", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-$ n","$ n"], - ",": ".", - ".": "," - } - }, - calendars: { - standard: { - "/": "-", - days: { - names: ["domingo","lunes","martes","miércoles","jueves","viernes","sábado"], - namesAbbr: ["dom","lun","mar","mié","jue","vie","sáb"], - namesShort: ["do","lu","ma","mi","ju","vi","sá"] - }, - months: { - names: ["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""], - namesAbbr: ["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""] - }, - AM: null, - PM: null, - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd-MM-yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dddd, dd' de 'MMMM' de 'yyyy H:mm", - F: "dddd, dd' de 'MMMM' de 'yyyy H:mm:ss", - M: "dd MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.as-IN.js b/web/Scripts/globalize/cultures/globalize.culture.as-IN.js deleted file mode 100644 index fe974428..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.as-IN.js +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Globalize Culture as-IN - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "as-IN", "default", { - name: "as-IN", - englishName: "Assamese (India)", - nativeName: "অসমীয়া (ভাৰত)", - language: "as", - numberFormat: { - groupSizes: [3,2], - "NaN": "nan", - negativeInfinity: "-infinity", - positiveInfinity: "infinity", - percent: { - pattern: ["-n%","n%"], - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","n$"], - groupSizes: [3,2], - symbol: "ট" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["সোমবাৰ","মঙ্গলবাৰ","বুধবাৰ","বৃহস্পতিবাৰ","শুক্রবাৰ","শনিবাৰ","ৰবিবাৰ"], - namesAbbr: ["সোম.","মঙ্গল.","বুধ.","বৃহ.","শুক্র.","শনি.","ৰবি."], - namesShort: ["সো","ম","বু","বৃ","শু","শ","র"] - }, - months: { - names: ["জানুৱাৰী","ফেব্রুৱাৰী","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগষ্ট","চেপ্টেম্বর","অক্টোবর","নবেম্বর","ডিচেম্বর",""], - namesAbbr: ["জানু","ফেব্রু","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগষ্ট","চেপ্টে","অক্টো","নবে","ডিচে",""] - }, - AM: ["ৰাতিপু","ৰাতিপু","ৰাতিপু"], - PM: ["আবেলি","আবেলি","আবেলি"], - eras: [{"name":"খ্রীষ্টাব্দ","start":null,"offset":0}], - patterns: { - d: "dd-MM-yyyy", - D: "yyyy,MMMM dd, dddd", - t: "tt h:mm", - T: "tt h:mm:ss", - f: "yyyy,MMMM dd, dddd tt h:mm", - F: "yyyy,MMMM dd, dddd tt h:mm:ss", - M: "dd MMMM", - Y: "MMMM,yy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.as.js b/web/Scripts/globalize/cultures/globalize.culture.as.js deleted file mode 100644 index 5577f8ba..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.as.js +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Globalize Culture as - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "as", "default", { - name: "as", - englishName: "Assamese", - nativeName: "অসমীয়া", - language: "as", - numberFormat: { - groupSizes: [3,2], - "NaN": "nan", - negativeInfinity: "-infinity", - positiveInfinity: "infinity", - percent: { - pattern: ["-n%","n%"], - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","n$"], - groupSizes: [3,2], - symbol: "ট" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["সোমবাৰ","মঙ্গলবাৰ","বুধবাৰ","বৃহস্পতিবাৰ","শুক্রবাৰ","শনিবাৰ","ৰবিবাৰ"], - namesAbbr: ["সোম.","মঙ্গল.","বুধ.","বৃহ.","শুক্র.","শনি.","ৰবি."], - namesShort: ["সো","ম","বু","বৃ","শু","শ","র"] - }, - months: { - names: ["জানুৱাৰী","ফেব্রুৱাৰী","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগষ্ট","চেপ্টেম্বর","অক্টোবর","নবেম্বর","ডিচেম্বর",""], - namesAbbr: ["জানু","ফেব্রু","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগষ্ট","চেপ্টে","অক্টো","নবে","ডিচে",""] - }, - AM: ["ৰাতিপু","ৰাতিপু","ৰাতিপু"], - PM: ["আবেলি","আবেলি","আবেলি"], - eras: [{"name":"খ্রীষ্টাব্দ","start":null,"offset":0}], - patterns: { - d: "dd-MM-yyyy", - D: "yyyy,MMMM dd, dddd", - t: "tt h:mm", - T: "tt h:mm:ss", - f: "yyyy,MMMM dd, dddd tt h:mm", - F: "yyyy,MMMM dd, dddd tt h:mm:ss", - M: "dd MMMM", - Y: "MMMM,yy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.az-Cyrl-AZ.js b/web/Scripts/globalize/cultures/globalize.culture.az-Cyrl-AZ.js deleted file mode 100644 index 71164b4d..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.az-Cyrl-AZ.js +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Globalize Culture az-Cyrl-AZ - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "az-Cyrl-AZ", "default", { - name: "az-Cyrl-AZ", - englishName: "Azeri (Cyrillic, Azerbaijan)", - nativeName: "Азәрбајҹан (Азәрбајҹан)", - language: "az-Cyrl", - numberFormat: { - ",": " ", - ".": ",", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "ман." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Базар","Базар ертәси","Чәршәнбә ахшамы","Чәршәнбә","Ҹүмә ахшамы","Ҹүмә","Шәнбә"], - namesAbbr: ["Б","Бе","Ча","Ч","Ҹа","Ҹ","Ш"], - namesShort: ["Б","Бе","Ча","Ч","Ҹа","Ҹ","Ш"] - }, - months: { - names: ["Јанвар","Феврал","Март","Апрел","Мај","Ијун","Ијул","Август","Сентјабр","Октјабр","Нојабр","Декабр",""], - namesAbbr: ["Јан","Фев","Мар","Апр","Мај","Ијун","Ијул","Авг","Сен","Окт","Ноя","Дек",""] - }, - monthsGenitive: { - names: ["јанвар","феврал","март","апрел","мај","ијун","ијул","август","сентјабр","октјабр","нојабр","декабр",""], - namesAbbr: ["Јан","Фев","Мар","Апр","мая","ијун","ијул","Авг","Сен","Окт","Ноя","Дек",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "d MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d MMMM yyyy H:mm", - F: "d MMMM yyyy H:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.az-Cyrl.js b/web/Scripts/globalize/cultures/globalize.culture.az-Cyrl.js deleted file mode 100644 index 59283562..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.az-Cyrl.js +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Globalize Culture az-Cyrl - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "az-Cyrl", "default", { - name: "az-Cyrl", - englishName: "Azeri (Cyrillic)", - nativeName: "Азәрбајҹан дили", - language: "az-Cyrl", - numberFormat: { - ",": " ", - ".": ",", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "ман." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Базар","Базар ертәси","Чәршәнбә ахшамы","Чәршәнбә","Ҹүмә ахшамы","Ҹүмә","Шәнбә"], - namesAbbr: ["Б","Бе","Ча","Ч","Ҹа","Ҹ","Ш"], - namesShort: ["Б","Бе","Ча","Ч","Ҹа","Ҹ","Ш"] - }, - months: { - names: ["Јанвар","Феврал","Март","Апрел","Мај","Ијун","Ијул","Август","Сентјабр","Октјабр","Нојабр","Декабр",""], - namesAbbr: ["Јан","Фев","Мар","Апр","Мај","Ијун","Ијул","Авг","Сен","Окт","Ноя","Дек",""] - }, - monthsGenitive: { - names: ["јанвар","феврал","март","апрел","мај","ијун","ијул","август","сентјабр","октјабр","нојабр","декабр",""], - namesAbbr: ["Јан","Фев","Мар","Апр","мая","ијун","ијул","Авг","Сен","Окт","Ноя","Дек",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "d MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d MMMM yyyy H:mm", - F: "d MMMM yyyy H:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.az-Latn-AZ.js b/web/Scripts/globalize/cultures/globalize.culture.az-Latn-AZ.js deleted file mode 100644 index 200848e4..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.az-Latn-AZ.js +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Globalize Culture az-Latn-AZ - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "az-Latn-AZ", "default", { - name: "az-Latn-AZ", - englishName: "Azeri (Latin, Azerbaijan)", - nativeName: "Azərbaycan\xadılı (Azərbaycan)", - language: "az-Latn", - numberFormat: { - ",": " ", - ".": ",", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "man." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Bazar","Bazar ertəsi","Çərşənbə axşamı","Çərşənbə","Cümə axşamı","Cümə","Şənbə"], - namesAbbr: ["B","Be","Ça","Ç","Ca","C","Ş"], - namesShort: ["B","Be","Ça","Ç","Ca","C","Ş"] - }, - months: { - names: ["Yanvar","Fevral","Mart","Aprel","May","İyun","İyul","Avgust","Sentyabr","Oktyabr","Noyabr","Dekabr",""], - namesAbbr: ["Yan","Fev","Mar","Apr","May","İyun","İyul","Avg","Sen","Okt","Noy","Dek",""] - }, - monthsGenitive: { - names: ["yanvar","fevral","mart","aprel","may","iyun","iyul","avgust","sentyabr","oktyabr","noyabr","dekabr",""], - namesAbbr: ["Yan","Fev","Mar","Apr","May","İyun","İyul","Avg","Sen","Okt","Noy","Dek",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "d MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d MMMM yyyy H:mm", - F: "d MMMM yyyy H:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.az-Latn.js b/web/Scripts/globalize/cultures/globalize.culture.az-Latn.js deleted file mode 100644 index c4e80c72..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.az-Latn.js +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Globalize Culture az-Latn - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "az-Latn", "default", { - name: "az-Latn", - englishName: "Azeri (Latin)", - nativeName: "Azərbaycan\xadılı", - language: "az-Latn", - numberFormat: { - ",": " ", - ".": ",", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "man." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Bazar","Bazar ertəsi","Çərşənbə axşamı","Çərşənbə","Cümə axşamı","Cümə","Şənbə"], - namesAbbr: ["B","Be","Ça","Ç","Ca","C","Ş"], - namesShort: ["B","Be","Ça","Ç","Ca","C","Ş"] - }, - months: { - names: ["Yanvar","Fevral","Mart","Aprel","May","İyun","İyul","Avgust","Sentyabr","Oktyabr","Noyabr","Dekabr",""], - namesAbbr: ["Yan","Fev","Mar","Apr","May","İyun","İyul","Avg","Sen","Okt","Noy","Dek",""] - }, - monthsGenitive: { - names: ["yanvar","fevral","mart","aprel","may","iyun","iyul","avgust","sentyabr","oktyabr","noyabr","dekabr",""], - namesAbbr: ["Yan","Fev","Mar","Apr","May","İyun","İyul","Avg","Sen","Okt","Noy","Dek",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "d MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d MMMM yyyy H:mm", - F: "d MMMM yyyy H:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.az.js b/web/Scripts/globalize/cultures/globalize.culture.az.js deleted file mode 100644 index 7a5e5ec3..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.az.js +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Globalize Culture az - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "az", "default", { - name: "az", - englishName: "Azeri", - nativeName: "Azərbaycan\xadılı", - language: "az", - numberFormat: { - ",": " ", - ".": ",", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "man." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Bazar","Bazar ertəsi","Çərşənbə axşamı","Çərşənbə","Cümə axşamı","Cümə","Şənbə"], - namesAbbr: ["B","Be","Ça","Ç","Ca","C","Ş"], - namesShort: ["B","Be","Ça","Ç","Ca","C","Ş"] - }, - months: { - names: ["Yanvar","Fevral","Mart","Aprel","May","İyun","İyul","Avgust","Sentyabr","Oktyabr","Noyabr","Dekabr",""], - namesAbbr: ["Yan","Fev","Mar","Apr","May","İyun","İyul","Avg","Sen","Okt","Noy","Dek",""] - }, - monthsGenitive: { - names: ["yanvar","fevral","mart","aprel","may","iyun","iyul","avgust","sentyabr","oktyabr","noyabr","dekabr",""], - namesAbbr: ["Yan","Fev","Mar","Apr","May","İyun","İyul","Avg","Sen","Okt","Noy","Dek",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "d MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d MMMM yyyy H:mm", - F: "d MMMM yyyy H:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.ba-RU.js b/web/Scripts/globalize/cultures/globalize.culture.ba-RU.js deleted file mode 100644 index 4b81713a..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.ba-RU.js +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Globalize Culture ba-RU - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "ba-RU", "default", { - name: "ba-RU", - englishName: "Bashkir (Russia)", - nativeName: "Башҡорт (Россия)", - language: "ba", - numberFormat: { - ",": " ", - ".": ",", - groupSizes: [3,0], - negativeInfinity: "-бесконечность", - positiveInfinity: "бесконечность", - percent: { - pattern: ["-n%","n%"], - groupSizes: [3,0], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - groupSizes: [3,0], - ",": " ", - ".": ",", - symbol: "һ." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Йәкшәмбе","Дүшәмбе","Шишәмбе","Шаршамбы","Кесаҙна","Йома","Шәмбе"], - namesAbbr: ["Йш","Дш","Шш","Шр","Кс","Йм","Шб"], - namesShort: ["Йш","Дш","Шш","Шр","Кс","Йм","Шб"] - }, - months: { - names: ["ғинуар","февраль","март","апрель","май","июнь","июль","август","сентябрь","октябрь","ноябрь","декабрь",""], - namesAbbr: ["ғин","фев","мар","апр","май","июн","июл","авг","сен","окт","ноя","дек",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yy", - D: "d MMMM yyyy 'й'", - t: "H:mm", - T: "H:mm:ss", - f: "d MMMM yyyy 'й' H:mm", - F: "d MMMM yyyy 'й' H:mm:ss", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.ba.js b/web/Scripts/globalize/cultures/globalize.culture.ba.js deleted file mode 100644 index a665f66c..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.ba.js +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Globalize Culture ba - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "ba", "default", { - name: "ba", - englishName: "Bashkir", - nativeName: "Башҡорт", - language: "ba", - numberFormat: { - ",": " ", - ".": ",", - groupSizes: [3,0], - negativeInfinity: "-бесконечность", - positiveInfinity: "бесконечность", - percent: { - pattern: ["-n%","n%"], - groupSizes: [3,0], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - groupSizes: [3,0], - ",": " ", - ".": ",", - symbol: "һ." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Йәкшәмбе","Дүшәмбе","Шишәмбе","Шаршамбы","Кесаҙна","Йома","Шәмбе"], - namesAbbr: ["Йш","Дш","Шш","Шр","Кс","Йм","Шб"], - namesShort: ["Йш","Дш","Шш","Шр","Кс","Йм","Шб"] - }, - months: { - names: ["ғинуар","февраль","март","апрель","май","июнь","июль","август","сентябрь","октябрь","ноябрь","декабрь",""], - namesAbbr: ["ғин","фев","мар","апр","май","июн","июл","авг","сен","окт","ноя","дек",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yy", - D: "d MMMM yyyy 'й'", - t: "H:mm", - T: "H:mm:ss", - f: "d MMMM yyyy 'й' H:mm", - F: "d MMMM yyyy 'й' H:mm:ss", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.be-BY.js b/web/Scripts/globalize/cultures/globalize.culture.be-BY.js deleted file mode 100644 index 855695aa..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.be-BY.js +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Globalize Culture be-BY - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "be-BY", "default", { - name: "be-BY", - englishName: "Belarusian (Belarus)", - nativeName: "Беларускі (Беларусь)", - language: "be", - numberFormat: { - ",": " ", - ".": ",", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "р." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["нядзеля","панядзелак","аўторак","серада","чацвер","пятніца","субота"], - namesAbbr: ["нд","пн","аў","ср","чц","пт","сб"], - namesShort: ["нд","пн","аў","ср","чц","пт","сб"] - }, - months: { - names: ["Студзень","Люты","Сакавік","Красавік","Май","Чэрвень","Ліпень","Жнівень","Верасень","Кастрычнік","Лістапад","Снежань",""], - namesAbbr: ["Сту","Лют","Сак","Кра","Май","Чэр","Ліп","Жні","Вер","Кас","Ліс","Сне",""] - }, - monthsGenitive: { - names: ["студзеня","лютага","сакавіка","красавіка","мая","чэрвеня","ліпеня","жніўня","верасня","кастрычніка","лістапада","снежня",""], - namesAbbr: ["Сту","Лют","Сак","Кра","Май","Чэр","Ліп","Жні","Вер","Кас","Ліс","Сне",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "d MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d MMMM yyyy H:mm", - F: "d MMMM yyyy H:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.be.js b/web/Scripts/globalize/cultures/globalize.culture.be.js deleted file mode 100644 index 3db61d9f..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.be.js +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Globalize Culture be - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "be", "default", { - name: "be", - englishName: "Belarusian", - nativeName: "Беларускі", - language: "be", - numberFormat: { - ",": " ", - ".": ",", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "р." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["нядзеля","панядзелак","аўторак","серада","чацвер","пятніца","субота"], - namesAbbr: ["нд","пн","аў","ср","чц","пт","сб"], - namesShort: ["нд","пн","аў","ср","чц","пт","сб"] - }, - months: { - names: ["Студзень","Люты","Сакавік","Красавік","Май","Чэрвень","Ліпень","Жнівень","Верасень","Кастрычнік","Лістапад","Снежань",""], - namesAbbr: ["Сту","Лют","Сак","Кра","Май","Чэр","Ліп","Жні","Вер","Кас","Ліс","Сне",""] - }, - monthsGenitive: { - names: ["студзеня","лютага","сакавіка","красавіка","мая","чэрвеня","ліпеня","жніўня","верасня","кастрычніка","лістапада","снежня",""], - namesAbbr: ["Сту","Лют","Сак","Кра","Май","Чэр","Ліп","Жні","Вер","Кас","Ліс","Сне",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "d MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d MMMM yyyy H:mm", - F: "d MMMM yyyy H:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.bg-BG.js b/web/Scripts/globalize/cultures/globalize.culture.bg-BG.js deleted file mode 100644 index 0de7452f..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.bg-BG.js +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Globalize Culture bg-BG - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "bg-BG", "default", { - name: "bg-BG", - englishName: "Bulgarian (Bulgaria)", - nativeName: "български (България)", - language: "bg", - numberFormat: { - ",": " ", - ".": ",", - negativeInfinity: "- безкрайност", - positiveInfinity: "+ безкрайност", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "лв." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["неделя","понеделник","вторник","сряда","четвъртък","петък","събота"], - namesAbbr: ["нед","пон","вт","ср","четв","пет","съб"], - namesShort: ["н","п","в","с","ч","п","с"] - }, - months: { - names: ["януари","февруари","март","април","май","юни","юли","август","септември","октомври","ноември","декември",""], - namesAbbr: ["ян","февр","март","апр","май","юни","юли","авг","септ","окт","ноември","дек",""] - }, - AM: null, - PM: null, - eras: [{"name":"след новата ера","start":null,"offset":0}], - patterns: { - d: "d.M.yyyy 'г.'", - D: "dd MMMM yyyy 'г.'", - t: "HH:mm 'ч.'", - T: "HH:mm:ss 'ч.'", - f: "dd MMMM yyyy 'г.' HH:mm 'ч.'", - F: "dd MMMM yyyy 'г.' HH:mm:ss 'ч.'", - M: "dd MMMM", - Y: "MMMM yyyy 'г.'" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.bg.js b/web/Scripts/globalize/cultures/globalize.culture.bg.js deleted file mode 100644 index b87a9e58..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.bg.js +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Globalize Culture bg - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "bg", "default", { - name: "bg", - englishName: "Bulgarian", - nativeName: "български", - language: "bg", - numberFormat: { - ",": " ", - ".": ",", - negativeInfinity: "- безкрайност", - positiveInfinity: "+ безкрайност", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "лв." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["неделя","понеделник","вторник","сряда","четвъртък","петък","събота"], - namesAbbr: ["нед","пон","вт","ср","четв","пет","съб"], - namesShort: ["н","п","в","с","ч","п","с"] - }, - months: { - names: ["януари","февруари","март","април","май","юни","юли","август","септември","октомври","ноември","декември",""], - namesAbbr: ["ян","февр","март","апр","май","юни","юли","авг","септ","окт","ноември","дек",""] - }, - AM: null, - PM: null, - eras: [{"name":"след новата ера","start":null,"offset":0}], - patterns: { - d: "d.M.yyyy 'г.'", - D: "dd MMMM yyyy 'г.'", - t: "HH:mm 'ч.'", - T: "HH:mm:ss 'ч.'", - f: "dd MMMM yyyy 'г.' HH:mm 'ч.'", - F: "dd MMMM yyyy 'г.' HH:mm:ss 'ч.'", - M: "dd MMMM", - Y: "MMMM yyyy 'г.'" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.bn-BD.js b/web/Scripts/globalize/cultures/globalize.culture.bn-BD.js deleted file mode 100644 index cc627097..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.bn-BD.js +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Globalize Culture bn-BD - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "bn-BD", "default", { - name: "bn-BD", - englishName: "Bengali (Bangladesh)", - nativeName: "বাংলা (বাংলাদেশ)", - language: "bn", - numberFormat: { - groupSizes: [3,2], - percent: { - pattern: ["-%n","%n"], - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,2], - symbol: "৳" - } - }, - calendars: { - standard: { - "/": "-", - ":": ".", - firstDay: 1, - days: { - names: ["রবিবার","সোমবার","মঙ্গলবার","বুধবার","বৃহস্পতিবার","শুক্রবার","শনিবার"], - namesAbbr: ["রবি.","সোম.","মঙ্গল.","বুধ.","বৃহস্পতি.","শুক্র.","শনি."], - namesShort: ["র","স","ম","ব","ব","শ","শ"] - }, - months: { - names: ["জানুয়ারী","ফেব্রুয়ারী","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগস্ট","সেপ্টেম্বর","অক্টোবর","নভেম্বর","ডিসেম্বর",""], - namesAbbr: ["জানু.","ফেব্রু.","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগ.","সেপ্টে.","অক্টো.","নভে.","ডিসে.",""] - }, - AM: ["পুর্বাহ্ন","পুর্বাহ্ন","পুর্বাহ্ন"], - PM: ["অপরাহ্ন","অপরাহ্ন","অপরাহ্ন"], - patterns: { - d: "dd-MM-yy", - D: "dd MMMM yyyy", - t: "HH.mm", - T: "HH.mm.ss", - f: "dd MMMM yyyy HH.mm", - F: "dd MMMM yyyy HH.mm.ss", - M: "dd MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.bn-IN.js b/web/Scripts/globalize/cultures/globalize.culture.bn-IN.js deleted file mode 100644 index 26012916..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.bn-IN.js +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Globalize Culture bn-IN - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "bn-IN", "default", { - name: "bn-IN", - englishName: "Bengali (India)", - nativeName: "বাংলা (ভারত)", - language: "bn", - numberFormat: { - groupSizes: [3,2], - percent: { - pattern: ["-%n","%n"], - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,2], - symbol: "টা" - } - }, - calendars: { - standard: { - "/": "-", - ":": ".", - firstDay: 1, - days: { - names: ["রবিবার","সোমবার","মঙ্গলবার","বুধবার","বৃহস্পতিবার","শুক্রবার","শনিবার"], - namesAbbr: ["রবি.","সোম.","মঙ্গল.","বুধ.","বৃহস্পতি.","শুক্র.","শনি."], - namesShort: ["র","স","ম","ব","ব","শ","শ"] - }, - months: { - names: ["জানুয়ারী","ফেব্রুয়ারী","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগস্ট","সেপ্টেম্বর","অক্টোবর","নভেম্বর","ডিসেম্বর",""], - namesAbbr: ["জানু.","ফেব্রু.","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগ.","সেপ্টে.","অক্টো.","নভে.","ডিসে.",""] - }, - AM: ["পুর্বাহ্ন","পুর্বাহ্ন","পুর্বাহ্ন"], - PM: ["অপরাহ্ন","অপরাহ্ন","অপরাহ্ন"], - patterns: { - d: "dd-MM-yy", - D: "dd MMMM yyyy", - t: "HH.mm", - T: "HH.mm.ss", - f: "dd MMMM yyyy HH.mm", - F: "dd MMMM yyyy HH.mm.ss", - M: "dd MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.bn.js b/web/Scripts/globalize/cultures/globalize.culture.bn.js deleted file mode 100644 index 82ce2703..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.bn.js +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Globalize Culture bn - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "bn", "default", { - name: "bn", - englishName: "Bengali", - nativeName: "বাংলা", - language: "bn", - numberFormat: { - groupSizes: [3,2], - percent: { - pattern: ["-%n","%n"], - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,2], - symbol: "টা" - } - }, - calendars: { - standard: { - "/": "-", - ":": ".", - firstDay: 1, - days: { - names: ["রবিবার","সোমবার","মঙ্গলবার","বুধবার","বৃহস্পতিবার","শুক্রবার","শনিবার"], - namesAbbr: ["রবি.","সোম.","মঙ্গল.","বুধ.","বৃহস্পতি.","শুক্র.","শনি."], - namesShort: ["র","স","ম","ব","ব","শ","শ"] - }, - months: { - names: ["জানুয়ারী","ফেব্রুয়ারী","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগস্ট","সেপ্টেম্বর","অক্টোবর","নভেম্বর","ডিসেম্বর",""], - namesAbbr: ["জানু.","ফেব্রু.","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগ.","সেপ্টে.","অক্টো.","নভে.","ডিসে.",""] - }, - AM: ["পুর্বাহ্ন","পুর্বাহ্ন","পুর্বাহ্ন"], - PM: ["অপরাহ্ন","অপরাহ্ন","অপরাহ্ন"], - patterns: { - d: "dd-MM-yy", - D: "dd MMMM yyyy", - t: "HH.mm", - T: "HH.mm.ss", - f: "dd MMMM yyyy HH.mm", - F: "dd MMMM yyyy HH.mm.ss", - M: "dd MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.bo-CN.js b/web/Scripts/globalize/cultures/globalize.culture.bo-CN.js deleted file mode 100644 index b173a249..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.bo-CN.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Globalize Culture bo-CN - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "bo-CN", "default", { - name: "bo-CN", - englishName: "Tibetan (PRC)", - nativeName: "བོད་ཡིག (ཀྲུང་ཧྭ་མི་དམངས་སྤྱི་མཐུན་རྒྱལ་ཁབ།)", - language: "bo", - numberFormat: { - groupSizes: [3,0], - "NaN": "ཨང་ཀི་མིན་པ།", - negativeInfinity: "མོ་གྲངས་ཚད་མེད་ཆུང་བ།", - positiveInfinity: "ཕོ་གྲངས་ཚད་མེད་ཆེ་བ།", - percent: { - pattern: ["-n%","n%"], - groupSizes: [3,0] - }, - currency: { - pattern: ["$-n","$n"], - groupSizes: [3,0], - symbol: "¥" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["གཟའ་ཉི་མ།","གཟའ་ཟླ་བ།","གཟའ་མིག་དམར།","གཟའ་ལྷག་པ།","གཟའ་ཕུར་བུ།","གཟའ་པ་སངས།","གཟའ་སྤེན་པ།"], - namesAbbr: ["ཉི་མ།","ཟླ་བ།","མིག་དམར།","ལྷག་པ།","ཕུར་བུ།","པ་སངས།","སྤེན་པ།"], - namesShort: ["༧","༡","༢","༣","༤","༥","༦"] - }, - months: { - names: ["སྤྱི་ཟླ་དང་པོ།","སྤྱི་ཟླ་གཉིས་པ།","སྤྱི་ཟླ་གསུམ་པ།","སྤྱི་ཟླ་བཞི་པ།","སྤྱི་ཟླ་ལྔ་པ།","སྤྱི་ཟླ་དྲུག་པ།","སྤྱི་ཟླ་བདུན་པ།","སྤྱི་ཟླ་བརྒྱད་པ།","སྤྱི་ཟླ་དགུ་པ།","སྤྱི་ཟླ་བཅུ་པོ།","སྤྱི་ཟླ་བཅུ་གཅིག་པ།","སྤྱི་ཟླ་བཅུ་གཉིས་པ།",""], - namesAbbr: ["ཟླ་ ༡","ཟླ་ ༢","ཟླ་ ༣","ཟླ་ ༤","ཟླ་ ༥","ཟླ་ ༦","ཟླ་ ༧","ཟླ་ ༨","ཟླ་ ༩","ཟླ་ ༡༠","ཟླ་ ༡༡","ཟླ་ ༡༢",""] - }, - AM: ["སྔ་དྲོ","སྔ་དྲོ","སྔ་དྲོ"], - PM: ["ཕྱི་དྲོ","ཕྱི་དྲོ","ཕྱི་དྲོ"], - eras: [{"name":"སྤྱི་ལོ","start":null,"offset":0}], - patterns: { - d: "yyyy/M/d", - D: "yyyy'ལོའི་ཟླ' M'ཚེས' d", - t: "HH:mm", - T: "HH:mm:ss", - f: "yyyy'ལོའི་ཟླ' M'ཚེས' d HH:mm", - F: "yyyy'ལོའི་ཟླ' M'ཚེས' d HH:mm:ss", - M: "'ཟླ་' M'ཚེས'd", - Y: "yyyy.M" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.bo.js b/web/Scripts/globalize/cultures/globalize.culture.bo.js deleted file mode 100644 index 96f0caab..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.bo.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Globalize Culture bo - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "bo", "default", { - name: "bo", - englishName: "Tibetan", - nativeName: "བོད་ཡིག", - language: "bo", - numberFormat: { - groupSizes: [3,0], - "NaN": "ཨང་ཀི་མིན་པ།", - negativeInfinity: "མོ་གྲངས་ཚད་མེད་ཆུང་བ།", - positiveInfinity: "ཕོ་གྲངས་ཚད་མེད་ཆེ་བ།", - percent: { - pattern: ["-n%","n%"], - groupSizes: [3,0] - }, - currency: { - pattern: ["$-n","$n"], - groupSizes: [3,0], - symbol: "¥" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["གཟའ་ཉི་མ།","གཟའ་ཟླ་བ།","གཟའ་མིག་དམར།","གཟའ་ལྷག་པ།","གཟའ་ཕུར་བུ།","གཟའ་པ་སངས།","གཟའ་སྤེན་པ།"], - namesAbbr: ["ཉི་མ།","ཟླ་བ།","མིག་དམར།","ལྷག་པ།","ཕུར་བུ།","པ་སངས།","སྤེན་པ།"], - namesShort: ["༧","༡","༢","༣","༤","༥","༦"] - }, - months: { - names: ["སྤྱི་ཟླ་དང་པོ།","སྤྱི་ཟླ་གཉིས་པ།","སྤྱི་ཟླ་གསུམ་པ།","སྤྱི་ཟླ་བཞི་པ།","སྤྱི་ཟླ་ལྔ་པ།","སྤྱི་ཟླ་དྲུག་པ།","སྤྱི་ཟླ་བདུན་པ།","སྤྱི་ཟླ་བརྒྱད་པ།","སྤྱི་ཟླ་དགུ་པ།","སྤྱི་ཟླ་བཅུ་པོ།","སྤྱི་ཟླ་བཅུ་གཅིག་པ།","སྤྱི་ཟླ་བཅུ་གཉིས་པ།",""], - namesAbbr: ["ཟླ་ ༡","ཟླ་ ༢","ཟླ་ ༣","ཟླ་ ༤","ཟླ་ ༥","ཟླ་ ༦","ཟླ་ ༧","ཟླ་ ༨","ཟླ་ ༩","ཟླ་ ༡༠","ཟླ་ ༡༡","ཟླ་ ༡༢",""] - }, - AM: ["སྔ་དྲོ","སྔ་དྲོ","སྔ་དྲོ"], - PM: ["ཕྱི་དྲོ","ཕྱི་དྲོ","ཕྱི་དྲོ"], - eras: [{"name":"སྤྱི་ལོ","start":null,"offset":0}], - patterns: { - d: "yyyy/M/d", - D: "yyyy'ལོའི་ཟླ' M'ཚེས' d", - t: "HH:mm", - T: "HH:mm:ss", - f: "yyyy'ལོའི་ཟླ' M'ཚེས' d HH:mm", - F: "yyyy'ལོའི་ཟླ' M'ཚེས' d HH:mm:ss", - M: "'ཟླ་' M'ཚེས'd", - Y: "yyyy.M" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.br-FR.js b/web/Scripts/globalize/cultures/globalize.culture.br-FR.js deleted file mode 100644 index 37bf5056..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.br-FR.js +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Globalize Culture br-FR - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "br-FR", "default", { - name: "br-FR", - englishName: "Breton (France)", - nativeName: "brezhoneg (Frañs)", - language: "br", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "NkN", - negativeInfinity: "-Anfin", - positiveInfinity: "+Anfin", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["Sul","Lun","Meurzh","Merc'her","Yaou","Gwener","Sadorn"], - namesAbbr: ["Sul","Lun","Meu.","Mer.","Yaou","Gwe.","Sad."], - namesShort: ["Su","Lu","Mz","Mc","Ya","Gw","Sa"] - }, - months: { - names: ["Genver","C'hwevrer","Meurzh","Ebrel","Mae","Mezheven","Gouere","Eost","Gwengolo","Here","Du","Kerzu",""], - namesAbbr: ["Gen.","C'hwe.","Meur.","Ebr.","Mae","Mezh.","Goue.","Eost","Gwen.","Here","Du","Kzu",""] - }, - AM: null, - PM: null, - eras: [{"name":"g. J.-K.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd d MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd d MMMM yyyy HH:mm", - F: "dddd d MMMM yyyy HH:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.br.js b/web/Scripts/globalize/cultures/globalize.culture.br.js deleted file mode 100644 index 29dd1768..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.br.js +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Globalize Culture br - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "br", "default", { - name: "br", - englishName: "Breton", - nativeName: "brezhoneg", - language: "br", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "NkN", - negativeInfinity: "-Anfin", - positiveInfinity: "+Anfin", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["Sul","Lun","Meurzh","Merc'her","Yaou","Gwener","Sadorn"], - namesAbbr: ["Sul","Lun","Meu.","Mer.","Yaou","Gwe.","Sad."], - namesShort: ["Su","Lu","Mz","Mc","Ya","Gw","Sa"] - }, - months: { - names: ["Genver","C'hwevrer","Meurzh","Ebrel","Mae","Mezheven","Gouere","Eost","Gwengolo","Here","Du","Kerzu",""], - namesAbbr: ["Gen.","C'hwe.","Meur.","Ebr.","Mae","Mezh.","Goue.","Eost","Gwen.","Here","Du","Kzu",""] - }, - AM: null, - PM: null, - eras: [{"name":"g. J.-K.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd d MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd d MMMM yyyy HH:mm", - F: "dddd d MMMM yyyy HH:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.bs-Cyrl-BA.js b/web/Scripts/globalize/cultures/globalize.culture.bs-Cyrl-BA.js deleted file mode 100644 index e5255108..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.bs-Cyrl-BA.js +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Globalize Culture bs-Cyrl-BA - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "bs-Cyrl-BA", "default", { - name: "bs-Cyrl-BA", - englishName: "Bosnian (Cyrillic, Bosnia and Herzegovina)", - nativeName: "босански (Босна и Херцеговина)", - language: "bs-Cyrl", - numberFormat: { - ",": ".", - ".": ",", - negativeInfinity: "-бесконачност", - positiveInfinity: "+бесконачност", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "КМ" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["недјеља","понедјељак","уторак","сриједа","четвртак","петак","субота"], - namesAbbr: ["нед","пон","уто","сре","чет","пет","суб"], - namesShort: ["н","п","у","с","ч","п","с"] - }, - months: { - names: ["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар",""], - namesAbbr: ["јан","феб","мар","апр","мај","јун","јул","авг","сеп","окт","нов","дец",""] - }, - AM: null, - PM: null, - eras: [{"name":"н.е.","start":null,"offset":0}], - patterns: { - d: "d.M.yyyy", - D: "d. MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM yyyy H:mm", - F: "d. MMMM yyyy H:mm:ss", - M: "d. MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.bs-Cyrl.js b/web/Scripts/globalize/cultures/globalize.culture.bs-Cyrl.js deleted file mode 100644 index 8920d400..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.bs-Cyrl.js +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Globalize Culture bs-Cyrl - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "bs-Cyrl", "default", { - name: "bs-Cyrl", - englishName: "Bosnian (Cyrillic)", - nativeName: "босански", - language: "bs-Cyrl", - numberFormat: { - ",": ".", - ".": ",", - negativeInfinity: "-бесконачност", - positiveInfinity: "+бесконачност", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "КМ" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["недјеља","понедјељак","уторак","сриједа","четвртак","петак","субота"], - namesAbbr: ["нед","пон","уто","сре","чет","пет","суб"], - namesShort: ["н","п","у","с","ч","п","с"] - }, - months: { - names: ["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар",""], - namesAbbr: ["јан","феб","мар","апр","мај","јун","јул","авг","сеп","окт","нов","дец",""] - }, - AM: null, - PM: null, - eras: [{"name":"н.е.","start":null,"offset":0}], - patterns: { - d: "d.M.yyyy", - D: "d. MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM yyyy H:mm", - F: "d. MMMM yyyy H:mm:ss", - M: "d. MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.bs-Latn-BA.js b/web/Scripts/globalize/cultures/globalize.culture.bs-Latn-BA.js deleted file mode 100644 index e02bb962..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.bs-Latn-BA.js +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Globalize Culture bs-Latn-BA - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "bs-Latn-BA", "default", { - name: "bs-Latn-BA", - englishName: "Bosnian (Latin, Bosnia and Herzegovina)", - nativeName: "bosanski (Bosna i Hercegovina)", - language: "bs-Latn", - numberFormat: { - ",": ".", - ".": ",", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "KM" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["nedjelja","ponedjeljak","utorak","srijeda","četvrtak","petak","subota"], - namesAbbr: ["ned","pon","uto","sri","čet","pet","sub"], - namesShort: ["ne","po","ut","sr","če","pe","su"] - }, - months: { - names: ["januar","februar","mart","april","maj","juni","juli","avgust","septembar","oktobar","novembar","decembar",""], - namesAbbr: ["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec",""] - }, - AM: null, - PM: null, - patterns: { - d: "d.M.yyyy", - D: "d. MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM yyyy H:mm", - F: "d. MMMM yyyy H:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.bs-Latn.js b/web/Scripts/globalize/cultures/globalize.culture.bs-Latn.js deleted file mode 100644 index 3692487f..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.bs-Latn.js +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Globalize Culture bs-Latn - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "bs-Latn", "default", { - name: "bs-Latn", - englishName: "Bosnian (Latin)", - nativeName: "bosanski", - language: "bs-Latn", - numberFormat: { - ",": ".", - ".": ",", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "KM" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["nedjelja","ponedjeljak","utorak","srijeda","četvrtak","petak","subota"], - namesAbbr: ["ned","pon","uto","sri","čet","pet","sub"], - namesShort: ["ne","po","ut","sr","če","pe","su"] - }, - months: { - names: ["januar","februar","mart","april","maj","juni","juli","avgust","septembar","oktobar","novembar","decembar",""], - namesAbbr: ["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec",""] - }, - AM: null, - PM: null, - patterns: { - d: "d.M.yyyy", - D: "d. MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM yyyy H:mm", - F: "d. MMMM yyyy H:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.bs.js b/web/Scripts/globalize/cultures/globalize.culture.bs.js deleted file mode 100644 index 0deadc93..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.bs.js +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Globalize Culture bs - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "bs", "default", { - name: "bs", - englishName: "Bosnian", - nativeName: "bosanski", - language: "bs", - numberFormat: { - ",": ".", - ".": ",", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "KM" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["nedjelja","ponedjeljak","utorak","srijeda","četvrtak","petak","subota"], - namesAbbr: ["ned","pon","uto","sri","čet","pet","sub"], - namesShort: ["ne","po","ut","sr","če","pe","su"] - }, - months: { - names: ["januar","februar","mart","april","maj","juni","juli","avgust","septembar","oktobar","novembar","decembar",""], - namesAbbr: ["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec",""] - }, - AM: null, - PM: null, - patterns: { - d: "d.M.yyyy", - D: "d. MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM yyyy H:mm", - F: "d. MMMM yyyy H:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.ca-ES.js b/web/Scripts/globalize/cultures/globalize.culture.ca-ES.js deleted file mode 100644 index 03e21f2a..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.ca-ES.js +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Globalize Culture ca-ES - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "ca-ES", "default", { - name: "ca-ES", - englishName: "Catalan (Catalan)", - nativeName: "català (català)", - language: "ca", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "NeuN", - negativeInfinity: "-Infinit", - positiveInfinity: "Infinit", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["diumenge","dilluns","dimarts","dimecres","dijous","divendres","dissabte"], - namesAbbr: ["dg.","dl.","dt.","dc.","dj.","dv.","ds."], - namesShort: ["dg","dl","dt","dc","dj","dv","ds"] - }, - months: { - names: ["gener","febrer","març","abril","maig","juny","juliol","agost","setembre","octubre","novembre","desembre",""], - namesAbbr: ["gen","feb","març","abr","maig","juny","jul","ag","set","oct","nov","des",""] - }, - AM: null, - PM: null, - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, d' / 'MMMM' / 'yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd, d' / 'MMMM' / 'yyyy HH:mm", - F: "dddd, d' / 'MMMM' / 'yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM' / 'yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.ca.js b/web/Scripts/globalize/cultures/globalize.culture.ca.js deleted file mode 100644 index 06c31da2..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.ca.js +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Globalize Culture ca - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "ca", "default", { - name: "ca", - englishName: "Catalan", - nativeName: "català", - language: "ca", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "NeuN", - negativeInfinity: "-Infinit", - positiveInfinity: "Infinit", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["diumenge","dilluns","dimarts","dimecres","dijous","divendres","dissabte"], - namesAbbr: ["dg.","dl.","dt.","dc.","dj.","dv.","ds."], - namesShort: ["dg","dl","dt","dc","dj","dv","ds"] - }, - months: { - names: ["gener","febrer","març","abril","maig","juny","juliol","agost","setembre","octubre","novembre","desembre",""], - namesAbbr: ["gen","feb","març","abr","maig","juny","jul","ag","set","oct","nov","des",""] - }, - AM: null, - PM: null, - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, d' / 'MMMM' / 'yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd, d' / 'MMMM' / 'yyyy HH:mm", - F: "dddd, d' / 'MMMM' / 'yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM' / 'yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.co-FR.js b/web/Scripts/globalize/cultures/globalize.culture.co-FR.js deleted file mode 100644 index 7d6ef381..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.co-FR.js +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Globalize Culture co-FR - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "co-FR", "default", { - name: "co-FR", - englishName: "Corsican (France)", - nativeName: "Corsu (France)", - language: "co", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "Mica numericu", - negativeInfinity: "-Infinitu", - positiveInfinity: "+Infinitu", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["dumenica","luni","marti","mercuri","ghjovi","venderi","sabbatu"], - namesAbbr: ["dum.","lun.","mar.","mer.","ghj.","ven.","sab."], - namesShort: ["du","lu","ma","me","gh","ve","sa"] - }, - months: { - names: ["ghjennaghju","ferraghju","marzu","aprile","maghju","ghjunghju","lugliu","aostu","settembre","ottobre","nuvembre","dicembre",""], - namesAbbr: ["ghje","ferr","marz","apri","magh","ghju","lugl","aost","sett","otto","nuve","dice",""] - }, - AM: null, - PM: null, - eras: [{"name":"dopu J-C","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd d MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd d MMMM yyyy HH:mm", - F: "dddd d MMMM yyyy HH:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.co.js b/web/Scripts/globalize/cultures/globalize.culture.co.js deleted file mode 100644 index a4535aad..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.co.js +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Globalize Culture co - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "co", "default", { - name: "co", - englishName: "Corsican", - nativeName: "Corsu", - language: "co", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "Mica numericu", - negativeInfinity: "-Infinitu", - positiveInfinity: "+Infinitu", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["dumenica","luni","marti","mercuri","ghjovi","venderi","sabbatu"], - namesAbbr: ["dum.","lun.","mar.","mer.","ghj.","ven.","sab."], - namesShort: ["du","lu","ma","me","gh","ve","sa"] - }, - months: { - names: ["ghjennaghju","ferraghju","marzu","aprile","maghju","ghjunghju","lugliu","aostu","settembre","ottobre","nuvembre","dicembre",""], - namesAbbr: ["ghje","ferr","marz","apri","magh","ghju","lugl","aost","sett","otto","nuve","dice",""] - }, - AM: null, - PM: null, - eras: [{"name":"dopu J-C","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd d MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd d MMMM yyyy HH:mm", - F: "dddd d MMMM yyyy HH:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.cs-CZ.js b/web/Scripts/globalize/cultures/globalize.culture.cs-CZ.js deleted file mode 100644 index 6e6b2b15..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.cs-CZ.js +++ /dev/null @@ -1,85 +0,0 @@ -/* - * Globalize Culture cs-CZ - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "cs-CZ", "default", { - name: "cs-CZ", - englishName: "Czech (Czech Republic)", - nativeName: "čeština (Česká republika)", - language: "cs", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "Není číslo", - negativeInfinity: "-nekonečno", - positiveInfinity: "+nekonečno", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "Kč" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["neděle","pondělí","úterý","středa","čtvrtek","pátek","sobota"], - namesAbbr: ["ne","po","út","st","čt","pá","so"], - namesShort: ["ne","po","út","st","čt","pá","so"] - }, - months: { - names: ["leden","únor","březen","duben","květen","červen","červenec","srpen","září","říjen","listopad","prosinec",""], - namesAbbr: ["1","2","3","4","5","6","7","8","9","10","11","12",""] - }, - monthsGenitive: { - names: ["ledna","února","března","dubna","května","června","července","srpna","září","října","listopadu","prosince",""], - namesAbbr: ["1","2","3","4","5","6","7","8","9","10","11","12",""] - }, - AM: ["dop.","dop.","DOP."], - PM: ["odp.","odp.","ODP."], - eras: [{"name":"n. l.","start":null,"offset":0}], - patterns: { - d: "d.M.yyyy", - D: "d. MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM yyyy H:mm", - F: "d. MMMM yyyy H:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.cs.js b/web/Scripts/globalize/cultures/globalize.culture.cs.js deleted file mode 100644 index 45032711..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.cs.js +++ /dev/null @@ -1,85 +0,0 @@ -/* - * Globalize Culture cs - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "cs", "default", { - name: "cs", - englishName: "Czech", - nativeName: "čeština", - language: "cs", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "Není číslo", - negativeInfinity: "-nekonečno", - positiveInfinity: "+nekonečno", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "Kč" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["neděle","pondělí","úterý","středa","čtvrtek","pátek","sobota"], - namesAbbr: ["ne","po","út","st","čt","pá","so"], - namesShort: ["ne","po","út","st","čt","pá","so"] - }, - months: { - names: ["leden","únor","březen","duben","květen","červen","červenec","srpen","září","říjen","listopad","prosinec",""], - namesAbbr: ["1","2","3","4","5","6","7","8","9","10","11","12",""] - }, - monthsGenitive: { - names: ["ledna","února","března","dubna","května","června","července","srpna","září","října","listopadu","prosince",""], - namesAbbr: ["1","2","3","4","5","6","7","8","9","10","11","12",""] - }, - AM: ["dop.","dop.","DOP."], - PM: ["odp.","odp.","ODP."], - eras: [{"name":"n. l.","start":null,"offset":0}], - patterns: { - d: "d.M.yyyy", - D: "d. MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM yyyy H:mm", - F: "d. MMMM yyyy H:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.cy-GB.js b/web/Scripts/globalize/cultures/globalize.culture.cy-GB.js deleted file mode 100644 index 0b07a621..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.cy-GB.js +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Globalize Culture cy-GB - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "cy-GB", "default", { - name: "cy-GB", - englishName: "Welsh (United Kingdom)", - nativeName: "Cymraeg (y Deyrnas Unedig)", - language: "cy", - numberFormat: { - percent: { - pattern: ["-%n","%n"] - }, - currency: { - pattern: ["-$n","$n"], - symbol: "£" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["Dydd Sul","Dydd Llun","Dydd Mawrth","Dydd Mercher","Dydd Iau","Dydd Gwener","Dydd Sadwrn"], - namesAbbr: ["Sul","Llun","Maw","Mer","Iau","Gwe","Sad"], - namesShort: ["Su","Ll","Ma","Me","Ia","Gw","Sa"] - }, - months: { - names: ["Ionawr","Chwefror","Mawrth","Ebrill","Mai","Mehefin","Gorffennaf","Awst","Medi","Hydref","Tachwedd","Rhagfyr",""], - namesAbbr: ["Ion","Chwe","Maw","Ebr","Mai","Meh","Gor","Aws","Med","Hyd","Tach","Rhag",""] - }, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd MMMM yyyy HH:mm", - F: "dd MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.cy.js b/web/Scripts/globalize/cultures/globalize.culture.cy.js deleted file mode 100644 index 20b93b27..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.cy.js +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Globalize Culture cy - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "cy", "default", { - name: "cy", - englishName: "Welsh", - nativeName: "Cymraeg", - language: "cy", - numberFormat: { - percent: { - pattern: ["-%n","%n"] - }, - currency: { - pattern: ["-$n","$n"], - symbol: "£" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["Dydd Sul","Dydd Llun","Dydd Mawrth","Dydd Mercher","Dydd Iau","Dydd Gwener","Dydd Sadwrn"], - namesAbbr: ["Sul","Llun","Maw","Mer","Iau","Gwe","Sad"], - namesShort: ["Su","Ll","Ma","Me","Ia","Gw","Sa"] - }, - months: { - names: ["Ionawr","Chwefror","Mawrth","Ebrill","Mai","Mehefin","Gorffennaf","Awst","Medi","Hydref","Tachwedd","Rhagfyr",""], - namesAbbr: ["Ion","Chwe","Maw","Ebr","Mai","Meh","Gor","Aws","Med","Hyd","Tach","Rhag",""] - }, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd MMMM yyyy HH:mm", - F: "dd MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.da-DK.js b/web/Scripts/globalize/cultures/globalize.culture.da-DK.js deleted file mode 100644 index 8d30e5a2..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.da-DK.js +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Globalize Culture da-DK - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "da-DK", "default", { - name: "da-DK", - englishName: "Danish (Denmark)", - nativeName: "dansk (Danmark)", - language: "da", - numberFormat: { - ",": ".", - ".": ",", - negativeInfinity: "-INF", - positiveInfinity: "INF", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["$ -n","$ n"], - ",": ".", - ".": ",", - symbol: "kr." - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"], - namesAbbr: ["sø","ma","ti","on","to","fr","lø"], - namesShort: ["sø","ma","ti","on","to","fr","lø"] - }, - months: { - names: ["januar","februar","marts","april","maj","juni","juli","august","september","oktober","november","december",""], - namesAbbr: ["jan","feb","mar","apr","maj","jun","jul","aug","sep","okt","nov","dec",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd-MM-yyyy", - D: "d. MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "d. MMMM yyyy HH:mm", - F: "d. MMMM yyyy HH:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.da.js b/web/Scripts/globalize/cultures/globalize.culture.da.js deleted file mode 100644 index 8186cd5d..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.da.js +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Globalize Culture da - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "da", "default", { - name: "da", - englishName: "Danish", - nativeName: "dansk", - language: "da", - numberFormat: { - ",": ".", - ".": ",", - negativeInfinity: "-INF", - positiveInfinity: "INF", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["$ -n","$ n"], - ",": ".", - ".": ",", - symbol: "kr." - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"], - namesAbbr: ["sø","ma","ti","on","to","fr","lø"], - namesShort: ["sø","ma","ti","on","to","fr","lø"] - }, - months: { - names: ["januar","februar","marts","april","maj","juni","juli","august","september","oktober","november","december",""], - namesAbbr: ["jan","feb","mar","apr","maj","jun","jul","aug","sep","okt","nov","dec",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd-MM-yyyy", - D: "d. MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "d. MMMM yyyy HH:mm", - F: "d. MMMM yyyy HH:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.de-AT.js b/web/Scripts/globalize/cultures/globalize.culture.de-AT.js deleted file mode 100644 index 04c5aa1c..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.de-AT.js +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Globalize Culture de-AT - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "de-AT", "default", { - name: "de-AT", - englishName: "German (Austria)", - nativeName: "Deutsch (Österreich)", - language: "de", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "n. def.", - negativeInfinity: "-unendlich", - positiveInfinity: "+unendlich", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-$ n","$ n"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"], - namesAbbr: ["So","Mo","Di","Mi","Do","Fr","Sa"], - namesShort: ["So","Mo","Di","Mi","Do","Fr","Sa"] - }, - months: { - names: ["Jänner","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember",""], - namesAbbr: ["Jän","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez",""] - }, - AM: null, - PM: null, - eras: [{"name":"n. Chr.","start":null,"offset":0}], - patterns: { - d: "dd.MM.yyyy", - D: "dddd, dd. MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd, dd. MMMM yyyy HH:mm", - F: "dddd, dd. MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.de-CH.js b/web/Scripts/globalize/cultures/globalize.culture.de-CH.js deleted file mode 100644 index b19e6f71..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.de-CH.js +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Globalize Culture de-CH - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "de-CH", "default", { - name: "de-CH", - englishName: "German (Switzerland)", - nativeName: "Deutsch (Schweiz)", - language: "de", - numberFormat: { - ",": "'", - "NaN": "n. def.", - negativeInfinity: "-unendlich", - positiveInfinity: "+unendlich", - percent: { - pattern: ["-n%","n%"], - ",": "'" - }, - currency: { - pattern: ["$-n","$ n"], - ",": "'", - symbol: "Fr." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"], - namesAbbr: ["So","Mo","Di","Mi","Do","Fr","Sa"], - namesShort: ["So","Mo","Di","Mi","Do","Fr","Sa"] - }, - months: { - names: ["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember",""], - namesAbbr: ["Jan","Feb","Mrz","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez",""] - }, - AM: null, - PM: null, - eras: [{"name":"n. Chr.","start":null,"offset":0}], - patterns: { - d: "dd.MM.yyyy", - D: "dddd, d. MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd, d. MMMM yyyy HH:mm", - F: "dddd, d. MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.de-DE.js b/web/Scripts/globalize/cultures/globalize.culture.de-DE.js deleted file mode 100644 index a104e764..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.de-DE.js +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Globalize Culture de-DE - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "de-DE", "default", { - name: "de-DE", - englishName: "German (Germany)", - nativeName: "Deutsch (Deutschland)", - language: "de", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "n. def.", - negativeInfinity: "-unendlich", - positiveInfinity: "+unendlich", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"], - namesAbbr: ["So","Mo","Di","Mi","Do","Fr","Sa"], - namesShort: ["So","Mo","Di","Mi","Do","Fr","Sa"] - }, - months: { - names: ["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember",""], - namesAbbr: ["Jan","Feb","Mrz","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez",""] - }, - AM: null, - PM: null, - eras: [{"name":"n. Chr.","start":null,"offset":0}], - patterns: { - d: "dd.MM.yyyy", - D: "dddd, d. MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd, d. MMMM yyyy HH:mm", - F: "dddd, d. MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.de-LI.js b/web/Scripts/globalize/cultures/globalize.culture.de-LI.js deleted file mode 100644 index 142726db..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.de-LI.js +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Globalize Culture de-LI - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "de-LI", "default", { - name: "de-LI", - englishName: "German (Liechtenstein)", - nativeName: "Deutsch (Liechtenstein)", - language: "de", - numberFormat: { - ",": "'", - "NaN": "n. def.", - negativeInfinity: "-unendlich", - positiveInfinity: "+unendlich", - percent: { - pattern: ["-n%","n%"], - ",": "'" - }, - currency: { - pattern: ["$-n","$ n"], - ",": "'", - symbol: "CHF" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"], - namesAbbr: ["So","Mo","Di","Mi","Do","Fr","Sa"], - namesShort: ["So","Mo","Di","Mi","Do","Fr","Sa"] - }, - months: { - names: ["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember",""], - namesAbbr: ["Jan","Feb","Mrz","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez",""] - }, - AM: null, - PM: null, - eras: [{"name":"n. Chr.","start":null,"offset":0}], - patterns: { - d: "dd.MM.yyyy", - D: "dddd, d. MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd, d. MMMM yyyy HH:mm", - F: "dddd, d. MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.de-LU.js b/web/Scripts/globalize/cultures/globalize.culture.de-LU.js deleted file mode 100644 index c79b18bd..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.de-LU.js +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Globalize Culture de-LU - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "de-LU", "default", { - name: "de-LU", - englishName: "German (Luxembourg)", - nativeName: "Deutsch (Luxemburg)", - language: "de", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "n. def.", - negativeInfinity: "-unendlich", - positiveInfinity: "+unendlich", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"], - namesAbbr: ["So","Mo","Di","Mi","Do","Fr","Sa"], - namesShort: ["So","Mo","Di","Mi","Do","Fr","Sa"] - }, - months: { - names: ["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember",""], - namesAbbr: ["Jan","Feb","Mrz","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez",""] - }, - AM: null, - PM: null, - eras: [{"name":"n. Chr.","start":null,"offset":0}], - patterns: { - d: "dd.MM.yyyy", - D: "dddd, d. MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd, d. MMMM yyyy HH:mm", - F: "dddd, d. MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.de.js b/web/Scripts/globalize/cultures/globalize.culture.de.js deleted file mode 100644 index d0c718d7..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.de.js +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Globalize Culture de - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "de", "default", { - name: "de", - englishName: "German", - nativeName: "Deutsch", - language: "de", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "n. def.", - negativeInfinity: "-unendlich", - positiveInfinity: "+unendlich", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"], - namesAbbr: ["So","Mo","Di","Mi","Do","Fr","Sa"], - namesShort: ["So","Mo","Di","Mi","Do","Fr","Sa"] - }, - months: { - names: ["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember",""], - namesAbbr: ["Jan","Feb","Mrz","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez",""] - }, - AM: null, - PM: null, - eras: [{"name":"n. Chr.","start":null,"offset":0}], - patterns: { - d: "dd.MM.yyyy", - D: "dddd, d. MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd, d. MMMM yyyy HH:mm", - F: "dddd, d. MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.dsb-DE.js b/web/Scripts/globalize/cultures/globalize.culture.dsb-DE.js deleted file mode 100644 index 27a633ea..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.dsb-DE.js +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Globalize Culture dsb-DE - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "dsb-DE", "default", { - name: "dsb-DE", - englishName: "Lower Sorbian (Germany)", - nativeName: "dolnoserbšćina (Nimska)", - language: "dsb", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "njedefinowane", - negativeInfinity: "-njekońcne", - positiveInfinity: "+njekońcne", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - "/": ". ", - firstDay: 1, - days: { - names: ["njeźela","ponjeźele","wałtora","srjoda","stwortk","pětk","sobota"], - namesAbbr: ["nje","pon","wał","srj","stw","pět","sob"], - namesShort: ["n","p","w","s","s","p","s"] - }, - months: { - names: ["januar","februar","měrc","apryl","maj","junij","julij","awgust","september","oktober","nowember","december",""], - namesAbbr: ["jan","feb","měr","apr","maj","jun","jul","awg","sep","okt","now","dec",""] - }, - monthsGenitive: { - names: ["januara","februara","měrca","apryla","maja","junija","julija","awgusta","septembra","oktobra","nowembra","decembra",""], - namesAbbr: ["jan","feb","měr","apr","maj","jun","jul","awg","sep","okt","now","dec",""] - }, - AM: null, - PM: null, - eras: [{"name":"po Chr.","start":null,"offset":0}], - patterns: { - d: "d. M. yyyy", - D: "dddd, 'dnja' d. MMMM yyyy", - t: "H.mm 'goź.'", - T: "H:mm:ss", - f: "dddd, 'dnja' d. MMMM yyyy H.mm 'goź.'", - F: "dddd, 'dnja' d. MMMM yyyy H:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.dsb.js b/web/Scripts/globalize/cultures/globalize.culture.dsb.js deleted file mode 100644 index 3098b071..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.dsb.js +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Globalize Culture dsb - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "dsb", "default", { - name: "dsb", - englishName: "Lower Sorbian", - nativeName: "dolnoserbšćina", - language: "dsb", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "njedefinowane", - negativeInfinity: "-njekońcne", - positiveInfinity: "+njekońcne", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - "/": ". ", - firstDay: 1, - days: { - names: ["njeźela","ponjeźele","wałtora","srjoda","stwortk","pětk","sobota"], - namesAbbr: ["nje","pon","wał","srj","stw","pět","sob"], - namesShort: ["n","p","w","s","s","p","s"] - }, - months: { - names: ["januar","februar","měrc","apryl","maj","junij","julij","awgust","september","oktober","nowember","december",""], - namesAbbr: ["jan","feb","měr","apr","maj","jun","jul","awg","sep","okt","now","dec",""] - }, - monthsGenitive: { - names: ["januara","februara","měrca","apryla","maja","junija","julija","awgusta","septembra","oktobra","nowembra","decembra",""], - namesAbbr: ["jan","feb","měr","apr","maj","jun","jul","awg","sep","okt","now","dec",""] - }, - AM: null, - PM: null, - eras: [{"name":"po Chr.","start":null,"offset":0}], - patterns: { - d: "d. M. yyyy", - D: "dddd, 'dnja' d. MMMM yyyy", - t: "H.mm 'goź.'", - T: "H:mm:ss", - f: "dddd, 'dnja' d. MMMM yyyy H.mm 'goź.'", - F: "dddd, 'dnja' d. MMMM yyyy H:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.dv-MV.js b/web/Scripts/globalize/cultures/globalize.culture.dv-MV.js deleted file mode 100644 index 26048c20..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.dv-MV.js +++ /dev/null @@ -1,164 +0,0 @@ -/* - * Globalize Culture dv-MV - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "dv-MV", "default", { - name: "dv-MV", - englishName: "Divehi (Maldives)", - nativeName: "ދިވެހިބަސް (ދިވެހި ރާއްޖެ)", - language: "dv", - isRTL: true, - numberFormat: { - currency: { - pattern: ["n $-","n $"], - symbol: "ރ." - } - }, - calendars: { - standard: { - name: "Hijri", - days: { - names: ["އާދީއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"], - namesAbbr: ["އާދީއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"], - namesShort: ["އާ","ހޯ","އަ","ބު","ބު","ހު","ހޮ"] - }, - months: { - names: ["މުޙައްރަމް","ޞަފަރު","ރަބީޢުލްއައްވަލް","ރަބީޢުލްއާޚިރު","ޖުމާދަލްއޫލާ","ޖުމާދަލްއާޚިރާ","ރަޖަބް","ޝަޢްބާން","ރަމަޟާން","ޝައްވާލް","ޛުލްޤަޢިދާ","ޛުލްޙިއްޖާ",""], - namesAbbr: ["މުޙައްރަމް","ޞަފަރު","ރަބީޢުލްއައްވަލް","ރަބީޢުލްއާޚިރު","ޖުމާދަލްއޫލާ","ޖުމާދަލްއާޚިރާ","ރަޖަބް","ޝަޢްބާން","ރަމަޟާން","ޝައްވާލް","ޛުލްޤަޢިދާ","ޛުލްޙިއްޖާ",""] - }, - AM: ["މކ","މކ","މކ"], - PM: ["މފ","މފ","މފ"], - eras: [{"name":"ހިޖްރީ","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MM/yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd/MM/yyyy HH:mm", - F: "dd/MM/yyyy HH:mm:ss", - M: "dd MMMM" - }, - convert: { - // Adapted to Script from System.Globalization.HijriCalendar - ticks1970: 62135596800000, - // number of days leading up to each month - monthDays: [0, 30, 59, 89, 118, 148, 177, 207, 236, 266, 295, 325, 355], - minDate: -42521673600000, - maxDate: 253402300799999, - // The number of days to add or subtract from the calendar to accommodate the variances - // in the start and the end of Ramadan and to accommodate the date difference between - // countries/regions. May be dynamically adjusted based on user preference, but should - // remain in the range of -2 to 2, inclusive. - hijriAdjustment: 0, - toGregorian: function(hyear, hmonth, hday) { - var daysSinceJan0101 = this.daysToYear(hyear) + this.monthDays[hmonth] + hday - 1 - this.hijriAdjustment; - // 86400000 = ticks per day - var gdate = new Date(daysSinceJan0101 * 86400000 - this.ticks1970); - // adjust for timezone, because we are interested in the gregorian date for the same timezone - // but ticks in javascript is always from GMT, unlike the server were ticks counts from the base - // date in the current timezone. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - return gdate; - }, - fromGregorian: function(gdate) { - if ((gdate < this.minDate) || (gdate > this.maxDate)) return null; - var ticks = this.ticks1970 + (gdate-0) - gdate.getTimezoneOffset() * 60000, - daysSinceJan0101 = Math.floor(ticks / 86400000) + 1 + this.hijriAdjustment; - // very particular formula determined by someone smart, adapted from the server-side implementation. - // it approximates the hijri year. - var hday, hmonth, hyear = Math.floor(((daysSinceJan0101 - 227013) * 30) / 10631) + 1, - absDays = this.daysToYear(hyear), - daysInYear = this.isLeapYear(hyear) ? 355 : 354; - // hyear is just approximate, it may need adjustment up or down by 1. - if (daysSinceJan0101 < absDays) { - hyear--; - absDays -= daysInYear; - } - else if (daysSinceJan0101 === absDays) { - hyear--; - absDays = this.daysToYear(hyear); - } - else { - if (daysSinceJan0101 > (absDays + daysInYear)) { - absDays += daysInYear; - hyear++; - } - } - // determine month by looking at how many days into the hyear we are - // monthDays contains the number of days up to each month. - hmonth = 0; - var daysIntoYear = daysSinceJan0101 - absDays; - while (hmonth <= 11 && daysIntoYear > this.monthDays[hmonth]) { - hmonth++; - } - hmonth--; - hday = daysIntoYear - this.monthDays[hmonth]; - return [hyear, hmonth, hday]; - }, - daysToYear: function(year) { - // calculates how many days since Jan 1, 0001 - var yearsToYear30 = Math.floor((year - 1) / 30) * 30, - yearsInto30 = year - yearsToYear30 - 1, - days = Math.floor((yearsToYear30 * 10631) / 30) + 227013; - while (yearsInto30 > 0) { - days += (this.isLeapYear(yearsInto30) ? 355 : 354); - yearsInto30--; - } - return days; - }, - isLeapYear: function(year) { - return ((((year * 11) + 14) % 30) < 11); - } - } - }, - Gregorian_Localized: { - days: { - names: ["އާދީއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"], - namesAbbr: ["އާދީއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"], - namesShort: ["އާ","ހޯ","އަ","ބު","ބު","ހު","ހޮ"] - }, - months: { - names: ["ޖަނަވަރީ","ފެބްރުއަރީ","މާޗް","އޭޕްރިލް","މެއި","ޖޫން","ޖުލައި","އޯގަސްޓް","ސެޕްޓެމްބަރ","އޮކްޓޯބަރ","ނޮވެމްބަރ","ޑިސެމްބަރ",""], - namesAbbr: ["ޖަނަވަރީ","ފެބްރުއަރީ","މާޗް","އޭޕްރިލް","މެއި","ޖޫން","ޖުލައި","އޯގަސްޓް","ސެޕްޓެމްބަރ","އޮކްޓޯބަރ","ނޮވެމްބަރ","ޑިސެމްބަރ",""] - }, - AM: ["މކ","މކ","މކ"], - PM: ["މފ","މފ","މފ"], - eras: [{"name":"މީލާދީ","start":null,"offset":0}], - patterns: { - d: "dd/MM/yy", - D: "ddd, yyyy MMMM dd", - t: "HH:mm", - T: "HH:mm:ss", - f: "ddd, yyyy MMMM dd HH:mm", - F: "ddd, yyyy MMMM dd HH:mm:ss", - Y: "yyyy, MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.dv.js b/web/Scripts/globalize/cultures/globalize.culture.dv.js deleted file mode 100644 index 9a95e0da..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.dv.js +++ /dev/null @@ -1,164 +0,0 @@ -/* - * Globalize Culture dv - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "dv", "default", { - name: "dv", - englishName: "Divehi", - nativeName: "ދިވެހިބަސް", - language: "dv", - isRTL: true, - numberFormat: { - currency: { - pattern: ["n $-","n $"], - symbol: "ރ." - } - }, - calendars: { - standard: { - name: "Hijri", - days: { - names: ["އާދީއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"], - namesAbbr: ["އާދީއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"], - namesShort: ["އާ","ހޯ","އަ","ބު","ބު","ހު","ހޮ"] - }, - months: { - names: ["މުޙައްރަމް","ޞަފަރު","ރަބީޢުލްއައްވަލް","ރަބީޢުލްއާޚިރު","ޖުމާދަލްއޫލާ","ޖުމާދަލްއާޚިރާ","ރަޖަބް","ޝަޢްބާން","ރަމަޟާން","ޝައްވާލް","ޛުލްޤަޢިދާ","ޛުލްޙިއްޖާ",""], - namesAbbr: ["މުޙައްރަމް","ޞަފަރު","ރަބީޢުލްއައްވަލް","ރަބީޢުލްއާޚިރު","ޖުމާދަލްއޫލާ","ޖުމާދަލްއާޚިރާ","ރަޖަބް","ޝަޢްބާން","ރަމަޟާން","ޝައްވާލް","ޛުލްޤަޢިދާ","ޛުލްޙިއްޖާ",""] - }, - AM: ["މކ","މކ","މކ"], - PM: ["މފ","މފ","މފ"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MM/yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd/MM/yyyy HH:mm", - F: "dd/MM/yyyy HH:mm:ss", - M: "dd MMMM" - }, - convert: { - // Adapted to Script from System.Globalization.HijriCalendar - ticks1970: 62135596800000, - // number of days leading up to each month - monthDays: [0, 30, 59, 89, 118, 148, 177, 207, 236, 266, 295, 325, 355], - minDate: -42521673600000, - maxDate: 253402300799999, - // The number of days to add or subtract from the calendar to accommodate the variances - // in the start and the end of Ramadan and to accommodate the date difference between - // countries/regions. May be dynamically adjusted based on user preference, but should - // remain in the range of -2 to 2, inclusive. - hijriAdjustment: 0, - toGregorian: function(hyear, hmonth, hday) { - var daysSinceJan0101 = this.daysToYear(hyear) + this.monthDays[hmonth] + hday - 1 - this.hijriAdjustment; - // 86400000 = ticks per day - var gdate = new Date(daysSinceJan0101 * 86400000 - this.ticks1970); - // adjust for timezone, because we are interested in the gregorian date for the same timezone - // but ticks in javascript is always from GMT, unlike the server were ticks counts from the base - // date in the current timezone. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - return gdate; - }, - fromGregorian: function(gdate) { - if ((gdate < this.minDate) || (gdate > this.maxDate)) return null; - var ticks = this.ticks1970 + (gdate-0) - gdate.getTimezoneOffset() * 60000, - daysSinceJan0101 = Math.floor(ticks / 86400000) + 1 + this.hijriAdjustment; - // very particular formula determined by someone smart, adapted from the server-side implementation. - // it approximates the hijri year. - var hday, hmonth, hyear = Math.floor(((daysSinceJan0101 - 227013) * 30) / 10631) + 1, - absDays = this.daysToYear(hyear), - daysInYear = this.isLeapYear(hyear) ? 355 : 354; - // hyear is just approximate, it may need adjustment up or down by 1. - if (daysSinceJan0101 < absDays) { - hyear--; - absDays -= daysInYear; - } - else if (daysSinceJan0101 === absDays) { - hyear--; - absDays = this.daysToYear(hyear); - } - else { - if (daysSinceJan0101 > (absDays + daysInYear)) { - absDays += daysInYear; - hyear++; - } - } - // determine month by looking at how many days into the hyear we are - // monthDays contains the number of days up to each month. - hmonth = 0; - var daysIntoYear = daysSinceJan0101 - absDays; - while (hmonth <= 11 && daysIntoYear > this.monthDays[hmonth]) { - hmonth++; - } - hmonth--; - hday = daysIntoYear - this.monthDays[hmonth]; - return [hyear, hmonth, hday]; - }, - daysToYear: function(year) { - // calculates how many days since Jan 1, 0001 - var yearsToYear30 = Math.floor((year - 1) / 30) * 30, - yearsInto30 = year - yearsToYear30 - 1, - days = Math.floor((yearsToYear30 * 10631) / 30) + 227013; - while (yearsInto30 > 0) { - days += (this.isLeapYear(yearsInto30) ? 355 : 354); - yearsInto30--; - } - return days; - }, - isLeapYear: function(year) { - return ((((year * 11) + 14) % 30) < 11); - } - } - }, - Gregorian_Localized: { - days: { - names: ["އާދީއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"], - namesAbbr: ["އާދީއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"], - namesShort: ["އާ","ހޯ","އަ","ބު","ބު","ހު","ހޮ"] - }, - months: { - names: ["ޖަނަވަރީ","ފެބްރުއަރީ","މާޗް","އޭޕްރިލް","މެއި","ޖޫން","ޖުލައި","އޯގަސްޓް","ސެޕްޓެމްބަރ","އޮކްޓޯބަރ","ނޮވެމްބަރ","ޑިސެމްބަރ",""], - namesAbbr: ["ޖަނަވަރީ","ފެބްރުއަރީ","މާޗް","އޭޕްރިލް","މެއި","ޖޫން","ޖުލައި","އޯގަސްޓް","ސެޕްޓެމްބަރ","އޮކްޓޯބަރ","ނޮވެމްބަރ","ޑިސެމްބަރ",""] - }, - AM: ["މކ","މކ","މކ"], - PM: ["މފ","މފ","މފ"], - eras: [{"name":"މީލާދީ","start":null,"offset":0}], - patterns: { - d: "dd/MM/yy", - D: "ddd, yyyy MMMM dd", - t: "HH:mm", - T: "HH:mm:ss", - f: "ddd, yyyy MMMM dd HH:mm", - F: "ddd, yyyy MMMM dd HH:mm:ss", - Y: "yyyy, MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.el-GR.js b/web/Scripts/globalize/cultures/globalize.culture.el-GR.js deleted file mode 100644 index 1b01a9f0..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.el-GR.js +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Globalize Culture el-GR - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "el-GR", "default", { - name: "el-GR", - englishName: "Greek (Greece)", - nativeName: "Ελληνικά (Ελλάδα)", - language: "el", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "μη αριθμός", - negativeInfinity: "-Άπειρο", - positiveInfinity: "Άπειρο", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["Κυριακή","Δευτέρα","Τρίτη","Τετάρτη","Πέμπτη","Παρασκευή","Σάββατο"], - namesAbbr: ["Κυρ","Δευ","Τρι","Τετ","Πεμ","Παρ","Σαβ"], - namesShort: ["Κυ","Δε","Τρ","Τε","Πε","Πα","Σά"] - }, - months: { - names: ["Ιανουάριος","Φεβρουάριος","Μάρτιος","Απρίλιος","Μάιος","Ιούνιος","Ιούλιος","Αύγουστος","Σεπτέμβριος","Οκτώβριος","Νοέμβριος","Δεκέμβριος",""], - namesAbbr: ["Ιαν","Φεβ","Μαρ","Απρ","Μαϊ","Ιουν","Ιουλ","Αυγ","Σεπ","Οκτ","Νοε","Δεκ",""] - }, - monthsGenitive: { - names: ["Ιανουαρίου","Φεβρουαρίου","Μαρτίου","Απριλίου","Μαΐου","Ιουνίου","Ιουλίου","Αυγούστου","Σεπτεμβρίου","Οκτωβρίου","Νοεμβρίου","Δεκεμβρίου",""], - namesAbbr: ["Ιαν","Φεβ","Μαρ","Απρ","Μαϊ","Ιουν","Ιουλ","Αυγ","Σεπ","Οκτ","Νοε","Δεκ",""] - }, - AM: ["πμ","πμ","ΠΜ"], - PM: ["μμ","μμ","ΜΜ"], - eras: [{"name":"μ.Χ.","start":null,"offset":0}], - patterns: { - d: "d/M/yyyy", - D: "dddd, d MMMM yyyy", - f: "dddd, d MMMM yyyy h:mm tt", - F: "dddd, d MMMM yyyy h:mm:ss tt", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.el.js b/web/Scripts/globalize/cultures/globalize.culture.el.js deleted file mode 100644 index 87ba4b51..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.el.js +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Globalize Culture el - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "el", "default", { - name: "el", - englishName: "Greek", - nativeName: "Ελληνικά", - language: "el", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "μη αριθμός", - negativeInfinity: "-Άπειρο", - positiveInfinity: "Άπειρο", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["Κυριακή","Δευτέρα","Τρίτη","Τετάρτη","Πέμπτη","Παρασκευή","Σάββατο"], - namesAbbr: ["Κυρ","Δευ","Τρι","Τετ","Πεμ","Παρ","Σαβ"], - namesShort: ["Κυ","Δε","Τρ","Τε","Πε","Πα","Σά"] - }, - months: { - names: ["Ιανουάριος","Φεβρουάριος","Μάρτιος","Απρίλιος","Μάιος","Ιούνιος","Ιούλιος","Αύγουστος","Σεπτέμβριος","Οκτώβριος","Νοέμβριος","Δεκέμβριος",""], - namesAbbr: ["Ιαν","Φεβ","Μαρ","Απρ","Μαϊ","Ιουν","Ιουλ","Αυγ","Σεπ","Οκτ","Νοε","Δεκ",""] - }, - monthsGenitive: { - names: ["Ιανουαρίου","Φεβρουαρίου","Μαρτίου","Απριλίου","Μαΐου","Ιουνίου","Ιουλίου","Αυγούστου","Σεπτεμβρίου","Οκτωβρίου","Νοεμβρίου","Δεκεμβρίου",""], - namesAbbr: ["Ιαν","Φεβ","Μαρ","Απρ","Μαϊ","Ιουν","Ιουλ","Αυγ","Σεπ","Οκτ","Νοε","Δεκ",""] - }, - AM: ["πμ","πμ","ΠΜ"], - PM: ["μμ","μμ","ΜΜ"], - eras: [{"name":"μ.Χ.","start":null,"offset":0}], - patterns: { - d: "d/M/yyyy", - D: "dddd, d MMMM yyyy", - f: "dddd, d MMMM yyyy h:mm tt", - F: "dddd, d MMMM yyyy h:mm:ss tt", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.en-029.js b/web/Scripts/globalize/cultures/globalize.culture.en-029.js deleted file mode 100644 index 0e558644..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.en-029.js +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Globalize Culture en-029 - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "en-029", "default", { - name: "en-029", - englishName: "English (Caribbean)", - nativeName: "English (Caribbean)", - numberFormat: { - currency: { - pattern: ["-$n","$n"] - } - }, - calendars: { - standard: { - firstDay: 1, - patterns: { - d: "MM/dd/yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.en-AU.js b/web/Scripts/globalize/cultures/globalize.culture.en-AU.js deleted file mode 100644 index 068722aa..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.en-AU.js +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Globalize Culture en-AU - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "en-AU", "default", { - name: "en-AU", - englishName: "English (Australia)", - nativeName: "English (Australia)", - numberFormat: { - currency: { - pattern: ["-$n","$n"] - } - }, - calendars: { - standard: { - firstDay: 1, - patterns: { - d: "d/MM/yyyy", - D: "dddd, d MMMM yyyy", - f: "dddd, d MMMM yyyy h:mm tt", - F: "dddd, d MMMM yyyy h:mm:ss tt", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.en-BZ.js b/web/Scripts/globalize/cultures/globalize.culture.en-BZ.js deleted file mode 100644 index 4a0692d2..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.en-BZ.js +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Globalize Culture en-BZ - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "en-BZ", "default", { - name: "en-BZ", - englishName: "English (Belize)", - nativeName: "English (Belize)", - numberFormat: { - currency: { - groupSizes: [3,0], - symbol: "BZ$" - } - }, - calendars: { - standard: { - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd MMMM yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, dd MMMM yyyy hh:mm tt", - F: "dddd, dd MMMM yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.en-CA.js b/web/Scripts/globalize/cultures/globalize.culture.en-CA.js deleted file mode 100644 index 1c8c1b57..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.en-CA.js +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Globalize Culture en-CA - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "en-CA", "default", { - name: "en-CA", - englishName: "English (Canada)", - nativeName: "English (Canada)", - numberFormat: { - currency: { - pattern: ["-$n","$n"] - } - }, - calendars: { - standard: { - patterns: { - d: "dd/MM/yyyy", - D: "MMMM-dd-yy", - f: "MMMM-dd-yy h:mm tt", - F: "MMMM-dd-yy h:mm:ss tt" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.en-GB.js b/web/Scripts/globalize/cultures/globalize.culture.en-GB.js deleted file mode 100644 index 518cc1b9..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.en-GB.js +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Globalize Culture en-GB - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "en-GB", "default", { - name: "en-GB", - englishName: "English (United Kingdom)", - nativeName: "English (United Kingdom)", - numberFormat: { - currency: { - pattern: ["-$n","$n"], - symbol: "£" - } - }, - calendars: { - standard: { - firstDay: 1, - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd MMMM yyyy HH:mm", - F: "dd MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.en-IE.js b/web/Scripts/globalize/cultures/globalize.culture.en-IE.js deleted file mode 100644 index 8475128b..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.en-IE.js +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Globalize Culture en-IE - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "en-IE", "default", { - name: "en-IE", - englishName: "English (Ireland)", - nativeName: "English (Ireland)", - numberFormat: { - currency: { - pattern: ["-$n","$n"], - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - AM: null, - PM: null, - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd MMMM yyyy HH:mm", - F: "dd MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.en-IN.js b/web/Scripts/globalize/cultures/globalize.culture.en-IN.js deleted file mode 100644 index a98dc7e4..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.en-IN.js +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Globalize Culture en-IN - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "en-IN", "default", { - name: "en-IN", - englishName: "English (India)", - nativeName: "English (India)", - numberFormat: { - groupSizes: [3,2], - percent: { - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,2], - symbol: "Rs." - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - patterns: { - d: "dd-MM-yyyy", - D: "dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd MMMM yyyy HH:mm", - F: "dd MMMM yyyy HH:mm:ss", - M: "dd MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.en-JM.js b/web/Scripts/globalize/cultures/globalize.culture.en-JM.js deleted file mode 100644 index 2110f010..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.en-JM.js +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Globalize Culture en-JM - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "en-JM", "default", { - name: "en-JM", - englishName: "English (Jamaica)", - nativeName: "English (Jamaica)", - numberFormat: { - currency: { - pattern: ["-$n","$n"], - symbol: "J$" - } - }, - calendars: { - standard: { - patterns: { - d: "dd/MM/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.en-MY.js b/web/Scripts/globalize/cultures/globalize.culture.en-MY.js deleted file mode 100644 index 909804d3..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.en-MY.js +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Globalize Culture en-MY - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "en-MY", "default", { - name: "en-MY", - englishName: "English (Malaysia)", - nativeName: "English (Malaysia)", - numberFormat: { - percent: { - pattern: ["-n%","n%"] - }, - currency: { - symbol: "RM" - } - }, - calendars: { - standard: { - days: { - namesShort: ["S","M","T","W","T","F","S"] - }, - patterns: { - d: "d/M/yyyy", - D: "dddd, d MMMM, yyyy", - f: "dddd, d MMMM, yyyy h:mm tt", - F: "dddd, d MMMM, yyyy h:mm:ss tt", - M: "d MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.en-NZ.js b/web/Scripts/globalize/cultures/globalize.culture.en-NZ.js deleted file mode 100644 index 60c54a50..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.en-NZ.js +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Globalize Culture en-NZ - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "en-NZ", "default", { - name: "en-NZ", - englishName: "English (New Zealand)", - nativeName: "English (New Zealand)", - numberFormat: { - currency: { - pattern: ["-$n","$n"] - } - }, - calendars: { - standard: { - firstDay: 1, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - patterns: { - d: "d/MM/yyyy", - D: "dddd, d MMMM yyyy", - f: "dddd, d MMMM yyyy h:mm tt", - F: "dddd, d MMMM yyyy h:mm:ss tt", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.en-PH.js b/web/Scripts/globalize/cultures/globalize.culture.en-PH.js deleted file mode 100644 index 4d06ea2e..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.en-PH.js +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Globalize Culture en-PH - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "en-PH", "default", { - name: "en-PH", - englishName: "English (Republic of the Philippines)", - nativeName: "English (Philippines)", - numberFormat: { - currency: { - symbol: "Php" - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.en-SG.js b/web/Scripts/globalize/cultures/globalize.culture.en-SG.js deleted file mode 100644 index 34e0d3be..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.en-SG.js +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Globalize Culture en-SG - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "en-SG", "default", { - name: "en-SG", - englishName: "English (Singapore)", - nativeName: "English (Singapore)", - numberFormat: { - percent: { - pattern: ["-n%","n%"] - } - }, - calendars: { - standard: { - days: { - namesShort: ["S","M","T","W","T","F","S"] - }, - patterns: { - d: "d/M/yyyy", - D: "dddd, d MMMM, yyyy", - f: "dddd, d MMMM, yyyy h:mm tt", - F: "dddd, d MMMM, yyyy h:mm:ss tt", - M: "d MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.en-TT.js b/web/Scripts/globalize/cultures/globalize.culture.en-TT.js deleted file mode 100644 index 4cc01482..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.en-TT.js +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Globalize Culture en-TT - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "en-TT", "default", { - name: "en-TT", - englishName: "English (Trinidad and Tobago)", - nativeName: "English (Trinidad y Tobago)", - numberFormat: { - currency: { - groupSizes: [3,0], - symbol: "TT$" - } - }, - calendars: { - standard: { - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd MMMM yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, dd MMMM yyyy hh:mm tt", - F: "dddd, dd MMMM yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.en-US.js b/web/Scripts/globalize/cultures/globalize.culture.en-US.js deleted file mode 100644 index 03b3ec37..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.en-US.js +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Globalize Culture en-US - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "en-US", "default", { - name: "en-US", - englishName: "English (United States)" -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.en-ZA.js b/web/Scripts/globalize/cultures/globalize.culture.en-ZA.js deleted file mode 100644 index 22dbfd3a..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.en-ZA.js +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Globalize Culture en-ZA - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "en-ZA", "default", { - name: "en-ZA", - englishName: "English (South Africa)", - nativeName: "English (South Africa)", - numberFormat: { - ",": " ", - percent: { - pattern: ["-n%","n%"], - ",": " " - }, - currency: { - pattern: ["$-n","$ n"], - ",": " ", - ".": ",", - symbol: "R" - } - }, - calendars: { - standard: { - patterns: { - d: "yyyy/MM/dd", - D: "dd MMMM yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd MMMM yyyy hh:mm tt", - F: "dd MMMM yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.en-ZW.js b/web/Scripts/globalize/cultures/globalize.culture.en-ZW.js deleted file mode 100644 index e4f9beb7..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.en-ZW.js +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Globalize Culture en-ZW - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "en-ZW", "default", { - name: "en-ZW", - englishName: "English (Zimbabwe)", - nativeName: "English (Zimbabwe)", - numberFormat: { - currency: { - symbol: "Z$" - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.es-AR.js b/web/Scripts/globalize/cultures/globalize.culture.es-AR.js deleted file mode 100644 index f71f9e0f..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.es-AR.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Globalize Culture es-AR - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "es-AR", "default", { - name: "es-AR", - englishName: "Spanish (Argentina)", - nativeName: "Español (Argentina)", - language: "es", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "NeuN", - negativeInfinity: "-Infinito", - positiveInfinity: "Infinito", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["$-n","$ n"], - ",": ".", - ".": "," - } - }, - calendars: { - standard: { - days: { - names: ["domingo","lunes","martes","miércoles","jueves","viernes","sábado"], - namesAbbr: ["dom","lun","mar","mié","jue","vie","sáb"], - namesShort: ["do","lu","ma","mi","ju","vi","sá"] - }, - months: { - names: ["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""], - namesAbbr: ["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""] - }, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, dd' de 'MMMM' de 'yyyy hh:mm tt", - F: "dddd, dd' de 'MMMM' de 'yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.es-BO.js b/web/Scripts/globalize/cultures/globalize.culture.es-BO.js deleted file mode 100644 index 09c20b98..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.es-BO.js +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Globalize Culture es-BO - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "es-BO", "default", { - name: "es-BO", - englishName: "Spanish (Bolivia)", - nativeName: "Español (Bolivia)", - language: "es", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "NeuN", - negativeInfinity: "-Infinito", - positiveInfinity: "Infinito", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["($ n)","$ n"], - ",": ".", - ".": ",", - symbol: "$b" - } - }, - calendars: { - standard: { - days: { - names: ["domingo","lunes","martes","miércoles","jueves","viernes","sábado"], - namesAbbr: ["dom","lun","mar","mié","jue","vie","sáb"], - namesShort: ["do","lu","ma","mi","ju","vi","sá"] - }, - months: { - names: ["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""], - namesAbbr: ["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""] - }, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, dd' de 'MMMM' de 'yyyy hh:mm tt", - F: "dddd, dd' de 'MMMM' de 'yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.es-CL.js b/web/Scripts/globalize/cultures/globalize.culture.es-CL.js deleted file mode 100644 index 7fd83038..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.es-CL.js +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Globalize Culture es-CL - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "es-CL", "default", { - name: "es-CL", - englishName: "Spanish (Chile)", - nativeName: "Español (Chile)", - language: "es", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "NeuN", - negativeInfinity: "-Infinito", - positiveInfinity: "Infinito", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-$ n","$ n"], - ",": ".", - ".": "," - } - }, - calendars: { - standard: { - "/": "-", - days: { - names: ["domingo","lunes","martes","miércoles","jueves","viernes","sábado"], - namesAbbr: ["dom","lun","mar","mié","jue","vie","sáb"], - namesShort: ["do","lu","ma","mi","ju","vi","sá"] - }, - months: { - names: ["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""], - namesAbbr: ["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""] - }, - AM: null, - PM: null, - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd-MM-yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dddd, dd' de 'MMMM' de 'yyyy H:mm", - F: "dddd, dd' de 'MMMM' de 'yyyy H:mm:ss", - M: "dd MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.es-CO.js b/web/Scripts/globalize/cultures/globalize.culture.es-CO.js deleted file mode 100644 index 3fdef6b3..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.es-CO.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Globalize Culture es-CO - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "es-CO", "default", { - name: "es-CO", - englishName: "Spanish (Colombia)", - nativeName: "Español (Colombia)", - language: "es", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "NeuN", - negativeInfinity: "-Infinito", - positiveInfinity: "Infinito", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["($ n)","$ n"], - ",": ".", - ".": "," - } - }, - calendars: { - standard: { - days: { - names: ["domingo","lunes","martes","miércoles","jueves","viernes","sábado"], - namesAbbr: ["dom","lun","mar","mié","jue","vie","sáb"], - namesShort: ["do","lu","ma","mi","ju","vi","sá"] - }, - months: { - names: ["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""], - namesAbbr: ["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""] - }, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, dd' de 'MMMM' de 'yyyy hh:mm tt", - F: "dddd, dd' de 'MMMM' de 'yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.es-CR.js b/web/Scripts/globalize/cultures/globalize.culture.es-CR.js deleted file mode 100644 index 7904cff2..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.es-CR.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Globalize Culture es-CR - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "es-CR", "default", { - name: "es-CR", - englishName: "Spanish (Costa Rica)", - nativeName: "Español (Costa Rica)", - language: "es", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "NeuN", - negativeInfinity: "-Infinito", - positiveInfinity: "Infinito", - percent: { - ",": ".", - ".": "," - }, - currency: { - ",": ".", - ".": ",", - symbol: "₡" - } - }, - calendars: { - standard: { - days: { - names: ["domingo","lunes","martes","miércoles","jueves","viernes","sábado"], - namesAbbr: ["dom","lun","mar","mié","jue","vie","sáb"], - namesShort: ["do","lu","ma","mi","ju","vi","sá"] - }, - months: { - names: ["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""], - namesAbbr: ["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""] - }, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, dd' de 'MMMM' de 'yyyy hh:mm tt", - F: "dddd, dd' de 'MMMM' de 'yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.es-DO.js b/web/Scripts/globalize/cultures/globalize.culture.es-DO.js deleted file mode 100644 index 955edc96..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.es-DO.js +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Globalize Culture es-DO - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "es-DO", "default", { - name: "es-DO", - englishName: "Spanish (Dominican Republic)", - nativeName: "Español (República Dominicana)", - language: "es", - numberFormat: { - "NaN": "NeuN", - negativeInfinity: "-Infinito", - positiveInfinity: "Infinito", - currency: { - symbol: "RD$" - } - }, - calendars: { - standard: { - days: { - names: ["domingo","lunes","martes","miércoles","jueves","viernes","sábado"], - namesAbbr: ["dom","lun","mar","mié","jue","vie","sáb"], - namesShort: ["do","lu","ma","mi","ju","vi","sá"] - }, - months: { - names: ["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""], - namesAbbr: ["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""] - }, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, dd' de 'MMMM' de 'yyyy hh:mm tt", - F: "dddd, dd' de 'MMMM' de 'yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.es-EC.js b/web/Scripts/globalize/cultures/globalize.culture.es-EC.js deleted file mode 100644 index 7c80e935..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.es-EC.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Globalize Culture es-EC - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "es-EC", "default", { - name: "es-EC", - englishName: "Spanish (Ecuador)", - nativeName: "Español (Ecuador)", - language: "es", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "NeuN", - negativeInfinity: "-Infinito", - positiveInfinity: "Infinito", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["($ n)","$ n"], - ",": ".", - ".": "," - } - }, - calendars: { - standard: { - days: { - names: ["domingo","lunes","martes","miércoles","jueves","viernes","sábado"], - namesAbbr: ["dom","lun","mar","mié","jue","vie","sáb"], - namesShort: ["do","lu","ma","mi","ju","vi","sá"] - }, - months: { - names: ["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""], - namesAbbr: ["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""] - }, - AM: null, - PM: null, - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dddd, dd' de 'MMMM' de 'yyyy H:mm", - F: "dddd, dd' de 'MMMM' de 'yyyy H:mm:ss", - M: "dd MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.es-ES.js b/web/Scripts/globalize/cultures/globalize.culture.es-ES.js deleted file mode 100644 index 0d30eb45..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.es-ES.js +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Globalize Culture es-ES - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "es-ES", "default", { - name: "es-ES", - englishName: "Spanish (Spain, International Sort)", - nativeName: "Español (España, alfabetización internacional)", - language: "es", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "NeuN", - negativeInfinity: "-Infinito", - positiveInfinity: "Infinito", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["domingo","lunes","martes","miércoles","jueves","viernes","sábado"], - namesAbbr: ["dom","lun","mar","mié","jue","vie","sáb"], - namesShort: ["do","lu","ma","mi","ju","vi","sá"] - }, - months: { - names: ["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""], - namesAbbr: ["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""] - }, - AM: null, - PM: null, - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dddd, dd' de 'MMMM' de 'yyyy H:mm", - F: "dddd, dd' de 'MMMM' de 'yyyy H:mm:ss", - M: "dd MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.es-GT.js b/web/Scripts/globalize/cultures/globalize.culture.es-GT.js deleted file mode 100644 index 9384ff9a..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.es-GT.js +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Globalize Culture es-GT - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "es-GT", "default", { - name: "es-GT", - englishName: "Spanish (Guatemala)", - nativeName: "Español (Guatemala)", - language: "es", - numberFormat: { - "NaN": "NeuN", - negativeInfinity: "-Infinito", - positiveInfinity: "Infinito", - currency: { - symbol: "Q" - } - }, - calendars: { - standard: { - days: { - names: ["domingo","lunes","martes","miércoles","jueves","viernes","sábado"], - namesAbbr: ["dom","lun","mar","mié","jue","vie","sáb"], - namesShort: ["do","lu","ma","mi","ju","vi","sá"] - }, - months: { - names: ["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""], - namesAbbr: ["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""] - }, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, dd' de 'MMMM' de 'yyyy hh:mm tt", - F: "dddd, dd' de 'MMMM' de 'yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.es-HN.js b/web/Scripts/globalize/cultures/globalize.culture.es-HN.js deleted file mode 100644 index 896cb9ea..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.es-HN.js +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Globalize Culture es-HN - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "es-HN", "default", { - name: "es-HN", - englishName: "Spanish (Honduras)", - nativeName: "Español (Honduras)", - language: "es", - numberFormat: { - "NaN": "NeuN", - negativeInfinity: "-Infinito", - positiveInfinity: "Infinito", - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,0], - symbol: "L." - } - }, - calendars: { - standard: { - days: { - names: ["domingo","lunes","martes","miércoles","jueves","viernes","sábado"], - namesAbbr: ["dom","lun","mar","mié","jue","vie","sáb"], - namesShort: ["do","lu","ma","mi","ju","vi","sá"] - }, - months: { - names: ["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""], - namesAbbr: ["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""] - }, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, dd' de 'MMMM' de 'yyyy hh:mm tt", - F: "dddd, dd' de 'MMMM' de 'yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.es-MX.js b/web/Scripts/globalize/cultures/globalize.culture.es-MX.js deleted file mode 100644 index d28bea4c..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.es-MX.js +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Globalize Culture es-MX - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "es-MX", "default", { - name: "es-MX", - englishName: "Spanish (Mexico)", - nativeName: "Español (México)", - language: "es", - numberFormat: { - "NaN": "NeuN", - negativeInfinity: "-Infinito", - positiveInfinity: "Infinito", - currency: { - pattern: ["-$n","$n"] - } - }, - calendars: { - standard: { - days: { - names: ["domingo","lunes","martes","miércoles","jueves","viernes","sábado"], - namesAbbr: ["dom","lun","mar","mié","jue","vie","sáb"], - namesShort: ["do","lu","ma","mi","ju","vi","sá"] - }, - months: { - names: ["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""], - namesAbbr: ["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""] - }, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, dd' de 'MMMM' de 'yyyy hh:mm tt", - F: "dddd, dd' de 'MMMM' de 'yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.es-NI.js b/web/Scripts/globalize/cultures/globalize.culture.es-NI.js deleted file mode 100644 index 1c3e4a97..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.es-NI.js +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Globalize Culture es-NI - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "es-NI", "default", { - name: "es-NI", - englishName: "Spanish (Nicaragua)", - nativeName: "Español (Nicaragua)", - language: "es", - numberFormat: { - "NaN": "NeuN", - negativeInfinity: "-Infinito", - positiveInfinity: "Infinito", - currency: { - pattern: ["($ n)","$ n"], - groupSizes: [3,0], - symbol: "C$" - } - }, - calendars: { - standard: { - days: { - names: ["domingo","lunes","martes","miércoles","jueves","viernes","sábado"], - namesAbbr: ["dom","lun","mar","mié","jue","vie","sáb"], - namesShort: ["do","lu","ma","mi","ju","vi","sá"] - }, - months: { - names: ["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""], - namesAbbr: ["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""] - }, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, dd' de 'MMMM' de 'yyyy hh:mm tt", - F: "dddd, dd' de 'MMMM' de 'yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.es-PA.js b/web/Scripts/globalize/cultures/globalize.culture.es-PA.js deleted file mode 100644 index f26d7bba..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.es-PA.js +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Globalize Culture es-PA - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "es-PA", "default", { - name: "es-PA", - englishName: "Spanish (Panama)", - nativeName: "Español (Panamá)", - language: "es", - numberFormat: { - "NaN": "NeuN", - negativeInfinity: "-Infinito", - positiveInfinity: "Infinito", - currency: { - pattern: ["($ n)","$ n"], - symbol: "B/." - } - }, - calendars: { - standard: { - days: { - names: ["domingo","lunes","martes","miércoles","jueves","viernes","sábado"], - namesAbbr: ["dom","lun","mar","mié","jue","vie","sáb"], - namesShort: ["do","lu","ma","mi","ju","vi","sá"] - }, - months: { - names: ["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""], - namesAbbr: ["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""] - }, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, dd' de 'MMMM' de 'yyyy hh:mm tt", - F: "dddd, dd' de 'MMMM' de 'yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.es-PE.js b/web/Scripts/globalize/cultures/globalize.culture.es-PE.js deleted file mode 100644 index d51af4ba..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.es-PE.js +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Globalize Culture es-PE - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "es-PE", "default", { - name: "es-PE", - englishName: "Spanish (Peru)", - nativeName: "Español (Perú)", - language: "es", - numberFormat: { - "NaN": "NeuN", - negativeInfinity: "-Infinito", - positiveInfinity: "Infinito", - currency: { - pattern: ["$ -n","$ n"], - symbol: "S/." - } - }, - calendars: { - standard: { - days: { - names: ["domingo","lunes","martes","miércoles","jueves","viernes","sábado"], - namesAbbr: ["dom","lun","mar","mié","jue","vie","sáb"], - namesShort: ["do","lu","ma","mi","ju","vi","sá"] - }, - months: { - names: ["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""], - namesAbbr: ["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""] - }, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, dd' de 'MMMM' de 'yyyy hh:mm tt", - F: "dddd, dd' de 'MMMM' de 'yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.es-PR.js b/web/Scripts/globalize/cultures/globalize.culture.es-PR.js deleted file mode 100644 index 3d0ef318..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.es-PR.js +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Globalize Culture es-PR - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "es-PR", "default", { - name: "es-PR", - englishName: "Spanish (Puerto Rico)", - nativeName: "Español (Puerto Rico)", - language: "es", - numberFormat: { - "NaN": "NeuN", - negativeInfinity: "-Infinito", - positiveInfinity: "Infinito", - currency: { - pattern: ["($ n)","$ n"], - groupSizes: [3,0] - } - }, - calendars: { - standard: { - days: { - names: ["domingo","lunes","martes","miércoles","jueves","viernes","sábado"], - namesAbbr: ["dom","lun","mar","mié","jue","vie","sáb"], - namesShort: ["do","lu","ma","mi","ju","vi","sá"] - }, - months: { - names: ["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""], - namesAbbr: ["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""] - }, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, dd' de 'MMMM' de 'yyyy hh:mm tt", - F: "dddd, dd' de 'MMMM' de 'yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.es-PY.js b/web/Scripts/globalize/cultures/globalize.culture.es-PY.js deleted file mode 100644 index 15dbe620..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.es-PY.js +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Globalize Culture es-PY - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "es-PY", "default", { - name: "es-PY", - englishName: "Spanish (Paraguay)", - nativeName: "Español (Paraguay)", - language: "es", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "NeuN", - negativeInfinity: "-Infinito", - positiveInfinity: "Infinito", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["($ n)","$ n"], - ",": ".", - ".": ",", - symbol: "Gs" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["domingo","lunes","martes","miércoles","jueves","viernes","sábado"], - namesAbbr: ["dom","lun","mar","mié","jue","vie","sáb"], - namesShort: ["do","lu","ma","mi","ju","vi","sá"] - }, - months: { - names: ["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""], - namesAbbr: ["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""] - }, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, dd' de 'MMMM' de 'yyyy hh:mm tt", - F: "dddd, dd' de 'MMMM' de 'yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.es-SV.js b/web/Scripts/globalize/cultures/globalize.culture.es-SV.js deleted file mode 100644 index 9d4433ef..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.es-SV.js +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Globalize Culture es-SV - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "es-SV", "default", { - name: "es-SV", - englishName: "Spanish (El Salvador)", - nativeName: "Español (El Salvador)", - language: "es", - numberFormat: { - "NaN": "NeuN", - negativeInfinity: "-Infinito", - positiveInfinity: "Infinito", - currency: { - groupSizes: [3,0] - } - }, - calendars: { - standard: { - days: { - names: ["domingo","lunes","martes","miércoles","jueves","viernes","sábado"], - namesAbbr: ["dom","lun","mar","mié","jue","vie","sáb"], - namesShort: ["do","lu","ma","mi","ju","vi","sá"] - }, - months: { - names: ["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""], - namesAbbr: ["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""] - }, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, dd' de 'MMMM' de 'yyyy hh:mm tt", - F: "dddd, dd' de 'MMMM' de 'yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.es-US.js b/web/Scripts/globalize/cultures/globalize.culture.es-US.js deleted file mode 100644 index b983e1fe..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.es-US.js +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Globalize Culture es-US - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "es-US", "default", { - name: "es-US", - englishName: "Spanish (United States)", - nativeName: "Español (Estados Unidos)", - language: "es", - numberFormat: { - groupSizes: [3,0], - "NaN": "NeuN", - negativeInfinity: "-Infinito", - positiveInfinity: "Infinito", - percent: { - groupSizes: [3,0] - } - }, - calendars: { - standard: { - days: { - names: ["domingo","lunes","martes","miércoles","jueves","viernes","sábado"], - namesAbbr: ["dom","lun","mar","mié","jue","vie","sáb"], - namesShort: ["do","lu","ma","mi","ju","vi","sa"] - }, - months: { - names: ["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""], - namesAbbr: ["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""] - }, - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - M: "dd' de 'MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.es-UY.js b/web/Scripts/globalize/cultures/globalize.culture.es-UY.js deleted file mode 100644 index 8eb79f34..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.es-UY.js +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Globalize Culture es-UY - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "es-UY", "default", { - name: "es-UY", - englishName: "Spanish (Uruguay)", - nativeName: "Español (Uruguay)", - language: "es", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "NeuN", - negativeInfinity: "-Infinito", - positiveInfinity: "Infinito", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["($ n)","$ n"], - ",": ".", - ".": ",", - symbol: "$U" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["domingo","lunes","martes","miércoles","jueves","viernes","sábado"], - namesAbbr: ["dom","lun","mar","mié","jue","vie","sáb"], - namesShort: ["do","lu","ma","mi","ju","vi","sá"] - }, - months: { - names: ["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""], - namesAbbr: ["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""] - }, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, dd' de 'MMMM' de 'yyyy hh:mm tt", - F: "dddd, dd' de 'MMMM' de 'yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.es-VE.js b/web/Scripts/globalize/cultures/globalize.culture.es-VE.js deleted file mode 100644 index 1bfc8ac8..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.es-VE.js +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Globalize Culture es-VE - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "es-VE", "default", { - name: "es-VE", - englishName: "Spanish (Bolivarian Republic of Venezuela)", - nativeName: "Español (Republica Bolivariana de Venezuela)", - language: "es", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "NeuN", - negativeInfinity: "-Infinito", - positiveInfinity: "Infinito", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["$ -n","$ n"], - ",": ".", - ".": ",", - symbol: "Bs. F." - } - }, - calendars: { - standard: { - days: { - names: ["domingo","lunes","martes","miércoles","jueves","viernes","sábado"], - namesAbbr: ["dom","lun","mar","mié","jue","vie","sáb"], - namesShort: ["do","lu","ma","mi","ju","vi","sá"] - }, - months: { - names: ["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""], - namesAbbr: ["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""] - }, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, dd' de 'MMMM' de 'yyyy hh:mm tt", - F: "dddd, dd' de 'MMMM' de 'yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.es.js b/web/Scripts/globalize/cultures/globalize.culture.es.js deleted file mode 100644 index 658054d9..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.es.js +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Globalize Culture es - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "es", "default", { - name: "es", - englishName: "Spanish", - nativeName: "español", - language: "es", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "NeuN", - negativeInfinity: "-Infinito", - positiveInfinity: "Infinito", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["domingo","lunes","martes","miércoles","jueves","viernes","sábado"], - namesAbbr: ["dom","lun","mar","mié","jue","vie","sáb"], - namesShort: ["do","lu","ma","mi","ju","vi","sá"] - }, - months: { - names: ["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""], - namesAbbr: ["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""] - }, - AM: null, - PM: null, - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dddd, dd' de 'MMMM' de 'yyyy H:mm", - F: "dddd, dd' de 'MMMM' de 'yyyy H:mm:ss", - M: "dd MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.et-EE.js b/web/Scripts/globalize/cultures/globalize.culture.et-EE.js deleted file mode 100644 index 5759bea4..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.et-EE.js +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Globalize Culture et-EE - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "et-EE", "default", { - name: "et-EE", - englishName: "Estonian (Estonia)", - nativeName: "eesti (Eesti)", - language: "et", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "avaldamatu", - negativeInfinity: "miinuslõpmatus", - positiveInfinity: "plusslõpmatus", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - symbol: "kr" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["pühapäev","esmaspäev","teisipäev","kolmapäev","neljapäev","reede","laupäev"], - namesAbbr: ["P","E","T","K","N","R","L"], - namesShort: ["P","E","T","K","N","R","L"] - }, - months: { - names: ["jaanuar","veebruar","märts","aprill","mai","juuni","juuli","august","september","oktoober","november","detsember",""], - namesAbbr: ["jaan","veebr","märts","apr","mai","juuni","juuli","aug","sept","okt","nov","dets",""] - }, - AM: ["EL","el","EL"], - PM: ["PL","pl","PL"], - patterns: { - d: "d.MM.yyyy", - D: "d. MMMM yyyy'. a.'", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM yyyy'. a.' H:mm", - F: "d. MMMM yyyy'. a.' H:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy'. a.'" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.et.js b/web/Scripts/globalize/cultures/globalize.culture.et.js deleted file mode 100644 index 386c6a43..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.et.js +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Globalize Culture et - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "et", "default", { - name: "et", - englishName: "Estonian", - nativeName: "eesti", - language: "et", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "avaldamatu", - negativeInfinity: "miinuslõpmatus", - positiveInfinity: "plusslõpmatus", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - symbol: "kr" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["pühapäev","esmaspäev","teisipäev","kolmapäev","neljapäev","reede","laupäev"], - namesAbbr: ["P","E","T","K","N","R","L"], - namesShort: ["P","E","T","K","N","R","L"] - }, - months: { - names: ["jaanuar","veebruar","märts","aprill","mai","juuni","juuli","august","september","oktoober","november","detsember",""], - namesAbbr: ["jaan","veebr","märts","apr","mai","juuni","juuli","aug","sept","okt","nov","dets",""] - }, - AM: ["EL","el","EL"], - PM: ["PL","pl","PL"], - patterns: { - d: "d.MM.yyyy", - D: "d. MMMM yyyy'. a.'", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM yyyy'. a.' H:mm", - F: "d. MMMM yyyy'. a.' H:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy'. a.'" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.eu-ES.js b/web/Scripts/globalize/cultures/globalize.culture.eu-ES.js deleted file mode 100644 index 18044b4a..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.eu-ES.js +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Globalize Culture eu-ES - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "eu-ES", "default", { - name: "eu-ES", - englishName: "Basque (Basque)", - nativeName: "euskara (euskara)", - language: "eu", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "EdZ", - negativeInfinity: "-Infinitu", - positiveInfinity: "Infinitu", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["igandea","astelehena","asteartea","asteazkena","osteguna","ostirala","larunbata"], - namesAbbr: ["ig.","al.","as.","az.","og.","or.","lr."], - namesShort: ["ig","al","as","az","og","or","lr"] - }, - months: { - names: ["urtarrila","otsaila","martxoa","apirila","maiatza","ekaina","uztaila","abuztua","iraila","urria","azaroa","abendua",""], - namesAbbr: ["urt.","ots.","mar.","api.","mai.","eka.","uzt.","abu.","ira.","urr.","aza.","abe.",""] - }, - AM: null, - PM: null, - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "yyyy/MM/dd", - D: "dddd, yyyy.'eko' MMMM'k 'd", - t: "HH:mm", - T: "H:mm:ss", - f: "dddd, yyyy.'eko' MMMM'k 'd HH:mm", - F: "dddd, yyyy.'eko' MMMM'k 'd H:mm:ss", - Y: "yyyy.'eko' MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.eu.js b/web/Scripts/globalize/cultures/globalize.culture.eu.js deleted file mode 100644 index 4a05b26b..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.eu.js +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Globalize Culture eu - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "eu", "default", { - name: "eu", - englishName: "Basque", - nativeName: "euskara", - language: "eu", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "EdZ", - negativeInfinity: "-Infinitu", - positiveInfinity: "Infinitu", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["igandea","astelehena","asteartea","asteazkena","osteguna","ostirala","larunbata"], - namesAbbr: ["ig.","al.","as.","az.","og.","or.","lr."], - namesShort: ["ig","al","as","az","og","or","lr"] - }, - months: { - names: ["urtarrila","otsaila","martxoa","apirila","maiatza","ekaina","uztaila","abuztua","iraila","urria","azaroa","abendua",""], - namesAbbr: ["urt.","ots.","mar.","api.","mai.","eka.","uzt.","abu.","ira.","urr.","aza.","abe.",""] - }, - AM: null, - PM: null, - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "yyyy/MM/dd", - D: "dddd, yyyy.'eko' MMMM'k 'd", - t: "HH:mm", - T: "H:mm:ss", - f: "dddd, yyyy.'eko' MMMM'k 'd HH:mm", - F: "dddd, yyyy.'eko' MMMM'k 'd H:mm:ss", - Y: "yyyy.'eko' MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.fa-IR.js b/web/Scripts/globalize/cultures/globalize.culture.fa-IR.js deleted file mode 100644 index 551586ca..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.fa-IR.js +++ /dev/null @@ -1,213 +0,0 @@ -/* - * Globalize Culture fa-IR - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "fa-IR", "default", { - name: "fa-IR", - englishName: "Persian", - nativeName: "فارسى (ایران)", - language: "fa", - isRTL: true, - numberFormat: { - pattern: ["n-"], - currency: { - pattern: ["$n-","$ n"], - ".": "/", - symbol: "ريال" - } - }, - calendars: { - standard: { - name: "Gregorian_TransliteratedFrench", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ق.ظ","ق.ظ","ق.ظ"], - PM: ["ب.ظ","ب.ظ","ب.ظ"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - }, - Gregorian_Localized: { - firstDay: 6, - days: { - names: ["يكشنبه","دوشنبه","سه شنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"], - namesAbbr: ["يكشنبه","دوشنبه","سه شنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"], - namesShort: ["ی","د","س","چ","پ","ج","ش"] - }, - months: { - names: ["ژانويه","فوريه","مارس","آوريل","مى","ژوئن","ژوئيه","اوت","سپتامبر","اُكتبر","نوامبر","دسامبر",""], - namesAbbr: ["ژانويه","فوريه","مارس","آوريل","مى","ژوئن","ژوئيه","اوت","سپتامبر","اُكتبر","نوامبر","دسامبر",""] - }, - AM: ["ق.ظ","ق.ظ","ق.ظ"], - PM: ["ب.ظ","ب.ظ","ب.ظ"], - patterns: { - d: "yyyy/MM/dd", - D: "yyyy/MM/dd", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "yyyy/MM/dd hh:mm tt", - F: "yyyy/MM/dd hh:mm:ss tt", - M: "dd MMMM" - } - }, - Hijri: { - name: "Hijri", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ق.ظ","ق.ظ","ق.ظ"], - PM: ["ب.ظ","ب.ظ","ب.ظ"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MM/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd/MM/yyyy hh:mm tt", - F: "dd/MM/yyyy hh:mm:ss tt", - M: "dd MMMM" - }, - convert: { - // Adapted to Script from System.Globalization.HijriCalendar - ticks1970: 62135596800000, - // number of days leading up to each month - monthDays: [0, 30, 59, 89, 118, 148, 177, 207, 236, 266, 295, 325, 355], - minDate: -42521673600000, - maxDate: 253402300799999, - // The number of days to add or subtract from the calendar to accommodate the variances - // in the start and the end of Ramadan and to accommodate the date difference between - // countries/regions. May be dynamically adjusted based on user preference, but should - // remain in the range of -2 to 2, inclusive. - hijriAdjustment: 0, - toGregorian: function(hyear, hmonth, hday) { - var daysSinceJan0101 = this.daysToYear(hyear) + this.monthDays[hmonth] + hday - 1 - this.hijriAdjustment; - // 86400000 = ticks per day - var gdate = new Date(daysSinceJan0101 * 86400000 - this.ticks1970); - // adjust for timezone, because we are interested in the gregorian date for the same timezone - // but ticks in javascript is always from GMT, unlike the server were ticks counts from the base - // date in the current timezone. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - return gdate; - }, - fromGregorian: function(gdate) { - if ((gdate < this.minDate) || (gdate > this.maxDate)) return null; - var ticks = this.ticks1970 + (gdate-0) - gdate.getTimezoneOffset() * 60000, - daysSinceJan0101 = Math.floor(ticks / 86400000) + 1 + this.hijriAdjustment; - // very particular formula determined by someone smart, adapted from the server-side implementation. - // it approximates the hijri year. - var hday, hmonth, hyear = Math.floor(((daysSinceJan0101 - 227013) * 30) / 10631) + 1, - absDays = this.daysToYear(hyear), - daysInYear = this.isLeapYear(hyear) ? 355 : 354; - // hyear is just approximate, it may need adjustment up or down by 1. - if (daysSinceJan0101 < absDays) { - hyear--; - absDays -= daysInYear; - } - else if (daysSinceJan0101 === absDays) { - hyear--; - absDays = this.daysToYear(hyear); - } - else { - if (daysSinceJan0101 > (absDays + daysInYear)) { - absDays += daysInYear; - hyear++; - } - } - // determine month by looking at how many days into the hyear we are - // monthDays contains the number of days up to each month. - hmonth = 0; - var daysIntoYear = daysSinceJan0101 - absDays; - while (hmonth <= 11 && daysIntoYear > this.monthDays[hmonth]) { - hmonth++; - } - hmonth--; - hday = daysIntoYear - this.monthDays[hmonth]; - return [hyear, hmonth, hday]; - }, - daysToYear: function(year) { - // calculates how many days since Jan 1, 0001 - var yearsToYear30 = Math.floor((year - 1) / 30) * 30, - yearsInto30 = year - yearsToYear30 - 1, - days = Math.floor((yearsToYear30 * 10631) / 30) + 227013; - while (yearsInto30 > 0) { - days += (this.isLeapYear(yearsInto30) ? 355 : 354); - yearsInto30--; - } - return days; - }, - isLeapYear: function(year) { - return ((((year * 11) + 14) % 30) < 11); - } - } - }, - Gregorian_TransliteratedEnglish: { - name: "Gregorian_TransliteratedEnglish", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["أ","ا","ث","أ","خ","ج","س"] - }, - months: { - names: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["يناير","فبراير","مارس","ابريل","مايو","يونيو","يوليو","اغسطس","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ق.ظ","ق.ظ","ق.ظ"], - PM: ["ب.ظ","ب.ظ","ب.ظ"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.fa.js b/web/Scripts/globalize/cultures/globalize.culture.fa.js deleted file mode 100644 index 2d5d036a..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.fa.js +++ /dev/null @@ -1,213 +0,0 @@ -/* - * Globalize Culture fa - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "fa", "default", { - name: "fa", - englishName: "Persian", - nativeName: "فارسى", - language: "fa", - isRTL: true, - numberFormat: { - pattern: ["n-"], - currency: { - pattern: ["$n-","$ n"], - ".": "/", - symbol: "ريال" - } - }, - calendars: { - standard: { - name: "Gregorian_TransliteratedFrench", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ق.ظ","ق.ظ","ق.ظ"], - PM: ["ب.ظ","ب.ظ","ب.ظ"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - }, - Gregorian_Localized: { - firstDay: 6, - days: { - names: ["يكشنبه","دوشنبه","سه شنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"], - namesAbbr: ["يكشنبه","دوشنبه","سه شنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"], - namesShort: ["ی","د","س","چ","پ","ج","ش"] - }, - months: { - names: ["ژانويه","فوريه","مارس","آوريل","مى","ژوئن","ژوئيه","اوت","سپتامبر","اُكتبر","نوامبر","دسامبر",""], - namesAbbr: ["ژانويه","فوريه","مارس","آوريل","مى","ژوئن","ژوئيه","اوت","سپتامبر","اُكتبر","نوامبر","دسامبر",""] - }, - AM: ["ق.ظ","ق.ظ","ق.ظ"], - PM: ["ب.ظ","ب.ظ","ب.ظ"], - patterns: { - d: "yyyy/MM/dd", - D: "yyyy/MM/dd", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "yyyy/MM/dd hh:mm tt", - F: "yyyy/MM/dd hh:mm:ss tt", - M: "dd MMMM" - } - }, - Hijri: { - name: "Hijri", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ق.ظ","ق.ظ","ق.ظ"], - PM: ["ب.ظ","ب.ظ","ب.ظ"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MM/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd/MM/yyyy hh:mm tt", - F: "dd/MM/yyyy hh:mm:ss tt", - M: "dd MMMM" - }, - convert: { - // Adapted to Script from System.Globalization.HijriCalendar - ticks1970: 62135596800000, - // number of days leading up to each month - monthDays: [0, 30, 59, 89, 118, 148, 177, 207, 236, 266, 295, 325, 355], - minDate: -42521673600000, - maxDate: 253402300799999, - // The number of days to add or subtract from the calendar to accommodate the variances - // in the start and the end of Ramadan and to accommodate the date difference between - // countries/regions. May be dynamically adjusted based on user preference, but should - // remain in the range of -2 to 2, inclusive. - hijriAdjustment: 0, - toGregorian: function(hyear, hmonth, hday) { - var daysSinceJan0101 = this.daysToYear(hyear) + this.monthDays[hmonth] + hday - 1 - this.hijriAdjustment; - // 86400000 = ticks per day - var gdate = new Date(daysSinceJan0101 * 86400000 - this.ticks1970); - // adjust for timezone, because we are interested in the gregorian date for the same timezone - // but ticks in javascript is always from GMT, unlike the server were ticks counts from the base - // date in the current timezone. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - return gdate; - }, - fromGregorian: function(gdate) { - if ((gdate < this.minDate) || (gdate > this.maxDate)) return null; - var ticks = this.ticks1970 + (gdate-0) - gdate.getTimezoneOffset() * 60000, - daysSinceJan0101 = Math.floor(ticks / 86400000) + 1 + this.hijriAdjustment; - // very particular formula determined by someone smart, adapted from the server-side implementation. - // it approximates the hijri year. - var hday, hmonth, hyear = Math.floor(((daysSinceJan0101 - 227013) * 30) / 10631) + 1, - absDays = this.daysToYear(hyear), - daysInYear = this.isLeapYear(hyear) ? 355 : 354; - // hyear is just approximate, it may need adjustment up or down by 1. - if (daysSinceJan0101 < absDays) { - hyear--; - absDays -= daysInYear; - } - else if (daysSinceJan0101 === absDays) { - hyear--; - absDays = this.daysToYear(hyear); - } - else { - if (daysSinceJan0101 > (absDays + daysInYear)) { - absDays += daysInYear; - hyear++; - } - } - // determine month by looking at how many days into the hyear we are - // monthDays contains the number of days up to each month. - hmonth = 0; - var daysIntoYear = daysSinceJan0101 - absDays; - while (hmonth <= 11 && daysIntoYear > this.monthDays[hmonth]) { - hmonth++; - } - hmonth--; - hday = daysIntoYear - this.monthDays[hmonth]; - return [hyear, hmonth, hday]; - }, - daysToYear: function(year) { - // calculates how many days since Jan 1, 0001 - var yearsToYear30 = Math.floor((year - 1) / 30) * 30, - yearsInto30 = year - yearsToYear30 - 1, - days = Math.floor((yearsToYear30 * 10631) / 30) + 227013; - while (yearsInto30 > 0) { - days += (this.isLeapYear(yearsInto30) ? 355 : 354); - yearsInto30--; - } - return days; - }, - isLeapYear: function(year) { - return ((((year * 11) + 14) % 30) < 11); - } - } - }, - Gregorian_TransliteratedEnglish: { - name: "Gregorian_TransliteratedEnglish", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["أ","ا","ث","أ","خ","ج","س"] - }, - months: { - names: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["يناير","فبراير","مارس","ابريل","مايو","يونيو","يوليو","اغسطس","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ق.ظ","ق.ظ","ق.ظ"], - PM: ["ب.ظ","ب.ظ","ب.ظ"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.fi-FI.js b/web/Scripts/globalize/cultures/globalize.culture.fi-FI.js deleted file mode 100644 index 555d4cd0..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.fi-FI.js +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Globalize Culture fi-FI - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "fi-FI", "default", { - name: "fi-FI", - englishName: "Finnish (Finland)", - nativeName: "suomi (Suomi)", - language: "fi", - numberFormat: { - ",": " ", - ".": ",", - negativeInfinity: "-INF", - positiveInfinity: "INF", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["sunnuntai","maanantai","tiistai","keskiviikko","torstai","perjantai","lauantai"], - namesAbbr: ["su","ma","ti","ke","to","pe","la"], - namesShort: ["su","ma","ti","ke","to","pe","la"] - }, - months: { - names: ["tammikuu","helmikuu","maaliskuu","huhtikuu","toukokuu","kesäkuu","heinäkuu","elokuu","syyskuu","lokakuu","marraskuu","joulukuu",""], - namesAbbr: ["tammi","helmi","maalis","huhti","touko","kesä","heinä","elo","syys","loka","marras","joulu",""] - }, - AM: null, - PM: null, - patterns: { - d: "d.M.yyyy", - D: "d. MMMM'ta 'yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM'ta 'yyyy H:mm", - F: "d. MMMM'ta 'yyyy H:mm:ss", - M: "d. MMMM'ta'", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.fi.js b/web/Scripts/globalize/cultures/globalize.culture.fi.js deleted file mode 100644 index 33c23056..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.fi.js +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Globalize Culture fi - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "fi", "default", { - name: "fi", - englishName: "Finnish", - nativeName: "suomi", - language: "fi", - numberFormat: { - ",": " ", - ".": ",", - negativeInfinity: "-INF", - positiveInfinity: "INF", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["sunnuntai","maanantai","tiistai","keskiviikko","torstai","perjantai","lauantai"], - namesAbbr: ["su","ma","ti","ke","to","pe","la"], - namesShort: ["su","ma","ti","ke","to","pe","la"] - }, - months: { - names: ["tammikuu","helmikuu","maaliskuu","huhtikuu","toukokuu","kesäkuu","heinäkuu","elokuu","syyskuu","lokakuu","marraskuu","joulukuu",""], - namesAbbr: ["tammi","helmi","maalis","huhti","touko","kesä","heinä","elo","syys","loka","marras","joulu",""] - }, - AM: null, - PM: null, - patterns: { - d: "d.M.yyyy", - D: "d. MMMM'ta 'yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM'ta 'yyyy H:mm", - F: "d. MMMM'ta 'yyyy H:mm:ss", - M: "d. MMMM'ta'", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.fil-PH.js b/web/Scripts/globalize/cultures/globalize.culture.fil-PH.js deleted file mode 100644 index 78ac3d46..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.fil-PH.js +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Globalize Culture fil-PH - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "fil-PH", "default", { - name: "fil-PH", - englishName: "Filipino (Philippines)", - nativeName: "Filipino (Pilipinas)", - language: "fil", - numberFormat: { - currency: { - symbol: "PhP" - } - }, - calendars: { - standard: { - days: { - names: ["Linggo","Lunes","Martes","Mierkoles","Huebes","Biernes","Sabado"], - namesAbbr: ["Lin","Lun","Mar","Mier","Hueb","Bier","Saba"], - namesShort: ["L","L","M","M","H","B","S"] - }, - months: { - names: ["Enero","Pebrero","Marso","Abril","Mayo","Hunyo","Hulyo","Agosto","Septyembre","Oktubre","Nobyembre","Disyembre",""], - namesAbbr: ["En","Peb","Mar","Abr","Mayo","Hun","Hul","Agos","Sept","Okt","Nob","Dis",""] - }, - eras: [{"name":"Anno Domini","start":null,"offset":0}] - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.fil.js b/web/Scripts/globalize/cultures/globalize.culture.fil.js deleted file mode 100644 index 273c5164..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.fil.js +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Globalize Culture fil - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "fil", "default", { - name: "fil", - englishName: "Filipino", - nativeName: "Filipino", - language: "fil", - numberFormat: { - currency: { - symbol: "PhP" - } - }, - calendars: { - standard: { - days: { - names: ["Linggo","Lunes","Martes","Mierkoles","Huebes","Biernes","Sabado"], - namesAbbr: ["Lin","Lun","Mar","Mier","Hueb","Bier","Saba"], - namesShort: ["L","L","M","M","H","B","S"] - }, - months: { - names: ["Enero","Pebrero","Marso","Abril","Mayo","Hunyo","Hulyo","Agosto","Septyembre","Oktubre","Nobyembre","Disyembre",""], - namesAbbr: ["En","Peb","Mar","Abr","Mayo","Hun","Hul","Agos","Sept","Okt","Nob","Dis",""] - }, - eras: [{"name":"Anno Domini","start":null,"offset":0}] - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.fo-FO.js b/web/Scripts/globalize/cultures/globalize.culture.fo-FO.js deleted file mode 100644 index 8e11f81a..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.fo-FO.js +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Globalize Culture fo-FO - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "fo-FO", "default", { - name: "fo-FO", - englishName: "Faroese (Faroe Islands)", - nativeName: "føroyskt (Føroyar)", - language: "fo", - numberFormat: { - ",": ".", - ".": ",", - negativeInfinity: "-INF", - positiveInfinity: "INF", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["$ -n","$ n"], - ",": ".", - ".": ",", - symbol: "kr." - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["sunnudagur","mánadagur","týsdagur","mikudagur","hósdagur","fríggjadagur","leygardagur"], - namesAbbr: ["sun","mán","týs","mik","hós","frí","leyg"], - namesShort: ["su","má","tý","mi","hó","fr","ley"] - }, - months: { - names: ["januar","februar","mars","apríl","mai","juni","juli","august","september","oktober","november","desember",""], - namesAbbr: ["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd-MM-yyyy", - D: "d. MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "d. MMMM yyyy HH:mm", - F: "d. MMMM yyyy HH:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.fo.js b/web/Scripts/globalize/cultures/globalize.culture.fo.js deleted file mode 100644 index ca45b44a..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.fo.js +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Globalize Culture fo - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "fo", "default", { - name: "fo", - englishName: "Faroese", - nativeName: "føroyskt", - language: "fo", - numberFormat: { - ",": ".", - ".": ",", - negativeInfinity: "-INF", - positiveInfinity: "INF", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["$ -n","$ n"], - ",": ".", - ".": ",", - symbol: "kr." - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["sunnudagur","mánadagur","týsdagur","mikudagur","hósdagur","fríggjadagur","leygardagur"], - namesAbbr: ["sun","mán","týs","mik","hós","frí","leyg"], - namesShort: ["su","má","tý","mi","hó","fr","ley"] - }, - months: { - names: ["januar","februar","mars","apríl","mai","juni","juli","august","september","oktober","november","desember",""], - namesAbbr: ["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd-MM-yyyy", - D: "d. MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "d. MMMM yyyy HH:mm", - F: "d. MMMM yyyy HH:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.fr-BE.js b/web/Scripts/globalize/cultures/globalize.culture.fr-BE.js deleted file mode 100644 index 8f37feb6..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.fr-BE.js +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Globalize Culture fr-BE - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "fr-BE", "default", { - name: "fr-BE", - englishName: "French (Belgium)", - nativeName: "français (Belgique)", - language: "fr", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "Non Numérique", - negativeInfinity: "-Infini", - positiveInfinity: "+Infini", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["$ -n","$ n"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"], - namesAbbr: ["dim.","lun.","mar.","mer.","jeu.","ven.","sam."], - namesShort: ["di","lu","ma","me","je","ve","sa"] - }, - months: { - names: ["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""], - namesAbbr: ["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""] - }, - AM: null, - PM: null, - eras: [{"name":"ap. J.-C.","start":null,"offset":0}], - patterns: { - d: "d/MM/yyyy", - D: "dddd d MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd d MMMM yyyy HH:mm", - F: "dddd d MMMM yyyy HH:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.fr-CA.js b/web/Scripts/globalize/cultures/globalize.culture.fr-CA.js deleted file mode 100644 index dc9c2832..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.fr-CA.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Globalize Culture fr-CA - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "fr-CA", "default", { - name: "fr-CA", - englishName: "French (Canada)", - nativeName: "français (Canada)", - language: "fr", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "Non Numérique", - negativeInfinity: "-Infini", - positiveInfinity: "+Infini", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["(n $)","n $"], - ",": " ", - ".": "," - } - }, - calendars: { - standard: { - "/": "-", - days: { - names: ["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"], - namesAbbr: ["dim.","lun.","mar.","mer.","jeu.","ven.","sam."], - namesShort: ["di","lu","ma","me","je","ve","sa"] - }, - months: { - names: ["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""], - namesAbbr: ["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""] - }, - AM: null, - PM: null, - eras: [{"name":"ap. J.-C.","start":null,"offset":0}], - patterns: { - d: "yyyy-MM-dd", - D: "d MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "d MMMM yyyy HH:mm", - F: "d MMMM yyyy HH:mm:ss", - M: "d MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.fr-CH.js b/web/Scripts/globalize/cultures/globalize.culture.fr-CH.js deleted file mode 100644 index 59028841..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.fr-CH.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Globalize Culture fr-CH - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "fr-CH", "default", { - name: "fr-CH", - englishName: "French (Switzerland)", - nativeName: "français (Suisse)", - language: "fr", - numberFormat: { - ",": "'", - "NaN": "Non Numérique", - negativeInfinity: "-Infini", - positiveInfinity: "+Infini", - percent: { - ",": "'" - }, - currency: { - pattern: ["$-n","$ n"], - ",": "'", - symbol: "fr." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"], - namesAbbr: ["dim.","lun.","mar.","mer.","jeu.","ven.","sam."], - namesShort: ["di","lu","ma","me","je","ve","sa"] - }, - months: { - names: ["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""], - namesAbbr: ["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""] - }, - AM: null, - PM: null, - eras: [{"name":"ap. J.-C.","start":null,"offset":0}], - patterns: { - d: "dd.MM.yyyy", - D: "dddd d MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd d MMMM yyyy HH:mm", - F: "dddd d MMMM yyyy HH:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.fr-FR.js b/web/Scripts/globalize/cultures/globalize.culture.fr-FR.js deleted file mode 100644 index 89c9bd4e..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.fr-FR.js +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Globalize Culture fr-FR - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "fr-FR", "default", { - name: "fr-FR", - englishName: "French (France)", - nativeName: "français (France)", - language: "fr", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "Non Numérique", - negativeInfinity: "-Infini", - positiveInfinity: "+Infini", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"], - namesAbbr: ["dim.","lun.","mar.","mer.","jeu.","ven.","sam."], - namesShort: ["di","lu","ma","me","je","ve","sa"] - }, - months: { - names: ["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""], - namesAbbr: ["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""] - }, - AM: null, - PM: null, - eras: [{"name":"ap. J.-C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd d MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd d MMMM yyyy HH:mm", - F: "dddd d MMMM yyyy HH:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.fr-LU.js b/web/Scripts/globalize/cultures/globalize.culture.fr-LU.js deleted file mode 100644 index 26f1a0ac..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.fr-LU.js +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Globalize Culture fr-LU - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "fr-LU", "default", { - name: "fr-LU", - englishName: "French (Luxembourg)", - nativeName: "français (Luxembourg)", - language: "fr", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "Non Numérique", - negativeInfinity: "-Infini", - positiveInfinity: "+Infini", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"], - namesAbbr: ["dim.","lun.","mar.","mer.","jeu.","ven.","sam."], - namesShort: ["di","lu","ma","me","je","ve","sa"] - }, - months: { - names: ["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""], - namesAbbr: ["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""] - }, - AM: null, - PM: null, - eras: [{"name":"ap. J.-C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd d MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd d MMMM yyyy HH:mm", - F: "dddd d MMMM yyyy HH:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.fr-MC.js b/web/Scripts/globalize/cultures/globalize.culture.fr-MC.js deleted file mode 100644 index cc673793..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.fr-MC.js +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Globalize Culture fr-MC - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "fr-MC", "default", { - name: "fr-MC", - englishName: "French (Monaco)", - nativeName: "français (Principauté de Monaco)", - language: "fr", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "Non Numérique", - negativeInfinity: "-Infini", - positiveInfinity: "+Infini", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"], - namesAbbr: ["dim.","lun.","mar.","mer.","jeu.","ven.","sam."], - namesShort: ["di","lu","ma","me","je","ve","sa"] - }, - months: { - names: ["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""], - namesAbbr: ["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""] - }, - AM: null, - PM: null, - eras: [{"name":"ap. J.-C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd d MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd d MMMM yyyy HH:mm", - F: "dddd d MMMM yyyy HH:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.fr.js b/web/Scripts/globalize/cultures/globalize.culture.fr.js deleted file mode 100644 index e8c7b53a..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.fr.js +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Globalize Culture fr - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "fr", "default", { - name: "fr", - englishName: "French", - nativeName: "français", - language: "fr", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "Non Numérique", - negativeInfinity: "-Infini", - positiveInfinity: "+Infini", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"], - namesAbbr: ["dim.","lun.","mar.","mer.","jeu.","ven.","sam."], - namesShort: ["di","lu","ma","me","je","ve","sa"] - }, - months: { - names: ["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""], - namesAbbr: ["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""] - }, - AM: null, - PM: null, - eras: [{"name":"ap. J.-C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd d MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd d MMMM yyyy HH:mm", - F: "dddd d MMMM yyyy HH:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.fy-NL.js b/web/Scripts/globalize/cultures/globalize.culture.fy-NL.js deleted file mode 100644 index 549504c2..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.fy-NL.js +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Globalize Culture fy-NL - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "fy-NL", "default", { - name: "fy-NL", - englishName: "Frisian (Netherlands)", - nativeName: "Frysk (Nederlân)", - language: "fy", - numberFormat: { - ",": ".", - ".": ",", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["$ -n","$ n"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["Snein","Moandei","Tiisdei","Woansdei","Tongersdei","Freed","Sneon"], - namesAbbr: ["Sn","Mo","Ti","Wo","To","Fr","Sn"], - namesShort: ["S","M","T","W","T","F","S"] - }, - months: { - names: ["jannewaris","febrewaris","maart","april","maaie","juny","july","augustus","septimber","oktober","novimber","desimber",""], - namesAbbr: ["jann","febr","mrt","apr","maaie","jun","jul","aug","sept","okt","nov","des",""] - }, - AM: null, - PM: null, - patterns: { - d: "d-M-yyyy", - D: "dddd d MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dddd d MMMM yyyy H:mm", - F: "dddd d MMMM yyyy H:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.fy.js b/web/Scripts/globalize/cultures/globalize.culture.fy.js deleted file mode 100644 index 4dfd4736..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.fy.js +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Globalize Culture fy - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "fy", "default", { - name: "fy", - englishName: "Frisian", - nativeName: "Frysk", - language: "fy", - numberFormat: { - ",": ".", - ".": ",", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["$ -n","$ n"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["Snein","Moandei","Tiisdei","Woansdei","Tongersdei","Freed","Sneon"], - namesAbbr: ["Sn","Mo","Ti","Wo","To","Fr","Sn"], - namesShort: ["S","M","T","W","T","F","S"] - }, - months: { - names: ["jannewaris","febrewaris","maart","april","maaie","juny","july","augustus","septimber","oktober","novimber","desimber",""], - namesAbbr: ["jann","febr","mrt","apr","maaie","jun","jul","aug","sept","okt","nov","des",""] - }, - AM: null, - PM: null, - patterns: { - d: "d-M-yyyy", - D: "dddd d MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dddd d MMMM yyyy H:mm", - F: "dddd d MMMM yyyy H:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.ga-IE.js b/web/Scripts/globalize/cultures/globalize.culture.ga-IE.js deleted file mode 100644 index 46bb1fb3..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.ga-IE.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Globalize Culture ga-IE - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "ga-IE", "default", { - name: "ga-IE", - englishName: "Irish (Ireland)", - nativeName: "Gaeilge (Éire)", - language: "ga", - numberFormat: { - currency: { - pattern: ["-$n","$n"], - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"], - namesAbbr: ["Domh","Luan","Máir","Céad","Déar","Aoi","Sath"], - namesShort: ["Do","Lu","Má","Cé","De","Ao","Sa"] - }, - months: { - names: ["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig",""], - namesAbbr: ["Ean","Feabh","Már","Aib","Bealt","Meith","Iúil","Lún","M.Fómh","D.Fómh","Samh","Noll",""] - }, - AM: ["r.n.","r.n.","R.N."], - PM: ["i.n.","i.n.","I.N."], - patterns: { - d: "dd/MM/yyyy", - D: "d MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "d MMMM yyyy HH:mm", - F: "d MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.ga.js b/web/Scripts/globalize/cultures/globalize.culture.ga.js deleted file mode 100644 index 282e43b4..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.ga.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Globalize Culture ga - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "ga", "default", { - name: "ga", - englishName: "Irish", - nativeName: "Gaeilge", - language: "ga", - numberFormat: { - currency: { - pattern: ["-$n","$n"], - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"], - namesAbbr: ["Domh","Luan","Máir","Céad","Déar","Aoi","Sath"], - namesShort: ["Do","Lu","Má","Cé","De","Ao","Sa"] - }, - months: { - names: ["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig",""], - namesAbbr: ["Ean","Feabh","Már","Aib","Bealt","Meith","Iúil","Lún","M.Fómh","D.Fómh","Samh","Noll",""] - }, - AM: ["r.n.","r.n.","R.N."], - PM: ["i.n.","i.n.","I.N."], - patterns: { - d: "dd/MM/yyyy", - D: "d MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "d MMMM yyyy HH:mm", - F: "d MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.gd-GB.js b/web/Scripts/globalize/cultures/globalize.culture.gd-GB.js deleted file mode 100644 index 3abe4edd..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.gd-GB.js +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Globalize Culture gd-GB - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "gd-GB", "default", { - name: "gd-GB", - englishName: "Scottish Gaelic (United Kingdom)", - nativeName: "Gàidhlig (An Rìoghachd Aonaichte)", - language: "gd", - numberFormat: { - negativeInfinity: "-Neo-chrìochnachd", - positiveInfinity: "Neo-chrìochnachd", - currency: { - pattern: ["-$n","$n"], - symbol: "£" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"], - namesAbbr: ["Dòm","Lua","Mài","Cia","Ard","Hao","Sat"], - namesShort: ["D","L","M","C","A","H","S"] - }, - months: { - names: ["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd",""], - namesAbbr: ["Fao","Gea","Màr","Gib","Cèi","Ògm","Iuc","Lùn","Sul","Dàm","Sam","Dùb",""] - }, - AM: ["m","m","M"], - PM: ["f","f","F"], - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd MMMM yyyy HH:mm", - F: "dd MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.gd.js b/web/Scripts/globalize/cultures/globalize.culture.gd.js deleted file mode 100644 index e3f9c8fa..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.gd.js +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Globalize Culture gd - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "gd", "default", { - name: "gd", - englishName: "Scottish Gaelic", - nativeName: "Gàidhlig", - language: "gd", - numberFormat: { - negativeInfinity: "-Neo-chrìochnachd", - positiveInfinity: "Neo-chrìochnachd", - currency: { - pattern: ["-$n","$n"], - symbol: "£" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"], - namesAbbr: ["Dòm","Lua","Mài","Cia","Ard","Hao","Sat"], - namesShort: ["D","L","M","C","A","H","S"] - }, - months: { - names: ["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd",""], - namesAbbr: ["Fao","Gea","Màr","Gib","Cèi","Ògm","Iuc","Lùn","Sul","Dàm","Sam","Dùb",""] - }, - AM: ["m","m","M"], - PM: ["f","f","F"], - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd MMMM yyyy HH:mm", - F: "dd MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.gl-ES.js b/web/Scripts/globalize/cultures/globalize.culture.gl-ES.js deleted file mode 100644 index c750c0e2..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.gl-ES.js +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Globalize Culture gl-ES - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "gl-ES", "default", { - name: "gl-ES", - englishName: "Galician (Galician)", - nativeName: "galego (galego)", - language: "gl", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "NeuN", - negativeInfinity: "-Infinito", - positiveInfinity: "Infinito", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["domingo","luns","martes","mércores","xoves","venres","sábado"], - namesAbbr: ["dom","luns","mar","mér","xov","ven","sáb"], - namesShort: ["do","lu","ma","mé","xo","ve","sá"] - }, - months: { - names: ["xaneiro","febreiro","marzo","abril","maio","xuño","xullo","agosto","setembro","outubro","novembro","decembro",""], - namesAbbr: ["xan","feb","mar","abr","maio","xuñ","xull","ago","set","out","nov","dec",""] - }, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dddd, dd' de 'MMMM' de 'yyyy H:mm", - F: "dddd, dd' de 'MMMM' de 'yyyy H:mm:ss", - M: "dd MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.gl.js b/web/Scripts/globalize/cultures/globalize.culture.gl.js deleted file mode 100644 index 1d4a2b62..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.gl.js +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Globalize Culture gl - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "gl", "default", { - name: "gl", - englishName: "Galician", - nativeName: "galego", - language: "gl", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "NeuN", - negativeInfinity: "-Infinito", - positiveInfinity: "Infinito", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["domingo","luns","martes","mércores","xoves","venres","sábado"], - namesAbbr: ["dom","luns","mar","mér","xov","ven","sáb"], - namesShort: ["do","lu","ma","mé","xo","ve","sá"] - }, - months: { - names: ["xaneiro","febreiro","marzo","abril","maio","xuño","xullo","agosto","setembro","outubro","novembro","decembro",""], - namesAbbr: ["xan","feb","mar","abr","maio","xuñ","xull","ago","set","out","nov","dec",""] - }, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dddd, dd' de 'MMMM' de 'yyyy H:mm", - F: "dddd, dd' de 'MMMM' de 'yyyy H:mm:ss", - M: "dd MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.gsw-FR.js b/web/Scripts/globalize/cultures/globalize.culture.gsw-FR.js deleted file mode 100644 index 02c80855..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.gsw-FR.js +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Globalize Culture gsw-FR - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "gsw-FR", "default", { - name: "gsw-FR", - englishName: "Alsatian (France)", - nativeName: "Elsässisch (Frànkrisch)", - language: "gsw", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "Ohne Nummer", - negativeInfinity: "-Unendlich", - positiveInfinity: "+Unendlich", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["Sundàà","Mondàà","Dienschdàà","Mittwuch","Dunnerschdàà","Fridàà","Sàmschdàà"], - namesAbbr: ["Su.","Mo.","Di.","Mi.","Du.","Fr.","Sà."], - namesShort: ["Su","Mo","Di","Mi","Du","Fr","Sà"] - }, - months: { - names: ["Jänner","Feverje","März","Àpril","Mai","Jüni","Jüli","Augscht","September","Oktower","Nowember","Dezember",""], - namesAbbr: ["Jän.","Fev.","März","Apr.","Mai","Jüni","Jüli","Aug.","Sept.","Okt.","Now.","Dez.",""] - }, - AM: null, - PM: null, - eras: [{"name":"Vor J.-C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd d MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd d MMMM yyyy HH:mm", - F: "dddd d MMMM yyyy HH:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.gsw.js b/web/Scripts/globalize/cultures/globalize.culture.gsw.js deleted file mode 100644 index e6c4a325..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.gsw.js +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Globalize Culture gsw - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "gsw", "default", { - name: "gsw", - englishName: "Alsatian", - nativeName: "Elsässisch", - language: "gsw", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "Ohne Nummer", - negativeInfinity: "-Unendlich", - positiveInfinity: "+Unendlich", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["Sundàà","Mondàà","Dienschdàà","Mittwuch","Dunnerschdàà","Fridàà","Sàmschdàà"], - namesAbbr: ["Su.","Mo.","Di.","Mi.","Du.","Fr.","Sà."], - namesShort: ["Su","Mo","Di","Mi","Du","Fr","Sà"] - }, - months: { - names: ["Jänner","Feverje","März","Àpril","Mai","Jüni","Jüli","Augscht","September","Oktower","Nowember","Dezember",""], - namesAbbr: ["Jän.","Fev.","März","Apr.","Mai","Jüni","Jüli","Aug.","Sept.","Okt.","Now.","Dez.",""] - }, - AM: null, - PM: null, - eras: [{"name":"Vor J.-C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd d MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd d MMMM yyyy HH:mm", - F: "dddd d MMMM yyyy HH:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.gu-IN.js b/web/Scripts/globalize/cultures/globalize.culture.gu-IN.js deleted file mode 100644 index 2b7fa8d8..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.gu-IN.js +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Globalize Culture gu-IN - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "gu-IN", "default", { - name: "gu-IN", - englishName: "Gujarati (India)", - nativeName: "ગુજરાતી (ભારત)", - language: "gu", - numberFormat: { - groupSizes: [3,2], - percent: { - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,2], - symbol: "રૂ" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["રવિવાર","સોમવાર","મંગળવાર","બુધવાર","ગુરુવાર","શુક્રવાર","શનિવાર"], - namesAbbr: ["રવિ","સોમ","મંગળ","બુધ","ગુરુ","શુક્ર","શનિ"], - namesShort: ["ર","સ","મ","બ","ગ","શ","શ"] - }, - months: { - names: ["જાન્યુઆરી","ફેબ્રુઆરી","માર્ચ","એપ્રિલ","મે","જૂન","જુલાઈ","ઑગસ્ટ","સપ્ટેમ્બર","ઑક્ટ્બર","નવેમ્બર","ડિસેમ્બર",""], - namesAbbr: ["જાન્યુ","ફેબ્રુ","માર્ચ","એપ્રિલ","મે","જૂન","જુલાઈ","ઑગસ્ટ","સપ્ટે","ઑક્ટો","નવે","ડિસે",""] - }, - AM: ["પૂર્વ મધ્યાહ્ન","પૂર્વ મધ્યાહ્ન","પૂર્વ મધ્યાહ્ન"], - PM: ["ઉત્તર મધ્યાહ્ન","ઉત્તર મધ્યાહ્ન","ઉત્તર મધ્યાહ્ન"], - patterns: { - d: "dd-MM-yy", - D: "dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd MMMM yyyy HH:mm", - F: "dd MMMM yyyy HH:mm:ss", - M: "dd MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.gu.js b/web/Scripts/globalize/cultures/globalize.culture.gu.js deleted file mode 100644 index 42766c5d..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.gu.js +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Globalize Culture gu - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "gu", "default", { - name: "gu", - englishName: "Gujarati", - nativeName: "ગુજરાતી", - language: "gu", - numberFormat: { - groupSizes: [3,2], - percent: { - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,2], - symbol: "રૂ" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["રવિવાર","સોમવાર","મંગળવાર","બુધવાર","ગુરુવાર","શુક્રવાર","શનિવાર"], - namesAbbr: ["રવિ","સોમ","મંગળ","બુધ","ગુરુ","શુક્ર","શનિ"], - namesShort: ["ર","સ","મ","બ","ગ","શ","શ"] - }, - months: { - names: ["જાન્યુઆરી","ફેબ્રુઆરી","માર્ચ","એપ્રિલ","મે","જૂન","જુલાઈ","ઑગસ્ટ","સપ્ટેમ્બર","ઑક્ટ્બર","નવેમ્બર","ડિસેમ્બર",""], - namesAbbr: ["જાન્યુ","ફેબ્રુ","માર્ચ","એપ્રિલ","મે","જૂન","જુલાઈ","ઑગસ્ટ","સપ્ટે","ઑક્ટો","નવે","ડિસે",""] - }, - AM: ["પૂર્વ મધ્યાહ્ન","પૂર્વ મધ્યાહ્ન","પૂર્વ મધ્યાહ્ન"], - PM: ["ઉત્તર મધ્યાહ્ન","ઉત્તર મધ્યાહ્ન","ઉત્તર મધ્યાહ્ન"], - patterns: { - d: "dd-MM-yy", - D: "dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd MMMM yyyy HH:mm", - F: "dd MMMM yyyy HH:mm:ss", - M: "dd MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.ha-Latn-NG.js b/web/Scripts/globalize/cultures/globalize.culture.ha-Latn-NG.js deleted file mode 100644 index 63fb776b..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.ha-Latn-NG.js +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Globalize Culture ha-Latn-NG - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "ha-Latn-NG", "default", { - name: "ha-Latn-NG", - englishName: "Hausa (Latin, Nigeria)", - nativeName: "Hausa (Nigeria)", - language: "ha-Latn", - numberFormat: { - currency: { - pattern: ["$-n","$ n"], - symbol: "N" - } - }, - calendars: { - standard: { - days: { - names: ["Lahadi","Litinin","Talata","Laraba","Alhamis","Juma'a","Asabar"], - namesAbbr: ["Lah","Lit","Tal","Lar","Alh","Jum","Asa"], - namesShort: ["L","L","T","L","A","J","A"] - }, - months: { - names: ["Januwaru","Febreru","Maris","Afrilu","Mayu","Yuni","Yuli","Agusta","Satumba","Oktocba","Nuwamba","Disamba",""], - namesAbbr: ["Jan","Feb","Mar","Afr","May","Yun","Yul","Agu","Sat","Okt","Nuw","Dis",""] - }, - AM: ["Safe","safe","SAFE"], - PM: ["Yamma","yamma","YAMMA"], - eras: [{"name":"AD","start":null,"offset":0}], - patterns: { - d: "d/M/yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.ha-Latn.js b/web/Scripts/globalize/cultures/globalize.culture.ha-Latn.js deleted file mode 100644 index d770c50b..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.ha-Latn.js +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Globalize Culture ha-Latn - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "ha-Latn", "default", { - name: "ha-Latn", - englishName: "Hausa (Latin)", - nativeName: "Hausa", - language: "ha-Latn", - numberFormat: { - currency: { - pattern: ["$-n","$ n"], - symbol: "N" - } - }, - calendars: { - standard: { - days: { - names: ["Lahadi","Litinin","Talata","Laraba","Alhamis","Juma'a","Asabar"], - namesAbbr: ["Lah","Lit","Tal","Lar","Alh","Jum","Asa"], - namesShort: ["L","L","T","L","A","J","A"] - }, - months: { - names: ["Januwaru","Febreru","Maris","Afrilu","Mayu","Yuni","Yuli","Agusta","Satumba","Oktocba","Nuwamba","Disamba",""], - namesAbbr: ["Jan","Feb","Mar","Afr","May","Yun","Yul","Agu","Sat","Okt","Nuw","Dis",""] - }, - AM: ["Safe","safe","SAFE"], - PM: ["Yamma","yamma","YAMMA"], - eras: [{"name":"AD","start":null,"offset":0}], - patterns: { - d: "d/M/yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.ha.js b/web/Scripts/globalize/cultures/globalize.culture.ha.js deleted file mode 100644 index 96b726fd..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.ha.js +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Globalize Culture ha - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "ha", "default", { - name: "ha", - englishName: "Hausa", - nativeName: "Hausa", - language: "ha", - numberFormat: { - currency: { - pattern: ["$-n","$ n"], - symbol: "N" - } - }, - calendars: { - standard: { - days: { - names: ["Lahadi","Litinin","Talata","Laraba","Alhamis","Juma'a","Asabar"], - namesAbbr: ["Lah","Lit","Tal","Lar","Alh","Jum","Asa"], - namesShort: ["L","L","T","L","A","J","A"] - }, - months: { - names: ["Januwaru","Febreru","Maris","Afrilu","Mayu","Yuni","Yuli","Agusta","Satumba","Oktocba","Nuwamba","Disamba",""], - namesAbbr: ["Jan","Feb","Mar","Afr","May","Yun","Yul","Agu","Sat","Okt","Nuw","Dis",""] - }, - AM: ["Safe","safe","SAFE"], - PM: ["Yamma","yamma","YAMMA"], - eras: [{"name":"AD","start":null,"offset":0}], - patterns: { - d: "d/M/yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.he-IL.js b/web/Scripts/globalize/cultures/globalize.culture.he-IL.js deleted file mode 100644 index 8cace109..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.he-IL.js +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Globalize Culture he-IL - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "he-IL", "default", { - name: "he-IL", - englishName: "Hebrew (Israel)", - nativeName: "עברית (ישראל)", - language: "he", - isRTL: true, - numberFormat: { - "NaN": "לא מספר", - negativeInfinity: "אינסוף שלילי", - positiveInfinity: "אינסוף חיובי", - percent: { - pattern: ["-n%","n%"] - }, - currency: { - pattern: ["$-n","$ n"], - symbol: "₪" - } - }, - calendars: { - standard: { - days: { - names: ["יום ראשון","יום שני","יום שלישי","יום רביעי","יום חמישי","יום שישי","שבת"], - namesAbbr: ["יום א","יום ב","יום ג","יום ד","יום ה","יום ו","שבת"], - namesShort: ["א","ב","ג","ד","ה","ו","ש"] - }, - months: { - names: ["ינואר","פברואר","מרץ","אפריל","מאי","יוני","יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר",""], - namesAbbr: ["ינו","פבר","מרץ","אפר","מאי","יונ","יול","אוג","ספט","אוק","נוב","דצמ",""] - }, - eras: [{"name":"לספירה","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd dd MMMM yyyy HH:mm", - F: "dddd dd MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - }, - Hebrew: { - name: "Hebrew", - "/": " ", - days: { - names: ["יום ראשון","יום שני","יום שלישי","יום רביעי","יום חמישי","יום שישי","שבת"], - namesAbbr: ["א","ב","ג","ד","ה","ו","ש"], - namesShort: ["א","ב","ג","ד","ה","ו","ש"] - }, - months: { - names: ["תשרי","חשון","כסלו","טבת","שבט","אדר","אדר ב","ניסן","אייר","סיון","תמוז","אב","אלול"], - namesAbbr: ["תשרי","חשון","כסלו","טבת","שבט","אדר","אדר ב","ניסן","אייר","סיון","תמוז","אב","אלול"] - }, - eras: [{"name":"C.E.","start":null,"offset":0}], - twoDigitYearMax: 5790, - patterns: { - d: "dd MMMM yyyy", - D: "dddd dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd dd MMMM yyyy HH:mm", - F: "dddd dd MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.he.js b/web/Scripts/globalize/cultures/globalize.culture.he.js deleted file mode 100644 index 03f7ea4b..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.he.js +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Globalize Culture he - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "he", "default", { - name: "he", - englishName: "Hebrew", - nativeName: "עברית", - language: "he", - isRTL: true, - numberFormat: { - "NaN": "לא מספר", - negativeInfinity: "אינסוף שלילי", - positiveInfinity: "אינסוף חיובי", - percent: { - pattern: ["-n%","n%"] - }, - currency: { - pattern: ["$-n","$ n"], - symbol: "₪" - } - }, - calendars: { - standard: { - days: { - names: ["יום ראשון","יום שני","יום שלישי","יום רביעי","יום חמישי","יום שישי","שבת"], - namesAbbr: ["יום א","יום ב","יום ג","יום ד","יום ה","יום ו","שבת"], - namesShort: ["א","ב","ג","ד","ה","ו","ש"] - }, - months: { - names: ["ינואר","פברואר","מרץ","אפריל","מאי","יוני","יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר",""], - namesAbbr: ["ינו","פבר","מרץ","אפר","מאי","יונ","יול","אוג","ספט","אוק","נוב","דצמ",""] - }, - eras: [{"name":"לספירה","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd dd MMMM yyyy HH:mm", - F: "dddd dd MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - }, - Hebrew: { - name: "Hebrew", - "/": " ", - days: { - names: ["יום ראשון","יום שני","יום שלישי","יום רביעי","יום חמישי","יום שישי","שבת"], - namesAbbr: ["א","ב","ג","ד","ה","ו","ש"], - namesShort: ["א","ב","ג","ד","ה","ו","ש"] - }, - months: { - names: ["תשרי","חשון","כסלו","טבת","שבט","אדר","אדר ב","ניסן","אייר","סיון","תמוז","אב","אלול"], - namesAbbr: ["תשרי","חשון","כסלו","טבת","שבט","אדר","אדר ב","ניסן","אייר","סיון","תמוז","אב","אלול"] - }, - eras: [{"name":"C.E.","start":null,"offset":0}], - twoDigitYearMax: 5790, - patterns: { - d: "dd MMMM yyyy", - D: "dddd dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd dd MMMM yyyy HH:mm", - F: "dddd dd MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.hi-IN.js b/web/Scripts/globalize/cultures/globalize.culture.hi-IN.js deleted file mode 100644 index d7989e50..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.hi-IN.js +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Globalize Culture hi-IN - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "hi-IN", "default", { - name: "hi-IN", - englishName: "Hindi (India)", - nativeName: "हिंदी (भारत)", - language: "hi", - numberFormat: { - groupSizes: [3,2], - percent: { - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,2], - symbol: "रु" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["रविवार","सोमवार","मंगलवार","बुधवार","गुरुवार","शुक्रवार","शनिवार"], - namesAbbr: ["रवि.","सोम.","मंगल.","बुध.","गुरु.","शुक्र.","शनि."], - namesShort: ["र","स","म","ब","ग","श","श"] - }, - months: { - names: ["जनवरी","फरवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्तूबर","नवम्बर","दिसम्बर",""], - namesAbbr: ["जनवरी","फरवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्तूबर","नवम्बर","दिसम्बर",""] - }, - AM: ["पूर्वाह्न","पूर्वाह्न","पूर्वाह्न"], - PM: ["अपराह्न","अपराह्न","अपराह्न"], - patterns: { - d: "dd-MM-yyyy", - D: "dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd MMMM yyyy HH:mm", - F: "dd MMMM yyyy HH:mm:ss", - M: "dd MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.hi.js b/web/Scripts/globalize/cultures/globalize.culture.hi.js deleted file mode 100644 index 4343d3a6..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.hi.js +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Globalize Culture hi - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "hi", "default", { - name: "hi", - englishName: "Hindi", - nativeName: "हिंदी", - language: "hi", - numberFormat: { - groupSizes: [3,2], - percent: { - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,2], - symbol: "रु" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["रविवार","सोमवार","मंगलवार","बुधवार","गुरुवार","शुक्रवार","शनिवार"], - namesAbbr: ["रवि.","सोम.","मंगल.","बुध.","गुरु.","शुक्र.","शनि."], - namesShort: ["र","स","म","ब","ग","श","श"] - }, - months: { - names: ["जनवरी","फरवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्तूबर","नवम्बर","दिसम्बर",""], - namesAbbr: ["जनवरी","फरवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्तूबर","नवम्बर","दिसम्बर",""] - }, - AM: ["पूर्वाह्न","पूर्वाह्न","पूर्वाह्न"], - PM: ["अपराह्न","अपराह्न","अपराह्न"], - patterns: { - d: "dd-MM-yyyy", - D: "dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd MMMM yyyy HH:mm", - F: "dd MMMM yyyy HH:mm:ss", - M: "dd MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.hr-BA.js b/web/Scripts/globalize/cultures/globalize.culture.hr-BA.js deleted file mode 100644 index 3e5e0641..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.hr-BA.js +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Globalize Culture hr-BA - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "hr-BA", "default", { - name: "hr-BA", - englishName: "Croatian (Latin, Bosnia and Herzegovina)", - nativeName: "hrvatski (Bosna i Hercegovina)", - language: "hr", - numberFormat: { - pattern: ["- n"], - ",": ".", - ".": ",", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "KM" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["nedjelja","ponedjeljak","utorak","srijeda","četvrtak","petak","subota"], - namesAbbr: ["ned","pon","uto","sri","čet","pet","sub"], - namesShort: ["ne","po","ut","sr","če","pe","su"] - }, - months: { - names: ["siječanj","veljača","ožujak","travanj","svibanj","lipanj","srpanj","kolovoz","rujan","listopad","studeni","prosinac",""], - namesAbbr: ["sij","vlj","ožu","tra","svi","lip","srp","kol","ruj","lis","stu","pro",""] - }, - monthsGenitive: { - names: ["siječnja","veljače","ožujka","travnja","svibnja","lipnja","srpnja","kolovoza","rujna","listopada","studenog","prosinca",""], - namesAbbr: ["sij","vlj","ožu","tra","svi","lip","srp","kol","ruj","lis","stu","pro",""] - }, - AM: null, - PM: null, - patterns: { - d: "d.M.yyyy.", - D: "d. MMMM yyyy.", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM yyyy. H:mm", - F: "d. MMMM yyyy. H:mm:ss", - M: "d. MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.hr-HR.js b/web/Scripts/globalize/cultures/globalize.culture.hr-HR.js deleted file mode 100644 index 71a796e1..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.hr-HR.js +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Globalize Culture hr-HR - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "hr-HR", "default", { - name: "hr-HR", - englishName: "Croatian (Croatia)", - nativeName: "hrvatski (Hrvatska)", - language: "hr", - numberFormat: { - pattern: ["- n"], - ",": ".", - ".": ",", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "kn" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["nedjelja","ponedjeljak","utorak","srijeda","četvrtak","petak","subota"], - namesAbbr: ["ned","pon","uto","sri","čet","pet","sub"], - namesShort: ["ne","po","ut","sr","če","pe","su"] - }, - months: { - names: ["siječanj","veljača","ožujak","travanj","svibanj","lipanj","srpanj","kolovoz","rujan","listopad","studeni","prosinac",""], - namesAbbr: ["sij","vlj","ožu","tra","svi","lip","srp","kol","ruj","lis","stu","pro",""] - }, - monthsGenitive: { - names: ["siječnja","veljače","ožujka","travnja","svibnja","lipnja","srpnja","kolovoza","rujna","listopada","studenog","prosinca",""], - namesAbbr: ["sij","vlj","ožu","tra","svi","lip","srp","kol","ruj","lis","stu","pro",""] - }, - AM: null, - PM: null, - patterns: { - d: "d.M.yyyy.", - D: "d. MMMM yyyy.", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM yyyy. H:mm", - F: "d. MMMM yyyy. H:mm:ss", - M: "d. MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.hr.js b/web/Scripts/globalize/cultures/globalize.culture.hr.js deleted file mode 100644 index 6c597a8a..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.hr.js +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Globalize Culture hr - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "hr", "default", { - name: "hr", - englishName: "Croatian", - nativeName: "hrvatski", - language: "hr", - numberFormat: { - pattern: ["- n"], - ",": ".", - ".": ",", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "kn" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["nedjelja","ponedjeljak","utorak","srijeda","četvrtak","petak","subota"], - namesAbbr: ["ned","pon","uto","sri","čet","pet","sub"], - namesShort: ["ne","po","ut","sr","če","pe","su"] - }, - months: { - names: ["siječanj","veljača","ožujak","travanj","svibanj","lipanj","srpanj","kolovoz","rujan","listopad","studeni","prosinac",""], - namesAbbr: ["sij","vlj","ožu","tra","svi","lip","srp","kol","ruj","lis","stu","pro",""] - }, - monthsGenitive: { - names: ["siječnja","veljače","ožujka","travnja","svibnja","lipnja","srpnja","kolovoza","rujna","listopada","studenog","prosinca",""], - namesAbbr: ["sij","vlj","ožu","tra","svi","lip","srp","kol","ruj","lis","stu","pro",""] - }, - AM: null, - PM: null, - patterns: { - d: "d.M.yyyy.", - D: "d. MMMM yyyy.", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM yyyy. H:mm", - F: "d. MMMM yyyy. H:mm:ss", - M: "d. MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.hsb-DE.js b/web/Scripts/globalize/cultures/globalize.culture.hsb-DE.js deleted file mode 100644 index e30a4dac..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.hsb-DE.js +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Globalize Culture hsb-DE - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "hsb-DE", "default", { - name: "hsb-DE", - englishName: "Upper Sorbian (Germany)", - nativeName: "hornjoserbšćina (Němska)", - language: "hsb", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "njedefinowane", - negativeInfinity: "-njekónčne", - positiveInfinity: "+njekónčne", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - "/": ". ", - firstDay: 1, - days: { - names: ["njedźela","póndźela","wutora","srjeda","štwórtk","pjatk","sobota"], - namesAbbr: ["nje","pón","wut","srj","štw","pja","sob"], - namesShort: ["n","p","w","s","š","p","s"] - }, - months: { - names: ["januar","februar","měrc","apryl","meja","junij","julij","awgust","september","oktober","nowember","december",""], - namesAbbr: ["jan","feb","měr","apr","mej","jun","jul","awg","sep","okt","now","dec",""] - }, - monthsGenitive: { - names: ["januara","februara","měrca","apryla","meje","junija","julija","awgusta","septembra","oktobra","nowembra","decembra",""], - namesAbbr: ["jan","feb","měr","apr","mej","jun","jul","awg","sep","okt","now","dec",""] - }, - AM: null, - PM: null, - eras: [{"name":"po Chr.","start":null,"offset":0}], - patterns: { - d: "d. M. yyyy", - D: "dddd, 'dnja' d. MMMM yyyy", - t: "H.mm 'hodź.'", - T: "H:mm:ss", - f: "dddd, 'dnja' d. MMMM yyyy H.mm 'hodź.'", - F: "dddd, 'dnja' d. MMMM yyyy H:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.hsb.js b/web/Scripts/globalize/cultures/globalize.culture.hsb.js deleted file mode 100644 index 57a6b061..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.hsb.js +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Globalize Culture hsb - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "hsb", "default", { - name: "hsb", - englishName: "Upper Sorbian", - nativeName: "hornjoserbšćina", - language: "hsb", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "njedefinowane", - negativeInfinity: "-njekónčne", - positiveInfinity: "+njekónčne", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - "/": ". ", - firstDay: 1, - days: { - names: ["njedźela","póndźela","wutora","srjeda","štwórtk","pjatk","sobota"], - namesAbbr: ["nje","pón","wut","srj","štw","pja","sob"], - namesShort: ["n","p","w","s","š","p","s"] - }, - months: { - names: ["januar","februar","měrc","apryl","meja","junij","julij","awgust","september","oktober","nowember","december",""], - namesAbbr: ["jan","feb","měr","apr","mej","jun","jul","awg","sep","okt","now","dec",""] - }, - monthsGenitive: { - names: ["januara","februara","měrca","apryla","meje","junija","julija","awgusta","septembra","oktobra","nowembra","decembra",""], - namesAbbr: ["jan","feb","měr","apr","mej","jun","jul","awg","sep","okt","now","dec",""] - }, - AM: null, - PM: null, - eras: [{"name":"po Chr.","start":null,"offset":0}], - patterns: { - d: "d. M. yyyy", - D: "dddd, 'dnja' d. MMMM yyyy", - t: "H.mm 'hodź.'", - T: "H:mm:ss", - f: "dddd, 'dnja' d. MMMM yyyy H.mm 'hodź.'", - F: "dddd, 'dnja' d. MMMM yyyy H:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.hu-HU.js b/web/Scripts/globalize/cultures/globalize.culture.hu-HU.js deleted file mode 100644 index 01563288..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.hu-HU.js +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Globalize Culture hu-HU - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "hu-HU", "default", { - name: "hu-HU", - englishName: "Hungarian (Hungary)", - nativeName: "magyar (Magyarország)", - language: "hu", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "nem szám", - negativeInfinity: "negatív végtelen", - positiveInfinity: "végtelen", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "Ft" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["vasárnap","hétfő","kedd","szerda","csütörtök","péntek","szombat"], - namesAbbr: ["V","H","K","Sze","Cs","P","Szo"], - namesShort: ["V","H","K","Sze","Cs","P","Szo"] - }, - months: { - names: ["január","február","március","április","május","június","július","augusztus","szeptember","október","november","december",""], - namesAbbr: ["jan.","febr.","márc.","ápr.","máj.","jún.","júl.","aug.","szept.","okt.","nov.","dec.",""] - }, - AM: ["de.","de.","DE."], - PM: ["du.","du.","DU."], - eras: [{"name":"i.sz.","start":null,"offset":0}], - patterns: { - d: "yyyy.MM.dd.", - D: "yyyy. MMMM d.", - t: "H:mm", - T: "H:mm:ss", - f: "yyyy. MMMM d. H:mm", - F: "yyyy. MMMM d. H:mm:ss", - M: "MMMM d.", - Y: "yyyy. MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.hu.js b/web/Scripts/globalize/cultures/globalize.culture.hu.js deleted file mode 100644 index a4ae56f3..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.hu.js +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Globalize Culture hu - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "hu", "default", { - name: "hu", - englishName: "Hungarian", - nativeName: "magyar", - language: "hu", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "nem szám", - negativeInfinity: "negatív végtelen", - positiveInfinity: "végtelen", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "Ft" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["vasárnap","hétfő","kedd","szerda","csütörtök","péntek","szombat"], - namesAbbr: ["V","H","K","Sze","Cs","P","Szo"], - namesShort: ["V","H","K","Sze","Cs","P","Szo"] - }, - months: { - names: ["január","február","március","április","május","június","július","augusztus","szeptember","október","november","december",""], - namesAbbr: ["jan.","febr.","márc.","ápr.","máj.","jún.","júl.","aug.","szept.","okt.","nov.","dec.",""] - }, - AM: ["de.","de.","DE."], - PM: ["du.","du.","DU."], - eras: [{"name":"i.sz.","start":null,"offset":0}], - patterns: { - d: "yyyy.MM.dd.", - D: "yyyy. MMMM d.", - t: "H:mm", - T: "H:mm:ss", - f: "yyyy. MMMM d. H:mm", - F: "yyyy. MMMM d. H:mm:ss", - M: "MMMM d.", - Y: "yyyy. MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.hy-AM.js b/web/Scripts/globalize/cultures/globalize.culture.hy-AM.js deleted file mode 100644 index 9fa83be9..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.hy-AM.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Globalize Culture hy-AM - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "hy-AM", "default", { - name: "hy-AM", - englishName: "Armenian (Armenia)", - nativeName: "Հայերեն (Հայաստան)", - language: "hy", - numberFormat: { - currency: { - pattern: ["-n $","n $"], - symbol: "դր." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Կիրակի","Երկուշաբթի","Երեքշաբթի","Չորեքշաբթի","Հինգշաբթի","ՈՒրբաթ","Շաբաթ"], - namesAbbr: ["Կիր","Երկ","Երք","Չրք","Հնգ","ՈՒր","Շբթ"], - namesShort: ["Կ","Ե","Ե","Չ","Հ","Ո","Շ"] - }, - months: { - names: ["Հունվար","Փետրվար","Մարտ","Ապրիլ","Մայիս","Հունիս","Հուլիս","Օգոստոս","Սեպտեմբեր","Հոկտեմբեր","Նոյեմբեր","Դեկտեմբեր",""], - namesAbbr: ["ՀՆՎ","ՓՏՎ","ՄՐՏ","ԱՊՐ","ՄՅՍ","ՀՆՍ","ՀԼՍ","ՕԳՍ","ՍԵՊ","ՀՈԿ","ՆՈՅ","ԴԵԿ",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "d MMMM, yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d MMMM, yyyy H:mm", - F: "d MMMM, yyyy H:mm:ss", - M: "d MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.hy.js b/web/Scripts/globalize/cultures/globalize.culture.hy.js deleted file mode 100644 index 3e787868..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.hy.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Globalize Culture hy - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "hy", "default", { - name: "hy", - englishName: "Armenian", - nativeName: "Հայերեն", - language: "hy", - numberFormat: { - currency: { - pattern: ["-n $","n $"], - symbol: "դր." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Կիրակի","Երկուշաբթի","Երեքշաբթի","Չորեքշաբթի","Հինգշաբթի","ՈՒրբաթ","Շաբաթ"], - namesAbbr: ["Կիր","Երկ","Երք","Չրք","Հնգ","ՈՒր","Շբթ"], - namesShort: ["Կ","Ե","Ե","Չ","Հ","Ո","Շ"] - }, - months: { - names: ["Հունվար","Փետրվար","Մարտ","Ապրիլ","Մայիս","Հունիս","Հուլիս","Օգոստոս","Սեպտեմբեր","Հոկտեմբեր","Նոյեմբեր","Դեկտեմբեր",""], - namesAbbr: ["ՀՆՎ","ՓՏՎ","ՄՐՏ","ԱՊՐ","ՄՅՍ","ՀՆՍ","ՀԼՍ","ՕԳՍ","ՍԵՊ","ՀՈԿ","ՆՈՅ","ԴԵԿ",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "d MMMM, yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d MMMM, yyyy H:mm", - F: "d MMMM, yyyy H:mm:ss", - M: "d MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.id-ID.js b/web/Scripts/globalize/cultures/globalize.culture.id-ID.js deleted file mode 100644 index 283badcc..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.id-ID.js +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Globalize Culture id-ID - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "id-ID", "default", { - name: "id-ID", - englishName: "Indonesian (Indonesia)", - nativeName: "Bahasa Indonesia (Indonesia)", - language: "id", - numberFormat: { - ",": ".", - ".": ",", - percent: { - ",": ".", - ".": "," - }, - currency: { - decimals: 0, - ",": ".", - ".": ",", - symbol: "Rp" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"], - namesAbbr: ["Minggu","Sen","Sel","Rabu","Kamis","Jumat","Sabtu"], - namesShort: ["M","S","S","R","K","J","S"] - }, - months: { - names: ["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","Nopember","Desember",""], - namesAbbr: ["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Agust","Sep","Okt","Nop","Des",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dd MMMM yyyy H:mm", - F: "dd MMMM yyyy H:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.id.js b/web/Scripts/globalize/cultures/globalize.culture.id.js deleted file mode 100644 index 9027e383..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.id.js +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Globalize Culture id - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "id", "default", { - name: "id", - englishName: "Indonesian", - nativeName: "Bahasa Indonesia", - language: "id", - numberFormat: { - ",": ".", - ".": ",", - percent: { - ",": ".", - ".": "," - }, - currency: { - decimals: 0, - ",": ".", - ".": ",", - symbol: "Rp" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"], - namesAbbr: ["Minggu","Sen","Sel","Rabu","Kamis","Jumat","Sabtu"], - namesShort: ["M","S","S","R","K","J","S"] - }, - months: { - names: ["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","Nopember","Desember",""], - namesAbbr: ["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Agust","Sep","Okt","Nop","Des",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dd MMMM yyyy H:mm", - F: "dd MMMM yyyy H:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.ig-NG.js b/web/Scripts/globalize/cultures/globalize.culture.ig-NG.js deleted file mode 100644 index 04ad7a3c..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.ig-NG.js +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Globalize Culture ig-NG - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "ig-NG", "default", { - name: "ig-NG", - englishName: "Igbo (Nigeria)", - nativeName: "Igbo (Nigeria)", - language: "ig", - numberFormat: { - currency: { - pattern: ["$-n","$ n"], - symbol: "N" - } - }, - calendars: { - standard: { - days: { - names: ["Aiku","Aje","Isegun","Ojo'ru","Ojo'bo","Eti","Abameta"], - namesAbbr: ["Aik","Aje","Ise","Ojo","Ojo","Eti","Aba"], - namesShort: ["A","A","I","O","O","E","A"] - }, - months: { - names: ["Onwa mbu","Onwa ibua","Onwa ato","Onwa ano","Onwa ise","Onwa isi","Onwa asa","Onwa asato","Onwa itolu","Onwa iri","Onwa iri n'ofu","Onwa iri n'ibua",""], - namesAbbr: ["mbu.","ibu.","ato.","ano.","ise","isi","asa","asa.","ito.","iri.","n'of.","n'ib.",""] - }, - AM: ["Ututu","ututu","UTUTU"], - PM: ["Efifie","efifie","EFIFIE"], - eras: [{"name":"AD","start":null,"offset":0}], - patterns: { - d: "d/M/yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.ig.js b/web/Scripts/globalize/cultures/globalize.culture.ig.js deleted file mode 100644 index 96219bae..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.ig.js +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Globalize Culture ig - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "ig", "default", { - name: "ig", - englishName: "Igbo", - nativeName: "Igbo", - language: "ig", - numberFormat: { - currency: { - pattern: ["$-n","$ n"], - symbol: "N" - } - }, - calendars: { - standard: { - days: { - names: ["Aiku","Aje","Isegun","Ojo'ru","Ojo'bo","Eti","Abameta"], - namesAbbr: ["Aik","Aje","Ise","Ojo","Ojo","Eti","Aba"], - namesShort: ["A","A","I","O","O","E","A"] - }, - months: { - names: ["Onwa mbu","Onwa ibua","Onwa ato","Onwa ano","Onwa ise","Onwa isi","Onwa asa","Onwa asato","Onwa itolu","Onwa iri","Onwa iri n'ofu","Onwa iri n'ibua",""], - namesAbbr: ["mbu.","ibu.","ato.","ano.","ise","isi","asa","asa.","ito.","iri.","n'of.","n'ib.",""] - }, - AM: ["Ututu","ututu","UTUTU"], - PM: ["Efifie","efifie","EFIFIE"], - eras: [{"name":"AD","start":null,"offset":0}], - patterns: { - d: "d/M/yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.ii-CN.js b/web/Scripts/globalize/cultures/globalize.culture.ii-CN.js deleted file mode 100644 index 14906bfb..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.ii-CN.js +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Globalize Culture ii-CN - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "ii-CN", "default", { - name: "ii-CN", - englishName: "Yi (PRC)", - nativeName: "ꆈꌠꁱꂷ (ꍏꉸꏓꂱꇭꉼꇩ)", - language: "ii", - numberFormat: { - groupSizes: [3,0], - "NaN": "ꌗꂷꀋꉬ", - negativeInfinity: "ꀄꊭꌐꀋꉆ", - positiveInfinity: "ꈤꇁꑖꀋꉬ", - percent: { - pattern: ["-n%","n%"], - groupSizes: [3,0] - }, - currency: { - pattern: ["$-n","$n"], - symbol: "¥" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["ꑭꆏꑍ","ꆏꊂ꒔","ꆏꊂꑍ","ꆏꊂꌕ","ꆏꊂꇖ","ꆏꊂꉬ","ꆏꊂꃘ"], - namesAbbr: ["ꑭꆏ","ꆏ꒔","ꆏꑍ","ꆏꌕ","ꆏꇖ","ꆏꉬ","ꆏꃘ"], - namesShort: ["ꆏ","꒔","ꑍ","ꌕ","ꇖ","ꉬ","ꃘ"] - }, - months: { - names: ["ꋍꆪ","ꑍꆪ","ꌕꆪ","ꇖꆪ","ꉬꆪ","ꃘꆪ","ꏃꆪ","ꉆꆪ","ꈬꆪ","ꊰꆪ","ꊯꊪꆪ","ꊰꑋꆪ",""], - namesAbbr: ["ꋍꆪ","ꑍꆪ","ꌕꆪ","ꇖꆪ","ꉬꆪ","ꃘꆪ","ꏃꆪ","ꉆꆪ","ꈬꆪ","ꊰꆪ","ꊯꊪꆪ","ꊰꑋꆪ",""] - }, - AM: ["ꂵꆪꈌꈐ","ꂵꆪꈌꈐ","ꂵꆪꈌꈐ"], - PM: ["ꂵꆪꈌꉈ","ꂵꆪꈌꉈ","ꂵꆪꈌꉈ"], - eras: [{"name":"ꇬꑼ","start":null,"offset":0}], - patterns: { - d: "yyyy/M/d", - D: "yyyy'ꈎ' M'ꆪ' d'ꑍ'", - t: "tt h:mm", - T: "H:mm:ss", - f: "yyyy'ꈎ' M'ꆪ' d'ꑍ' tt h:mm", - F: "yyyy'ꈎ' M'ꆪ' d'ꑍ' H:mm:ss", - M: "M'ꆪ' d'ꑍ'", - Y: "yyyy'ꈎ' M'ꆪ'" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.ii.js b/web/Scripts/globalize/cultures/globalize.culture.ii.js deleted file mode 100644 index 53d078ac..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.ii.js +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Globalize Culture ii - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "ii", "default", { - name: "ii", - englishName: "Yi", - nativeName: "ꆈꌠꁱꂷ", - language: "ii", - numberFormat: { - groupSizes: [3,0], - "NaN": "ꌗꂷꀋꉬ", - negativeInfinity: "ꀄꊭꌐꀋꉆ", - positiveInfinity: "ꈤꇁꑖꀋꉬ", - percent: { - pattern: ["-n%","n%"], - groupSizes: [3,0] - }, - currency: { - pattern: ["$-n","$n"], - symbol: "¥" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["ꑭꆏꑍ","ꆏꊂ꒔","ꆏꊂꑍ","ꆏꊂꌕ","ꆏꊂꇖ","ꆏꊂꉬ","ꆏꊂꃘ"], - namesAbbr: ["ꑭꆏ","ꆏ꒔","ꆏꑍ","ꆏꌕ","ꆏꇖ","ꆏꉬ","ꆏꃘ"], - namesShort: ["ꆏ","꒔","ꑍ","ꌕ","ꇖ","ꉬ","ꃘ"] - }, - months: { - names: ["ꋍꆪ","ꑍꆪ","ꌕꆪ","ꇖꆪ","ꉬꆪ","ꃘꆪ","ꏃꆪ","ꉆꆪ","ꈬꆪ","ꊰꆪ","ꊯꊪꆪ","ꊰꑋꆪ",""], - namesAbbr: ["ꋍꆪ","ꑍꆪ","ꌕꆪ","ꇖꆪ","ꉬꆪ","ꃘꆪ","ꏃꆪ","ꉆꆪ","ꈬꆪ","ꊰꆪ","ꊯꊪꆪ","ꊰꑋꆪ",""] - }, - AM: ["ꂵꆪꈌꈐ","ꂵꆪꈌꈐ","ꂵꆪꈌꈐ"], - PM: ["ꂵꆪꈌꉈ","ꂵꆪꈌꉈ","ꂵꆪꈌꉈ"], - eras: [{"name":"ꇬꑼ","start":null,"offset":0}], - patterns: { - d: "yyyy/M/d", - D: "yyyy'ꈎ' M'ꆪ' d'ꑍ'", - t: "tt h:mm", - T: "H:mm:ss", - f: "yyyy'ꈎ' M'ꆪ' d'ꑍ' tt h:mm", - F: "yyyy'ꈎ' M'ꆪ' d'ꑍ' H:mm:ss", - M: "M'ꆪ' d'ꑍ'", - Y: "yyyy'ꈎ' M'ꆪ'" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.is-IS.js b/web/Scripts/globalize/cultures/globalize.culture.is-IS.js deleted file mode 100644 index 795f0f93..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.is-IS.js +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Globalize Culture is-IS - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "is-IS", "default", { - name: "is-IS", - englishName: "Icelandic (Iceland)", - nativeName: "íslenska (Ísland)", - language: "is", - numberFormat: { - ",": ".", - ".": ",", - negativeInfinity: "-INF", - positiveInfinity: "INF", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - decimals: 0, - ",": ".", - ".": ",", - symbol: "kr." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["sunnudagur","mánudagur","þriðjudagur","miðvikudagur","fimmtudagur","föstudagur","laugardagur"], - namesAbbr: ["sun.","mán.","þri.","mið.","fim.","fös.","lau."], - namesShort: ["su","má","þr","mi","fi","fö","la"] - }, - months: { - names: ["janúar","febrúar","mars","apríl","maí","júní","júlí","ágúst","september","október","nóvember","desember",""], - namesAbbr: ["jan.","feb.","mar.","apr.","maí","jún.","júl.","ágú.","sep.","okt.","nóv.","des.",""] - }, - AM: null, - PM: null, - patterns: { - d: "d.M.yyyy", - D: "d. MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "d. MMMM yyyy HH:mm", - F: "d. MMMM yyyy HH:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.is.js b/web/Scripts/globalize/cultures/globalize.culture.is.js deleted file mode 100644 index f2746928..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.is.js +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Globalize Culture is - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "is", "default", { - name: "is", - englishName: "Icelandic", - nativeName: "íslenska", - language: "is", - numberFormat: { - ",": ".", - ".": ",", - negativeInfinity: "-INF", - positiveInfinity: "INF", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - decimals: 0, - ",": ".", - ".": ",", - symbol: "kr." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["sunnudagur","mánudagur","þriðjudagur","miðvikudagur","fimmtudagur","föstudagur","laugardagur"], - namesAbbr: ["sun.","mán.","þri.","mið.","fim.","fös.","lau."], - namesShort: ["su","má","þr","mi","fi","fö","la"] - }, - months: { - names: ["janúar","febrúar","mars","apríl","maí","júní","júlí","ágúst","september","október","nóvember","desember",""], - namesAbbr: ["jan.","feb.","mar.","apr.","maí","jún.","júl.","ágú.","sep.","okt.","nóv.","des.",""] - }, - AM: null, - PM: null, - patterns: { - d: "d.M.yyyy", - D: "d. MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "d. MMMM yyyy HH:mm", - F: "d. MMMM yyyy HH:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.it-CH.js b/web/Scripts/globalize/cultures/globalize.culture.it-CH.js deleted file mode 100644 index d91a2a56..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.it-CH.js +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Globalize Culture it-CH - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "it-CH", "default", { - name: "it-CH", - englishName: "Italian (Switzerland)", - nativeName: "italiano (Svizzera)", - language: "it", - numberFormat: { - ",": "'", - "NaN": "Non un numero reale", - negativeInfinity: "-Infinito", - positiveInfinity: "+Infinito", - percent: { - pattern: ["-n%","n%"], - ",": "'" - }, - currency: { - pattern: ["$-n","$ n"], - ",": "'", - symbol: "fr." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"], - namesAbbr: ["dom","lun","mar","mer","gio","ven","sab"], - namesShort: ["do","lu","ma","me","gi","ve","sa"] - }, - months: { - names: ["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre",""], - namesAbbr: ["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic",""] - }, - AM: null, - PM: null, - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd.MM.yyyy", - D: "dddd, d. MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd, d. MMMM yyyy HH:mm", - F: "dddd, d. MMMM yyyy HH:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.it-IT.js b/web/Scripts/globalize/cultures/globalize.culture.it-IT.js deleted file mode 100644 index df4fbd87..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.it-IT.js +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Globalize Culture it-IT - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "it-IT", "default", { - name: "it-IT", - englishName: "Italian (Italy)", - nativeName: "italiano (Italia)", - language: "it", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "Non un numero reale", - negativeInfinity: "-Infinito", - positiveInfinity: "+Infinito", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-$ n","$ n"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"], - namesAbbr: ["dom","lun","mar","mer","gio","ven","sab"], - namesShort: ["do","lu","ma","me","gi","ve","sa"] - }, - months: { - names: ["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre",""], - namesAbbr: ["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic",""] - }, - AM: null, - PM: null, - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd d MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd d MMMM yyyy HH:mm", - F: "dddd d MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.it.js b/web/Scripts/globalize/cultures/globalize.culture.it.js deleted file mode 100644 index de88495d..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.it.js +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Globalize Culture it - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "it", "default", { - name: "it", - englishName: "Italian", - nativeName: "italiano", - language: "it", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "Non un numero reale", - negativeInfinity: "-Infinito", - positiveInfinity: "+Infinito", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-$ n","$ n"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"], - namesAbbr: ["dom","lun","mar","mer","gio","ven","sab"], - namesShort: ["do","lu","ma","me","gi","ve","sa"] - }, - months: { - names: ["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre",""], - namesAbbr: ["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic",""] - }, - AM: null, - PM: null, - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd d MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd d MMMM yyyy HH:mm", - F: "dddd d MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.iu-Cans-CA.js b/web/Scripts/globalize/cultures/globalize.culture.iu-Cans-CA.js deleted file mode 100644 index ac00a689..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.iu-Cans-CA.js +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Globalize Culture iu-Cans-CA - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "iu-Cans-CA", "default", { - name: "iu-Cans-CA", - englishName: "Inuktitut (Syllabics, Canada)", - nativeName: "ᐃᓄᒃᑎᑐᑦ (ᑲᓇᑕᒥ)", - language: "iu-Cans", - numberFormat: { - groupSizes: [3,0], - percent: { - pattern: ["-n%","n%"], - groupSizes: [3,0] - }, - currency: { - groupSizes: [3,0] - } - }, - calendars: { - standard: { - days: { - names: ["ᓈᑦᑏᖑᔭ","ᓇᒡᒐᔾᔭᐅ","ᐊᐃᑉᐱᖅ","ᐱᖓᑦᓯᖅ","ᓯᑕᒻᒥᖅ","ᑕᓪᓕᕐᒥᖅ","ᓯᕙᑖᕐᕕᒃ"], - namesAbbr: ["ᓈᑦᑏ","ᓇᒡᒐ","ᐊᐃᑉᐱ","ᐱᖓᑦᓯ","ᓯᑕ","ᑕᓪᓕ","ᓯᕙᑖᕐᕕᒃ"], - namesShort: ["ᓈ","ᓇ","ᐊ","ᐱ","ᓯ","ᑕ","ᓯ"] - }, - months: { - names: ["ᔮᓐᓄᐊᕆ","ᕖᕝᕗᐊᕆ","ᒫᑦᓯ","ᐄᐳᕆ","ᒪᐃ","ᔫᓂ","ᔪᓚᐃ","ᐋᒡᒌᓯ","ᓯᑎᐱᕆ","ᐅᑐᐱᕆ","ᓄᕕᐱᕆ","ᑎᓯᐱᕆ",""], - namesAbbr: ["ᔮᓐᓄ","ᕖᕝᕗ","ᒫᑦᓯ","ᐄᐳᕆ","ᒪᐃ","ᔫᓂ","ᔪᓚᐃ","ᐋᒡᒌ","ᓯᑎᐱ","ᐅᑐᐱ","ᓄᕕᐱ","ᑎᓯᐱ",""] - }, - patterns: { - d: "d/M/yyyy", - D: "dddd,MMMM dd,yyyy", - f: "dddd,MMMM dd,yyyy h:mm tt", - F: "dddd,MMMM dd,yyyy h:mm:ss tt", - Y: "MMMM,yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.iu-Cans.js b/web/Scripts/globalize/cultures/globalize.culture.iu-Cans.js deleted file mode 100644 index e3942c5c..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.iu-Cans.js +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Globalize Culture iu-Cans - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "iu-Cans", "default", { - name: "iu-Cans", - englishName: "Inuktitut (Syllabics)", - nativeName: "ᐃᓄᒃᑎᑐᑦ", - language: "iu-Cans", - numberFormat: { - groupSizes: [3,0], - percent: { - pattern: ["-n%","n%"], - groupSizes: [3,0] - }, - currency: { - groupSizes: [3,0] - } - }, - calendars: { - standard: { - days: { - names: ["ᓈᑦᑏᖑᔭ","ᓇᒡᒐᔾᔭᐅ","ᐊᐃᑉᐱᖅ","ᐱᖓᑦᓯᖅ","ᓯᑕᒻᒥᖅ","ᑕᓪᓕᕐᒥᖅ","ᓯᕙᑖᕐᕕᒃ"], - namesAbbr: ["ᓈᑦᑏ","ᓇᒡᒐ","ᐊᐃᑉᐱ","ᐱᖓᑦᓯ","ᓯᑕ","ᑕᓪᓕ","ᓯᕙᑖᕐᕕᒃ"], - namesShort: ["ᓈ","ᓇ","ᐊ","ᐱ","ᓯ","ᑕ","ᓯ"] - }, - months: { - names: ["ᔮᓐᓄᐊᕆ","ᕖᕝᕗᐊᕆ","ᒫᑦᓯ","ᐄᐳᕆ","ᒪᐃ","ᔫᓂ","ᔪᓚᐃ","ᐋᒡᒌᓯ","ᓯᑎᐱᕆ","ᐅᑐᐱᕆ","ᓄᕕᐱᕆ","ᑎᓯᐱᕆ",""], - namesAbbr: ["ᔮᓐᓄ","ᕖᕝᕗ","ᒫᑦᓯ","ᐄᐳᕆ","ᒪᐃ","ᔫᓂ","ᔪᓚᐃ","ᐋᒡᒌ","ᓯᑎᐱ","ᐅᑐᐱ","ᓄᕕᐱ","ᑎᓯᐱ",""] - }, - patterns: { - d: "d/M/yyyy", - D: "dddd,MMMM dd,yyyy", - f: "dddd,MMMM dd,yyyy h:mm tt", - F: "dddd,MMMM dd,yyyy h:mm:ss tt", - Y: "MMMM,yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.iu-Latn-CA.js b/web/Scripts/globalize/cultures/globalize.culture.iu-Latn-CA.js deleted file mode 100644 index 689ba45a..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.iu-Latn-CA.js +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Globalize Culture iu-Latn-CA - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "iu-Latn-CA", "default", { - name: "iu-Latn-CA", - englishName: "Inuktitut (Latin, Canada)", - nativeName: "Inuktitut (Kanatami)", - language: "iu-Latn", - numberFormat: { - groupSizes: [3,0], - percent: { - groupSizes: [3,0] - } - }, - calendars: { - standard: { - days: { - names: ["Naattiinguja","Naggajjau","Aippiq","Pingatsiq","Sitammiq","Tallirmiq","Sivataarvik"], - namesAbbr: ["Nat","Nag","Aip","Pi","Sit","Tal","Siv"], - namesShort: ["N","N","A","P","S","T","S"] - }, - months: { - names: ["Jaannuari","Viivvuari","Maatsi","Iipuri","Mai","Juuni","Julai","Aaggiisi","Sitipiri","Utupiri","Nuvipiri","Tisipiri",""], - namesAbbr: ["Jan","Viv","Mas","Ipu","Mai","Jun","Jul","Agi","Sii","Uut","Nuv","Tis",""] - }, - patterns: { - d: "d/MM/yyyy", - D: "ddd, MMMM dd,yyyy", - f: "ddd, MMMM dd,yyyy h:mm tt", - F: "ddd, MMMM dd,yyyy h:mm:ss tt" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.iu-Latn.js b/web/Scripts/globalize/cultures/globalize.culture.iu-Latn.js deleted file mode 100644 index d6776af9..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.iu-Latn.js +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Globalize Culture iu-Latn - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "iu-Latn", "default", { - name: "iu-Latn", - englishName: "Inuktitut (Latin)", - nativeName: "Inuktitut", - language: "iu-Latn", - numberFormat: { - groupSizes: [3,0], - percent: { - groupSizes: [3,0] - } - }, - calendars: { - standard: { - days: { - names: ["Naattiinguja","Naggajjau","Aippiq","Pingatsiq","Sitammiq","Tallirmiq","Sivataarvik"], - namesAbbr: ["Nat","Nag","Aip","Pi","Sit","Tal","Siv"], - namesShort: ["N","N","A","P","S","T","S"] - }, - months: { - names: ["Jaannuari","Viivvuari","Maatsi","Iipuri","Mai","Juuni","Julai","Aaggiisi","Sitipiri","Utupiri","Nuvipiri","Tisipiri",""], - namesAbbr: ["Jan","Viv","Mas","Ipu","Mai","Jun","Jul","Agi","Sii","Uut","Nuv","Tis",""] - }, - patterns: { - d: "d/MM/yyyy", - D: "ddd, MMMM dd,yyyy", - f: "ddd, MMMM dd,yyyy h:mm tt", - F: "ddd, MMMM dd,yyyy h:mm:ss tt" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.iu.js b/web/Scripts/globalize/cultures/globalize.culture.iu.js deleted file mode 100644 index 9ec58167..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.iu.js +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Globalize Culture iu - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "iu", "default", { - name: "iu", - englishName: "Inuktitut", - nativeName: "Inuktitut", - language: "iu", - numberFormat: { - groupSizes: [3,0], - percent: { - groupSizes: [3,0] - } - }, - calendars: { - standard: { - days: { - names: ["Naattiinguja","Naggajjau","Aippiq","Pingatsiq","Sitammiq","Tallirmiq","Sivataarvik"], - namesAbbr: ["Nat","Nag","Aip","Pi","Sit","Tal","Siv"], - namesShort: ["N","N","A","P","S","T","S"] - }, - months: { - names: ["Jaannuari","Viivvuari","Maatsi","Iipuri","Mai","Juuni","Julai","Aaggiisi","Sitipiri","Utupiri","Nuvipiri","Tisipiri",""], - namesAbbr: ["Jan","Viv","Mas","Ipu","Mai","Jun","Jul","Agi","Sii","Uut","Nuv","Tis",""] - }, - patterns: { - d: "d/MM/yyyy", - D: "ddd, MMMM dd,yyyy", - f: "ddd, MMMM dd,yyyy h:mm tt", - F: "ddd, MMMM dd,yyyy h:mm:ss tt" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.ja-JP.js b/web/Scripts/globalize/cultures/globalize.culture.ja-JP.js deleted file mode 100644 index e4c1ff69..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.ja-JP.js +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Globalize Culture ja-JP - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "ja-JP", "default", { - name: "ja-JP", - englishName: "Japanese (Japan)", - nativeName: "日本語 (日本)", - language: "ja", - numberFormat: { - "NaN": "NaN (非数値)", - negativeInfinity: "-∞", - positiveInfinity: "+∞", - percent: { - pattern: ["-n%","n%"] - }, - currency: { - pattern: ["-$n","$n"], - decimals: 0, - symbol: "¥" - } - }, - calendars: { - standard: { - days: { - names: ["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"], - namesAbbr: ["日","月","火","水","木","金","土"], - namesShort: ["日","月","火","水","木","金","土"] - }, - months: { - names: ["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月",""], - namesAbbr: ["1","2","3","4","5","6","7","8","9","10","11","12",""] - }, - AM: ["午前","午前","午前"], - PM: ["午後","午後","午後"], - eras: [{"name":"西暦","start":null,"offset":0}], - patterns: { - d: "yyyy/MM/dd", - D: "yyyy'年'M'月'd'日'", - t: "H:mm", - T: "H:mm:ss", - f: "yyyy'年'M'月'd'日' H:mm", - F: "yyyy'年'M'月'd'日' H:mm:ss", - M: "M'月'd'日'", - Y: "yyyy'年'M'月'" - } - }, - Japanese: { - name: "Japanese", - days: { - names: ["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"], - namesAbbr: ["日","月","火","水","木","金","土"], - namesShort: ["日","月","火","水","木","金","土"] - }, - months: { - names: ["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月",""], - namesAbbr: ["1","2","3","4","5","6","7","8","9","10","11","12",""] - }, - AM: ["午前","午前","午前"], - PM: ["午後","午後","午後"], - eras: [{"name":"平成","start":null,"offset":1867},{"name":"昭和","start":-1812153600000,"offset":1911},{"name":"大正","start":-1357603200000,"offset":1925},{"name":"明治","start":60022080000,"offset":1988}], - twoDigitYearMax: 99, - patterns: { - d: "gg y/M/d", - D: "gg y'年'M'月'd'日'", - t: "H:mm", - T: "H:mm:ss", - f: "gg y'年'M'月'd'日' H:mm", - F: "gg y'年'M'月'd'日' H:mm:ss", - M: "M'月'd'日'", - Y: "gg y'年'M'月'" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.ja.js b/web/Scripts/globalize/cultures/globalize.culture.ja.js deleted file mode 100644 index 14fe8062..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.ja.js +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Globalize Culture ja - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "ja", "default", { - name: "ja", - englishName: "Japanese", - nativeName: "日本語", - language: "ja", - numberFormat: { - "NaN": "NaN (非数値)", - negativeInfinity: "-∞", - positiveInfinity: "+∞", - percent: { - pattern: ["-n%","n%"] - }, - currency: { - pattern: ["-$n","$n"], - decimals: 0, - symbol: "¥" - } - }, - calendars: { - standard: { - days: { - names: ["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"], - namesAbbr: ["日","月","火","水","木","金","土"], - namesShort: ["日","月","火","水","木","金","土"] - }, - months: { - names: ["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月",""], - namesAbbr: ["1","2","3","4","5","6","7","8","9","10","11","12",""] - }, - AM: ["午前","午前","午前"], - PM: ["午後","午後","午後"], - eras: [{"name":"西暦","start":null,"offset":0}], - patterns: { - d: "yyyy/MM/dd", - D: "yyyy'年'M'月'd'日'", - t: "H:mm", - T: "H:mm:ss", - f: "yyyy'年'M'月'd'日' H:mm", - F: "yyyy'年'M'月'd'日' H:mm:ss", - M: "M'月'd'日'", - Y: "yyyy'年'M'月'" - } - }, - Japanese: { - name: "Japanese", - days: { - names: ["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"], - namesAbbr: ["日","月","火","水","木","金","土"], - namesShort: ["日","月","火","水","木","金","土"] - }, - months: { - names: ["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月",""], - namesAbbr: ["1","2","3","4","5","6","7","8","9","10","11","12",""] - }, - AM: ["午前","午前","午前"], - PM: ["午後","午後","午後"], - eras: [{"name":"平成","start":null,"offset":1867},{"name":"昭和","start":-1812153600000,"offset":1911},{"name":"大正","start":-1357603200000,"offset":1925},{"name":"明治","start":60022080000,"offset":1988}], - twoDigitYearMax: 99, - patterns: { - d: "gg y/M/d", - D: "gg y'年'M'月'd'日'", - t: "H:mm", - T: "H:mm:ss", - f: "gg y'年'M'月'd'日' H:mm", - F: "gg y'年'M'月'd'日' H:mm:ss", - M: "M'月'd'日'", - Y: "gg y'年'M'月'" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.ka-GE.js b/web/Scripts/globalize/cultures/globalize.culture.ka-GE.js deleted file mode 100644 index d46d7772..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.ka-GE.js +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Globalize Culture ka-GE - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "ka-GE", "default", { - name: "ka-GE", - englishName: "Georgian (Georgia)", - nativeName: "ქართული (საქართველო)", - language: "ka", - numberFormat: { - ",": " ", - ".": ",", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "Lari" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["კვირა","ორშაბათი","სამშაბათი","ოთხშაბათი","ხუთშაბათი","პარასკევი","შაბათი"], - namesAbbr: ["კვირა","ორშაბათი","სამშაბათი","ოთხშაბათი","ხუთშაბათი","პარასკევი","შაბათი"], - namesShort: ["კ","ო","ს","ო","ხ","პ","შ"] - }, - months: { - names: ["იანვარი","თებერვალი","მარტი","აპრილი","მაისი","ივნისი","ივლისი","აგვისტო","სექტემბერი","ოქტომბერი","ნოემბერი","დეკემბერი",""], - namesAbbr: ["იან","თებ","მარ","აპრ","მაის","ივნ","ივლ","აგვ","სექ","ოქტ","ნოემ","დეკ",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "yyyy 'წლის' dd MM, dddd", - t: "H:mm", - T: "H:mm:ss", - f: "yyyy 'წლის' dd MM, dddd H:mm", - F: "yyyy 'წლის' dd MM, dddd H:mm:ss", - M: "dd MM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.ka.js b/web/Scripts/globalize/cultures/globalize.culture.ka.js deleted file mode 100644 index 4fb5a0c6..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.ka.js +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Globalize Culture ka - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "ka", "default", { - name: "ka", - englishName: "Georgian", - nativeName: "ქართული", - language: "ka", - numberFormat: { - ",": " ", - ".": ",", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "Lari" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["კვირა","ორშაბათი","სამშაბათი","ოთხშაბათი","ხუთშაბათი","პარასკევი","შაბათი"], - namesAbbr: ["კვირა","ორშაბათი","სამშაბათი","ოთხშაბათი","ხუთშაბათი","პარასკევი","შაბათი"], - namesShort: ["კ","ო","ს","ო","ხ","პ","შ"] - }, - months: { - names: ["იანვარი","თებერვალი","მარტი","აპრილი","მაისი","ივნისი","ივლისი","აგვისტო","სექტემბერი","ოქტომბერი","ნოემბერი","დეკემბერი",""], - namesAbbr: ["იან","თებ","მარ","აპრ","მაის","ივნ","ივლ","აგვ","სექ","ოქტ","ნოემ","დეკ",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "yyyy 'წლის' dd MM, dddd", - t: "H:mm", - T: "H:mm:ss", - f: "yyyy 'წლის' dd MM, dddd H:mm", - F: "yyyy 'წლის' dd MM, dddd H:mm:ss", - M: "dd MM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.kk-KZ.js b/web/Scripts/globalize/cultures/globalize.culture.kk-KZ.js deleted file mode 100644 index 98ce0518..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.kk-KZ.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Globalize Culture kk-KZ - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "kk-KZ", "default", { - name: "kk-KZ", - englishName: "Kazakh (Kazakhstan)", - nativeName: "Қазақ (Қазақстан)", - language: "kk", - numberFormat: { - ",": " ", - ".": ",", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-$n","$n"], - ",": " ", - ".": "-", - symbol: "Т" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Жексенбі","Дүйсенбі","Сейсенбі","Сәрсенбі","Бейсенбі","Жұма","Сенбі"], - namesAbbr: ["Жк","Дс","Сс","Ср","Бс","Жм","Сн"], - namesShort: ["Жк","Дс","Сс","Ср","Бс","Жм","Сн"] - }, - months: { - names: ["қаңтар","ақпан","наурыз","сәуір","мамыр","маусым","шілде","тамыз","қыркүйек","қазан","қараша","желтоқсан",""], - namesAbbr: ["Қаң","Ақп","Нау","Сәу","Мам","Мау","Шіл","Там","Қыр","Қаз","Қар","Жел",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "d MMMM yyyy 'ж.'", - t: "H:mm", - T: "H:mm:ss", - f: "d MMMM yyyy 'ж.' H:mm", - F: "d MMMM yyyy 'ж.' H:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.kk.js b/web/Scripts/globalize/cultures/globalize.culture.kk.js deleted file mode 100644 index d1d48771..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.kk.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Globalize Culture kk - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "kk", "default", { - name: "kk", - englishName: "Kazakh", - nativeName: "Қазақ", - language: "kk", - numberFormat: { - ",": " ", - ".": ",", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-$n","$n"], - ",": " ", - ".": "-", - symbol: "Т" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Жексенбі","Дүйсенбі","Сейсенбі","Сәрсенбі","Бейсенбі","Жұма","Сенбі"], - namesAbbr: ["Жк","Дс","Сс","Ср","Бс","Жм","Сн"], - namesShort: ["Жк","Дс","Сс","Ср","Бс","Жм","Сн"] - }, - months: { - names: ["қаңтар","ақпан","наурыз","сәуір","мамыр","маусым","шілде","тамыз","қыркүйек","қазан","қараша","желтоқсан",""], - namesAbbr: ["Қаң","Ақп","Нау","Сәу","Мам","Мау","Шіл","Там","Қыр","Қаз","Қар","Жел",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "d MMMM yyyy 'ж.'", - t: "H:mm", - T: "H:mm:ss", - f: "d MMMM yyyy 'ж.' H:mm", - F: "d MMMM yyyy 'ж.' H:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.kl-GL.js b/web/Scripts/globalize/cultures/globalize.culture.kl-GL.js deleted file mode 100644 index 1ad7b001..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.kl-GL.js +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Globalize Culture kl-GL - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "kl-GL", "default", { - name: "kl-GL", - englishName: "Greenlandic (Greenland)", - nativeName: "kalaallisut (Kalaallit Nunaat)", - language: "kl", - numberFormat: { - ",": ".", - ".": ",", - groupSizes: [3,0], - negativeInfinity: "-INF", - positiveInfinity: "INF", - percent: { - groupSizes: [3,0], - ",": ".", - ".": "," - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,0], - ",": ".", - ".": ",", - symbol: "kr." - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["sapaat","ataasinngorneq","marlunngorneq","pingasunngorneq","sisamanngorneq","tallimanngorneq","arfininngorneq"], - namesAbbr: ["sap","ata","mar","ping","sis","tal","arf"], - namesShort: ["sa","at","ma","pi","si","ta","ar"] - }, - months: { - names: ["januari","februari","martsi","apriili","maaji","juni","juli","aggusti","septembari","oktobari","novembari","decembari",""], - namesAbbr: ["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","dec",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd-MM-yyyy", - D: "d. MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "d. MMMM yyyy HH:mm", - F: "d. MMMM yyyy HH:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.kl.js b/web/Scripts/globalize/cultures/globalize.culture.kl.js deleted file mode 100644 index 55d54497..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.kl.js +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Globalize Culture kl - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "kl", "default", { - name: "kl", - englishName: "Greenlandic", - nativeName: "kalaallisut", - language: "kl", - numberFormat: { - ",": ".", - ".": ",", - groupSizes: [3,0], - negativeInfinity: "-INF", - positiveInfinity: "INF", - percent: { - groupSizes: [3,0], - ",": ".", - ".": "," - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,0], - ",": ".", - ".": ",", - symbol: "kr." - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["sapaat","ataasinngorneq","marlunngorneq","pingasunngorneq","sisamanngorneq","tallimanngorneq","arfininngorneq"], - namesAbbr: ["sap","ata","mar","ping","sis","tal","arf"], - namesShort: ["sa","at","ma","pi","si","ta","ar"] - }, - months: { - names: ["januari","februari","martsi","apriili","maaji","juni","juli","aggusti","septembari","oktobari","novembari","decembari",""], - namesAbbr: ["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","dec",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd-MM-yyyy", - D: "d. MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "d. MMMM yyyy HH:mm", - F: "d. MMMM yyyy HH:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.km-KH.js b/web/Scripts/globalize/cultures/globalize.culture.km-KH.js deleted file mode 100644 index 92e7aecf..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.km-KH.js +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Globalize Culture km-KH - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "km-KH", "default", { - name: "km-KH", - englishName: "Khmer (Cambodia)", - nativeName: "ខ្មែរ (កម្ពុជា)", - language: "km", - numberFormat: { - pattern: ["- n"], - groupSizes: [3,0], - "NaN": "NAN", - negativeInfinity: "-- អនន្ត", - positiveInfinity: "អនន្ត", - percent: { - pattern: ["-n%","n%"], - groupSizes: [3,0] - }, - currency: { - pattern: ["-n$","n$"], - symbol: "៛" - } - }, - calendars: { - standard: { - "/": "-", - days: { - names: ["ថ្ងៃអាទិត្យ","ថ្ងៃច័ន្ទ","ថ្ងៃអង្គារ","ថ្ងៃពុធ","ថ្ងៃព្រហស្បតិ៍","ថ្ងៃសុក្រ","ថ្ងៃសៅរ៍"], - namesAbbr: ["អាទិ.","ច.","អ.","ពុ","ព្រហ.","សុ.","ស."], - namesShort: ["អា","ច","អ","ពុ","ព្","សុ","ស"] - }, - months: { - names: ["មករា","កុម្ភៈ","មិនា","មេសា","ឧសភា","មិថុនា","កក្កដា","សីហា","កញ្ញា","តុលា","វិច្ឆិកា","ធ្នូ",""], - namesAbbr: ["១","២","៣","៤","៥","៦","៧","៨","៩","១០","១១","១២",""] - }, - AM: ["ព្រឹក","ព្រឹក","ព្រឹក"], - PM: ["ល្ងាច","ល្ងាច","ល្ងាច"], - eras: [{"name":"មុនគ.ស.","start":null,"offset":0}], - patterns: { - d: "yyyy-MM-dd", - D: "d MMMM yyyy", - t: "H:mm tt", - T: "HH:mm:ss", - f: "d MMMM yyyy H:mm tt", - F: "d MMMM yyyy HH:mm:ss", - M: "'ថ្ងៃទី' dd 'ខែ' MM", - Y: "'ខែ' MM 'ឆ្នាំ' yyyy" - } - }, - Gregorian_TransliteratedEnglish: { - name: "Gregorian_TransliteratedEnglish", - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["أ","ا","ث","أ","خ","ج","س"] - }, - months: { - names: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["يناير","فبراير","مارس","ابريل","مايو","يونيو","يوليو","اغسطس","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ព្រឹក","ព្រឹក","ព្រឹក"], - PM: ["ល្ងាច","ល្ងាច","ល្ងាច"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "H:mm tt", - T: "HH:mm:ss", - f: "dddd, MMMM dd, yyyy H:mm tt", - F: "dddd, MMMM dd, yyyy HH:mm:ss" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.km.js b/web/Scripts/globalize/cultures/globalize.culture.km.js deleted file mode 100644 index 4463b919..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.km.js +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Globalize Culture km - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "km", "default", { - name: "km", - englishName: "Khmer", - nativeName: "ខ្មែរ", - language: "km", - numberFormat: { - pattern: ["- n"], - groupSizes: [3,0], - "NaN": "NAN", - negativeInfinity: "-- អនន្ត", - positiveInfinity: "អនន្ត", - percent: { - pattern: ["-n%","n%"], - groupSizes: [3,0] - }, - currency: { - pattern: ["-n$","n$"], - symbol: "៛" - } - }, - calendars: { - standard: { - "/": "-", - days: { - names: ["ថ្ងៃអាទិត្យ","ថ្ងៃច័ន្ទ","ថ្ងៃអង្គារ","ថ្ងៃពុធ","ថ្ងៃព្រហស្បតិ៍","ថ្ងៃសុក្រ","ថ្ងៃសៅរ៍"], - namesAbbr: ["អាទិ.","ច.","អ.","ពុ","ព្រហ.","សុ.","ស."], - namesShort: ["អា","ច","អ","ពុ","ព្","សុ","ស"] - }, - months: { - names: ["មករា","កុម្ភៈ","មិនា","មេសា","ឧសភា","មិថុនា","កក្កដា","សីហា","កញ្ញា","តុលា","វិច្ឆិកា","ធ្នូ",""], - namesAbbr: ["១","២","៣","៤","៥","៦","៧","៨","៩","១០","១១","១២",""] - }, - AM: ["ព្រឹក","ព្រឹក","ព្រឹក"], - PM: ["ល្ងាច","ល្ងាច","ល្ងាច"], - eras: [{"name":"មុនគ.ស.","start":null,"offset":0}], - patterns: { - d: "yyyy-MM-dd", - D: "d MMMM yyyy", - t: "H:mm tt", - T: "HH:mm:ss", - f: "d MMMM yyyy H:mm tt", - F: "d MMMM yyyy HH:mm:ss", - M: "'ថ្ងៃទី' dd 'ខែ' MM", - Y: "'ខែ' MM 'ឆ្នាំ' yyyy" - } - }, - Gregorian_TransliteratedEnglish: { - name: "Gregorian_TransliteratedEnglish", - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["أ","ا","ث","أ","خ","ج","س"] - }, - months: { - names: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["يناير","فبراير","مارس","ابريل","مايو","يونيو","يوليو","اغسطس","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ព្រឹក","ព្រឹក","ព្រឹក"], - PM: ["ល្ងាច","ល្ងាច","ល្ងាច"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "H:mm tt", - T: "HH:mm:ss", - f: "dddd, MMMM dd, yyyy H:mm tt", - F: "dddd, MMMM dd, yyyy HH:mm:ss" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.kn-IN.js b/web/Scripts/globalize/cultures/globalize.culture.kn-IN.js deleted file mode 100644 index aa6ff62b..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.kn-IN.js +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Globalize Culture kn-IN - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "kn-IN", "default", { - name: "kn-IN", - englishName: "Kannada (India)", - nativeName: "ಕನ್ನಡ (ಭಾರತ)", - language: "kn", - numberFormat: { - groupSizes: [3,2], - percent: { - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,2], - symbol: "ರೂ" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["ಭಾನುವಾರ","ಸೋಮವಾರ","ಮಂಗಳವಾರ","ಬುಧವಾರ","ಗುರುವಾರ","ಶುಕ್ರವಾರ","ಶನಿವಾರ"], - namesAbbr: ["ಭಾನು.","ಸೋಮ.","ಮಂಗಳ.","ಬುಧ.","ಗುರು.","ಶುಕ್ರ.","ಶನಿ."], - namesShort: ["ರ","ಸ","ಮ","ಬ","ಗ","ಶ","ಶ"] - }, - months: { - names: ["ಜನವರಿ","ಫೆಬ್ರವರಿ","ಮಾರ್ಚ್","ಎಪ್ರಿಲ್","ಮೇ","ಜೂನ್","ಜುಲೈ","ಆಗಸ್ಟ್","ಸೆಪ್ಟಂಬರ್","ಅಕ್ಟೋಬರ್","ನವೆಂಬರ್","ಡಿಸೆಂಬರ್",""], - namesAbbr: ["ಜನವರಿ","ಫೆಬ್ರವರಿ","ಮಾರ್ಚ್","ಎಪ್ರಿಲ್","ಮೇ","ಜೂನ್","ಜುಲೈ","ಆಗಸ್ಟ್","ಸೆಪ್ಟಂಬರ್","ಅಕ್ಟೋಬರ್","ನವೆಂಬರ್","ಡಿಸೆಂಬರ್",""] - }, - AM: ["ಪೂರ್ವಾಹ್ನ","ಪೂರ್ವಾಹ್ನ","ಪೂರ್ವಾಹ್ನ"], - PM: ["ಅಪರಾಹ್ನ","ಅಪರಾಹ್ನ","ಅಪರಾಹ್ನ"], - patterns: { - d: "dd-MM-yy", - D: "dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd MMMM yyyy HH:mm", - F: "dd MMMM yyyy HH:mm:ss", - M: "dd MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.kn.js b/web/Scripts/globalize/cultures/globalize.culture.kn.js deleted file mode 100644 index 65af8db5..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.kn.js +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Globalize Culture kn - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "kn", "default", { - name: "kn", - englishName: "Kannada", - nativeName: "ಕನ್ನಡ", - language: "kn", - numberFormat: { - groupSizes: [3,2], - percent: { - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,2], - symbol: "ರೂ" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["ಭಾನುವಾರ","ಸೋಮವಾರ","ಮಂಗಳವಾರ","ಬುಧವಾರ","ಗುರುವಾರ","ಶುಕ್ರವಾರ","ಶನಿವಾರ"], - namesAbbr: ["ಭಾನು.","ಸೋಮ.","ಮಂಗಳ.","ಬುಧ.","ಗುರು.","ಶುಕ್ರ.","ಶನಿ."], - namesShort: ["ರ","ಸ","ಮ","ಬ","ಗ","ಶ","ಶ"] - }, - months: { - names: ["ಜನವರಿ","ಫೆಬ್ರವರಿ","ಮಾರ್ಚ್","ಎಪ್ರಿಲ್","ಮೇ","ಜೂನ್","ಜುಲೈ","ಆಗಸ್ಟ್","ಸೆಪ್ಟಂಬರ್","ಅಕ್ಟೋಬರ್","ನವೆಂಬರ್","ಡಿಸೆಂಬರ್",""], - namesAbbr: ["ಜನವರಿ","ಫೆಬ್ರವರಿ","ಮಾರ್ಚ್","ಎಪ್ರಿಲ್","ಮೇ","ಜೂನ್","ಜುಲೈ","ಆಗಸ್ಟ್","ಸೆಪ್ಟಂಬರ್","ಅಕ್ಟೋಬರ್","ನವೆಂಬರ್","ಡಿಸೆಂಬರ್",""] - }, - AM: ["ಪೂರ್ವಾಹ್ನ","ಪೂರ್ವಾಹ್ನ","ಪೂರ್ವಾಹ್ನ"], - PM: ["ಅಪರಾಹ್ನ","ಅಪರಾಹ್ನ","ಅಪರಾಹ್ನ"], - patterns: { - d: "dd-MM-yy", - D: "dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd MMMM yyyy HH:mm", - F: "dd MMMM yyyy HH:mm:ss", - M: "dd MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.ko-KR.js b/web/Scripts/globalize/cultures/globalize.culture.ko-KR.js deleted file mode 100644 index 153f761d..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.ko-KR.js +++ /dev/null @@ -1,96 +0,0 @@ -/* - * Globalize Culture ko-KR - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "ko-KR", "default", { - name: "ko-KR", - englishName: "Korean (Korea)", - nativeName: "한국어 (대한민국)", - language: "ko", - numberFormat: { - currency: { - pattern: ["-$n","$n"], - decimals: 0, - symbol: "₩" - } - }, - calendars: { - standard: { - "/": "-", - days: { - names: ["일요일","월요일","화요일","수요일","목요일","금요일","토요일"], - namesAbbr: ["일","월","화","수","목","금","토"], - namesShort: ["일","월","화","수","목","금","토"] - }, - months: { - names: ["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월",""], - namesAbbr: ["1","2","3","4","5","6","7","8","9","10","11","12",""] - }, - AM: ["오전","오전","오전"], - PM: ["오후","오후","오후"], - eras: [{"name":"서기","start":null,"offset":0}], - patterns: { - d: "yyyy-MM-dd", - D: "yyyy'년' M'월' d'일' dddd", - t: "tt h:mm", - T: "tt h:mm:ss", - f: "yyyy'년' M'월' d'일' dddd tt h:mm", - F: "yyyy'년' M'월' d'일' dddd tt h:mm:ss", - M: "M'월' d'일'", - Y: "yyyy'년' M'월'" - } - }, - Korean: { - name: "Korean", - "/": "-", - days: { - names: ["일요일","월요일","화요일","수요일","목요일","금요일","토요일"], - namesAbbr: ["일","월","화","수","목","금","토"], - namesShort: ["일","월","화","수","목","금","토"] - }, - months: { - names: ["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월",""], - namesAbbr: ["1","2","3","4","5","6","7","8","9","10","11","12",""] - }, - AM: ["오전","오전","오전"], - PM: ["오후","오후","오후"], - eras: [{"name":"단기","start":null,"offset":-2333}], - twoDigitYearMax: 4362, - patterns: { - d: "gg yyyy-MM-dd", - D: "gg yyyy'년' M'월' d'일' dddd", - t: "tt h:mm", - T: "tt h:mm:ss", - f: "gg yyyy'년' M'월' d'일' dddd tt h:mm", - F: "gg yyyy'년' M'월' d'일' dddd tt h:mm:ss", - M: "M'월' d'일'", - Y: "gg yyyy'년' M'월'" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.ko.js b/web/Scripts/globalize/cultures/globalize.culture.ko.js deleted file mode 100644 index 7cd1c93d..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.ko.js +++ /dev/null @@ -1,96 +0,0 @@ -/* - * Globalize Culture ko - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "ko", "default", { - name: "ko", - englishName: "Korean", - nativeName: "한국어", - language: "ko", - numberFormat: { - currency: { - pattern: ["-$n","$n"], - decimals: 0, - symbol: "₩" - } - }, - calendars: { - standard: { - "/": "-", - days: { - names: ["일요일","월요일","화요일","수요일","목요일","금요일","토요일"], - namesAbbr: ["일","월","화","수","목","금","토"], - namesShort: ["일","월","화","수","목","금","토"] - }, - months: { - names: ["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월",""], - namesAbbr: ["1","2","3","4","5","6","7","8","9","10","11","12",""] - }, - AM: ["오전","오전","오전"], - PM: ["오후","오후","오후"], - eras: [{"name":"서기","start":null,"offset":0}], - patterns: { - d: "yyyy-MM-dd", - D: "yyyy'년' M'월' d'일' dddd", - t: "tt h:mm", - T: "tt h:mm:ss", - f: "yyyy'년' M'월' d'일' dddd tt h:mm", - F: "yyyy'년' M'월' d'일' dddd tt h:mm:ss", - M: "M'월' d'일'", - Y: "yyyy'년' M'월'" - } - }, - Korean: { - name: "Korean", - "/": "-", - days: { - names: ["일요일","월요일","화요일","수요일","목요일","금요일","토요일"], - namesAbbr: ["일","월","화","수","목","금","토"], - namesShort: ["일","월","화","수","목","금","토"] - }, - months: { - names: ["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월",""], - namesAbbr: ["1","2","3","4","5","6","7","8","9","10","11","12",""] - }, - AM: ["오전","오전","오전"], - PM: ["오후","오후","오후"], - eras: [{"name":"단기","start":null,"offset":-2333}], - twoDigitYearMax: 4362, - patterns: { - d: "gg yyyy-MM-dd", - D: "gg yyyy'년' M'월' d'일' dddd", - t: "tt h:mm", - T: "tt h:mm:ss", - f: "gg yyyy'년' M'월' d'일' dddd tt h:mm", - F: "gg yyyy'년' M'월' d'일' dddd tt h:mm:ss", - M: "M'월' d'일'", - Y: "gg yyyy'년' M'월'" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.kok-IN.js b/web/Scripts/globalize/cultures/globalize.culture.kok-IN.js deleted file mode 100644 index 1d9fca16..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.kok-IN.js +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Globalize Culture kok-IN - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "kok-IN", "default", { - name: "kok-IN", - englishName: "Konkani (India)", - nativeName: "कोंकणी (भारत)", - language: "kok", - numberFormat: { - groupSizes: [3,2], - percent: { - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,2], - symbol: "रु" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["आयतार","सोमार","मंगळार","बुधवार","बिरेस्तार","सुक्रार","शेनवार"], - namesAbbr: ["आय.","सोम.","मंगळ.","बुध.","बिरे.","सुक्र.","शेन."], - namesShort: ["आ","स","म","ब","ब","स","श"] - }, - months: { - names: ["जानेवारी","फेब्रुवारी","मार्च","एप्रिल","मे","जून","जुलै","ऑगस्ट","सप्टेंबर","ऑक्टोबर","नोवेम्बर","डिसेंबर",""], - namesAbbr: ["जानेवारी","फेब्रुवारी","मार्च","एप्रिल","मे","जून","जुलै","ऑगस्ट","सप्टेंबर","ऑक्टोबर","नोवेम्बर","डिसेंबर",""] - }, - AM: ["म.पू.","म.पू.","म.पू."], - PM: ["म.नं.","म.नं.","म.नं."], - patterns: { - d: "dd-MM-yyyy", - D: "dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd MMMM yyyy HH:mm", - F: "dd MMMM yyyy HH:mm:ss", - M: "dd MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.kok.js b/web/Scripts/globalize/cultures/globalize.culture.kok.js deleted file mode 100644 index f6b3b3ef..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.kok.js +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Globalize Culture kok - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "kok", "default", { - name: "kok", - englishName: "Konkani", - nativeName: "कोंकणी", - language: "kok", - numberFormat: { - groupSizes: [3,2], - percent: { - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,2], - symbol: "रु" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["आयतार","सोमार","मंगळार","बुधवार","बिरेस्तार","सुक्रार","शेनवार"], - namesAbbr: ["आय.","सोम.","मंगळ.","बुध.","बिरे.","सुक्र.","शेन."], - namesShort: ["आ","स","म","ब","ब","स","श"] - }, - months: { - names: ["जानेवारी","फेब्रुवारी","मार्च","एप्रिल","मे","जून","जुलै","ऑगस्ट","सप्टेंबर","ऑक्टोबर","नोवेम्बर","डिसेंबर",""], - namesAbbr: ["जानेवारी","फेब्रुवारी","मार्च","एप्रिल","मे","जून","जुलै","ऑगस्ट","सप्टेंबर","ऑक्टोबर","नोवेम्बर","डिसेंबर",""] - }, - AM: ["म.पू.","म.पू.","म.पू."], - PM: ["म.नं.","म.नं.","म.नं."], - patterns: { - d: "dd-MM-yyyy", - D: "dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd MMMM yyyy HH:mm", - F: "dd MMMM yyyy HH:mm:ss", - M: "dd MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.ky-KG.js b/web/Scripts/globalize/cultures/globalize.culture.ky-KG.js deleted file mode 100644 index 1b372f8c..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.ky-KG.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Globalize Culture ky-KG - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "ky-KG", "default", { - name: "ky-KG", - englishName: "Kyrgyz (Kyrgyzstan)", - nativeName: "Кыргыз (Кыргызстан)", - language: "ky", - numberFormat: { - ",": " ", - ".": ",", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": "-", - symbol: "сом" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Жекшемби","Дүйшөмбү","Шейшемби","Шаршемби","Бейшемби","Жума","Ишемби"], - namesAbbr: ["Жш","Дш","Шш","Шр","Бш","Жм","Иш"], - namesShort: ["Жш","Дш","Шш","Шр","Бш","Жм","Иш"] - }, - months: { - names: ["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь",""], - namesAbbr: ["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yy", - D: "d'-'MMMM yyyy'-ж.'", - t: "H:mm", - T: "H:mm:ss", - f: "d'-'MMMM yyyy'-ж.' H:mm", - F: "d'-'MMMM yyyy'-ж.' H:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy'-ж.'" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.ky.js b/web/Scripts/globalize/cultures/globalize.culture.ky.js deleted file mode 100644 index b19156a9..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.ky.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Globalize Culture ky - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "ky", "default", { - name: "ky", - englishName: "Kyrgyz", - nativeName: "Кыргыз", - language: "ky", - numberFormat: { - ",": " ", - ".": ",", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": "-", - symbol: "сом" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Жекшемби","Дүйшөмбү","Шейшемби","Шаршемби","Бейшемби","Жума","Ишемби"], - namesAbbr: ["Жш","Дш","Шш","Шр","Бш","Жм","Иш"], - namesShort: ["Жш","Дш","Шш","Шр","Бш","Жм","Иш"] - }, - months: { - names: ["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь",""], - namesAbbr: ["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yy", - D: "d'-'MMMM yyyy'-ж.'", - t: "H:mm", - T: "H:mm:ss", - f: "d'-'MMMM yyyy'-ж.' H:mm", - F: "d'-'MMMM yyyy'-ж.' H:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy'-ж.'" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.lb-LU.js b/web/Scripts/globalize/cultures/globalize.culture.lb-LU.js deleted file mode 100644 index 74d0f64f..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.lb-LU.js +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Globalize Culture lb-LU - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "lb-LU", "default", { - name: "lb-LU", - englishName: "Luxembourgish (Luxembourg)", - nativeName: "Lëtzebuergesch (Luxembourg)", - language: "lb", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "n. num.", - negativeInfinity: "-onendlech", - positiveInfinity: "+onendlech", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["Sonndeg","Méindeg","Dënschdeg","Mëttwoch","Donneschdeg","Freideg","Samschdeg"], - namesAbbr: ["Son","Méi","Dën","Mët","Don","Fre","Sam"], - namesShort: ["So","Mé","Dë","Më","Do","Fr","Sa"] - }, - months: { - names: ["Januar","Februar","Mäerz","Abrëll","Mee","Juni","Juli","August","September","Oktober","November","Dezember",""], - namesAbbr: ["Jan","Feb","Mäe","Abr","Mee","Jun","Jul","Aug","Sep","Okt","Nov","Dez",""] - }, - AM: null, - PM: null, - eras: [{"name":"n. Chr","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd d MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd d MMMM yyyy HH:mm", - F: "dddd d MMMM yyyy HH:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.lb.js b/web/Scripts/globalize/cultures/globalize.culture.lb.js deleted file mode 100644 index 51c616a5..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.lb.js +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Globalize Culture lb - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "lb", "default", { - name: "lb", - englishName: "Luxembourgish", - nativeName: "Lëtzebuergesch", - language: "lb", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "n. num.", - negativeInfinity: "-onendlech", - positiveInfinity: "+onendlech", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["Sonndeg","Méindeg","Dënschdeg","Mëttwoch","Donneschdeg","Freideg","Samschdeg"], - namesAbbr: ["Son","Méi","Dën","Mët","Don","Fre","Sam"], - namesShort: ["So","Mé","Dë","Më","Do","Fr","Sa"] - }, - months: { - names: ["Januar","Februar","Mäerz","Abrëll","Mee","Juni","Juli","August","September","Oktober","November","Dezember",""], - namesAbbr: ["Jan","Feb","Mäe","Abr","Mee","Jun","Jul","Aug","Sep","Okt","Nov","Dez",""] - }, - AM: null, - PM: null, - eras: [{"name":"n. Chr","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd d MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd d MMMM yyyy HH:mm", - F: "dddd d MMMM yyyy HH:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.lo-LA.js b/web/Scripts/globalize/cultures/globalize.culture.lo-LA.js deleted file mode 100644 index a6f75e9e..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.lo-LA.js +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Globalize Culture lo-LA - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "lo-LA", "default", { - name: "lo-LA", - englishName: "Lao (Lao P.D.R.)", - nativeName: "ລາວ (ສ.ປ.ປ. ລາວ)", - language: "lo", - numberFormat: { - pattern: ["(n)"], - groupSizes: [3,0], - percent: { - groupSizes: [3,0] - }, - currency: { - pattern: ["(n$)","n$"], - groupSizes: [3,0], - symbol: "₭" - } - }, - calendars: { - standard: { - days: { - names: ["ວັນອາທິດ","ວັນຈັນ","ວັນອັງຄານ","ວັນພຸດ","ວັນພະຫັດ","ວັນສຸກ","ວັນເສົາ"], - namesAbbr: ["ອາທິດ","ຈັນ","ອັງຄານ","ພຸດ","ພະຫັດ","ສຸກ","ເສົາ"], - namesShort: ["ອ","ຈ","ອ","ພ","ພ","ສ","ເ"] - }, - months: { - names: ["ມັງກອນ","ກຸມພາ","ມີນາ","ເມສາ","ພຶດສະພາ","ມິຖຸນາ","ກໍລະກົດ","ສິງຫາ","ກັນຍາ","ຕຸລາ","ພະຈິກ","ທັນວາ",""], - namesAbbr: ["ມັງກອນ","ກຸມພາ","ມີນາ","ເມສາ","ພຶດສະພາ","ມິຖຸນາ","ກໍລະກົດ","ສິງຫາ","ກັນຍາ","ຕຸລາ","ພະຈິກ","ທັນວາ",""] - }, - AM: ["ເຊົ້າ","ເຊົ້າ","ເຊົ້າ"], - PM: ["ແລງ","ແລງ","ແລງ"], - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM yyyy", - t: "H:mm tt", - T: "HH:mm:ss", - f: "dd MMMM yyyy H:mm tt", - F: "dd MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.lo.js b/web/Scripts/globalize/cultures/globalize.culture.lo.js deleted file mode 100644 index 91a0734c..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.lo.js +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Globalize Culture lo - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "lo", "default", { - name: "lo", - englishName: "Lao", - nativeName: "ລາວ", - language: "lo", - numberFormat: { - pattern: ["(n)"], - groupSizes: [3,0], - percent: { - groupSizes: [3,0] - }, - currency: { - pattern: ["(n$)","n$"], - groupSizes: [3,0], - symbol: "₭" - } - }, - calendars: { - standard: { - days: { - names: ["ວັນອາທິດ","ວັນຈັນ","ວັນອັງຄານ","ວັນພຸດ","ວັນພະຫັດ","ວັນສຸກ","ວັນເສົາ"], - namesAbbr: ["ອາທິດ","ຈັນ","ອັງຄານ","ພຸດ","ພະຫັດ","ສຸກ","ເສົາ"], - namesShort: ["ອ","ຈ","ອ","ພ","ພ","ສ","ເ"] - }, - months: { - names: ["ມັງກອນ","ກຸມພາ","ມີນາ","ເມສາ","ພຶດສະພາ","ມິຖຸນາ","ກໍລະກົດ","ສິງຫາ","ກັນຍາ","ຕຸລາ","ພະຈິກ","ທັນວາ",""], - namesAbbr: ["ມັງກອນ","ກຸມພາ","ມີນາ","ເມສາ","ພຶດສະພາ","ມິຖຸນາ","ກໍລະກົດ","ສິງຫາ","ກັນຍາ","ຕຸລາ","ພະຈິກ","ທັນວາ",""] - }, - AM: ["ເຊົ້າ","ເຊົ້າ","ເຊົ້າ"], - PM: ["ແລງ","ແລງ","ແລງ"], - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM yyyy", - t: "H:mm tt", - T: "HH:mm:ss", - f: "dd MMMM yyyy H:mm tt", - F: "dd MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.lt-LT.js b/web/Scripts/globalize/cultures/globalize.culture.lt-LT.js deleted file mode 100644 index e61c1c64..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.lt-LT.js +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Globalize Culture lt-LT - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "lt-LT", "default", { - name: "lt-LT", - englishName: "Lithuanian (Lithuania)", - nativeName: "lietuvių (Lietuva)", - language: "lt", - numberFormat: { - ",": ".", - ".": ",", - negativeInfinity: "-begalybė", - positiveInfinity: "begalybė", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "Lt" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["sekmadienis","pirmadienis","antradienis","trečiadienis","ketvirtadienis","penktadienis","šeštadienis"], - namesAbbr: ["Sk","Pr","An","Tr","Kt","Pn","Št"], - namesShort: ["S","P","A","T","K","Pn","Š"] - }, - months: { - names: ["sausis","vasaris","kovas","balandis","gegužė","birželis","liepa","rugpjūtis","rugsėjis","spalis","lapkritis","gruodis",""], - namesAbbr: ["Sau","Vas","Kov","Bal","Geg","Bir","Lie","Rgp","Rgs","Spl","Lap","Grd",""] - }, - monthsGenitive: { - names: ["sausio","vasario","kovo","balandžio","gegužės","birželio","liepos","rugpjūčio","rugsėjo","spalio","lapkričio","gruodžio",""], - namesAbbr: ["Sau","Vas","Kov","Bal","Geg","Bir","Lie","Rgp","Rgs","Spl","Lap","Grd",""] - }, - AM: null, - PM: null, - patterns: { - d: "yyyy.MM.dd", - D: "yyyy 'm.' MMMM d 'd.'", - t: "HH:mm", - T: "HH:mm:ss", - f: "yyyy 'm.' MMMM d 'd.' HH:mm", - F: "yyyy 'm.' MMMM d 'd.' HH:mm:ss", - M: "MMMM d 'd.'", - Y: "yyyy 'm.' MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.lt.js b/web/Scripts/globalize/cultures/globalize.culture.lt.js deleted file mode 100644 index 56aeb3b3..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.lt.js +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Globalize Culture lt - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "lt", "default", { - name: "lt", - englishName: "Lithuanian", - nativeName: "lietuvių", - language: "lt", - numberFormat: { - ",": ".", - ".": ",", - negativeInfinity: "-begalybė", - positiveInfinity: "begalybė", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "Lt" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["sekmadienis","pirmadienis","antradienis","trečiadienis","ketvirtadienis","penktadienis","šeštadienis"], - namesAbbr: ["Sk","Pr","An","Tr","Kt","Pn","Št"], - namesShort: ["S","P","A","T","K","Pn","Š"] - }, - months: { - names: ["sausis","vasaris","kovas","balandis","gegužė","birželis","liepa","rugpjūtis","rugsėjis","spalis","lapkritis","gruodis",""], - namesAbbr: ["Sau","Vas","Kov","Bal","Geg","Bir","Lie","Rgp","Rgs","Spl","Lap","Grd",""] - }, - monthsGenitive: { - names: ["sausio","vasario","kovo","balandžio","gegužės","birželio","liepos","rugpjūčio","rugsėjo","spalio","lapkričio","gruodžio",""], - namesAbbr: ["Sau","Vas","Kov","Bal","Geg","Bir","Lie","Rgp","Rgs","Spl","Lap","Grd",""] - }, - AM: null, - PM: null, - patterns: { - d: "yyyy.MM.dd", - D: "yyyy 'm.' MMMM d 'd.'", - t: "HH:mm", - T: "HH:mm:ss", - f: "yyyy 'm.' MMMM d 'd.' HH:mm", - F: "yyyy 'm.' MMMM d 'd.' HH:mm:ss", - M: "MMMM d 'd.'", - Y: "yyyy 'm.' MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.lv-LV.js b/web/Scripts/globalize/cultures/globalize.culture.lv-LV.js deleted file mode 100644 index 60319c44..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.lv-LV.js +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Globalize Culture lv-LV - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "lv-LV", "default", { - name: "lv-LV", - englishName: "Latvian (Latvia)", - nativeName: "latviešu (Latvija)", - language: "lv", - numberFormat: { - ",": " ", - ".": ",", - negativeInfinity: "-bezgalība", - positiveInfinity: "bezgalība", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-$ n","$ n"], - ",": " ", - ".": ",", - symbol: "Ls" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["svētdiena","pirmdiena","otrdiena","trešdiena","ceturtdiena","piektdiena","sestdiena"], - namesAbbr: ["sv","pr","ot","tr","ce","pk","se"], - namesShort: ["sv","pr","ot","tr","ce","pk","se"] - }, - months: { - names: ["janvāris","februāris","marts","aprīlis","maijs","jūnijs","jūlijs","augusts","septembris","oktobris","novembris","decembris",""], - namesAbbr: ["jan","feb","mar","apr","mai","jūn","jūl","aug","sep","okt","nov","dec",""] - }, - monthsGenitive: { - names: ["janvārī","februārī","martā","aprīlī","maijā","jūnijā","jūlijā","augustā","septembrī","oktobrī","novembrī","decembrī",""], - namesAbbr: ["jan","feb","mar","apr","mai","jūn","jūl","aug","sep","okt","nov","dec",""] - }, - AM: null, - PM: null, - patterns: { - d: "yyyy.MM.dd.", - D: "dddd, yyyy'. gada 'd. MMMM", - t: "H:mm", - T: "H:mm:ss", - f: "dddd, yyyy'. gada 'd. MMMM H:mm", - F: "dddd, yyyy'. gada 'd. MMMM H:mm:ss", - M: "d. MMMM", - Y: "yyyy. MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.lv.js b/web/Scripts/globalize/cultures/globalize.culture.lv.js deleted file mode 100644 index 13249591..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.lv.js +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Globalize Culture lv - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "lv", "default", { - name: "lv", - englishName: "Latvian", - nativeName: "latviešu", - language: "lv", - numberFormat: { - ",": " ", - ".": ",", - negativeInfinity: "-bezgalība", - positiveInfinity: "bezgalība", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-$ n","$ n"], - ",": " ", - ".": ",", - symbol: "Ls" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["svētdiena","pirmdiena","otrdiena","trešdiena","ceturtdiena","piektdiena","sestdiena"], - namesAbbr: ["sv","pr","ot","tr","ce","pk","se"], - namesShort: ["sv","pr","ot","tr","ce","pk","se"] - }, - months: { - names: ["janvāris","februāris","marts","aprīlis","maijs","jūnijs","jūlijs","augusts","septembris","oktobris","novembris","decembris",""], - namesAbbr: ["jan","feb","mar","apr","mai","jūn","jūl","aug","sep","okt","nov","dec",""] - }, - monthsGenitive: { - names: ["janvārī","februārī","martā","aprīlī","maijā","jūnijā","jūlijā","augustā","septembrī","oktobrī","novembrī","decembrī",""], - namesAbbr: ["jan","feb","mar","apr","mai","jūn","jūl","aug","sep","okt","nov","dec",""] - }, - AM: null, - PM: null, - patterns: { - d: "yyyy.MM.dd.", - D: "dddd, yyyy'. gada 'd. MMMM", - t: "H:mm", - T: "H:mm:ss", - f: "dddd, yyyy'. gada 'd. MMMM H:mm", - F: "dddd, yyyy'. gada 'd. MMMM H:mm:ss", - M: "d. MMMM", - Y: "yyyy. MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.mi-NZ.js b/web/Scripts/globalize/cultures/globalize.culture.mi-NZ.js deleted file mode 100644 index e8498a2c..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.mi-NZ.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Globalize Culture mi-NZ - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "mi-NZ", "default", { - name: "mi-NZ", - englishName: "Maori (New Zealand)", - nativeName: "Reo Māori (Aotearoa)", - language: "mi", - numberFormat: { - percent: { - pattern: ["-%n","%n"] - }, - currency: { - pattern: ["-$n","$n"] - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["Rātapu","Rāhina","Rātū","Rāapa","Rāpare","Rāmere","Rāhoroi"], - namesAbbr: ["Ta","Hi","Tū","Apa","Pa","Me","Ho"], - namesShort: ["Ta","Hi","Tū","Aa","Pa","Me","Ho"] - }, - months: { - names: ["Kohi-tātea","Hui-tanguru","Poutū-te-rangi","Paenga-whāwhā","Haratua","Pipiri","Hōngongoi","Here-turi-kōkā","Mahuru","Whiringa-ā-nuku","Whiringa-ā-rangi","Hakihea",""], - namesAbbr: ["Kohi","Hui","Pou","Pae","Hara","Pipi","Hōngo","Here","Mahu","Nuku","Rangi","Haki",""] - }, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd MMMM, yyyy", - f: "dddd, dd MMMM, yyyy h:mm tt", - F: "dddd, dd MMMM, yyyy h:mm:ss tt", - M: "dd MMMM", - Y: "MMMM, yy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.mi.js b/web/Scripts/globalize/cultures/globalize.culture.mi.js deleted file mode 100644 index 54e9bbb4..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.mi.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Globalize Culture mi - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "mi", "default", { - name: "mi", - englishName: "Maori", - nativeName: "Reo Māori", - language: "mi", - numberFormat: { - percent: { - pattern: ["-%n","%n"] - }, - currency: { - pattern: ["-$n","$n"] - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["Rātapu","Rāhina","Rātū","Rāapa","Rāpare","Rāmere","Rāhoroi"], - namesAbbr: ["Ta","Hi","Tū","Apa","Pa","Me","Ho"], - namesShort: ["Ta","Hi","Tū","Aa","Pa","Me","Ho"] - }, - months: { - names: ["Kohi-tātea","Hui-tanguru","Poutū-te-rangi","Paenga-whāwhā","Haratua","Pipiri","Hōngongoi","Here-turi-kōkā","Mahuru","Whiringa-ā-nuku","Whiringa-ā-rangi","Hakihea",""], - namesAbbr: ["Kohi","Hui","Pou","Pae","Hara","Pipi","Hōngo","Here","Mahu","Nuku","Rangi","Haki",""] - }, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd MMMM, yyyy", - f: "dddd, dd MMMM, yyyy h:mm tt", - F: "dddd, dd MMMM, yyyy h:mm:ss tt", - M: "dd MMMM", - Y: "MMMM, yy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.mk-MK.js b/web/Scripts/globalize/cultures/globalize.culture.mk-MK.js deleted file mode 100644 index d2f9c047..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.mk-MK.js +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Globalize Culture mk-MK - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "mk-MK", "default", { - name: "mk-MK", - englishName: "Macedonian (Former Yugoslav Republic of Macedonia)", - nativeName: "македонски јазик (Македонија)", - language: "mk", - numberFormat: { - ",": ".", - ".": ",", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "ден." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["недела","понеделник","вторник","среда","четврток","петок","сабота"], - namesAbbr: ["нед","пон","втр","срд","чет","пет","саб"], - namesShort: ["не","по","вт","ср","че","пе","са"] - }, - months: { - names: ["јануари","февруари","март","април","мај","јуни","јули","август","септември","октомври","ноември","декември",""], - namesAbbr: ["јан","фев","мар","апр","мај","јун","јул","авг","сеп","окт","ное","дек",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "dddd, dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd, dd MMMM yyyy HH:mm", - F: "dddd, dd MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.mk.js b/web/Scripts/globalize/cultures/globalize.culture.mk.js deleted file mode 100644 index 0fdc048f..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.mk.js +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Globalize Culture mk - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "mk", "default", { - name: "mk", - englishName: "Macedonian (FYROM)", - nativeName: "македонски јазик", - language: "mk", - numberFormat: { - ",": ".", - ".": ",", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "ден." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["недела","понеделник","вторник","среда","четврток","петок","сабота"], - namesAbbr: ["нед","пон","втр","срд","чет","пет","саб"], - namesShort: ["не","по","вт","ср","че","пе","са"] - }, - months: { - names: ["јануари","февруари","март","април","мај","јуни","јули","август","септември","октомври","ноември","декември",""], - namesAbbr: ["јан","фев","мар","апр","мај","јун","јул","авг","сеп","окт","ное","дек",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "dddd, dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd, dd MMMM yyyy HH:mm", - F: "dddd, dd MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.ml-IN.js b/web/Scripts/globalize/cultures/globalize.culture.ml-IN.js deleted file mode 100644 index 1c43494a..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.ml-IN.js +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Globalize Culture ml-IN - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "ml-IN", "default", { - name: "ml-IN", - englishName: "Malayalam (India)", - nativeName: "മലയാളം (ഭാരതം)", - language: "ml", - numberFormat: { - groupSizes: [3,2], - percent: { - pattern: ["-%n","%n"], - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,2], - symbol: "ക" - } - }, - calendars: { - standard: { - "/": "-", - ":": ".", - firstDay: 1, - days: { - names: ["ഞായറാഴ്ച","തിങ്കളാഴ്ച","ചൊവ്വാഴ്ച","ബുധനാഴ്ച","വ്യാഴാഴ്ച","വെള്ളിയാഴ്ച","ശനിയാഴ്ച"], - namesAbbr: ["ഞായർ.","തിങ്കൾ.","ചൊവ്വ.","ബുധൻ.","വ്യാഴം.","വെള്ളി.","ശനി."], - namesShort: ["ഞ","ത","ച","ബ","വ","വെ","ശ"] - }, - months: { - names: ["ജനുവരി","ഫെബ്റുവരി","മാറ്ച്ച്","ഏപ്റില്","മെയ്","ജൂണ്","ജൂലൈ","ഓഗസ്ററ്","സെപ്ററംബറ്","ഒക്ടോബറ്","നവംബറ്","ഡിസംബറ്",""], - namesAbbr: ["ജനുവരി","ഫെബ്റുവരി","മാറ്ച്ച്","ഏപ്റില്","മെയ്","ജൂണ്","ജൂലൈ","ഓഗസ്ററ്","സെപ്ററംബറ്","ഒക്ടോബറ്","നവംബറ്","ഡിസംബറ്",""] - }, - patterns: { - d: "dd-MM-yy", - D: "dd MMMM yyyy", - t: "HH.mm", - T: "HH.mm.ss", - f: "dd MMMM yyyy HH.mm", - F: "dd MMMM yyyy HH.mm.ss", - M: "dd MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.ml.js b/web/Scripts/globalize/cultures/globalize.culture.ml.js deleted file mode 100644 index b6b89e80..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.ml.js +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Globalize Culture ml - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "ml", "default", { - name: "ml", - englishName: "Malayalam", - nativeName: "മലയാളം", - language: "ml", - numberFormat: { - groupSizes: [3,2], - percent: { - pattern: ["-%n","%n"], - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,2], - symbol: "ക" - } - }, - calendars: { - standard: { - "/": "-", - ":": ".", - firstDay: 1, - days: { - names: ["ഞായറാഴ്ച","തിങ്കളാഴ്ച","ചൊവ്വാഴ്ച","ബുധനാഴ്ച","വ്യാഴാഴ്ച","വെള്ളിയാഴ്ച","ശനിയാഴ്ച"], - namesAbbr: ["ഞായർ.","തിങ്കൾ.","ചൊവ്വ.","ബുധൻ.","വ്യാഴം.","വെള്ളി.","ശനി."], - namesShort: ["ഞ","ത","ച","ബ","വ","വെ","ശ"] - }, - months: { - names: ["ജനുവരി","ഫെബ്റുവരി","മാറ്ച്ച്","ഏപ്റില്","മെയ്","ജൂണ്","ജൂലൈ","ഓഗസ്ററ്","സെപ്ററംബറ്","ഒക്ടോബറ്","നവംബറ്","ഡിസംബറ്",""], - namesAbbr: ["ജനുവരി","ഫെബ്റുവരി","മാറ്ച്ച്","ഏപ്റില്","മെയ്","ജൂണ്","ജൂലൈ","ഓഗസ്ററ്","സെപ്ററംബറ്","ഒക്ടോബറ്","നവംബറ്","ഡിസംബറ്",""] - }, - patterns: { - d: "dd-MM-yy", - D: "dd MMMM yyyy", - t: "HH.mm", - T: "HH.mm.ss", - f: "dd MMMM yyyy HH.mm", - F: "dd MMMM yyyy HH.mm.ss", - M: "dd MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.mn-Cyrl.js b/web/Scripts/globalize/cultures/globalize.culture.mn-Cyrl.js deleted file mode 100644 index dd07a237..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.mn-Cyrl.js +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Globalize Culture mn-Cyrl - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "mn-Cyrl", "default", { - name: "mn-Cyrl", - englishName: "Mongolian (Cyrillic)", - nativeName: "Монгол хэл", - language: "mn-Cyrl", - numberFormat: { - ",": " ", - ".": ",", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n$","n$"], - ",": " ", - ".": ",", - symbol: "₮" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Ням","Даваа","Мягмар","Лхагва","Пүрэв","Баасан","Бямба"], - namesAbbr: ["Ня","Да","Мя","Лх","Пү","Ба","Бя"], - namesShort: ["Ня","Да","Мя","Лх","Пү","Ба","Бя"] - }, - months: { - names: ["1 дүгээр сар","2 дугаар сар","3 дугаар сар","4 дүгээр сар","5 дугаар сар","6 дугаар сар","7 дугаар сар","8 дугаар сар","9 дүгээр сар","10 дугаар сар","11 дүгээр сар","12 дугаар сар",""], - namesAbbr: ["I","II","III","IV","V","VI","VII","VIII","IX","X","XI","XII",""] - }, - monthsGenitive: { - names: ["1 дүгээр сарын","2 дугаар сарын","3 дугаар сарын","4 дүгээр сарын","5 дугаар сарын","6 дугаар сарын","7 дугаар сарын","8 дугаар сарын","9 дүгээр сарын","10 дугаар сарын","11 дүгээр сарын","12 дугаар сарын",""], - namesAbbr: ["I","II","III","IV","V","VI","VII","VIII","IX","X","XI","XII",""] - }, - AM: null, - PM: null, - patterns: { - d: "yy.MM.dd", - D: "yyyy 'оны' MMMM d", - t: "H:mm", - T: "H:mm:ss", - f: "yyyy 'оны' MMMM d H:mm", - F: "yyyy 'оны' MMMM d H:mm:ss", - M: "d MMMM", - Y: "yyyy 'он' MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.mn-MN.js b/web/Scripts/globalize/cultures/globalize.culture.mn-MN.js deleted file mode 100644 index 0f0a8a3c..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.mn-MN.js +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Globalize Culture mn-MN - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "mn-MN", "default", { - name: "mn-MN", - englishName: "Mongolian (Cyrillic, Mongolia)", - nativeName: "Монгол хэл (Монгол улс)", - language: "mn-Cyrl", - numberFormat: { - ",": " ", - ".": ",", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n$","n$"], - ",": " ", - ".": ",", - symbol: "₮" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Ням","Даваа","Мягмар","Лхагва","Пүрэв","Баасан","Бямба"], - namesAbbr: ["Ня","Да","Мя","Лх","Пү","Ба","Бя"], - namesShort: ["Ня","Да","Мя","Лх","Пү","Ба","Бя"] - }, - months: { - names: ["1 дүгээр сар","2 дугаар сар","3 дугаар сар","4 дүгээр сар","5 дугаар сар","6 дугаар сар","7 дугаар сар","8 дугаар сар","9 дүгээр сар","10 дугаар сар","11 дүгээр сар","12 дугаар сар",""], - namesAbbr: ["I","II","III","IV","V","VI","VII","VIII","IX","X","XI","XII",""] - }, - monthsGenitive: { - names: ["1 дүгээр сарын","2 дугаар сарын","3 дугаар сарын","4 дүгээр сарын","5 дугаар сарын","6 дугаар сарын","7 дугаар сарын","8 дугаар сарын","9 дүгээр сарын","10 дугаар сарын","11 дүгээр сарын","12 дугаар сарын",""], - namesAbbr: ["I","II","III","IV","V","VI","VII","VIII","IX","X","XI","XII",""] - }, - AM: null, - PM: null, - patterns: { - d: "yy.MM.dd", - D: "yyyy 'оны' MMMM d", - t: "H:mm", - T: "H:mm:ss", - f: "yyyy 'оны' MMMM d H:mm", - F: "yyyy 'оны' MMMM d H:mm:ss", - M: "d MMMM", - Y: "yyyy 'он' MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.mn-Mong-CN.js b/web/Scripts/globalize/cultures/globalize.culture.mn-Mong-CN.js deleted file mode 100644 index 02f2e0b2..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.mn-Mong-CN.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Globalize Culture mn-Mong-CN - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "mn-Mong-CN", "default", { - name: "mn-Mong-CN", - englishName: "Mongolian (Traditional Mongolian, PRC)", - nativeName: "ᠮᠤᠨᠭᠭᠤᠯ ᠬᠡᠯᠡ (ᠪᠦᠭᠦᠳᠡ ᠨᠠᠢᠷᠠᠮᠳᠠᠬᠤ ᠳᠤᠮᠳᠠᠳᠤ ᠠᠷᠠᠳ ᠣᠯᠣᠰ)", - language: "mn-Mong", - numberFormat: { - groupSizes: [3,0], - "NaN": "ᠲᠤᠭᠠᠠ ᠪᠤᠰᠤ", - negativeInfinity: "ᠰᠦᠬᠡᠷᠬᠦ ᠬᠢᠵᠠᠭᠠᠷᠭᠦᠢ ᠶᠡᠬᠡ", - positiveInfinity: "ᠡᠶ᠋ᠡᠷᠬᠦ ᠬᠢᠵᠠᠭᠠᠷᠭᠦᠢ ᠶᠠᠬᠡ", - percent: { - pattern: ["-n%","n%"], - groupSizes: [3,0] - }, - currency: { - pattern: ["$-n","$n"], - groupSizes: [3,0], - symbol: "¥" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠡᠳᠦᠷ","ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠨᠢᠭᠡᠨ","ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠬᠣᠶᠠᠷ","ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠭᠤᠷᠪᠠᠨ","ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠳᠥᠷᠪᠡᠨ","ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠲᠠᠪᠤᠨ","ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠵᠢᠷᠭᠤᠭᠠᠨ"], - namesAbbr: ["ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠡᠳᠦᠷ","ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠨᠢᠭᠡᠨ","ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠬᠣᠶᠠᠷ","ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠭᠤᠷᠪᠠᠨ","ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠳᠥᠷᠪᠡᠨ","ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠲᠠᠪᠤᠨ","ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠵᠢᠷᠭᠤᠭᠠᠨ"], - namesShort: ["ᠡ\u200d","ᠨᠢ\u200d","ᠬᠣ\u200d","ᠭᠤ\u200d","ᠳᠥ\u200d","ᠲᠠ\u200d","ᠵᠢ\u200d"] - }, - months: { - names: ["ᠨᠢᠭᠡᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠬᠤᠶ᠋ᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠭᠤᠷᠪᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠲᠦᠷᠪᠡᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠲᠠᠪᠤᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠵᠢᠷᠭᠤᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠲᠤᠯᠤᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠨᠠᠢᠮᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠶᠢᠰᠦᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠠᠷᠪᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠠᠷᠪᠠᠨ ᠨᠢᠭᠡᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠠᠷᠪᠠᠨ ᠬᠤᠶ᠋ᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ",""], - namesAbbr: ["ᠨᠢᠭᠡᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠬᠤᠶ᠋ᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠭᠤᠷᠪᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠲᠦᠷᠪᠡᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠲᠠᠪᠤᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠵᠢᠷᠭᠤᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠲᠤᠯᠤᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠨᠠᠢᠮᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠶᠢᠰᠦᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠠᠷᠪᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠠᠷᠪᠠᠨ ᠨᠢᠭᠡᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠠᠷᠪᠠᠨ ᠬᠤᠶ᠋ᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ",""] - }, - AM: null, - PM: null, - eras: [{"name":"ᠣᠨ ᠲᠣᠭᠠᠯᠠᠯ ᠤᠨ","start":null,"offset":0}], - patterns: { - d: "yyyy/M/d", - D: "yyyy'ᠣᠨ ᠤ᠋' M'ᠰᠠᠷ᠎ᠠ \u202fᠢᠢᠨ 'd' ᠤ᠋ ᠡᠳᠦᠷ'", - t: "H:mm", - T: "H:mm:ss", - f: "yyyy'ᠣᠨ ᠤ᠋' M'ᠰᠠᠷ᠎ᠠ \u202fᠢᠢᠨ 'd' ᠤ᠋ ᠡᠳᠦᠷ' H:mm", - F: "yyyy'ᠣᠨ ᠤ᠋' M'ᠰᠠᠷ᠎ᠠ \u202fᠢᠢᠨ 'd' ᠤ᠋ ᠡᠳᠦᠷ' H:mm:ss", - M: "M'ᠰᠠᠷ᠎ᠠ' d'ᠡᠳᠦᠷ'", - Y: "yyyy'ᠣᠨ' M'ᠰᠠᠷ᠎ᠠ'" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.mn-Mong.js b/web/Scripts/globalize/cultures/globalize.culture.mn-Mong.js deleted file mode 100644 index 7f21608e..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.mn-Mong.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Globalize Culture mn-Mong - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "mn-Mong", "default", { - name: "mn-Mong", - englishName: "Mongolian (Traditional Mongolian)", - nativeName: "ᠮᠤᠨᠭᠭᠤᠯ ᠬᠡᠯᠡ", - language: "mn-Mong", - numberFormat: { - groupSizes: [3,0], - "NaN": "ᠲᠤᠭᠠᠠ ᠪᠤᠰᠤ", - negativeInfinity: "ᠰᠦᠬᠡᠷᠬᠦ ᠬᠢᠵᠠᠭᠠᠷᠭᠦᠢ ᠶᠡᠬᠡ", - positiveInfinity: "ᠡᠶ᠋ᠡᠷᠬᠦ ᠬᠢᠵᠠᠭᠠᠷᠭᠦᠢ ᠶᠠᠬᠡ", - percent: { - pattern: ["-n%","n%"], - groupSizes: [3,0] - }, - currency: { - pattern: ["$-n","$n"], - groupSizes: [3,0], - symbol: "¥" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠡᠳᠦᠷ","ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠨᠢᠭᠡᠨ","ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠬᠣᠶᠠᠷ","ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠭᠤᠷᠪᠠᠨ","ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠳᠥᠷᠪᠡᠨ","ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠲᠠᠪᠤᠨ","ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠵᠢᠷᠭᠤᠭᠠᠨ"], - namesAbbr: ["ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠡᠳᠦᠷ","ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠨᠢᠭᠡᠨ","ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠬᠣᠶᠠᠷ","ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠭᠤᠷᠪᠠᠨ","ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠳᠥᠷᠪᠡᠨ","ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠲᠠᠪᠤᠨ","ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠵᠢᠷᠭᠤᠭᠠᠨ"], - namesShort: ["ᠡ\u200d","ᠨᠢ\u200d","ᠬᠣ\u200d","ᠭᠤ\u200d","ᠳᠥ\u200d","ᠲᠠ\u200d","ᠵᠢ\u200d"] - }, - months: { - names: ["ᠨᠢᠭᠡᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠬᠤᠶ᠋ᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠭᠤᠷᠪᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠲᠦᠷᠪᠡᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠲᠠᠪᠤᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠵᠢᠷᠭᠤᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠲᠤᠯᠤᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠨᠠᠢᠮᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠶᠢᠰᠦᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠠᠷᠪᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠠᠷᠪᠠᠨ ᠨᠢᠭᠡᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠠᠷᠪᠠᠨ ᠬᠤᠶ᠋ᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ",""], - namesAbbr: ["ᠨᠢᠭᠡᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠬᠤᠶ᠋ᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠭᠤᠷᠪᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠲᠦᠷᠪᠡᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠲᠠᠪᠤᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠵᠢᠷᠭᠤᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠲᠤᠯᠤᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠨᠠᠢᠮᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠶᠢᠰᠦᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠠᠷᠪᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠠᠷᠪᠠᠨ ᠨᠢᠭᠡᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠠᠷᠪᠠᠨ ᠬᠤᠶ᠋ᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ",""] - }, - AM: null, - PM: null, - eras: [{"name":"ᠣᠨ ᠲᠣᠭᠠᠯᠠᠯ ᠤᠨ","start":null,"offset":0}], - patterns: { - d: "yyyy/M/d", - D: "yyyy'ᠣᠨ ᠤ᠋' M'ᠰᠠᠷ᠎ᠠ \u202fᠢᠢᠨ 'd' ᠤ᠋ ᠡᠳᠦᠷ'", - t: "H:mm", - T: "H:mm:ss", - f: "yyyy'ᠣᠨ ᠤ᠋' M'ᠰᠠᠷ᠎ᠠ \u202fᠢᠢᠨ 'd' ᠤ᠋ ᠡᠳᠦᠷ' H:mm", - F: "yyyy'ᠣᠨ ᠤ᠋' M'ᠰᠠᠷ᠎ᠠ \u202fᠢᠢᠨ 'd' ᠤ᠋ ᠡᠳᠦᠷ' H:mm:ss", - M: "M'ᠰᠠᠷ᠎ᠠ' d'ᠡᠳᠦᠷ'", - Y: "yyyy'ᠣᠨ' M'ᠰᠠᠷ᠎ᠠ'" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.mn.js b/web/Scripts/globalize/cultures/globalize.culture.mn.js deleted file mode 100644 index 5d43c23b..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.mn.js +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Globalize Culture mn - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "mn", "default", { - name: "mn", - englishName: "Mongolian", - nativeName: "Монгол хэл", - language: "mn", - numberFormat: { - ",": " ", - ".": ",", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n$","n$"], - ",": " ", - ".": ",", - symbol: "₮" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Ням","Даваа","Мягмар","Лхагва","Пүрэв","Баасан","Бямба"], - namesAbbr: ["Ня","Да","Мя","Лх","Пү","Ба","Бя"], - namesShort: ["Ня","Да","Мя","Лх","Пү","Ба","Бя"] - }, - months: { - names: ["1 дүгээр сар","2 дугаар сар","3 дугаар сар","4 дүгээр сар","5 дугаар сар","6 дугаар сар","7 дугаар сар","8 дугаар сар","9 дүгээр сар","10 дугаар сар","11 дүгээр сар","12 дугаар сар",""], - namesAbbr: ["I","II","III","IV","V","VI","VII","VIII","IX","X","XI","XII",""] - }, - monthsGenitive: { - names: ["1 дүгээр сарын","2 дугаар сарын","3 дугаар сарын","4 дүгээр сарын","5 дугаар сарын","6 дугаар сарын","7 дугаар сарын","8 дугаар сарын","9 дүгээр сарын","10 дугаар сарын","11 дүгээр сарын","12 дугаар сарын",""], - namesAbbr: ["I","II","III","IV","V","VI","VII","VIII","IX","X","XI","XII",""] - }, - AM: null, - PM: null, - patterns: { - d: "yy.MM.dd", - D: "yyyy 'оны' MMMM d", - t: "H:mm", - T: "H:mm:ss", - f: "yyyy 'оны' MMMM d H:mm", - F: "yyyy 'оны' MMMM d H:mm:ss", - M: "d MMMM", - Y: "yyyy 'он' MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.moh-CA.js b/web/Scripts/globalize/cultures/globalize.culture.moh-CA.js deleted file mode 100644 index 98a5a2e3..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.moh-CA.js +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Globalize Culture moh-CA - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "moh-CA", "default", { - name: "moh-CA", - englishName: "Mohawk (Mohawk)", - nativeName: "Kanien'kéha", - language: "moh", - numberFormat: { - groupSizes: [3,0], - percent: { - groupSizes: [3,0] - } - }, - calendars: { - standard: { - days: { - names: ["Awentatokentì:ke","Awentataón'ke","Ratironhia'kehronòn:ke","Soséhne","Okaristiiáhne","Ronwaia'tanentaktonhne","Entákta"], - namesShort: ["S","M","T","W","T","F","S"] - }, - months: { - names: ["Tsothohrkó:Wa","Enniska","Enniskó:Wa","Onerahtókha","Onerahtohkó:Wa","Ohiari:Ha","Ohiarihkó:Wa","Seskéha","Seskehkó:Wa","Kenténha","Kentenhkó:Wa","Tsothóhrha",""] - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.moh.js b/web/Scripts/globalize/cultures/globalize.culture.moh.js deleted file mode 100644 index 2bd054c4..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.moh.js +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Globalize Culture moh - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "moh", "default", { - name: "moh", - englishName: "Mohawk", - nativeName: "Kanien'kéha", - language: "moh", - numberFormat: { - groupSizes: [3,0], - percent: { - groupSizes: [3,0] - } - }, - calendars: { - standard: { - days: { - names: ["Awentatokentì:ke","Awentataón'ke","Ratironhia'kehronòn:ke","Soséhne","Okaristiiáhne","Ronwaia'tanentaktonhne","Entákta"], - namesShort: ["S","M","T","W","T","F","S"] - }, - months: { - names: ["Tsothohrkó:Wa","Enniska","Enniskó:Wa","Onerahtókha","Onerahtohkó:Wa","Ohiari:Ha","Ohiarihkó:Wa","Seskéha","Seskehkó:Wa","Kenténha","Kentenhkó:Wa","Tsothóhrha",""] - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.mr-IN.js b/web/Scripts/globalize/cultures/globalize.culture.mr-IN.js deleted file mode 100644 index cc703a2f..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.mr-IN.js +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Globalize Culture mr-IN - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "mr-IN", "default", { - name: "mr-IN", - englishName: "Marathi (India)", - nativeName: "मराठी (भारत)", - language: "mr", - numberFormat: { - groupSizes: [3,2], - percent: { - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,2], - symbol: "रु" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["रविवार","सोमवार","मंगळवार","बुधवार","गुरुवार","शुक्रवार","शनिवार"], - namesAbbr: ["रवि.","सोम.","मंगळ.","बुध.","गुरु.","शुक्र.","शनि."], - namesShort: ["र","स","म","ब","ग","श","श"] - }, - months: { - names: ["जानेवारी","फेब्रुवारी","मार्च","एप्रिल","मे","जून","जुलै","ऑगस्ट","सप्टेंबर","ऑक्टोबर","नोव्हेंबर","डिसेंबर",""], - namesAbbr: ["जाने.","फेब्रु.","मार्च","एप्रिल","मे","जून","जुलै","ऑगस्ट","सप्टें.","ऑक्टो.","नोव्हें.","डिसें.",""] - }, - AM: ["म.पू.","म.पू.","म.पू."], - PM: ["म.नं.","म.नं.","म.नं."], - patterns: { - d: "dd-MM-yyyy", - D: "dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd MMMM yyyy HH:mm", - F: "dd MMMM yyyy HH:mm:ss", - M: "dd MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.mr.js b/web/Scripts/globalize/cultures/globalize.culture.mr.js deleted file mode 100644 index 2d275bef..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.mr.js +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Globalize Culture mr - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "mr", "default", { - name: "mr", - englishName: "Marathi", - nativeName: "मराठी", - language: "mr", - numberFormat: { - groupSizes: [3,2], - percent: { - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,2], - symbol: "रु" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["रविवार","सोमवार","मंगळवार","बुधवार","गुरुवार","शुक्रवार","शनिवार"], - namesAbbr: ["रवि.","सोम.","मंगळ.","बुध.","गुरु.","शुक्र.","शनि."], - namesShort: ["र","स","म","ब","ग","श","श"] - }, - months: { - names: ["जानेवारी","फेब्रुवारी","मार्च","एप्रिल","मे","जून","जुलै","ऑगस्ट","सप्टेंबर","ऑक्टोबर","नोव्हेंबर","डिसेंबर",""], - namesAbbr: ["जाने.","फेब्रु.","मार्च","एप्रिल","मे","जून","जुलै","ऑगस्ट","सप्टें.","ऑक्टो.","नोव्हें.","डिसें.",""] - }, - AM: ["म.पू.","म.पू.","म.पू."], - PM: ["म.नं.","म.नं.","म.नं."], - patterns: { - d: "dd-MM-yyyy", - D: "dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd MMMM yyyy HH:mm", - F: "dd MMMM yyyy HH:mm:ss", - M: "dd MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.ms-BN.js b/web/Scripts/globalize/cultures/globalize.culture.ms-BN.js deleted file mode 100644 index f6b62299..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.ms-BN.js +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Globalize Culture ms-BN - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "ms-BN", "default", { - name: "ms-BN", - englishName: "Malay (Brunei Darussalam)", - nativeName: "Bahasa Melayu (Brunei Darussalam)", - language: "ms", - numberFormat: { - ",": ".", - ".": ",", - percent: { - ",": ".", - ".": "," - }, - currency: { - decimals: 0, - ",": ".", - ".": "," - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["Ahad","Isnin","Selasa","Rabu","Khamis","Jumaat","Sabtu"], - namesAbbr: ["Ahad","Isnin","Sel","Rabu","Khamis","Jumaat","Sabtu"], - namesShort: ["A","I","S","R","K","J","S"] - }, - months: { - names: ["Januari","Februari","Mac","April","Mei","Jun","Julai","Ogos","September","Oktober","November","Disember",""], - namesAbbr: ["Jan","Feb","Mac","Apr","Mei","Jun","Jul","Ogos","Sept","Okt","Nov","Dis",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dd MMMM yyyy H:mm", - F: "dd MMMM yyyy H:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.ms-MY.js b/web/Scripts/globalize/cultures/globalize.culture.ms-MY.js deleted file mode 100644 index 7a55c388..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.ms-MY.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Globalize Culture ms-MY - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "ms-MY", "default", { - name: "ms-MY", - englishName: "Malay (Malaysia)", - nativeName: "Bahasa Melayu (Malaysia)", - language: "ms", - numberFormat: { - currency: { - decimals: 0, - symbol: "RM" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["Ahad","Isnin","Selasa","Rabu","Khamis","Jumaat","Sabtu"], - namesAbbr: ["Ahad","Isnin","Sel","Rabu","Khamis","Jumaat","Sabtu"], - namesShort: ["A","I","S","R","K","J","S"] - }, - months: { - names: ["Januari","Februari","Mac","April","Mei","Jun","Julai","Ogos","September","Oktober","November","Disember",""], - namesAbbr: ["Jan","Feb","Mac","Apr","Mei","Jun","Jul","Ogos","Sept","Okt","Nov","Dis",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dd MMMM yyyy H:mm", - F: "dd MMMM yyyy H:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.ms.js b/web/Scripts/globalize/cultures/globalize.culture.ms.js deleted file mode 100644 index 9a8ed21f..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.ms.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Globalize Culture ms - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "ms", "default", { - name: "ms", - englishName: "Malay", - nativeName: "Bahasa Melayu", - language: "ms", - numberFormat: { - currency: { - decimals: 0, - symbol: "RM" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["Ahad","Isnin","Selasa","Rabu","Khamis","Jumaat","Sabtu"], - namesAbbr: ["Ahad","Isnin","Sel","Rabu","Khamis","Jumaat","Sabtu"], - namesShort: ["A","I","S","R","K","J","S"] - }, - months: { - names: ["Januari","Februari","Mac","April","Mei","Jun","Julai","Ogos","September","Oktober","November","Disember",""], - namesAbbr: ["Jan","Feb","Mac","Apr","Mei","Jun","Jul","Ogos","Sept","Okt","Nov","Dis",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dd MMMM yyyy H:mm", - F: "dd MMMM yyyy H:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.mt-MT.js b/web/Scripts/globalize/cultures/globalize.culture.mt-MT.js deleted file mode 100644 index 639c9020..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.mt-MT.js +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Globalize Culture mt-MT - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "mt-MT", "default", { - name: "mt-MT", - englishName: "Maltese (Malta)", - nativeName: "Malti (Malta)", - language: "mt", - numberFormat: { - percent: { - pattern: ["-%n","%n"] - }, - currency: { - pattern: ["-$n","$n"], - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["Il-Ħadd","It-Tnejn","It-Tlieta","L-Erbgħa","Il-Ħamis","Il-Ġimgħa","Is-Sibt"], - namesAbbr: ["Ħad","Tne","Tli","Erb","Ħam","Ġim","Sib"], - namesShort: ["I","I","I","L","I","I","I"] - }, - months: { - names: ["Jannar","Frar","Marzu","April","Mejju","Ġunju","Lulju","Awissu","Settembru","Ottubru","Novembru","Diċembru",""], - namesAbbr: ["Jan","Fra","Mar","Apr","Mej","Ġun","Lul","Awi","Set","Ott","Nov","Diċ",""] - }, - patterns: { - d: "dd/MM/yyyy", - D: "dddd, d' ta\\' 'MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd, d' ta\\' 'MMMM yyyy HH:mm", - F: "dddd, d' ta\\' 'MMMM yyyy HH:mm:ss", - M: "d' ta\\' 'MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.mt.js b/web/Scripts/globalize/cultures/globalize.culture.mt.js deleted file mode 100644 index cde51054..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.mt.js +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Globalize Culture mt - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "mt", "default", { - name: "mt", - englishName: "Maltese", - nativeName: "Malti", - language: "mt", - numberFormat: { - percent: { - pattern: ["-%n","%n"] - }, - currency: { - pattern: ["-$n","$n"], - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["Il-Ħadd","It-Tnejn","It-Tlieta","L-Erbgħa","Il-Ħamis","Il-Ġimgħa","Is-Sibt"], - namesAbbr: ["Ħad","Tne","Tli","Erb","Ħam","Ġim","Sib"], - namesShort: ["I","I","I","L","I","I","I"] - }, - months: { - names: ["Jannar","Frar","Marzu","April","Mejju","Ġunju","Lulju","Awissu","Settembru","Ottubru","Novembru","Diċembru",""], - namesAbbr: ["Jan","Fra","Mar","Apr","Mej","Ġun","Lul","Awi","Set","Ott","Nov","Diċ",""] - }, - patterns: { - d: "dd/MM/yyyy", - D: "dddd, d' ta\\' 'MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd, d' ta\\' 'MMMM yyyy HH:mm", - F: "dddd, d' ta\\' 'MMMM yyyy HH:mm:ss", - M: "d' ta\\' 'MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.nb-NO.js b/web/Scripts/globalize/cultures/globalize.culture.nb-NO.js deleted file mode 100644 index 27c74420..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.nb-NO.js +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Globalize Culture nb-NO - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "nb-NO", "default", { - name: "nb-NO", - englishName: "Norwegian, Bokmål (Norway)", - nativeName: "norsk, bokmål (Norge)", - language: "nb", - numberFormat: { - ",": " ", - ".": ",", - negativeInfinity: "-INF", - positiveInfinity: "INF", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["$ -n","$ n"], - ",": " ", - ".": ",", - symbol: "kr" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"], - namesAbbr: ["sø","ma","ti","on","to","fr","lø"], - namesShort: ["sø","ma","ti","on","to","fr","lø"] - }, - months: { - names: ["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember",""], - namesAbbr: ["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "d. MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "d. MMMM yyyy HH:mm", - F: "d. MMMM yyyy HH:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.nb.js b/web/Scripts/globalize/cultures/globalize.culture.nb.js deleted file mode 100644 index 8b959ed6..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.nb.js +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Globalize Culture nb - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "nb", "default", { - name: "nb", - englishName: "Norwegian (Bokmål)", - nativeName: "norsk (bokmål)", - language: "nb", - numberFormat: { - ",": " ", - ".": ",", - negativeInfinity: "-INF", - positiveInfinity: "INF", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["$ -n","$ n"], - ",": " ", - ".": ",", - symbol: "kr" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"], - namesAbbr: ["sø","ma","ti","on","to","fr","lø"], - namesShort: ["sø","ma","ti","on","to","fr","lø"] - }, - months: { - names: ["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember",""], - namesAbbr: ["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "d. MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "d. MMMM yyyy HH:mm", - F: "d. MMMM yyyy HH:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.ne-NP.js b/web/Scripts/globalize/cultures/globalize.culture.ne-NP.js deleted file mode 100644 index e353fbac..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.ne-NP.js +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Globalize Culture ne-NP - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "ne-NP", "default", { - name: "ne-NP", - englishName: "Nepali (Nepal)", - nativeName: "नेपाली (नेपाल)", - language: "ne", - numberFormat: { - groupSizes: [3,2], - "NaN": "nan", - negativeInfinity: "-infinity", - positiveInfinity: "infinity", - percent: { - pattern: ["-n%","n%"], - groupSizes: [3,2] - }, - currency: { - pattern: ["-$n","$n"], - symbol: "रु" - } - }, - calendars: { - standard: { - days: { - names: ["आइतवार","सोमवार","मङ्गलवार","बुधवार","बिहीवार","शुक्रवार","शनिवार"], - namesAbbr: ["आइत","सोम","मङ्गल","बुध","बिही","शुक्र","शनि"], - namesShort: ["आ","सो","म","बु","बि","शु","श"] - }, - months: { - names: ["जनवरी","फेब्रुअरी","मार्च","अप्रिल","मे","जून","जुलाई","अगस्त","सेप्टेम्बर","अक्टोबर","नोभेम्बर","डिसेम्बर",""], - namesAbbr: ["जन","फेब","मार्च","अप्रिल","मे","जून","जुलाई","अग","सेप्ट","अक्ट","नोभ","डिस",""] - }, - AM: ["विहानी","विहानी","विहानी"], - PM: ["बेलुकी","बेलुकी","बेलुकी"], - eras: [{"name":"a.d.","start":null,"offset":0}], - patterns: { - Y: "MMMM,yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.ne.js b/web/Scripts/globalize/cultures/globalize.culture.ne.js deleted file mode 100644 index c36a9601..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.ne.js +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Globalize Culture ne - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "ne", "default", { - name: "ne", - englishName: "Nepali", - nativeName: "नेपाली", - language: "ne", - numberFormat: { - groupSizes: [3,2], - "NaN": "nan", - negativeInfinity: "-infinity", - positiveInfinity: "infinity", - percent: { - pattern: ["-n%","n%"], - groupSizes: [3,2] - }, - currency: { - pattern: ["-$n","$n"], - symbol: "रु" - } - }, - calendars: { - standard: { - days: { - names: ["आइतवार","सोमवार","मङ्गलवार","बुधवार","बिहीवार","शुक्रवार","शनिवार"], - namesAbbr: ["आइत","सोम","मङ्गल","बुध","बिही","शुक्र","शनि"], - namesShort: ["आ","सो","म","बु","बि","शु","श"] - }, - months: { - names: ["जनवरी","फेब्रुअरी","मार्च","अप्रिल","मे","जून","जुलाई","अगस्त","सेप्टेम्बर","अक्टोबर","नोभेम्बर","डिसेम्बर",""], - namesAbbr: ["जन","फेब","मार्च","अप्रिल","मे","जून","जुलाई","अग","सेप्ट","अक्ट","नोभ","डिस",""] - }, - AM: ["विहानी","विहानी","विहानी"], - PM: ["बेलुकी","बेलुकी","बेलुकी"], - eras: [{"name":"a.d.","start":null,"offset":0}], - patterns: { - Y: "MMMM,yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.nl-BE.js b/web/Scripts/globalize/cultures/globalize.culture.nl-BE.js deleted file mode 100644 index 39417db9..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.nl-BE.js +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Globalize Culture nl-BE - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "nl-BE", "default", { - name: "nl-BE", - englishName: "Dutch (Belgium)", - nativeName: "Nederlands (België)", - language: "nl", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "NaN (Niet-een-getal)", - negativeInfinity: "-oneindig", - positiveInfinity: "oneindig", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["$ -n","$ n"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"], - namesAbbr: ["zo","ma","di","wo","do","vr","za"], - namesShort: ["zo","ma","di","wo","do","vr","za"] - }, - months: { - names: ["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december",""], - namesAbbr: ["jan","feb","mrt","apr","mei","jun","jul","aug","sep","okt","nov","dec",""] - }, - AM: null, - PM: null, - patterns: { - d: "d/MM/yyyy", - D: "dddd d MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dddd d MMMM yyyy H:mm", - F: "dddd d MMMM yyyy H:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.nl-NL.js b/web/Scripts/globalize/cultures/globalize.culture.nl-NL.js deleted file mode 100644 index 39994a6a..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.nl-NL.js +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Globalize Culture nl-NL - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "nl-NL", "default", { - name: "nl-NL", - englishName: "Dutch (Netherlands)", - nativeName: "Nederlands (Nederland)", - language: "nl", - numberFormat: { - ",": ".", - ".": ",", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["$ -n","$ n"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"], - namesAbbr: ["zo","ma","di","wo","do","vr","za"], - namesShort: ["zo","ma","di","wo","do","vr","za"] - }, - months: { - names: ["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december",""], - namesAbbr: ["jan","feb","mrt","apr","mei","jun","jul","aug","sep","okt","nov","dec",""] - }, - AM: null, - PM: null, - patterns: { - d: "d-M-yyyy", - D: "dddd d MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dddd d MMMM yyyy H:mm", - F: "dddd d MMMM yyyy H:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.nl.js b/web/Scripts/globalize/cultures/globalize.culture.nl.js deleted file mode 100644 index cb58ea87..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.nl.js +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Globalize Culture nl - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "nl", "default", { - name: "nl", - englishName: "Dutch", - nativeName: "Nederlands", - language: "nl", - numberFormat: { - ",": ".", - ".": ",", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["$ -n","$ n"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"], - namesAbbr: ["zo","ma","di","wo","do","vr","za"], - namesShort: ["zo","ma","di","wo","do","vr","za"] - }, - months: { - names: ["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december",""], - namesAbbr: ["jan","feb","mrt","apr","mei","jun","jul","aug","sep","okt","nov","dec",""] - }, - AM: null, - PM: null, - patterns: { - d: "d-M-yyyy", - D: "dddd d MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dddd d MMMM yyyy H:mm", - F: "dddd d MMMM yyyy H:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.nn-NO.js b/web/Scripts/globalize/cultures/globalize.culture.nn-NO.js deleted file mode 100644 index e50b1e52..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.nn-NO.js +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Globalize Culture nn-NO - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "nn-NO", "default", { - name: "nn-NO", - englishName: "Norwegian, Nynorsk (Norway)", - nativeName: "norsk, nynorsk (Noreg)", - language: "nn", - numberFormat: { - ",": " ", - ".": ",", - negativeInfinity: "-INF", - positiveInfinity: "INF", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["$ -n","$ n"], - ",": " ", - ".": ",", - symbol: "kr" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["søndag","måndag","tysdag","onsdag","torsdag","fredag","laurdag"], - namesAbbr: ["sø","må","ty","on","to","fr","la"], - namesShort: ["sø","må","ty","on","to","fr","la"] - }, - months: { - names: ["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember",""], - namesAbbr: ["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "d. MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "d. MMMM yyyy HH:mm", - F: "d. MMMM yyyy HH:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.nn.js b/web/Scripts/globalize/cultures/globalize.culture.nn.js deleted file mode 100644 index 7f5fa46e..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.nn.js +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Globalize Culture nn - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "nn", "default", { - name: "nn", - englishName: "Norwegian (Nynorsk)", - nativeName: "norsk (nynorsk)", - language: "nn", - numberFormat: { - ",": " ", - ".": ",", - negativeInfinity: "-INF", - positiveInfinity: "INF", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["$ -n","$ n"], - ",": " ", - ".": ",", - symbol: "kr" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["søndag","måndag","tysdag","onsdag","torsdag","fredag","laurdag"], - namesAbbr: ["sø","må","ty","on","to","fr","la"], - namesShort: ["sø","må","ty","on","to","fr","la"] - }, - months: { - names: ["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember",""], - namesAbbr: ["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "d. MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "d. MMMM yyyy HH:mm", - F: "d. MMMM yyyy HH:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.no.js b/web/Scripts/globalize/cultures/globalize.culture.no.js deleted file mode 100644 index 5f38c713..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.no.js +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Globalize Culture no - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "no", "default", { - name: "no", - englishName: "Norwegian", - nativeName: "norsk", - language: "no", - numberFormat: { - ",": " ", - ".": ",", - negativeInfinity: "-INF", - positiveInfinity: "INF", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["$ -n","$ n"], - ",": " ", - ".": ",", - symbol: "kr" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"], - namesAbbr: ["sø","ma","ti","on","to","fr","lø"], - namesShort: ["sø","ma","ti","on","to","fr","lø"] - }, - months: { - names: ["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember",""], - namesAbbr: ["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "d. MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "d. MMMM yyyy HH:mm", - F: "d. MMMM yyyy HH:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.nso-ZA.js b/web/Scripts/globalize/cultures/globalize.culture.nso-ZA.js deleted file mode 100644 index d334ee0f..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.nso-ZA.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Globalize Culture nso-ZA - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "nso-ZA", "default", { - name: "nso-ZA", - englishName: "Sesotho sa Leboa (South Africa)", - nativeName: "Sesotho sa Leboa (Afrika Borwa)", - language: "nso", - numberFormat: { - percent: { - pattern: ["-%n","%n"] - }, - currency: { - pattern: ["$-n","$ n"], - symbol: "R" - } - }, - calendars: { - standard: { - days: { - names: ["Lamorena","Mošupologo","Labobedi","Laboraro","Labone","Labohlano","Mokibelo"], - namesAbbr: ["Lam","Moš","Lbb","Lbr","Lbn","Lbh","Mok"], - namesShort: ["L","M","L","L","L","L","M"] - }, - months: { - names: ["Pherekgong","Hlakola","Mopitlo","Moranang","Mosegamanye","Ngoatobošego","Phuphu","Phato","Lewedi","Diphalana","Dibatsela","Manthole",""], - namesAbbr: ["Pher","Hlak","Mop","Mor","Mos","Ngwat","Phup","Phat","Lew","Dip","Dib","Man",""] - }, - patterns: { - d: "yyyy/MM/dd", - D: "dd MMMM yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd MMMM yyyy hh:mm tt", - F: "dd MMMM yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.nso.js b/web/Scripts/globalize/cultures/globalize.culture.nso.js deleted file mode 100644 index 9933d405..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.nso.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Globalize Culture nso - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "nso", "default", { - name: "nso", - englishName: "Sesotho sa Leboa", - nativeName: "Sesotho sa Leboa", - language: "nso", - numberFormat: { - percent: { - pattern: ["-%n","%n"] - }, - currency: { - pattern: ["$-n","$ n"], - symbol: "R" - } - }, - calendars: { - standard: { - days: { - names: ["Lamorena","Mošupologo","Labobedi","Laboraro","Labone","Labohlano","Mokibelo"], - namesAbbr: ["Lam","Moš","Lbb","Lbr","Lbn","Lbh","Mok"], - namesShort: ["L","M","L","L","L","L","M"] - }, - months: { - names: ["Pherekgong","Hlakola","Mopitlo","Moranang","Mosegamanye","Ngoatobošego","Phuphu","Phato","Lewedi","Diphalana","Dibatsela","Manthole",""], - namesAbbr: ["Pher","Hlak","Mop","Mor","Mos","Ngwat","Phup","Phat","Lew","Dip","Dib","Man",""] - }, - patterns: { - d: "yyyy/MM/dd", - D: "dd MMMM yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd MMMM yyyy hh:mm tt", - F: "dd MMMM yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.oc-FR.js b/web/Scripts/globalize/cultures/globalize.culture.oc-FR.js deleted file mode 100644 index c175e7c5..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.oc-FR.js +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Globalize Culture oc-FR - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "oc-FR", "default", { - name: "oc-FR", - englishName: "Occitan (France)", - nativeName: "Occitan (França)", - language: "oc", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "Non Numeric", - negativeInfinity: "-Infinit", - positiveInfinity: "+Infinit", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["dimenge","diluns","dimars","dimècres","dijòus","divendres","dissabte"], - namesAbbr: ["dim.","lun.","mar.","mèc.","jòu.","ven.","sab."], - namesShort: ["di","lu","ma","mè","jò","ve","sa"] - }, - months: { - names: ["genier","febrier","març","abril","mai","junh","julh","agost","setembre","octobre","novembre","desembre",""], - namesAbbr: ["gen.","feb.","mar.","abr.","mai.","jun.","jul.","ag.","set.","oct.","nov.","des.",""] - }, - monthsGenitive: { - names: ["de genier","de febrier","de març","d'abril","de mai","de junh","de julh","d'agost","de setembre","d'octobre","de novembre","de desembre",""], - namesAbbr: ["gen.","feb.","mar.","abr.","mai.","jun.","jul.","ag.","set.","oct.","nov.","des.",""] - }, - AM: null, - PM: null, - eras: [{"name":"après Jèsus-Crist","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd,' lo 'd MMMM' de 'yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd,' lo 'd MMMM' de 'yyyy HH:mm", - F: "dddd,' lo 'd MMMM' de 'yyyy HH:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.oc.js b/web/Scripts/globalize/cultures/globalize.culture.oc.js deleted file mode 100644 index 7547503b..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.oc.js +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Globalize Culture oc - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "oc", "default", { - name: "oc", - englishName: "Occitan", - nativeName: "Occitan", - language: "oc", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "Non Numeric", - negativeInfinity: "-Infinit", - positiveInfinity: "+Infinit", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["dimenge","diluns","dimars","dimècres","dijòus","divendres","dissabte"], - namesAbbr: ["dim.","lun.","mar.","mèc.","jòu.","ven.","sab."], - namesShort: ["di","lu","ma","mè","jò","ve","sa"] - }, - months: { - names: ["genier","febrier","març","abril","mai","junh","julh","agost","setembre","octobre","novembre","desembre",""], - namesAbbr: ["gen.","feb.","mar.","abr.","mai.","jun.","jul.","ag.","set.","oct.","nov.","des.",""] - }, - monthsGenitive: { - names: ["de genier","de febrier","de març","d'abril","de mai","de junh","de julh","d'agost","de setembre","d'octobre","de novembre","de desembre",""], - namesAbbr: ["gen.","feb.","mar.","abr.","mai.","jun.","jul.","ag.","set.","oct.","nov.","des.",""] - }, - AM: null, - PM: null, - eras: [{"name":"après Jèsus-Crist","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd,' lo 'd MMMM' de 'yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd,' lo 'd MMMM' de 'yyyy HH:mm", - F: "dddd,' lo 'd MMMM' de 'yyyy HH:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.or-IN.js b/web/Scripts/globalize/cultures/globalize.culture.or-IN.js deleted file mode 100644 index 2da61a78..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.or-IN.js +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Globalize Culture or-IN - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "or-IN", "default", { - name: "or-IN", - englishName: "Oriya (India)", - nativeName: "ଓଡ଼ିଆ (ଭାରତ)", - language: "or", - numberFormat: { - groupSizes: [3,2], - percent: { - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,2], - symbol: "ଟ" - } - }, - calendars: { - standard: { - "/": "-", - days: { - names: ["ରବିବାର","ସୋମବାର","ମଙ୍ଗଳବାର","ବୁଧବାର","ଗୁରୁବାର","ଶୁକ୍ରବାର","ଶନିବାର"], - namesAbbr: ["ରବି.","ସୋମ.","ମଙ୍ଗଳ.","ବୁଧ.","ଗୁରୁ.","ଶୁକ୍ର.","ଶନି."], - namesShort: ["ର","ସୋ","ମ","ବୁ","ଗୁ","ଶୁ","ଶ"] - }, - months: { - names: ["ଜାନୁୟାରୀ","ଫ୍ରେବୃୟାରୀ","ମାର୍ଚ୍ଚ","ଏପ୍ରିଲ୍\u200c","ମେ","ଜୁନ୍\u200c","ଜୁଲାଇ","ଅଗଷ୍ଟ","ସେପ୍ଟେମ୍ବର","ଅକ୍ଟୋବର","ନଭେମ୍ବର","(ଡିସେମ୍ବର",""], - namesAbbr: ["ଜାନୁୟାରୀ","ଫ୍ରେବୃୟାରୀ","ମାର୍ଚ୍ଚ","ଏପ୍ରିଲ୍\u200c","ମେ","ଜୁନ୍\u200c","ଜୁଲାଇ","ଅଗଷ୍ଟ","ସେପ୍ଟେମ୍ବର","ଅକ୍ଟୋବର","ନଭେମ୍ବର","(ଡିସେମ୍ବର",""] - }, - eras: [{"name":"ଖ୍ରୀଷ୍ଟାବ୍ଦ","start":null,"offset":0}], - patterns: { - d: "dd-MM-yy", - D: "dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd MMMM yyyy HH:mm", - F: "dd MMMM yyyy HH:mm:ss", - M: "dd MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.or.js b/web/Scripts/globalize/cultures/globalize.culture.or.js deleted file mode 100644 index 3ce2909a..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.or.js +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Globalize Culture or - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "or", "default", { - name: "or", - englishName: "Oriya", - nativeName: "ଓଡ଼ିଆ", - language: "or", - numberFormat: { - groupSizes: [3,2], - percent: { - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,2], - symbol: "ଟ" - } - }, - calendars: { - standard: { - "/": "-", - days: { - names: ["ରବିବାର","ସୋମବାର","ମଙ୍ଗଳବାର","ବୁଧବାର","ଗୁରୁବାର","ଶୁକ୍ରବାର","ଶନିବାର"], - namesAbbr: ["ରବି.","ସୋମ.","ମଙ୍ଗଳ.","ବୁଧ.","ଗୁରୁ.","ଶୁକ୍ର.","ଶନି."], - namesShort: ["ର","ସୋ","ମ","ବୁ","ଗୁ","ଶୁ","ଶ"] - }, - months: { - names: ["ଜାନୁୟାରୀ","ଫ୍ରେବୃୟାରୀ","ମାର୍ଚ୍ଚ","ଏପ୍ରିଲ୍\u200c","ମେ","ଜୁନ୍\u200c","ଜୁଲାଇ","ଅଗଷ୍ଟ","ସେପ୍ଟେମ୍ବର","ଅକ୍ଟୋବର","ନଭେମ୍ବର","(ଡିସେମ୍ବର",""], - namesAbbr: ["ଜାନୁୟାରୀ","ଫ୍ରେବୃୟାରୀ","ମାର୍ଚ୍ଚ","ଏପ୍ରିଲ୍\u200c","ମେ","ଜୁନ୍\u200c","ଜୁଲାଇ","ଅଗଷ୍ଟ","ସେପ୍ଟେମ୍ବର","ଅକ୍ଟୋବର","ନଭେମ୍ବର","(ଡିସେମ୍ବର",""] - }, - eras: [{"name":"ଖ୍ରୀଷ୍ଟାବ୍ଦ","start":null,"offset":0}], - patterns: { - d: "dd-MM-yy", - D: "dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd MMMM yyyy HH:mm", - F: "dd MMMM yyyy HH:mm:ss", - M: "dd MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.pa-IN.js b/web/Scripts/globalize/cultures/globalize.culture.pa-IN.js deleted file mode 100644 index dcaab14f..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.pa-IN.js +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Globalize Culture pa-IN - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "pa-IN", "default", { - name: "pa-IN", - englishName: "Punjabi (India)", - nativeName: "ਪੰਜਾਬੀ (ਭਾਰਤ)", - language: "pa", - numberFormat: { - groupSizes: [3,2], - percent: { - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,2], - symbol: "ਰੁ" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["ਐਤਵਾਰ","ਸੋਮਵਾਰ","ਮੰਗਲਵਾਰ","ਬੁੱਧਵਾਰ","ਵੀਰਵਾਰ","ਸ਼ੁੱਕਰਵਾਰ","ਸ਼ਨਿੱਚਰਵਾਰ"], - namesAbbr: ["ਐਤ.","ਸੋਮ.","ਮੰਗਲ.","ਬੁੱਧ.","ਵੀਰ.","ਸ਼ੁਕਰ.","ਸ਼ਨਿੱਚਰ."], - namesShort: ["ਐ","ਸ","ਮ","ਬ","ਵ","ਸ਼","ਸ਼"] - }, - months: { - names: ["ਜਨਵਰੀ","ਫ਼ਰਵਰੀ","ਮਾਰਚ","ਅਪ੍ਰੈਲ","ਮਈ","ਜੂਨ","ਜੁਲਾਈ","ਅਗਸਤ","ਸਤੰਬਰ","ਅਕਤੂਬਰ","ਨਵੰਬਰ","ਦਸੰਬਰ",""], - namesAbbr: ["ਜਨਵਰੀ","ਫ਼ਰਵਰੀ","ਮਾਰਚ","ਅਪ੍ਰੈਲ","ਮਈ","ਜੂਨ","ਜੁਲਾਈ","ਅਗਸਤ","ਸਤੰਬਰ","ਅਕਤੂਬਰ","ਨਵੰਬਰ","ਦਸੰਬਰ",""] - }, - AM: ["ਸਵੇਰ","ਸਵੇਰ","ਸਵੇਰ"], - PM: ["ਸ਼ਾਮ","ਸ਼ਾਮ","ਸ਼ਾਮ"], - patterns: { - d: "dd-MM-yy", - D: "dd MMMM yyyy dddd", - t: "tt hh:mm", - T: "tt hh:mm:ss", - f: "dd MMMM yyyy dddd tt hh:mm", - F: "dd MMMM yyyy dddd tt hh:mm:ss", - M: "dd MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.pa.js b/web/Scripts/globalize/cultures/globalize.culture.pa.js deleted file mode 100644 index 74cbec27..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.pa.js +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Globalize Culture pa - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "pa", "default", { - name: "pa", - englishName: "Punjabi", - nativeName: "ਪੰਜਾਬੀ", - language: "pa", - numberFormat: { - groupSizes: [3,2], - percent: { - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,2], - symbol: "ਰੁ" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["ਐਤਵਾਰ","ਸੋਮਵਾਰ","ਮੰਗਲਵਾਰ","ਬੁੱਧਵਾਰ","ਵੀਰਵਾਰ","ਸ਼ੁੱਕਰਵਾਰ","ਸ਼ਨਿੱਚਰਵਾਰ"], - namesAbbr: ["ਐਤ.","ਸੋਮ.","ਮੰਗਲ.","ਬੁੱਧ.","ਵੀਰ.","ਸ਼ੁਕਰ.","ਸ਼ਨਿੱਚਰ."], - namesShort: ["ਐ","ਸ","ਮ","ਬ","ਵ","ਸ਼","ਸ਼"] - }, - months: { - names: ["ਜਨਵਰੀ","ਫ਼ਰਵਰੀ","ਮਾਰਚ","ਅਪ੍ਰੈਲ","ਮਈ","ਜੂਨ","ਜੁਲਾਈ","ਅਗਸਤ","ਸਤੰਬਰ","ਅਕਤੂਬਰ","ਨਵੰਬਰ","ਦਸੰਬਰ",""], - namesAbbr: ["ਜਨਵਰੀ","ਫ਼ਰਵਰੀ","ਮਾਰਚ","ਅਪ੍ਰੈਲ","ਮਈ","ਜੂਨ","ਜੁਲਾਈ","ਅਗਸਤ","ਸਤੰਬਰ","ਅਕਤੂਬਰ","ਨਵੰਬਰ","ਦਸੰਬਰ",""] - }, - AM: ["ਸਵੇਰ","ਸਵੇਰ","ਸਵੇਰ"], - PM: ["ਸ਼ਾਮ","ਸ਼ਾਮ","ਸ਼ਾਮ"], - patterns: { - d: "dd-MM-yy", - D: "dd MMMM yyyy dddd", - t: "tt hh:mm", - T: "tt hh:mm:ss", - f: "dd MMMM yyyy dddd tt hh:mm", - F: "dd MMMM yyyy dddd tt hh:mm:ss", - M: "dd MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.pl-PL.js b/web/Scripts/globalize/cultures/globalize.culture.pl-PL.js deleted file mode 100644 index f737ad94..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.pl-PL.js +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Globalize Culture pl-PL - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "pl-PL", "default", { - name: "pl-PL", - englishName: "Polish (Poland)", - nativeName: "polski (Polska)", - language: "pl", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "nie jest liczbą", - negativeInfinity: "-nieskończoność", - positiveInfinity: "+nieskończoność", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "zł" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"], - namesAbbr: ["niedz.","pon.","wt.","śr.","czw.","pt.","sob."], - namesShort: ["N","Pn","Wt","Śr","Cz","Pt","So"] - }, - months: { - names: ["styczeń","luty","marzec","kwiecień","maj","czerwiec","lipiec","sierpień","wrzesień","październik","listopad","grudzień",""], - namesAbbr: ["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru",""] - }, - monthsGenitive: { - names: ["stycznia","lutego","marca","kwietnia","maja","czerwca","lipca","sierpnia","września","października","listopada","grudnia",""], - namesAbbr: ["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru",""] - }, - AM: null, - PM: null, - patterns: { - d: "yyyy-MM-dd", - D: "d MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "d MMMM yyyy HH:mm", - F: "d MMMM yyyy HH:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.pl.js b/web/Scripts/globalize/cultures/globalize.culture.pl.js deleted file mode 100644 index 2a1188d2..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.pl.js +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Globalize Culture pl - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "pl", "default", { - name: "pl", - englishName: "Polish", - nativeName: "polski", - language: "pl", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "nie jest liczbą", - negativeInfinity: "-nieskończoność", - positiveInfinity: "+nieskończoność", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "zł" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"], - namesAbbr: ["niedz.","pon.","wt.","śr.","czw.","pt.","sob."], - namesShort: ["N","Pn","Wt","Śr","Cz","Pt","So"] - }, - months: { - names: ["styczeń","luty","marzec","kwiecień","maj","czerwiec","lipiec","sierpień","wrzesień","październik","listopad","grudzień",""], - namesAbbr: ["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru",""] - }, - monthsGenitive: { - names: ["stycznia","lutego","marca","kwietnia","maja","czerwca","lipca","sierpnia","września","października","listopada","grudnia",""], - namesAbbr: ["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru",""] - }, - AM: null, - PM: null, - patterns: { - d: "yyyy-MM-dd", - D: "d MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "d MMMM yyyy HH:mm", - F: "d MMMM yyyy HH:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.prs-AF.js b/web/Scripts/globalize/cultures/globalize.culture.prs-AF.js deleted file mode 100644 index b50d2112..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.prs-AF.js +++ /dev/null @@ -1,174 +0,0 @@ -/* - * Globalize Culture prs-AF - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "prs-AF", "default", { - name: "prs-AF", - englishName: "Dari (Afghanistan)", - nativeName: "درى (افغانستان)", - language: "prs", - isRTL: true, - numberFormat: { - pattern: ["n-"], - ",": ".", - ".": ",", - "NaN": "غ ع", - negativeInfinity: "-∞", - positiveInfinity: "∞", - percent: { - pattern: ["%n-","%n"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["$n-","$n"], - symbol: "؋" - } - }, - calendars: { - standard: { - name: "Hijri", - firstDay: 5, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["غ.م","غ.م","غ.م"], - PM: ["غ.و","غ.و","غ.و"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MM/yyyy", - f: "dd/MM/yyyy h:mm tt", - F: "dd/MM/yyyy h:mm:ss tt", - M: "dd MMMM" - }, - convert: { - // Adapted to Script from System.Globalization.HijriCalendar - ticks1970: 62135596800000, - // number of days leading up to each month - monthDays: [0, 30, 59, 89, 118, 148, 177, 207, 236, 266, 295, 325, 355], - minDate: -42521673600000, - maxDate: 253402300799999, - // The number of days to add or subtract from the calendar to accommodate the variances - // in the start and the end of Ramadan and to accommodate the date difference between - // countries/regions. May be dynamically adjusted based on user preference, but should - // remain in the range of -2 to 2, inclusive. - hijriAdjustment: 0, - toGregorian: function(hyear, hmonth, hday) { - var daysSinceJan0101 = this.daysToYear(hyear) + this.monthDays[hmonth] + hday - 1 - this.hijriAdjustment; - // 86400000 = ticks per day - var gdate = new Date(daysSinceJan0101 * 86400000 - this.ticks1970); - // adjust for timezone, because we are interested in the gregorian date for the same timezone - // but ticks in javascript is always from GMT, unlike the server were ticks counts from the base - // date in the current timezone. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - return gdate; - }, - fromGregorian: function(gdate) { - if ((gdate < this.minDate) || (gdate > this.maxDate)) return null; - var ticks = this.ticks1970 + (gdate-0) - gdate.getTimezoneOffset() * 60000, - daysSinceJan0101 = Math.floor(ticks / 86400000) + 1 + this.hijriAdjustment; - // very particular formula determined by someone smart, adapted from the server-side implementation. - // it approximates the hijri year. - var hday, hmonth, hyear = Math.floor(((daysSinceJan0101 - 227013) * 30) / 10631) + 1, - absDays = this.daysToYear(hyear), - daysInYear = this.isLeapYear(hyear) ? 355 : 354; - // hyear is just approximate, it may need adjustment up or down by 1. - if (daysSinceJan0101 < absDays) { - hyear--; - absDays -= daysInYear; - } - else if (daysSinceJan0101 === absDays) { - hyear--; - absDays = this.daysToYear(hyear); - } - else { - if (daysSinceJan0101 > (absDays + daysInYear)) { - absDays += daysInYear; - hyear++; - } - } - // determine month by looking at how many days into the hyear we are - // monthDays contains the number of days up to each month. - hmonth = 0; - var daysIntoYear = daysSinceJan0101 - absDays; - while (hmonth <= 11 && daysIntoYear > this.monthDays[hmonth]) { - hmonth++; - } - hmonth--; - hday = daysIntoYear - this.monthDays[hmonth]; - return [hyear, hmonth, hday]; - }, - daysToYear: function(year) { - // calculates how many days since Jan 1, 0001 - var yearsToYear30 = Math.floor((year - 1) / 30) * 30, - yearsInto30 = year - yearsToYear30 - 1, - days = Math.floor((yearsToYear30 * 10631) / 30) + 227013; - while (yearsInto30 > 0) { - days += (this.isLeapYear(yearsInto30) ? 355 : 354); - yearsInto30--; - } - return days; - }, - isLeapYear: function(year) { - return ((((year * 11) + 14) % 30) < 11); - } - } - }, - Gregorian_Localized: { - firstDay: 5, - days: { - names: ["یکشنبه","دوشنبه","سه\u200cشنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"], - namesAbbr: ["یکشنبه","دوشنبه","سه\u200cشنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"], - namesShort: ["ی","د","س","چ","پ","ج","ش"] - }, - months: { - names: ["سلواغه","كب","ورى","غويى","غبرګولى","چنګاښ","زمرى","وږى","تله","لړم","ليندۍ","مرغومى",""], - namesAbbr: ["سلواغه","كب","ورى","غويى","غبرګولى","چنګاښ","زمرى","وږى","تله","لړم","ليندۍ","مرغومى",""] - }, - AM: ["غ.م","غ.م","غ.م"], - PM: ["غ.و","غ.و","غ.و"], - eras: [{"name":"ل.ه","start":null,"offset":0}], - patterns: { - d: "yyyy/M/d", - D: "yyyy, dd, MMMM, dddd", - f: "yyyy, dd, MMMM, dddd h:mm tt", - F: "yyyy, dd, MMMM, dddd h:mm:ss tt", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.prs.js b/web/Scripts/globalize/cultures/globalize.culture.prs.js deleted file mode 100644 index aaf297ba..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.prs.js +++ /dev/null @@ -1,174 +0,0 @@ -/* - * Globalize Culture prs - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "prs", "default", { - name: "prs", - englishName: "Dari", - nativeName: "درى", - language: "prs", - isRTL: true, - numberFormat: { - pattern: ["n-"], - ",": ".", - ".": ",", - "NaN": "غ ع", - negativeInfinity: "-∞", - positiveInfinity: "∞", - percent: { - pattern: ["%n-","%n"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["$n-","$n"], - symbol: "؋" - } - }, - calendars: { - standard: { - name: "Hijri", - firstDay: 5, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["غ.م","غ.م","غ.م"], - PM: ["غ.و","غ.و","غ.و"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MM/yyyy", - f: "dd/MM/yyyy h:mm tt", - F: "dd/MM/yyyy h:mm:ss tt", - M: "dd MMMM" - }, - convert: { - // Adapted to Script from System.Globalization.HijriCalendar - ticks1970: 62135596800000, - // number of days leading up to each month - monthDays: [0, 30, 59, 89, 118, 148, 177, 207, 236, 266, 295, 325, 355], - minDate: -42521673600000, - maxDate: 253402300799999, - // The number of days to add or subtract from the calendar to accommodate the variances - // in the start and the end of Ramadan and to accommodate the date difference between - // countries/regions. May be dynamically adjusted based on user preference, but should - // remain in the range of -2 to 2, inclusive. - hijriAdjustment: 0, - toGregorian: function(hyear, hmonth, hday) { - var daysSinceJan0101 = this.daysToYear(hyear) + this.monthDays[hmonth] + hday - 1 - this.hijriAdjustment; - // 86400000 = ticks per day - var gdate = new Date(daysSinceJan0101 * 86400000 - this.ticks1970); - // adjust for timezone, because we are interested in the gregorian date for the same timezone - // but ticks in javascript is always from GMT, unlike the server were ticks counts from the base - // date in the current timezone. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - return gdate; - }, - fromGregorian: function(gdate) { - if ((gdate < this.minDate) || (gdate > this.maxDate)) return null; - var ticks = this.ticks1970 + (gdate-0) - gdate.getTimezoneOffset() * 60000, - daysSinceJan0101 = Math.floor(ticks / 86400000) + 1 + this.hijriAdjustment; - // very particular formula determined by someone smart, adapted from the server-side implementation. - // it approximates the hijri year. - var hday, hmonth, hyear = Math.floor(((daysSinceJan0101 - 227013) * 30) / 10631) + 1, - absDays = this.daysToYear(hyear), - daysInYear = this.isLeapYear(hyear) ? 355 : 354; - // hyear is just approximate, it may need adjustment up or down by 1. - if (daysSinceJan0101 < absDays) { - hyear--; - absDays -= daysInYear; - } - else if (daysSinceJan0101 === absDays) { - hyear--; - absDays = this.daysToYear(hyear); - } - else { - if (daysSinceJan0101 > (absDays + daysInYear)) { - absDays += daysInYear; - hyear++; - } - } - // determine month by looking at how many days into the hyear we are - // monthDays contains the number of days up to each month. - hmonth = 0; - var daysIntoYear = daysSinceJan0101 - absDays; - while (hmonth <= 11 && daysIntoYear > this.monthDays[hmonth]) { - hmonth++; - } - hmonth--; - hday = daysIntoYear - this.monthDays[hmonth]; - return [hyear, hmonth, hday]; - }, - daysToYear: function(year) { - // calculates how many days since Jan 1, 0001 - var yearsToYear30 = Math.floor((year - 1) / 30) * 30, - yearsInto30 = year - yearsToYear30 - 1, - days = Math.floor((yearsToYear30 * 10631) / 30) + 227013; - while (yearsInto30 > 0) { - days += (this.isLeapYear(yearsInto30) ? 355 : 354); - yearsInto30--; - } - return days; - }, - isLeapYear: function(year) { - return ((((year * 11) + 14) % 30) < 11); - } - } - }, - Gregorian_Localized: { - firstDay: 5, - days: { - names: ["یکشنبه","دوشنبه","سه\u200cشنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"], - namesAbbr: ["یکشنبه","دوشنبه","سه\u200cشنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"], - namesShort: ["ی","د","س","چ","پ","ج","ش"] - }, - months: { - names: ["سلواغه","كب","ورى","غويى","غبرګولى","چنګاښ","زمرى","وږى","تله","لړم","ليندۍ","مرغومى",""], - namesAbbr: ["سلواغه","كب","ورى","غويى","غبرګولى","چنګاښ","زمرى","وږى","تله","لړم","ليندۍ","مرغومى",""] - }, - AM: ["غ.م","غ.م","غ.م"], - PM: ["غ.و","غ.و","غ.و"], - eras: [{"name":"ل.ه","start":null,"offset":0}], - patterns: { - d: "yyyy/M/d", - D: "yyyy, dd, MMMM, dddd", - f: "yyyy, dd, MMMM, dddd h:mm tt", - F: "yyyy, dd, MMMM, dddd h:mm:ss tt", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.ps-AF.js b/web/Scripts/globalize/cultures/globalize.culture.ps-AF.js deleted file mode 100644 index bf38c1bc..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.ps-AF.js +++ /dev/null @@ -1,176 +0,0 @@ -/* - * Globalize Culture ps-AF - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "ps-AF", "default", { - name: "ps-AF", - englishName: "Pashto (Afghanistan)", - nativeName: "پښتو (افغانستان)", - language: "ps", - isRTL: true, - numberFormat: { - pattern: ["n-"], - ",": "،", - ".": ",", - "NaN": "غ ع", - negativeInfinity: "-∞", - positiveInfinity: "∞", - percent: { - pattern: ["%n-","%n"], - ",": "،", - ".": "," - }, - currency: { - pattern: ["$n-","$n"], - ",": "٬", - ".": "٫", - symbol: "؋" - } - }, - calendars: { - standard: { - name: "Hijri", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["غ.م","غ.م","غ.م"], - PM: ["غ.و","غ.و","غ.و"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MM/yyyy", - f: "dd/MM/yyyy h:mm tt", - F: "dd/MM/yyyy h:mm:ss tt", - M: "dd MMMM" - }, - convert: { - // Adapted to Script from System.Globalization.HijriCalendar - ticks1970: 62135596800000, - // number of days leading up to each month - monthDays: [0, 30, 59, 89, 118, 148, 177, 207, 236, 266, 295, 325, 355], - minDate: -42521673600000, - maxDate: 253402300799999, - // The number of days to add or subtract from the calendar to accommodate the variances - // in the start and the end of Ramadan and to accommodate the date difference between - // countries/regions. May be dynamically adjusted based on user preference, but should - // remain in the range of -2 to 2, inclusive. - hijriAdjustment: 0, - toGregorian: function(hyear, hmonth, hday) { - var daysSinceJan0101 = this.daysToYear(hyear) + this.monthDays[hmonth] + hday - 1 - this.hijriAdjustment; - // 86400000 = ticks per day - var gdate = new Date(daysSinceJan0101 * 86400000 - this.ticks1970); - // adjust for timezone, because we are interested in the gregorian date for the same timezone - // but ticks in javascript is always from GMT, unlike the server were ticks counts from the base - // date in the current timezone. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - return gdate; - }, - fromGregorian: function(gdate) { - if ((gdate < this.minDate) || (gdate > this.maxDate)) return null; - var ticks = this.ticks1970 + (gdate-0) - gdate.getTimezoneOffset() * 60000, - daysSinceJan0101 = Math.floor(ticks / 86400000) + 1 + this.hijriAdjustment; - // very particular formula determined by someone smart, adapted from the server-side implementation. - // it approximates the hijri year. - var hday, hmonth, hyear = Math.floor(((daysSinceJan0101 - 227013) * 30) / 10631) + 1, - absDays = this.daysToYear(hyear), - daysInYear = this.isLeapYear(hyear) ? 355 : 354; - // hyear is just approximate, it may need adjustment up or down by 1. - if (daysSinceJan0101 < absDays) { - hyear--; - absDays -= daysInYear; - } - else if (daysSinceJan0101 === absDays) { - hyear--; - absDays = this.daysToYear(hyear); - } - else { - if (daysSinceJan0101 > (absDays + daysInYear)) { - absDays += daysInYear; - hyear++; - } - } - // determine month by looking at how many days into the hyear we are - // monthDays contains the number of days up to each month. - hmonth = 0; - var daysIntoYear = daysSinceJan0101 - absDays; - while (hmonth <= 11 && daysIntoYear > this.monthDays[hmonth]) { - hmonth++; - } - hmonth--; - hday = daysIntoYear - this.monthDays[hmonth]; - return [hyear, hmonth, hday]; - }, - daysToYear: function(year) { - // calculates how many days since Jan 1, 0001 - var yearsToYear30 = Math.floor((year - 1) / 30) * 30, - yearsInto30 = year - yearsToYear30 - 1, - days = Math.floor((yearsToYear30 * 10631) / 30) + 227013; - while (yearsInto30 > 0) { - days += (this.isLeapYear(yearsInto30) ? 355 : 354); - yearsInto30--; - } - return days; - }, - isLeapYear: function(year) { - return ((((year * 11) + 14) % 30) < 11); - } - } - }, - Gregorian_Localized: { - firstDay: 6, - days: { - names: ["یکشنبه","دوشنبه","سه\u200cشنبه","چارشنبه","پنجشنبه","جمعه","شنبه"], - namesAbbr: ["یکشنبه","دوشنبه","سه\u200cشنبه","چارشنبه","پنجشنبه","جمعه","شنبه"], - namesShort: ["ی","د","س","چ","پ","ج","ش"] - }, - months: { - names: ["سلواغه","كب","ورى","غويى","غبرګولى","چنګا ښزمرى","زمرى","وږى","تله","لړم","لنڈ ۍ","مرغومى",""], - namesAbbr: ["سلواغه","كب","ورى","غويى","غبرګولى","چنګا ښ","زمرى","وږى","تله","لړم","لنڈ ۍ","مرغومى",""] - }, - AM: ["غ.م","غ.م","غ.م"], - PM: ["غ.و","غ.و","غ.و"], - eras: [{"name":"ل.ه","start":null,"offset":0}], - patterns: { - d: "yyyy/M/d", - D: "yyyy, dd, MMMM, dddd", - f: "yyyy, dd, MMMM, dddd h:mm tt", - F: "yyyy, dd, MMMM, dddd h:mm:ss tt", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.ps.js b/web/Scripts/globalize/cultures/globalize.culture.ps.js deleted file mode 100644 index 9220a759..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.ps.js +++ /dev/null @@ -1,176 +0,0 @@ -/* - * Globalize Culture ps - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "ps", "default", { - name: "ps", - englishName: "Pashto", - nativeName: "پښتو", - language: "ps", - isRTL: true, - numberFormat: { - pattern: ["n-"], - ",": "،", - ".": ",", - "NaN": "غ ع", - negativeInfinity: "-∞", - positiveInfinity: "∞", - percent: { - pattern: ["%n-","%n"], - ",": "،", - ".": "," - }, - currency: { - pattern: ["$n-","$n"], - ",": "٬", - ".": "٫", - symbol: "؋" - } - }, - calendars: { - standard: { - name: "Hijri", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["غ.م","غ.م","غ.م"], - PM: ["غ.و","غ.و","غ.و"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MM/yyyy", - f: "dd/MM/yyyy h:mm tt", - F: "dd/MM/yyyy h:mm:ss tt", - M: "dd MMMM" - }, - convert: { - // Adapted to Script from System.Globalization.HijriCalendar - ticks1970: 62135596800000, - // number of days leading up to each month - monthDays: [0, 30, 59, 89, 118, 148, 177, 207, 236, 266, 295, 325, 355], - minDate: -42521673600000, - maxDate: 253402300799999, - // The number of days to add or subtract from the calendar to accommodate the variances - // in the start and the end of Ramadan and to accommodate the date difference between - // countries/regions. May be dynamically adjusted based on user preference, but should - // remain in the range of -2 to 2, inclusive. - hijriAdjustment: 0, - toGregorian: function(hyear, hmonth, hday) { - var daysSinceJan0101 = this.daysToYear(hyear) + this.monthDays[hmonth] + hday - 1 - this.hijriAdjustment; - // 86400000 = ticks per day - var gdate = new Date(daysSinceJan0101 * 86400000 - this.ticks1970); - // adjust for timezone, because we are interested in the gregorian date for the same timezone - // but ticks in javascript is always from GMT, unlike the server were ticks counts from the base - // date in the current timezone. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - return gdate; - }, - fromGregorian: function(gdate) { - if ((gdate < this.minDate) || (gdate > this.maxDate)) return null; - var ticks = this.ticks1970 + (gdate-0) - gdate.getTimezoneOffset() * 60000, - daysSinceJan0101 = Math.floor(ticks / 86400000) + 1 + this.hijriAdjustment; - // very particular formula determined by someone smart, adapted from the server-side implementation. - // it approximates the hijri year. - var hday, hmonth, hyear = Math.floor(((daysSinceJan0101 - 227013) * 30) / 10631) + 1, - absDays = this.daysToYear(hyear), - daysInYear = this.isLeapYear(hyear) ? 355 : 354; - // hyear is just approximate, it may need adjustment up or down by 1. - if (daysSinceJan0101 < absDays) { - hyear--; - absDays -= daysInYear; - } - else if (daysSinceJan0101 === absDays) { - hyear--; - absDays = this.daysToYear(hyear); - } - else { - if (daysSinceJan0101 > (absDays + daysInYear)) { - absDays += daysInYear; - hyear++; - } - } - // determine month by looking at how many days into the hyear we are - // monthDays contains the number of days up to each month. - hmonth = 0; - var daysIntoYear = daysSinceJan0101 - absDays; - while (hmonth <= 11 && daysIntoYear > this.monthDays[hmonth]) { - hmonth++; - } - hmonth--; - hday = daysIntoYear - this.monthDays[hmonth]; - return [hyear, hmonth, hday]; - }, - daysToYear: function(year) { - // calculates how many days since Jan 1, 0001 - var yearsToYear30 = Math.floor((year - 1) / 30) * 30, - yearsInto30 = year - yearsToYear30 - 1, - days = Math.floor((yearsToYear30 * 10631) / 30) + 227013; - while (yearsInto30 > 0) { - days += (this.isLeapYear(yearsInto30) ? 355 : 354); - yearsInto30--; - } - return days; - }, - isLeapYear: function(year) { - return ((((year * 11) + 14) % 30) < 11); - } - } - }, - Gregorian_Localized: { - firstDay: 6, - days: { - names: ["یکشنبه","دوشنبه","سه\u200cشنبه","چارشنبه","پنجشنبه","جمعه","شنبه"], - namesAbbr: ["یکشنبه","دوشنبه","سه\u200cشنبه","چارشنبه","پنجشنبه","جمعه","شنبه"], - namesShort: ["ی","د","س","چ","پ","ج","ش"] - }, - months: { - names: ["سلواغه","كب","ورى","غويى","غبرګولى","چنګا ښزمرى","زمرى","وږى","تله","لړم","لنڈ ۍ","مرغومى",""], - namesAbbr: ["سلواغه","كب","ورى","غويى","غبرګولى","چنګا ښ","زمرى","وږى","تله","لړم","لنڈ ۍ","مرغومى",""] - }, - AM: ["غ.م","غ.م","غ.م"], - PM: ["غ.و","غ.و","غ.و"], - eras: [{"name":"ل.ه","start":null,"offset":0}], - patterns: { - d: "yyyy/M/d", - D: "yyyy, dd, MMMM, dddd", - f: "yyyy, dd, MMMM, dddd h:mm tt", - F: "yyyy, dd, MMMM, dddd h:mm:ss tt", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.pt-BR.js b/web/Scripts/globalize/cultures/globalize.culture.pt-BR.js deleted file mode 100644 index c9a13219..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.pt-BR.js +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Globalize Culture pt-BR - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "pt-BR", "default", { - name: "pt-BR", - englishName: "Portuguese (Brazil)", - nativeName: "Português (Brasil)", - language: "pt", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "NaN (Não é um número)", - negativeInfinity: "-Infinito", - positiveInfinity: "+Infinito", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-$ n","$ n"], - ",": ".", - ".": ",", - symbol: "R$" - } - }, - calendars: { - standard: { - days: { - names: ["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"], - namesAbbr: ["dom","seg","ter","qua","qui","sex","sáb"], - namesShort: ["D","S","T","Q","Q","S","S"] - }, - months: { - names: ["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro",""], - namesAbbr: ["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez",""] - }, - AM: null, - PM: null, - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, d' de 'MMMM' de 'yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd, d' de 'MMMM' de 'yyyy HH:mm", - F: "dddd, d' de 'MMMM' de 'yyyy HH:mm:ss", - M: "dd' de 'MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.pt-PT.js b/web/Scripts/globalize/cultures/globalize.culture.pt-PT.js deleted file mode 100644 index 67a957f3..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.pt-PT.js +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Globalize Culture pt-PT - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "pt-PT", "default", { - name: "pt-PT", - englishName: "Portuguese (Portugal)", - nativeName: "português (Portugal)", - language: "pt", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "NaN (Não é um número)", - negativeInfinity: "-Infinito", - positiveInfinity: "+Infinito", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"], - namesAbbr: ["dom","seg","ter","qua","qui","sex","sáb"], - namesShort: ["D","S","T","Q","Q","S","S"] - }, - months: { - names: ["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro",""], - namesAbbr: ["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez",""] - }, - AM: null, - PM: null, - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd-MM-yyyy", - D: "dddd, d' de 'MMMM' de 'yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd, d' de 'MMMM' de 'yyyy HH:mm", - F: "dddd, d' de 'MMMM' de 'yyyy HH:mm:ss", - M: "d/M", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.pt.js b/web/Scripts/globalize/cultures/globalize.culture.pt.js deleted file mode 100644 index 45cbbff6..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.pt.js +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Globalize Culture pt - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "pt", "default", { - name: "pt", - englishName: "Portuguese", - nativeName: "Português", - language: "pt", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "NaN (Não é um número)", - negativeInfinity: "-Infinito", - positiveInfinity: "+Infinito", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-$ n","$ n"], - ",": ".", - ".": ",", - symbol: "R$" - } - }, - calendars: { - standard: { - days: { - names: ["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"], - namesAbbr: ["dom","seg","ter","qua","qui","sex","sáb"], - namesShort: ["D","S","T","Q","Q","S","S"] - }, - months: { - names: ["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro",""], - namesAbbr: ["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez",""] - }, - AM: null, - PM: null, - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, d' de 'MMMM' de 'yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd, d' de 'MMMM' de 'yyyy HH:mm", - F: "dddd, d' de 'MMMM' de 'yyyy HH:mm:ss", - M: "dd' de 'MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.qut-GT.js b/web/Scripts/globalize/cultures/globalize.culture.qut-GT.js deleted file mode 100644 index 40f86587..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.qut-GT.js +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Globalize Culture qut-GT - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "qut-GT", "default", { - name: "qut-GT", - englishName: "K'iche (Guatemala)", - nativeName: "K'iche (Guatemala)", - language: "qut", - numberFormat: { - "NaN": "NeuN", - negativeInfinity: "-Infinito", - positiveInfinity: "Infinito", - currency: { - symbol: "Q" - } - }, - calendars: { - standard: { - days: { - names: ["juq'ij","kaq'ij","oxq'ij","kajq'ij","joq'ij","waqq'ij","wuqq'ij"], - namesAbbr: ["juq","kaq","oxq","kajq","joq","waqq","wuqq"], - namesShort: ["ju","ka","ox","ka","jo","wa","wu"] - }, - months: { - names: ["nab'e ik'","ukab' ik'","rox ik'","ukaj ik'","uro' ik'","uwaq ik'","uwuq ik'","uwajxaq ik'","ub'elej ik'","ulaj ik'","ujulaj ik'","ukab'laj ik'",""], - namesAbbr: ["nab'e","ukab","rox","ukaj","uro","uwaq","uwuq","uwajxaq","ub'elej","ulaj","ujulaj","ukab'laj",""] - }, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, dd' de 'MMMM' de 'yyyy hh:mm tt", - F: "dddd, dd' de 'MMMM' de 'yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.qut.js b/web/Scripts/globalize/cultures/globalize.culture.qut.js deleted file mode 100644 index 6d6569d1..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.qut.js +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Globalize Culture qut - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "qut", "default", { - name: "qut", - englishName: "K'iche", - nativeName: "K'iche", - language: "qut", - numberFormat: { - "NaN": "NeuN", - negativeInfinity: "-Infinito", - positiveInfinity: "Infinito", - currency: { - symbol: "Q" - } - }, - calendars: { - standard: { - days: { - names: ["juq'ij","kaq'ij","oxq'ij","kajq'ij","joq'ij","waqq'ij","wuqq'ij"], - namesAbbr: ["juq","kaq","oxq","kajq","joq","waqq","wuqq"], - namesShort: ["ju","ka","ox","ka","jo","wa","wu"] - }, - months: { - names: ["nab'e ik'","ukab' ik'","rox ik'","ukaj ik'","uro' ik'","uwaq ik'","uwuq ik'","uwajxaq ik'","ub'elej ik'","ulaj ik'","ujulaj ik'","ukab'laj ik'",""], - namesAbbr: ["nab'e","ukab","rox","ukaj","uro","uwaq","uwuq","uwajxaq","ub'elej","ulaj","ujulaj","ukab'laj",""] - }, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, dd' de 'MMMM' de 'yyyy hh:mm tt", - F: "dddd, dd' de 'MMMM' de 'yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.quz-BO.js b/web/Scripts/globalize/cultures/globalize.culture.quz-BO.js deleted file mode 100644 index 72a80e68..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.quz-BO.js +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Globalize Culture quz-BO - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "quz-BO", "default", { - name: "quz-BO", - englishName: "Quechua (Bolivia)", - nativeName: "runasimi (Qullasuyu)", - language: "quz", - numberFormat: { - ",": ".", - ".": ",", - percent: { - pattern: ["-%n","%n"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["($ n)","$ n"], - ",": ".", - ".": ",", - symbol: "$b" - } - }, - calendars: { - standard: { - days: { - names: ["intichaw","killachaw","atipachaw","quyllurchaw","Ch' askachaw","Illapachaw","k'uychichaw"], - namesAbbr: ["int","kil","ati","quy","Ch'","Ill","k'u"], - namesShort: ["d","k","a","m","h","b","k"] - }, - months: { - names: ["Qulla puquy","Hatun puquy","Pauqar waray","ayriwa","Aymuray","Inti raymi","Anta Sitwa","Qhapaq Sitwa","Uma raymi","Kantaray","Ayamarq'a","Kapaq Raymi",""], - namesAbbr: ["Qul","Hat","Pau","ayr","Aym","Int","Ant","Qha","Uma","Kan","Aya","Kap",""] - }, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, dd' de 'MMMM' de 'yyyy hh:mm tt", - F: "dddd, dd' de 'MMMM' de 'yyyy hh:mm:ss tt", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.quz-EC.js b/web/Scripts/globalize/cultures/globalize.culture.quz-EC.js deleted file mode 100644 index 30c4b2f4..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.quz-EC.js +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Globalize Culture quz-EC - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "quz-EC", "default", { - name: "quz-EC", - englishName: "Quechua (Ecuador)", - nativeName: "runasimi (Ecuador)", - language: "quz", - numberFormat: { - ",": ".", - ".": ",", - percent: { - pattern: ["-%n","%n"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["($ n)","$ n"], - ",": ".", - ".": "," - } - }, - calendars: { - standard: { - days: { - names: ["intichaw","killachaw","atipachaw","quyllurchaw","Ch' askachaw","Illapachaw","k'uychichaw"], - namesAbbr: ["int","kil","ati","quy","Ch'","Ill","k'u"], - namesShort: ["d","k","a","m","h","b","k"] - }, - months: { - names: ["Qulla puquy","Hatun puquy","Pauqar waray","ayriwa","Aymuray","Inti raymi","Anta Sitwa","Qhapaq Sitwa","Uma raymi","Kantaray","Ayamarq'a","Kapaq Raymi",""], - namesAbbr: ["Qul","Hat","Pau","ayr","Aym","Int","Ant","Qha","Uma","Kan","Aya","Kap",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dddd, dd' de 'MMMM' de 'yyyy H:mm", - F: "dddd, dd' de 'MMMM' de 'yyyy H:mm:ss", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.quz-PE.js b/web/Scripts/globalize/cultures/globalize.culture.quz-PE.js deleted file mode 100644 index e98b3100..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.quz-PE.js +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Globalize Culture quz-PE - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "quz-PE", "default", { - name: "quz-PE", - englishName: "Quechua (Peru)", - nativeName: "runasimi (Piruw)", - language: "quz", - numberFormat: { - percent: { - pattern: ["-%n","%n"] - }, - currency: { - pattern: ["$ -n","$ n"], - symbol: "S/." - } - }, - calendars: { - standard: { - days: { - names: ["intichaw","killachaw","atipachaw","quyllurchaw","Ch' askachaw","Illapachaw","k'uychichaw"], - namesAbbr: ["int","kil","ati","quy","Ch'","Ill","k'u"], - namesShort: ["d","k","a","m","h","b","k"] - }, - months: { - names: ["Qulla puquy","Hatun puquy","Pauqar waray","ayriwa","Aymuray","Inti raymi","Anta Sitwa","Qhapaq Sitwa","Uma raymi","Kantaray","Ayamarq'a","Kapaq Raymi",""], - namesAbbr: ["Qul","Hat","Pau","ayr","Aym","Int","Ant","Qha","Uma","Kan","Aya","Kap",""] - }, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, dd' de 'MMMM' de 'yyyy hh:mm tt", - F: "dddd, dd' de 'MMMM' de 'yyyy hh:mm:ss tt", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.quz.js b/web/Scripts/globalize/cultures/globalize.culture.quz.js deleted file mode 100644 index 705134da..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.quz.js +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Globalize Culture quz - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "quz", "default", { - name: "quz", - englishName: "Quechua", - nativeName: "runasimi", - language: "quz", - numberFormat: { - ",": ".", - ".": ",", - percent: { - pattern: ["-%n","%n"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["($ n)","$ n"], - ",": ".", - ".": ",", - symbol: "$b" - } - }, - calendars: { - standard: { - days: { - names: ["intichaw","killachaw","atipachaw","quyllurchaw","Ch' askachaw","Illapachaw","k'uychichaw"], - namesAbbr: ["int","kil","ati","quy","Ch'","Ill","k'u"], - namesShort: ["d","k","a","m","h","b","k"] - }, - months: { - names: ["Qulla puquy","Hatun puquy","Pauqar waray","ayriwa","Aymuray","Inti raymi","Anta Sitwa","Qhapaq Sitwa","Uma raymi","Kantaray","Ayamarq'a","Kapaq Raymi",""], - namesAbbr: ["Qul","Hat","Pau","ayr","Aym","Int","Ant","Qha","Uma","Kan","Aya","Kap",""] - }, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, dd' de 'MMMM' de 'yyyy hh:mm tt", - F: "dddd, dd' de 'MMMM' de 'yyyy hh:mm:ss tt", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.rm-CH.js b/web/Scripts/globalize/cultures/globalize.culture.rm-CH.js deleted file mode 100644 index bac6d143..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.rm-CH.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Globalize Culture rm-CH - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "rm-CH", "default", { - name: "rm-CH", - englishName: "Romansh (Switzerland)", - nativeName: "Rumantsch (Svizra)", - language: "rm", - numberFormat: { - ",": "'", - "NaN": "betg def.", - negativeInfinity: "-infinit", - positiveInfinity: "+infinit", - percent: { - pattern: ["-n%","n%"], - ",": "'" - }, - currency: { - pattern: ["$-n","$ n"], - ",": "'", - symbol: "fr." - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["dumengia","glindesdi","mardi","mesemna","gievgia","venderdi","sonda"], - namesAbbr: ["du","gli","ma","me","gie","ve","so"], - namesShort: ["du","gli","ma","me","gie","ve","so"] - }, - months: { - names: ["schaner","favrer","mars","avrigl","matg","zercladur","fanadur","avust","settember","october","november","december",""], - namesAbbr: ["schan","favr","mars","avr","matg","zercl","fan","avust","sett","oct","nov","dec",""] - }, - AM: null, - PM: null, - eras: [{"name":"s. Cr.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, d MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd, d MMMM yyyy HH:mm", - F: "dddd, d MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.rm.js b/web/Scripts/globalize/cultures/globalize.culture.rm.js deleted file mode 100644 index 761118dd..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.rm.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Globalize Culture rm - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "rm", "default", { - name: "rm", - englishName: "Romansh", - nativeName: "Rumantsch", - language: "rm", - numberFormat: { - ",": "'", - "NaN": "betg def.", - negativeInfinity: "-infinit", - positiveInfinity: "+infinit", - percent: { - pattern: ["-n%","n%"], - ",": "'" - }, - currency: { - pattern: ["$-n","$ n"], - ",": "'", - symbol: "fr." - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["dumengia","glindesdi","mardi","mesemna","gievgia","venderdi","sonda"], - namesAbbr: ["du","gli","ma","me","gie","ve","so"], - namesShort: ["du","gli","ma","me","gie","ve","so"] - }, - months: { - names: ["schaner","favrer","mars","avrigl","matg","zercladur","fanadur","avust","settember","october","november","december",""], - namesAbbr: ["schan","favr","mars","avr","matg","zercl","fan","avust","sett","oct","nov","dec",""] - }, - AM: null, - PM: null, - eras: [{"name":"s. Cr.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, d MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd, d MMMM yyyy HH:mm", - F: "dddd, d MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.ro-RO.js b/web/Scripts/globalize/cultures/globalize.culture.ro-RO.js deleted file mode 100644 index f677ccf8..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.ro-RO.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Globalize Culture ro-RO - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "ro-RO", "default", { - name: "ro-RO", - englishName: "Romanian (Romania)", - nativeName: "română (România)", - language: "ro", - numberFormat: { - ",": ".", - ".": ",", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "lei" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["duminică","luni","marţi","miercuri","joi","vineri","sâmbătă"], - namesAbbr: ["D","L","Ma","Mi","J","V","S"], - namesShort: ["D","L","Ma","Mi","J","V","S"] - }, - months: { - names: ["ianuarie","februarie","martie","aprilie","mai","iunie","iulie","august","septembrie","octombrie","noiembrie","decembrie",""], - namesAbbr: ["ian.","feb.","mar.","apr.","mai.","iun.","iul.","aug.","sep.","oct.","nov.","dec.",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "d MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "d MMMM yyyy HH:mm", - F: "d MMMM yyyy HH:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.ro.js b/web/Scripts/globalize/cultures/globalize.culture.ro.js deleted file mode 100644 index 3d5ac20b..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.ro.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Globalize Culture ro - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "ro", "default", { - name: "ro", - englishName: "Romanian", - nativeName: "română", - language: "ro", - numberFormat: { - ",": ".", - ".": ",", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "lei" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["duminică","luni","marţi","miercuri","joi","vineri","sâmbătă"], - namesAbbr: ["D","L","Ma","Mi","J","V","S"], - namesShort: ["D","L","Ma","Mi","J","V","S"] - }, - months: { - names: ["ianuarie","februarie","martie","aprilie","mai","iunie","iulie","august","septembrie","octombrie","noiembrie","decembrie",""], - namesAbbr: ["ian.","feb.","mar.","apr.","mai.","iun.","iul.","aug.","sep.","oct.","nov.","dec.",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "d MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "d MMMM yyyy HH:mm", - F: "d MMMM yyyy HH:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.ru-RU.js b/web/Scripts/globalize/cultures/globalize.culture.ru-RU.js deleted file mode 100644 index 5946b15c..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.ru-RU.js +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Globalize Culture ru-RU - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "ru-RU", "default", { - name: "ru-RU", - englishName: "Russian (Russia)", - nativeName: "русский (Россия)", - language: "ru", - numberFormat: { - ",": " ", - ".": ",", - negativeInfinity: "-бесконечность", - positiveInfinity: "бесконечность", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n$","n$"], - ",": " ", - ".": ",", - symbol: "р." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"], - namesAbbr: ["Вс","Пн","Вт","Ср","Чт","Пт","Сб"], - namesShort: ["Вс","Пн","Вт","Ср","Чт","Пт","Сб"] - }, - months: { - names: ["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь",""], - namesAbbr: ["янв","фев","мар","апр","май","июн","июл","авг","сен","окт","ноя","дек",""] - }, - monthsGenitive: { - names: ["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря",""], - namesAbbr: ["янв","фев","мар","апр","май","июн","июл","авг","сен","окт","ноя","дек",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "d MMMM yyyy 'г.'", - t: "H:mm", - T: "H:mm:ss", - f: "d MMMM yyyy 'г.' H:mm", - F: "d MMMM yyyy 'г.' H:mm:ss", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.ru.js b/web/Scripts/globalize/cultures/globalize.culture.ru.js deleted file mode 100644 index 23d54fa7..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.ru.js +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Globalize Culture ru - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "ru", "default", { - name: "ru", - englishName: "Russian", - nativeName: "русский", - language: "ru", - numberFormat: { - ",": " ", - ".": ",", - negativeInfinity: "-бесконечность", - positiveInfinity: "бесконечность", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n$","n$"], - ",": " ", - ".": ",", - symbol: "р." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"], - namesAbbr: ["Вс","Пн","Вт","Ср","Чт","Пт","Сб"], - namesShort: ["Вс","Пн","Вт","Ср","Чт","Пт","Сб"] - }, - months: { - names: ["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь",""], - namesAbbr: ["янв","фев","мар","апр","май","июн","июл","авг","сен","окт","ноя","дек",""] - }, - monthsGenitive: { - names: ["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря",""], - namesAbbr: ["янв","фев","мар","апр","май","июн","июл","авг","сен","окт","ноя","дек",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "d MMMM yyyy 'г.'", - t: "H:mm", - T: "H:mm:ss", - f: "d MMMM yyyy 'г.' H:mm", - F: "d MMMM yyyy 'г.' H:mm:ss", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.rw-RW.js b/web/Scripts/globalize/cultures/globalize.culture.rw-RW.js deleted file mode 100644 index 6052f4df..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.rw-RW.js +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Globalize Culture rw-RW - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "rw-RW", "default", { - name: "rw-RW", - englishName: "Kinyarwanda (Rwanda)", - nativeName: "Kinyarwanda (Rwanda)", - language: "rw", - numberFormat: { - ",": " ", - ".": ",", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["$-n","$ n"], - ",": " ", - ".": ",", - symbol: "RWF" - } - }, - calendars: { - standard: { - days: { - names: ["Ku wa mbere","Ku wa kabiri","Ku wa gatatu","Ku wa kane","Ku wa gatanu","Ku wa gatandatu","Ku cyumweru"], - namesAbbr: ["mbe.","kab.","gat.","kan.","gat.","gat.","cyu."], - namesShort: ["mb","ka","ga","ka","ga","ga","cy"] - }, - months: { - names: ["Mutarama","Gashyantare","Werurwe","Mata","Gicurasi","Kamena","Nyakanga","Kanama","Nzeli","Ukwakira","Ugushyingo","Ukuboza",""], - namesAbbr: ["Mut","Gas","Wer","Mat","Gic","Kam","Nya","Kan","Nze","Ukwa","Ugu","Uku",""] - }, - AM: ["saa moya z.m.","saa moya z.m.","SAA MOYA Z.M."], - PM: ["saa moya z.n.","saa moya z.n.","SAA MOYA Z.N."], - eras: [{"name":"AD","start":null,"offset":0}] - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.rw.js b/web/Scripts/globalize/cultures/globalize.culture.rw.js deleted file mode 100644 index 8d63d977..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.rw.js +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Globalize Culture rw - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "rw", "default", { - name: "rw", - englishName: "Kinyarwanda", - nativeName: "Kinyarwanda", - language: "rw", - numberFormat: { - ",": " ", - ".": ",", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["$-n","$ n"], - ",": " ", - ".": ",", - symbol: "RWF" - } - }, - calendars: { - standard: { - days: { - names: ["Ku wa mbere","Ku wa kabiri","Ku wa gatatu","Ku wa kane","Ku wa gatanu","Ku wa gatandatu","Ku cyumweru"], - namesAbbr: ["mbe.","kab.","gat.","kan.","gat.","gat.","cyu."], - namesShort: ["mb","ka","ga","ka","ga","ga","cy"] - }, - months: { - names: ["Mutarama","Gashyantare","Werurwe","Mata","Gicurasi","Kamena","Nyakanga","Kanama","Nzeli","Ukwakira","Ugushyingo","Ukuboza",""], - namesAbbr: ["Mut","Gas","Wer","Mat","Gic","Kam","Nya","Kan","Nze","Ukwa","Ugu","Uku",""] - }, - AM: ["saa moya z.m.","saa moya z.m.","SAA MOYA Z.M."], - PM: ["saa moya z.n.","saa moya z.n.","SAA MOYA Z.N."], - eras: [{"name":"AD","start":null,"offset":0}] - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.sa-IN.js b/web/Scripts/globalize/cultures/globalize.culture.sa-IN.js deleted file mode 100644 index b94958d1..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.sa-IN.js +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Globalize Culture sa-IN - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "sa-IN", "default", { - name: "sa-IN", - englishName: "Sanskrit (India)", - nativeName: "संस्कृत (भारतम्)", - language: "sa", - numberFormat: { - groupSizes: [3,2], - percent: { - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,2], - symbol: "रु" - } - }, - calendars: { - standard: { - "/": "-", - days: { - names: ["रविवासरः","सोमवासरः","मङ्गलवासरः","बुधवासरः","गुरुवासरः","शुक्रवासरः","शनिवासरः"], - namesAbbr: ["रविवासरः","सोमवासरः","मङ्गलवासरः","बुधवासरः","गुरुवासरः","शुक्रवासरः","शनिवासरः"], - namesShort: ["र","स","म","ब","ग","श","श"] - }, - months: { - names: ["जनवरी","फरवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्तूबर","नवम्बर","दिसम्बर",""], - namesAbbr: ["जनवरी","फरवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्तूबर","नवम्बर","दिसम्बर",""] - }, - AM: ["पूर्वाह्न","पूर्वाह्न","पूर्वाह्न"], - PM: ["अपराह्न","अपराह्न","अपराह्न"], - patterns: { - d: "dd-MM-yyyy", - D: "dd MMMM yyyy dddd", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd MMMM yyyy dddd HH:mm", - F: "dd MMMM yyyy dddd HH:mm:ss", - M: "dd MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.sa.js b/web/Scripts/globalize/cultures/globalize.culture.sa.js deleted file mode 100644 index 059f4bf5..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.sa.js +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Globalize Culture sa - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "sa", "default", { - name: "sa", - englishName: "Sanskrit", - nativeName: "संस्कृत", - language: "sa", - numberFormat: { - groupSizes: [3,2], - percent: { - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,2], - symbol: "रु" - } - }, - calendars: { - standard: { - "/": "-", - days: { - names: ["रविवासरः","सोमवासरः","मङ्गलवासरः","बुधवासरः","गुरुवासरः","शुक्रवासरः","शनिवासरः"], - namesAbbr: ["रविवासरः","सोमवासरः","मङ्गलवासरः","बुधवासरः","गुरुवासरः","शुक्रवासरः","शनिवासरः"], - namesShort: ["र","स","म","ब","ग","श","श"] - }, - months: { - names: ["जनवरी","फरवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्तूबर","नवम्बर","दिसम्बर",""], - namesAbbr: ["जनवरी","फरवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्तूबर","नवम्बर","दिसम्बर",""] - }, - AM: ["पूर्वाह्न","पूर्वाह्न","पूर्वाह्न"], - PM: ["अपराह्न","अपराह्न","अपराह्न"], - patterns: { - d: "dd-MM-yyyy", - D: "dd MMMM yyyy dddd", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd MMMM yyyy dddd HH:mm", - F: "dd MMMM yyyy dddd HH:mm:ss", - M: "dd MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.sah-RU.js b/web/Scripts/globalize/cultures/globalize.culture.sah-RU.js deleted file mode 100644 index 7d1ae37e..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.sah-RU.js +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Globalize Culture sah-RU - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "sah-RU", "default", { - name: "sah-RU", - englishName: "Yakut (Russia)", - nativeName: "саха (Россия)", - language: "sah", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "NAN", - negativeInfinity: "-бесконечность", - positiveInfinity: "бесконечность", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n$","n$"], - ",": " ", - ".": ",", - symbol: "с." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["баскыһыанньа","бэнидиэнньик","оптуорунньук","сэрэдэ","чэппиэр","бээтинсэ","субуота"], - namesAbbr: ["Бс","Бн","Оп","Ср","Чп","Бт","Сб"], - namesShort: ["Бс","Бн","Оп","Ср","Чп","Бт","Сб"] - }, - months: { - names: ["Тохсунньу","Олунньу","Кулун тутар","Муус устар","Ыам ыйа","Бэс ыйа","От ыйа","Атырдьах ыйа","Балаҕан ыйа","Алтынньы","Сэтинньи","Ахсынньы",""], - namesAbbr: ["тхс","олн","кул","мст","ыам","бэс","отй","атр","блҕ","алт","стн","ахс",""] - }, - monthsGenitive: { - names: ["тохсунньу","олунньу","кулун тутар","муус устар","ыам ыйын","бэс ыйын","от ыйын","атырдьах ыйын","балаҕан ыйын","алтынньы","сэтинньи","ахсынньы",""], - namesAbbr: ["тхс","олн","кул","мст","ыам","бэс","отй","атр","блҕ","алт","стн","ахс",""] - }, - AM: null, - PM: null, - patterns: { - d: "MM.dd.yyyy", - D: "MMMM d yyyy 'с.'", - t: "H:mm", - T: "H:mm:ss", - f: "MMMM d yyyy 'с.' H:mm", - F: "MMMM d yyyy 'с.' H:mm:ss", - Y: "MMMM yyyy 'с.'" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.sah.js b/web/Scripts/globalize/cultures/globalize.culture.sah.js deleted file mode 100644 index 4ad841be..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.sah.js +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Globalize Culture sah - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "sah", "default", { - name: "sah", - englishName: "Yakut", - nativeName: "саха", - language: "sah", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "NAN", - negativeInfinity: "-бесконечность", - positiveInfinity: "бесконечность", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n$","n$"], - ",": " ", - ".": ",", - symbol: "с." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["баскыһыанньа","бэнидиэнньик","оптуорунньук","сэрэдэ","чэппиэр","бээтинсэ","субуота"], - namesAbbr: ["Бс","Бн","Оп","Ср","Чп","Бт","Сб"], - namesShort: ["Бс","Бн","Оп","Ср","Чп","Бт","Сб"] - }, - months: { - names: ["Тохсунньу","Олунньу","Кулун тутар","Муус устар","Ыам ыйа","Бэс ыйа","От ыйа","Атырдьах ыйа","Балаҕан ыйа","Алтынньы","Сэтинньи","Ахсынньы",""], - namesAbbr: ["тхс","олн","кул","мст","ыам","бэс","отй","атр","блҕ","алт","стн","ахс",""] - }, - monthsGenitive: { - names: ["тохсунньу","олунньу","кулун тутар","муус устар","ыам ыйын","бэс ыйын","от ыйын","атырдьах ыйын","балаҕан ыйын","алтынньы","сэтинньи","ахсынньы",""], - namesAbbr: ["тхс","олн","кул","мст","ыам","бэс","отй","атр","блҕ","алт","стн","ахс",""] - }, - AM: null, - PM: null, - patterns: { - d: "MM.dd.yyyy", - D: "MMMM d yyyy 'с.'", - t: "H:mm", - T: "H:mm:ss", - f: "MMMM d yyyy 'с.' H:mm", - F: "MMMM d yyyy 'с.' H:mm:ss", - Y: "MMMM yyyy 'с.'" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.se-FI.js b/web/Scripts/globalize/cultures/globalize.culture.se-FI.js deleted file mode 100644 index b270fa58..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.se-FI.js +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Globalize Culture se-FI - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "se-FI", "default", { - name: "se-FI", - englishName: "Sami, Northern (Finland)", - nativeName: "davvisámegiella (Suopma)", - language: "se", - numberFormat: { - ",": " ", - ".": ",", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["sotnabeaivi","vuossárga","maŋŋebárga","gaskavahkku","duorastat","bearjadat","lávvardat"], - namesAbbr: ["sotn","vuos","maŋ","gask","duor","bear","láv"], - namesShort: ["s","m","d","g","d","b","l"] - }, - months: { - names: ["ođđajagemánnu","guovvamánnu","njukčamánnu","cuoŋománnu","miessemánnu","geassemánnu","suoidnemánnu","borgemánnu","čakčamánnu","golggotmánnu","skábmamánnu","juovlamánnu",""], - namesAbbr: ["ođđj","guov","njuk","cuo","mies","geas","suoi","borg","čakč","golg","skáb","juov",""] - }, - monthsGenitive: { - names: ["ođđajagimánu","guovvamánu","njukčamánu","cuoŋománu","miessemánu","geassemánu","suoidnemánu","borgemánu","čakčamánu","golggotmánu","skábmamánu","juovlamánu",""], - namesAbbr: ["ođđj","guov","njuk","cuo","mies","geas","suoi","borg","čakč","golg","skáb","juov",""] - }, - AM: null, - PM: null, - patterns: { - d: "d.M.yyyy", - D: "MMMM d'. b. 'yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "MMMM d'. b. 'yyyy H:mm", - F: "MMMM d'. b. 'yyyy H:mm:ss", - M: "MMMM d'. b. '", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.se-NO.js b/web/Scripts/globalize/cultures/globalize.culture.se-NO.js deleted file mode 100644 index 46f387f4..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.se-NO.js +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Globalize Culture se-NO - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "se-NO", "default", { - name: "se-NO", - englishName: "Sami, Northern (Norway)", - nativeName: "davvisámegiella (Norga)", - language: "se", - numberFormat: { - ",": " ", - ".": ",", - percent: { - pattern: ["-%n","%n"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["$ -n","$ n"], - ",": " ", - ".": ",", - symbol: "kr" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["sotnabeaivi","vuossárga","maŋŋebárga","gaskavahkku","duorastat","bearjadat","lávvardat"], - namesAbbr: ["sotn","vuos","maŋ","gask","duor","bear","láv"], - namesShort: ["s","m","d","g","d","b","l"] - }, - months: { - names: ["ođđajagemánnu","guovvamánnu","njukčamánnu","cuoŋománnu","miessemánnu","geassemánnu","suoidnemánnu","borgemánnu","čakčamánnu","golggotmánnu","skábmamánnu","juovlamánnu",""], - namesAbbr: ["ođđj","guov","njuk","cuo","mies","geas","suoi","borg","čakč","golg","skáb","juov",""] - }, - monthsGenitive: { - names: ["ođđajagimánu","guovvamánu","njukčamánu","cuoŋománu","miessemánu","geassemánu","suoidnemánu","borgemánu","čakčamánu","golggotmánu","skábmamánu","juovlamánu",""], - namesAbbr: ["ođđj","guov","njuk","cuo","mies","geas","suoi","borg","čakč","golg","skáb","juov",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "MMMM d'. b. 'yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "MMMM d'. b. 'yyyy HH:mm", - F: "MMMM d'. b. 'yyyy HH:mm:ss", - M: "MMMM d'. b. '", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.se-SE.js b/web/Scripts/globalize/cultures/globalize.culture.se-SE.js deleted file mode 100644 index fd4ec323..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.se-SE.js +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Globalize Culture se-SE - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "se-SE", "default", { - name: "se-SE", - englishName: "Sami, Northern (Sweden)", - nativeName: "davvisámegiella (Ruoŧŧa)", - language: "se", - numberFormat: { - ",": " ", - ".": ",", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "kr" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["sotnabeaivi","mánnodat","disdat","gaskavahkku","duorastat","bearjadat","lávvardat"], - namesAbbr: ["sotn","mán","dis","gask","duor","bear","láv"], - namesShort: ["s","m","d","g","d","b","l"] - }, - months: { - names: ["ođđajagemánnu","guovvamánnu","njukčamánnu","cuoŋománnu","miessemánnu","geassemánnu","suoidnemánnu","borgemánnu","čakčamánnu","golggotmánnu","skábmamánnu","juovlamánnu",""], - namesAbbr: ["ođđj","guov","njuk","cuo","mies","geas","suoi","borg","čakč","golg","skáb","juov",""] - }, - monthsGenitive: { - names: ["ođđajagimánu","guovvamánu","njukčamánu","cuoŋománu","miessemánu","geassemánu","suoidnemánu","borgemánu","čakčamánu","golggotmánu","skábmamánu","juovlamánu",""], - namesAbbr: ["ođđj","guov","njuk","cuo","mies","geas","suoi","borg","čakč","golg","skáb","juov",""] - }, - AM: null, - PM: null, - patterns: { - d: "yyyy-MM-dd", - D: "MMMM d'. b. 'yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "MMMM d'. b. 'yyyy HH:mm", - F: "MMMM d'. b. 'yyyy HH:mm:ss", - M: "MMMM d'. b. '", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.se.js b/web/Scripts/globalize/cultures/globalize.culture.se.js deleted file mode 100644 index 9a5dcec6..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.se.js +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Globalize Culture se - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "se", "default", { - name: "se", - englishName: "Sami (Northern)", - nativeName: "davvisámegiella", - language: "se", - numberFormat: { - ",": " ", - ".": ",", - percent: { - pattern: ["-%n","%n"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["$ -n","$ n"], - ",": " ", - ".": ",", - symbol: "kr" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["sotnabeaivi","vuossárga","maŋŋebárga","gaskavahkku","duorastat","bearjadat","lávvardat"], - namesAbbr: ["sotn","vuos","maŋ","gask","duor","bear","láv"], - namesShort: ["s","m","d","g","d","b","l"] - }, - months: { - names: ["ođđajagemánnu","guovvamánnu","njukčamánnu","cuoŋománnu","miessemánnu","geassemánnu","suoidnemánnu","borgemánnu","čakčamánnu","golggotmánnu","skábmamánnu","juovlamánnu",""], - namesAbbr: ["ođđj","guov","njuk","cuo","mies","geas","suoi","borg","čakč","golg","skáb","juov",""] - }, - monthsGenitive: { - names: ["ođđajagimánu","guovvamánu","njukčamánu","cuoŋománu","miessemánu","geassemánu","suoidnemánu","borgemánu","čakčamánu","golggotmánu","skábmamánu","juovlamánu",""], - namesAbbr: ["ođđj","guov","njuk","cuo","mies","geas","suoi","borg","čakč","golg","skáb","juov",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "MMMM d'. b. 'yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "MMMM d'. b. 'yyyy HH:mm", - F: "MMMM d'. b. 'yyyy HH:mm:ss", - M: "MMMM d'. b. '", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.si-LK.js b/web/Scripts/globalize/cultures/globalize.culture.si-LK.js deleted file mode 100644 index a331625f..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.si-LK.js +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Globalize Culture si-LK - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "si-LK", "default", { - name: "si-LK", - englishName: "Sinhala (Sri Lanka)", - nativeName: "සිංහල (ශ්\u200dරී ලංකා)", - language: "si", - numberFormat: { - groupSizes: [3,2], - negativeInfinity: "-අනන්තය", - positiveInfinity: "අනන්තය", - percent: { - groupSizes: [3,2] - }, - currency: { - pattern: ["($ n)","$ n"], - symbol: "රු." - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["ඉරිදා","සඳුදා","අඟහරුවාදා","බදාදා","බ්\u200dරහස්පතින්දා","සිකුරාදා","සෙනසුරාදා"], - namesAbbr: ["ඉරිදා","සඳුදා","කුජදා","බුදදා","ගුරුදා","කිවිදා","ශනිදා"], - namesShort: ["ඉ","ස","අ","බ","බ්\u200dර","සි","සෙ"] - }, - months: { - names: ["ජනවාරි","පෙබරවාරි","මාර්තු","අ\u200cප්\u200dරේල්","මැයි","ජූනි","ජූලි","අ\u200cගෝස්තු","සැප්තැම්බර්","ඔක්තෝබර්","නොවැම්බර්","දෙසැම්බර්",""], - namesAbbr: ["ජන.","පෙබ.","මාර්තු.","අප්\u200dරේල්.","මැයි.","ජූනි.","ජූලි.","අගෝ.","සැප්.","ඔක්.","නොවැ.","දෙසැ.",""] - }, - AM: ["පෙ.ව.","පෙ.ව.","පෙ.ව."], - PM: ["ප.ව.","ප.ව.","ප.ව."], - eras: [{"name":"ක්\u200dරි.ව.","start":null,"offset":0}], - patterns: { - d: "yyyy-MM-dd", - D: "yyyy MMMM' මස 'dd' වැනිදා 'dddd", - f: "yyyy MMMM' මස 'dd' වැනිදා 'dddd h:mm tt", - F: "yyyy MMMM' මස 'dd' වැනිදා 'dddd h:mm:ss tt", - Y: "yyyy MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.si.js b/web/Scripts/globalize/cultures/globalize.culture.si.js deleted file mode 100644 index c9141e25..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.si.js +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Globalize Culture si - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "si", "default", { - name: "si", - englishName: "Sinhala", - nativeName: "සිංහල", - language: "si", - numberFormat: { - groupSizes: [3,2], - negativeInfinity: "-අනන්තය", - positiveInfinity: "අනන්තය", - percent: { - groupSizes: [3,2] - }, - currency: { - pattern: ["($ n)","$ n"], - symbol: "රු." - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["ඉරිදා","සඳුදා","අඟහරුවාදා","බදාදා","බ්\u200dරහස්පතින්දා","සිකුරාදා","සෙනසුරාදා"], - namesAbbr: ["ඉරිදා","සඳුදා","කුජදා","බුදදා","ගුරුදා","කිවිදා","ශනිදා"], - namesShort: ["ඉ","ස","අ","බ","බ්\u200dර","සි","සෙ"] - }, - months: { - names: ["ජනවාරි","පෙබරවාරි","මාර්තු","අ\u200cප්\u200dරේල්","මැයි","ජූනි","ජූලි","අ\u200cගෝස්තු","සැප්තැම්බර්","ඔක්තෝබර්","නොවැම්බර්","දෙසැම්බර්",""], - namesAbbr: ["ජන.","පෙබ.","මාර්තු.","අප්\u200dරේල්.","මැයි.","ජූනි.","ජූලි.","අගෝ.","සැප්.","ඔක්.","නොවැ.","දෙසැ.",""] - }, - AM: ["පෙ.ව.","පෙ.ව.","පෙ.ව."], - PM: ["ප.ව.","ප.ව.","ප.ව."], - eras: [{"name":"ක්\u200dරි.ව.","start":null,"offset":0}], - patterns: { - d: "yyyy-MM-dd", - D: "yyyy MMMM' මස 'dd' වැනිදා 'dddd", - f: "yyyy MMMM' මස 'dd' වැනිදා 'dddd h:mm tt", - F: "yyyy MMMM' මස 'dd' වැනිදා 'dddd h:mm:ss tt", - Y: "yyyy MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.sk-SK.js b/web/Scripts/globalize/cultures/globalize.culture.sk-SK.js deleted file mode 100644 index feff22d5..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.sk-SK.js +++ /dev/null @@ -1,85 +0,0 @@ -/* - * Globalize Culture sk-SK - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "sk-SK", "default", { - name: "sk-SK", - englishName: "Slovak (Slovakia)", - nativeName: "slovenčina (Slovenská republika)", - language: "sk", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "Nie je číslo", - negativeInfinity: "-nekonečno", - positiveInfinity: "+nekonečno", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - "/": ". ", - firstDay: 1, - days: { - names: ["nedeľa","pondelok","utorok","streda","štvrtok","piatok","sobota"], - namesAbbr: ["ne","po","ut","st","št","pi","so"], - namesShort: ["ne","po","ut","st","št","pi","so"] - }, - months: { - names: ["január","február","marec","apríl","máj","jún","júl","august","september","október","november","december",""], - namesAbbr: ["1","2","3","4","5","6","7","8","9","10","11","12",""] - }, - monthsGenitive: { - names: ["januára","februára","marca","apríla","mája","júna","júla","augusta","septembra","októbra","novembra","decembra",""], - namesAbbr: ["1","2","3","4","5","6","7","8","9","10","11","12",""] - }, - AM: null, - PM: null, - eras: [{"name":"n. l.","start":null,"offset":0}], - patterns: { - d: "d. M. yyyy", - D: "d. MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM yyyy H:mm", - F: "d. MMMM yyyy H:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.sk.js b/web/Scripts/globalize/cultures/globalize.culture.sk.js deleted file mode 100644 index 3cd66db9..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.sk.js +++ /dev/null @@ -1,85 +0,0 @@ -/* - * Globalize Culture sk - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "sk", "default", { - name: "sk", - englishName: "Slovak", - nativeName: "slovenčina", - language: "sk", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "Nie je číslo", - negativeInfinity: "-nekonečno", - positiveInfinity: "+nekonečno", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - "/": ". ", - firstDay: 1, - days: { - names: ["nedeľa","pondelok","utorok","streda","štvrtok","piatok","sobota"], - namesAbbr: ["ne","po","ut","st","št","pi","so"], - namesShort: ["ne","po","ut","st","št","pi","so"] - }, - months: { - names: ["január","február","marec","apríl","máj","jún","júl","august","september","október","november","december",""], - namesAbbr: ["1","2","3","4","5","6","7","8","9","10","11","12",""] - }, - monthsGenitive: { - names: ["januára","februára","marca","apríla","mája","júna","júla","augusta","septembra","októbra","novembra","decembra",""], - namesAbbr: ["1","2","3","4","5","6","7","8","9","10","11","12",""] - }, - AM: null, - PM: null, - eras: [{"name":"n. l.","start":null,"offset":0}], - patterns: { - d: "d. M. yyyy", - D: "d. MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM yyyy H:mm", - F: "d. MMMM yyyy H:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.sl-SI.js b/web/Scripts/globalize/cultures/globalize.culture.sl-SI.js deleted file mode 100644 index 7ddc54aa..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.sl-SI.js +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Globalize Culture sl-SI - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "sl-SI", "default", { - name: "sl-SI", - englishName: "Slovenian (Slovenia)", - nativeName: "slovenski (Slovenija)", - language: "sl", - numberFormat: { - ",": ".", - ".": ",", - negativeInfinity: "-neskončnost", - positiveInfinity: "neskončnost", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["nedelja","ponedeljek","torek","sreda","četrtek","petek","sobota"], - namesAbbr: ["ned","pon","tor","sre","čet","pet","sob"], - namesShort: ["ne","po","to","sr","če","pe","so"] - }, - months: { - names: ["januar","februar","marec","april","maj","junij","julij","avgust","september","oktober","november","december",""], - namesAbbr: ["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec",""] - }, - AM: null, - PM: null, - patterns: { - d: "d.M.yyyy", - D: "d. MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM yyyy H:mm", - F: "d. MMMM yyyy H:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.sl.js b/web/Scripts/globalize/cultures/globalize.culture.sl.js deleted file mode 100644 index a75dbded..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.sl.js +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Globalize Culture sl - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "sl", "default", { - name: "sl", - englishName: "Slovenian", - nativeName: "slovenski", - language: "sl", - numberFormat: { - ",": ".", - ".": ",", - negativeInfinity: "-neskončnost", - positiveInfinity: "neskončnost", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["nedelja","ponedeljek","torek","sreda","četrtek","petek","sobota"], - namesAbbr: ["ned","pon","tor","sre","čet","pet","sob"], - namesShort: ["ne","po","to","sr","če","pe","so"] - }, - months: { - names: ["januar","februar","marec","april","maj","junij","julij","avgust","september","oktober","november","december",""], - namesAbbr: ["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec",""] - }, - AM: null, - PM: null, - patterns: { - d: "d.M.yyyy", - D: "d. MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM yyyy H:mm", - F: "d. MMMM yyyy H:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.sma-NO.js b/web/Scripts/globalize/cultures/globalize.culture.sma-NO.js deleted file mode 100644 index 4954494e..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.sma-NO.js +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Globalize Culture sma-NO - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "sma-NO", "default", { - name: "sma-NO", - englishName: "Sami, Southern (Norway)", - nativeName: "åarjelsaemiengiele (Nöörje)", - language: "sma", - numberFormat: { - ",": " ", - ".": ",", - percent: { - pattern: ["-%n","%n"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["$ -n","$ n"], - ",": " ", - ".": ",", - symbol: "kr" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["aejlege","måanta","dæjsta","gaskevåhkoe","duarsta","bearjadahke","laavvardahke"], - namesAbbr: ["aej","måa","dæj","gask","duar","bearj","laav"], - namesShort: ["a","m","d","g","d","b","l"] - }, - months: { - names: ["tsïengele","goevte","njoktje","voerhtje","suehpede","ruffie","snjaltje","mïetske","skïerede","golke","rahka","goeve",""], - namesAbbr: ["tsïen","goevt","njok","voer","sueh","ruff","snja","mïet","skïer","golk","rahk","goev",""] - }, - monthsGenitive: { - names: ["tsïengelen","goevten","njoktjen","voerhtjen","suehpeden","ruffien","snjaltjen","mïetsken","skïereden","golken","rahkan","goeven",""], - namesAbbr: ["tsïen","goevt","njok","voer","sueh","ruff","snja","mïet","skïer","golk","rahk","goev",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "MMMM d'. b. 'yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "MMMM d'. b. 'yyyy HH:mm", - F: "MMMM d'. b. 'yyyy HH:mm:ss", - M: "MMMM d'. b. '", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.sma-SE.js b/web/Scripts/globalize/cultures/globalize.culture.sma-SE.js deleted file mode 100644 index d6c02c02..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.sma-SE.js +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Globalize Culture sma-SE - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "sma-SE", "default", { - name: "sma-SE", - englishName: "Sami, Southern (Sweden)", - nativeName: "åarjelsaemiengiele (Sveerje)", - language: "sma", - numberFormat: { - ",": " ", - ".": ",", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "kr" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["aejlege","måanta","dæjsta","gaskevåhkoe","duarsta","bearjadahke","laavvardahke"], - namesAbbr: ["aej","måa","dæj","gask","duar","bearj","laav"], - namesShort: ["a","m","d","g","d","b","l"] - }, - months: { - names: ["tsïengele","goevte","njoktje","voerhtje","suehpede","ruffie","snjaltje","mïetske","skïerede","golke","rahka","goeve",""], - namesAbbr: ["tsïen","goevt","njok","voer","sueh","ruff","snja","mïet","skïer","golk","rahk","goev",""] - }, - monthsGenitive: { - names: ["tsïengelen","goevten","njoktjen","voerhtjen","suehpeden","ruffien","snjaltjen","mïetsken","skïereden","golken","rahkan","goeven",""], - namesAbbr: ["tsïen","goevt","njok","voer","sueh","ruff","snja","mïet","skïer","golk","rahk","goev",""] - }, - AM: null, - PM: null, - patterns: { - d: "yyyy-MM-dd", - D: "MMMM d'. b. 'yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "MMMM d'. b. 'yyyy HH:mm", - F: "MMMM d'. b. 'yyyy HH:mm:ss", - M: "MMMM d'. b. '", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.sma.js b/web/Scripts/globalize/cultures/globalize.culture.sma.js deleted file mode 100644 index 5b893564..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.sma.js +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Globalize Culture sma - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "sma", "default", { - name: "sma", - englishName: "Sami (Southern)", - nativeName: "åarjelsaemiengiele", - language: "sma", - numberFormat: { - ",": " ", - ".": ",", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "kr" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["aejlege","måanta","dæjsta","gaskevåhkoe","duarsta","bearjadahke","laavvardahke"], - namesAbbr: ["aej","måa","dæj","gask","duar","bearj","laav"], - namesShort: ["a","m","d","g","d","b","l"] - }, - months: { - names: ["tsïengele","goevte","njoktje","voerhtje","suehpede","ruffie","snjaltje","mïetske","skïerede","golke","rahka","goeve",""], - namesAbbr: ["tsïen","goevt","njok","voer","sueh","ruff","snja","mïet","skïer","golk","rahk","goev",""] - }, - monthsGenitive: { - names: ["tsïengelen","goevten","njoktjen","voerhtjen","suehpeden","ruffien","snjaltjen","mïetsken","skïereden","golken","rahkan","goeven",""], - namesAbbr: ["tsïen","goevt","njok","voer","sueh","ruff","snja","mïet","skïer","golk","rahk","goev",""] - }, - AM: null, - PM: null, - patterns: { - d: "yyyy-MM-dd", - D: "MMMM d'. b. 'yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "MMMM d'. b. 'yyyy HH:mm", - F: "MMMM d'. b. 'yyyy HH:mm:ss", - M: "MMMM d'. b. '", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.smj-NO.js b/web/Scripts/globalize/cultures/globalize.culture.smj-NO.js deleted file mode 100644 index f6f13823..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.smj-NO.js +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Globalize Culture smj-NO - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "smj-NO", "default", { - name: "smj-NO", - englishName: "Sami, Lule (Norway)", - nativeName: "julevusámegiella (Vuodna)", - language: "smj", - numberFormat: { - ",": " ", - ".": ",", - percent: { - pattern: ["-%n","%n"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["$ -n","$ n"], - ",": " ", - ".": ",", - symbol: "kr" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["sådnåbiejvve","mánnodahka","dijstahka","gasskavahkko","duorastahka","bierjjedahka","lávvodahka"], - namesAbbr: ["såd","mán","dis","gas","duor","bier","láv"], - namesShort: ["s","m","d","g","d","b","l"] - }, - months: { - names: ["ådåjakmánno","guovvamánno","sjnjuktjamánno","vuoratjismánno","moarmesmánno","biehtsemánno","sjnjilltjamánno","bårggemánno","ragátmánno","gålgådismánno","basádismánno","javllamánno",""], - namesAbbr: ["ådåj","guov","snju","vuor","moar","bieh","snji","bårg","ragá","gålg","basá","javl",""] - }, - monthsGenitive: { - names: ["ådåjakmáno","guovvamáno","sjnjuktjamáno","vuoratjismáno","moarmesmáno","biehtsemáno","sjnjilltjamáno","bårggemáno","ragátmáno","gålgådismáno","basádismáno","javllamáno",""], - namesAbbr: ["ådåj","guov","snju","vuor","moar","bieh","snji","bårg","ragá","gålg","basá","javl",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "MMMM d'. b. 'yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "MMMM d'. b. 'yyyy HH:mm", - F: "MMMM d'. b. 'yyyy HH:mm:ss", - M: "MMMM d'. b. '", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.smj-SE.js b/web/Scripts/globalize/cultures/globalize.culture.smj-SE.js deleted file mode 100644 index b7ee88af..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.smj-SE.js +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Globalize Culture smj-SE - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "smj-SE", "default", { - name: "smj-SE", - englishName: "Sami, Lule (Sweden)", - nativeName: "julevusámegiella (Svierik)", - language: "smj", - numberFormat: { - ",": " ", - ".": ",", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "kr" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["ájllek","mánnodahka","dijstahka","gasskavahkko","duorastahka","bierjjedahka","lávvodahka"], - namesAbbr: ["ájl","mán","dis","gas","duor","bier","láv"], - namesShort: ["á","m","d","g","d","b","l"] - }, - months: { - names: ["ådåjakmánno","guovvamánno","sjnjuktjamánno","vuoratjismánno","moarmesmánno","biehtsemánno","sjnjilltjamánno","bårggemánno","ragátmánno","gålgådismánno","basádismánno","javllamánno",""], - namesAbbr: ["ådåj","guov","snju","vuor","moar","bieh","snji","bårg","ragá","gålg","basá","javl",""] - }, - monthsGenitive: { - names: ["ådåjakmáno","guovvamáno","sjnjuktjamáno","vuoratjismáno","moarmesmáno","biehtsemáno","sjnjilltjamáno","bårggemáno","ragátmáno","gålgådismáno","basádismáno","javllamáno",""], - namesAbbr: ["ådåj","guov","snju","vuor","moar","bieh","snji","bårg","ragá","gålg","basá","javl",""] - }, - AM: null, - PM: null, - patterns: { - d: "yyyy-MM-dd", - D: "MMMM d'. b. 'yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "MMMM d'. b. 'yyyy HH:mm", - F: "MMMM d'. b. 'yyyy HH:mm:ss", - M: "MMMM d'. b. '", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.smj.js b/web/Scripts/globalize/cultures/globalize.culture.smj.js deleted file mode 100644 index 021f9a31..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.smj.js +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Globalize Culture smj - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "smj", "default", { - name: "smj", - englishName: "Sami (Lule)", - nativeName: "julevusámegiella", - language: "smj", - numberFormat: { - ",": " ", - ".": ",", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "kr" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["ájllek","mánnodahka","dijstahka","gasskavahkko","duorastahka","bierjjedahka","lávvodahka"], - namesAbbr: ["ájl","mán","dis","gas","duor","bier","láv"], - namesShort: ["á","m","d","g","d","b","l"] - }, - months: { - names: ["ådåjakmánno","guovvamánno","sjnjuktjamánno","vuoratjismánno","moarmesmánno","biehtsemánno","sjnjilltjamánno","bårggemánno","ragátmánno","gålgådismánno","basádismánno","javllamánno",""], - namesAbbr: ["ådåj","guov","snju","vuor","moar","bieh","snji","bårg","ragá","gålg","basá","javl",""] - }, - monthsGenitive: { - names: ["ådåjakmáno","guovvamáno","sjnjuktjamáno","vuoratjismáno","moarmesmáno","biehtsemáno","sjnjilltjamáno","bårggemáno","ragátmáno","gålgådismáno","basádismáno","javllamáno",""], - namesAbbr: ["ådåj","guov","snju","vuor","moar","bieh","snji","bårg","ragá","gålg","basá","javl",""] - }, - AM: null, - PM: null, - patterns: { - d: "yyyy-MM-dd", - D: "MMMM d'. b. 'yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "MMMM d'. b. 'yyyy HH:mm", - F: "MMMM d'. b. 'yyyy HH:mm:ss", - M: "MMMM d'. b. '", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.smn-FI.js b/web/Scripts/globalize/cultures/globalize.culture.smn-FI.js deleted file mode 100644 index ce73bd3d..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.smn-FI.js +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Globalize Culture smn-FI - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "smn-FI", "default", { - name: "smn-FI", - englishName: "Sami, Inari (Finland)", - nativeName: "sämikielâ (Suomâ)", - language: "smn", - numberFormat: { - ",": " ", - ".": ",", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["pasepeivi","vuossargâ","majebargâ","koskokko","tuorâstâh","vástuppeivi","lávárdâh"], - namesAbbr: ["pa","vu","ma","ko","tu","vá","lá"], - namesShort: ["p","v","m","k","t","v","l"] - }, - months: { - names: ["uđđâivemáánu","kuovâmáánu","njuhčâmáánu","cuáŋuimáánu","vyesimáánu","kesimáánu","syeinimáánu","porgemáánu","čohčâmáánu","roovvâdmáánu","skammâmáánu","juovlâmáánu",""], - namesAbbr: ["uđiv","kuov","njuh","cuoŋ","vyes","kesi","syei","porg","čoh","roov","ska","juov",""] - }, - AM: null, - PM: null, - patterns: { - d: "d.M.yyyy", - D: "MMMM d'. p. 'yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "MMMM d'. p. 'yyyy H:mm", - F: "MMMM d'. p. 'yyyy H:mm:ss", - M: "MMMM d'. p. '", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.smn.js b/web/Scripts/globalize/cultures/globalize.culture.smn.js deleted file mode 100644 index aba89e0e..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.smn.js +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Globalize Culture smn - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "smn", "default", { - name: "smn", - englishName: "Sami (Inari)", - nativeName: "sämikielâ", - language: "smn", - numberFormat: { - ",": " ", - ".": ",", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["pasepeivi","vuossargâ","majebargâ","koskokko","tuorâstâh","vástuppeivi","lávárdâh"], - namesAbbr: ["pa","vu","ma","ko","tu","vá","lá"], - namesShort: ["p","v","m","k","t","v","l"] - }, - months: { - names: ["uđđâivemáánu","kuovâmáánu","njuhčâmáánu","cuáŋuimáánu","vyesimáánu","kesimáánu","syeinimáánu","porgemáánu","čohčâmáánu","roovvâdmáánu","skammâmáánu","juovlâmáánu",""], - namesAbbr: ["uđiv","kuov","njuh","cuoŋ","vyes","kesi","syei","porg","čoh","roov","ska","juov",""] - }, - AM: null, - PM: null, - patterns: { - d: "d.M.yyyy", - D: "MMMM d'. p. 'yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "MMMM d'. p. 'yyyy H:mm", - F: "MMMM d'. p. 'yyyy H:mm:ss", - M: "MMMM d'. p. '", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.sms-FI.js b/web/Scripts/globalize/cultures/globalize.culture.sms-FI.js deleted file mode 100644 index d5a23e12..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.sms-FI.js +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Globalize Culture sms-FI - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "sms-FI", "default", { - name: "sms-FI", - englishName: "Sami, Skolt (Finland)", - nativeName: "sääm´ǩiõll (Lää´ddjânnam)", - language: "sms", - numberFormat: { - ",": " ", - ".": ",", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["pâ´sspei´vv","vuõssargg","mââibargg","seärad","nelljdpei´vv","piâtnâc","sue´vet"], - namesAbbr: ["pâ","vu","mâ","se","ne","pi","su"], - namesShort: ["p","v","m","s","n","p","s"] - }, - months: { - names: ["ođđee´jjmään","tä´lvvmään","pâ´zzlâšttammään","njuhččmään","vue´ssmään","ǩie´ssmään","suei´nnmään","på´rǧǧmään","čõhččmään","kålggmään","skamm´mään","rosttovmään",""], - namesAbbr: ["ođjm","tä´lvv","pâzl","njuh","vue","ǩie","suei","på´r","čõh","kålg","ska","rost",""] - }, - monthsGenitive: { - names: ["ođđee´jjmannu","tä´lvvmannu","pâ´zzlâšttammannu","njuhččmannu","vue´ssmannu","ǩie´ssmannu","suei´nnmannu","på´rǧǧmannu","čõhččmannu","kålggmannu","skamm´mannu","rosttovmannu",""], - namesAbbr: ["ođjm","tä´lvv","pâzl","njuh","vue","ǩie","suei","på´r","čõh","kålg","ska","rost",""] - }, - AM: null, - PM: null, - patterns: { - d: "d.M.yyyy", - D: "MMMM d'. p. 'yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "MMMM d'. p. 'yyyy H:mm", - F: "MMMM d'. p. 'yyyy H:mm:ss", - M: "MMMM d'. p. '", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.sms.js b/web/Scripts/globalize/cultures/globalize.culture.sms.js deleted file mode 100644 index b5bf2b92..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.sms.js +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Globalize Culture sms - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "sms", "default", { - name: "sms", - englishName: "Sami (Skolt)", - nativeName: "sääm´ǩiõll", - language: "sms", - numberFormat: { - ",": " ", - ".": ",", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["pâ´sspei´vv","vuõssargg","mââibargg","seärad","nelljdpei´vv","piâtnâc","sue´vet"], - namesAbbr: ["pâ","vu","mâ","se","ne","pi","su"], - namesShort: ["p","v","m","s","n","p","s"] - }, - months: { - names: ["ođđee´jjmään","tä´lvvmään","pâ´zzlâšttammään","njuhččmään","vue´ssmään","ǩie´ssmään","suei´nnmään","på´rǧǧmään","čõhččmään","kålggmään","skamm´mään","rosttovmään",""], - namesAbbr: ["ođjm","tä´lvv","pâzl","njuh","vue","ǩie","suei","på´r","čõh","kålg","ska","rost",""] - }, - monthsGenitive: { - names: ["ođđee´jjmannu","tä´lvvmannu","pâ´zzlâšttammannu","njuhččmannu","vue´ssmannu","ǩie´ssmannu","suei´nnmannu","på´rǧǧmannu","čõhččmannu","kålggmannu","skamm´mannu","rosttovmannu",""], - namesAbbr: ["ođjm","tä´lvv","pâzl","njuh","vue","ǩie","suei","på´r","čõh","kålg","ska","rost",""] - }, - AM: null, - PM: null, - patterns: { - d: "d.M.yyyy", - D: "MMMM d'. p. 'yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "MMMM d'. p. 'yyyy H:mm", - F: "MMMM d'. p. 'yyyy H:mm:ss", - M: "MMMM d'. p. '", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.sq-AL.js b/web/Scripts/globalize/cultures/globalize.culture.sq-AL.js deleted file mode 100644 index b5c770d6..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.sq-AL.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Globalize Culture sq-AL - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "sq-AL", "default", { - name: "sq-AL", - englishName: "Albanian (Albania)", - nativeName: "shqipe (Shqipëria)", - language: "sq", - numberFormat: { - ",": ".", - ".": ",", - negativeInfinity: "-infinit", - positiveInfinity: "infinit", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n$","n$"], - ",": ".", - ".": ",", - symbol: "Lek" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["e diel","e hënë","e martë","e mërkurë","e enjte","e premte","e shtunë"], - namesAbbr: ["Die","Hën","Mar","Mër","Enj","Pre","Sht"], - namesShort: ["Di","Hë","Ma","Më","En","Pr","Sh"] - }, - months: { - names: ["janar","shkurt","mars","prill","maj","qershor","korrik","gusht","shtator","tetor","nëntor","dhjetor",""], - namesAbbr: ["Jan","Shk","Mar","Pri","Maj","Qer","Kor","Gsh","Sht","Tet","Nën","Dhj",""] - }, - AM: ["PD","pd","PD"], - PM: ["MD","md","MD"], - patterns: { - d: "yyyy-MM-dd", - D: "yyyy-MM-dd", - t: "h:mm.tt", - T: "h:mm:ss.tt", - f: "yyyy-MM-dd h:mm.tt", - F: "yyyy-MM-dd h:mm:ss.tt", - Y: "yyyy-MM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.sq.js b/web/Scripts/globalize/cultures/globalize.culture.sq.js deleted file mode 100644 index d6a8f999..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.sq.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Globalize Culture sq - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "sq", "default", { - name: "sq", - englishName: "Albanian", - nativeName: "shqipe", - language: "sq", - numberFormat: { - ",": ".", - ".": ",", - negativeInfinity: "-infinit", - positiveInfinity: "infinit", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n$","n$"], - ",": ".", - ".": ",", - symbol: "Lek" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["e diel","e hënë","e martë","e mërkurë","e enjte","e premte","e shtunë"], - namesAbbr: ["Die","Hën","Mar","Mër","Enj","Pre","Sht"], - namesShort: ["Di","Hë","Ma","Më","En","Pr","Sh"] - }, - months: { - names: ["janar","shkurt","mars","prill","maj","qershor","korrik","gusht","shtator","tetor","nëntor","dhjetor",""], - namesAbbr: ["Jan","Shk","Mar","Pri","Maj","Qer","Kor","Gsh","Sht","Tet","Nën","Dhj",""] - }, - AM: ["PD","pd","PD"], - PM: ["MD","md","MD"], - patterns: { - d: "yyyy-MM-dd", - D: "yyyy-MM-dd", - t: "h:mm.tt", - T: "h:mm:ss.tt", - f: "yyyy-MM-dd h:mm.tt", - F: "yyyy-MM-dd h:mm:ss.tt", - Y: "yyyy-MM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.sr-Cyrl-BA.js b/web/Scripts/globalize/cultures/globalize.culture.sr-Cyrl-BA.js deleted file mode 100644 index 5d8fc4e2..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.sr-Cyrl-BA.js +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Globalize Culture sr-Cyrl-BA - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "sr-Cyrl-BA", "default", { - name: "sr-Cyrl-BA", - englishName: "Serbian (Cyrillic, Bosnia and Herzegovina)", - nativeName: "српски (Босна и Херцеговина)", - language: "sr-Cyrl", - numberFormat: { - ",": ".", - ".": ",", - negativeInfinity: "-бесконачност", - positiveInfinity: "+бесконачност", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "КМ" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["недеља","понедељак","уторак","среда","четвртак","петак","субота"], - namesAbbr: ["нед","пон","уто","сре","чет","пет","суб"], - namesShort: ["н","п","у","с","ч","п","с"] - }, - months: { - names: ["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар",""], - namesAbbr: ["јан","феб","мар","апр","мај","јун","јул","авг","сеп","окт","нов","дец",""] - }, - AM: null, - PM: null, - eras: [{"name":"н.е.","start":null,"offset":0}], - patterns: { - d: "d.M.yyyy", - D: "d. MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM yyyy H:mm", - F: "d. MMMM yyyy H:mm:ss", - M: "d. MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.sr-Cyrl-CS.js b/web/Scripts/globalize/cultures/globalize.culture.sr-Cyrl-CS.js deleted file mode 100644 index 475658f2..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.sr-Cyrl-CS.js +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Globalize Culture sr-Cyrl-CS - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "sr-Cyrl-CS", "default", { - name: "sr-Cyrl-CS", - englishName: "Serbian (Cyrillic, Serbia and Montenegro (Former))", - nativeName: "српски (Србија и Црна Гора (Претходно))", - language: "sr-Cyrl", - numberFormat: { - ",": ".", - ".": ",", - negativeInfinity: "-бесконачност", - positiveInfinity: "+бесконачност", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "Дин." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["недеља","понедељак","уторак","среда","четвртак","петак","субота"], - namesAbbr: ["нед","пон","уто","сре","чет","пет","суб"], - namesShort: ["не","по","ут","ср","че","пе","су"] - }, - months: { - names: ["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар",""], - namesAbbr: ["јан","феб","мар","апр","мај","јун","јул","авг","сеп","окт","нов","дец",""] - }, - AM: null, - PM: null, - eras: [{"name":"н.е.","start":null,"offset":0}], - patterns: { - d: "d.M.yyyy", - D: "d. MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM yyyy H:mm", - F: "d. MMMM yyyy H:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.sr-Cyrl-ME.js b/web/Scripts/globalize/cultures/globalize.culture.sr-Cyrl-ME.js deleted file mode 100644 index 99b44a79..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.sr-Cyrl-ME.js +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Globalize Culture sr-Cyrl-ME - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "sr-Cyrl-ME", "default", { - name: "sr-Cyrl-ME", - englishName: "Serbian (Cyrillic, Montenegro)", - nativeName: "српски (Црна Гора)", - language: "sr-Cyrl", - numberFormat: { - ",": ".", - ".": ",", - negativeInfinity: "-бесконачност", - positiveInfinity: "+бесконачност", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["недеља","понедељак","уторак","среда","четвртак","петак","субота"], - namesAbbr: ["нед","пон","уто","сре","чет","пет","суб"], - namesShort: ["не","по","ут","ср","че","пе","су"] - }, - months: { - names: ["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар",""], - namesAbbr: ["јан","феб","мар","апр","мај","јун","јул","авг","сеп","окт","нов","дец",""] - }, - AM: null, - PM: null, - eras: [{"name":"н.е.","start":null,"offset":0}], - patterns: { - d: "d.M.yyyy", - D: "d. MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM yyyy H:mm", - F: "d. MMMM yyyy H:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.sr-Cyrl-RS.js b/web/Scripts/globalize/cultures/globalize.culture.sr-Cyrl-RS.js deleted file mode 100644 index d5a01811..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.sr-Cyrl-RS.js +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Globalize Culture sr-Cyrl-RS - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "sr-Cyrl-RS", "default", { - name: "sr-Cyrl-RS", - englishName: "Serbian (Cyrillic, Serbia)", - nativeName: "српски (Србија)", - language: "sr-Cyrl", - numberFormat: { - ",": ".", - ".": ",", - negativeInfinity: "-бесконачност", - positiveInfinity: "+бесконачност", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "Дин." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["недеља","понедељак","уторак","среда","четвртак","петак","субота"], - namesAbbr: ["нед","пон","уто","сре","чет","пет","суб"], - namesShort: ["не","по","ут","ср","че","пе","су"] - }, - months: { - names: ["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар",""], - namesAbbr: ["јан","феб","мар","апр","мај","јун","јул","авг","сеп","окт","нов","дец",""] - }, - AM: null, - PM: null, - eras: [{"name":"н.е.","start":null,"offset":0}], - patterns: { - d: "d.M.yyyy", - D: "d. MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM yyyy H:mm", - F: "d. MMMM yyyy H:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.sr-Cyrl.js b/web/Scripts/globalize/cultures/globalize.culture.sr-Cyrl.js deleted file mode 100644 index 3b96b8e4..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.sr-Cyrl.js +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Globalize Culture sr-Cyrl - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "sr-Cyrl", "default", { - name: "sr-Cyrl", - englishName: "Serbian (Cyrillic)", - nativeName: "српски", - language: "sr-Cyrl", - numberFormat: { - ",": ".", - ".": ",", - negativeInfinity: "-бесконачност", - positiveInfinity: "+бесконачност", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "Дин." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["недеља","понедељак","уторак","среда","четвртак","петак","субота"], - namesAbbr: ["нед","пон","уто","сре","чет","пет","суб"], - namesShort: ["не","по","ут","ср","че","пе","су"] - }, - months: { - names: ["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар",""], - namesAbbr: ["јан","феб","мар","апр","мај","јун","јул","авг","сеп","окт","нов","дец",""] - }, - AM: null, - PM: null, - eras: [{"name":"н.е.","start":null,"offset":0}], - patterns: { - d: "d.M.yyyy", - D: "d. MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM yyyy H:mm", - F: "d. MMMM yyyy H:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.sr-Latn-BA.js b/web/Scripts/globalize/cultures/globalize.culture.sr-Latn-BA.js deleted file mode 100644 index 32184ae7..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.sr-Latn-BA.js +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Globalize Culture sr-Latn-BA - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "sr-Latn-BA", "default", { - name: "sr-Latn-BA", - englishName: "Serbian (Latin, Bosnia and Herzegovina)", - nativeName: "srpski (Bosna i Hercegovina)", - language: "sr-Latn", - numberFormat: { - ",": ".", - ".": ",", - negativeInfinity: "-beskonačnost", - positiveInfinity: "+beskonačnost", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "KM" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["nedelja","ponedeljak","utorak","sreda","četvrtak","petak","subota"], - namesAbbr: ["ned","pon","uto","sre","čet","pet","sub"], - namesShort: ["ne","po","ut","sr","če","pe","su"] - }, - months: { - names: ["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar",""], - namesAbbr: ["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec",""] - }, - AM: null, - PM: null, - eras: [{"name":"n.e.","start":null,"offset":0}], - patterns: { - d: "d.M.yyyy", - D: "d. MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM yyyy H:mm", - F: "d. MMMM yyyy H:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.sr-Latn-CS.js b/web/Scripts/globalize/cultures/globalize.culture.sr-Latn-CS.js deleted file mode 100644 index 741ec2b7..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.sr-Latn-CS.js +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Globalize Culture sr-Latn-CS - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "sr-Latn-CS", "default", { - name: "sr-Latn-CS", - englishName: "Serbian (Latin, Serbia and Montenegro (Former))", - nativeName: "srpski (Srbija i Crna Gora (Prethodno))", - language: "sr-Latn", - numberFormat: { - ",": ".", - ".": ",", - negativeInfinity: "-beskonačnost", - positiveInfinity: "+beskonačnost", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "Din." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["nedelja","ponedeljak","utorak","sreda","četvrtak","petak","subota"], - namesAbbr: ["ned","pon","uto","sre","čet","pet","sub"], - namesShort: ["ne","po","ut","sr","če","pe","su"] - }, - months: { - names: ["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar",""], - namesAbbr: ["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec",""] - }, - AM: null, - PM: null, - eras: [{"name":"n.e.","start":null,"offset":0}], - patterns: { - d: "d.M.yyyy", - D: "d. MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM yyyy H:mm", - F: "d. MMMM yyyy H:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.sr-Latn-ME.js b/web/Scripts/globalize/cultures/globalize.culture.sr-Latn-ME.js deleted file mode 100644 index ea98474f..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.sr-Latn-ME.js +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Globalize Culture sr-Latn-ME - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "sr-Latn-ME", "default", { - name: "sr-Latn-ME", - englishName: "Serbian (Latin, Montenegro)", - nativeName: "srpski (Crna Gora)", - language: "sr-Latn", - numberFormat: { - ",": ".", - ".": ",", - negativeInfinity: "-beskonačnost", - positiveInfinity: "+beskonačnost", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["nedelja","ponedeljak","utorak","sreda","četvrtak","petak","subota"], - namesAbbr: ["ned","pon","uto","sre","čet","pet","sub"], - namesShort: ["ne","po","ut","sr","če","pe","su"] - }, - months: { - names: ["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar",""], - namesAbbr: ["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec",""] - }, - AM: null, - PM: null, - eras: [{"name":"n.e.","start":null,"offset":0}], - patterns: { - d: "d.M.yyyy", - D: "d. MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM yyyy H:mm", - F: "d. MMMM yyyy H:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.sr-Latn-RS.js b/web/Scripts/globalize/cultures/globalize.culture.sr-Latn-RS.js deleted file mode 100644 index f3c37309..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.sr-Latn-RS.js +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Globalize Culture sr-Latn-RS - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "sr-Latn-RS", "default", { - name: "sr-Latn-RS", - englishName: "Serbian (Latin, Serbia)", - nativeName: "srpski (Srbija)", - language: "sr-Latn", - numberFormat: { - ",": ".", - ".": ",", - negativeInfinity: "-beskonačnost", - positiveInfinity: "+beskonačnost", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "Din." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["nedelja","ponedeljak","utorak","sreda","četvrtak","petak","subota"], - namesAbbr: ["ned","pon","uto","sre","čet","pet","sub"], - namesShort: ["ne","po","ut","sr","če","pe","su"] - }, - months: { - names: ["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar",""], - namesAbbr: ["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec",""] - }, - AM: null, - PM: null, - eras: [{"name":"n.e.","start":null,"offset":0}], - patterns: { - d: "d.M.yyyy", - D: "d. MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM yyyy H:mm", - F: "d. MMMM yyyy H:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.sr-Latn.js b/web/Scripts/globalize/cultures/globalize.culture.sr-Latn.js deleted file mode 100644 index c6579790..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.sr-Latn.js +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Globalize Culture sr-Latn - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "sr-Latn", "default", { - name: "sr-Latn", - englishName: "Serbian (Latin)", - nativeName: "srpski", - language: "sr-Latn", - numberFormat: { - ",": ".", - ".": ",", - negativeInfinity: "-beskonačnost", - positiveInfinity: "+beskonačnost", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "Din." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["nedelja","ponedeljak","utorak","sreda","četvrtak","petak","subota"], - namesAbbr: ["ned","pon","uto","sre","čet","pet","sub"], - namesShort: ["ne","po","ut","sr","če","pe","su"] - }, - months: { - names: ["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar",""], - namesAbbr: ["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec",""] - }, - AM: null, - PM: null, - eras: [{"name":"n.e.","start":null,"offset":0}], - patterns: { - d: "d.M.yyyy", - D: "d. MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM yyyy H:mm", - F: "d. MMMM yyyy H:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.sr.js b/web/Scripts/globalize/cultures/globalize.culture.sr.js deleted file mode 100644 index 2d691fe8..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.sr.js +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Globalize Culture sr - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "sr", "default", { - name: "sr", - englishName: "Serbian", - nativeName: "srpski", - language: "sr", - numberFormat: { - ",": ".", - ".": ",", - negativeInfinity: "-beskonačnost", - positiveInfinity: "+beskonačnost", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "Din." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["nedelja","ponedeljak","utorak","sreda","četvrtak","petak","subota"], - namesAbbr: ["ned","pon","uto","sre","čet","pet","sub"], - namesShort: ["ne","po","ut","sr","če","pe","su"] - }, - months: { - names: ["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar",""], - namesAbbr: ["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec",""] - }, - AM: null, - PM: null, - eras: [{"name":"n.e.","start":null,"offset":0}], - patterns: { - d: "d.M.yyyy", - D: "d. MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM yyyy H:mm", - F: "d. MMMM yyyy H:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.sv-FI.js b/web/Scripts/globalize/cultures/globalize.culture.sv-FI.js deleted file mode 100644 index 1aa912ea..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.sv-FI.js +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Globalize Culture sv-FI - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "sv-FI", "default", { - name: "sv-FI", - englishName: "Swedish (Finland)", - nativeName: "svenska (Finland)", - language: "sv", - numberFormat: { - ",": " ", - ".": ",", - negativeInfinity: "-INF", - positiveInfinity: "INF", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["söndag","måndag","tisdag","onsdag","torsdag","fredag","lördag"], - namesAbbr: ["sö","må","ti","on","to","fr","lö"], - namesShort: ["sö","må","ti","on","to","fr","lö"] - }, - months: { - names: ["januari","februari","mars","april","maj","juni","juli","augusti","september","oktober","november","december",""], - namesAbbr: ["jan","feb","mar","apr","maj","jun","jul","aug","sep","okt","nov","dec",""] - }, - AM: null, - PM: null, - patterns: { - d: "d.M.yyyy", - D: "'den 'd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "'den 'd MMMM yyyy HH:mm", - F: "'den 'd MMMM yyyy HH:mm:ss", - M: "'den 'd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.sv-SE.js b/web/Scripts/globalize/cultures/globalize.culture.sv-SE.js deleted file mode 100644 index 5c2c729b..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.sv-SE.js +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Globalize Culture sv-SE - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "sv-SE", "default", { - name: "sv-SE", - englishName: "Swedish (Sweden)", - nativeName: "svenska (Sverige)", - language: "sv", - numberFormat: { - ",": " ", - ".": ",", - negativeInfinity: "-INF", - positiveInfinity: "INF", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "kr" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["söndag","måndag","tisdag","onsdag","torsdag","fredag","lördag"], - namesAbbr: ["sö","må","ti","on","to","fr","lö"], - namesShort: ["sö","må","ti","on","to","fr","lö"] - }, - months: { - names: ["januari","februari","mars","april","maj","juni","juli","augusti","september","oktober","november","december",""], - namesAbbr: ["jan","feb","mar","apr","maj","jun","jul","aug","sep","okt","nov","dec",""] - }, - AM: null, - PM: null, - patterns: { - d: "yyyy-MM-dd", - D: "'den 'd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "'den 'd MMMM yyyy HH:mm", - F: "'den 'd MMMM yyyy HH:mm:ss", - M: "'den 'd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.sv.js b/web/Scripts/globalize/cultures/globalize.culture.sv.js deleted file mode 100644 index ed02c2f7..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.sv.js +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Globalize Culture sv - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "sv", "default", { - name: "sv", - englishName: "Swedish", - nativeName: "svenska", - language: "sv", - numberFormat: { - ",": " ", - ".": ",", - negativeInfinity: "-INF", - positiveInfinity: "INF", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "kr" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["söndag","måndag","tisdag","onsdag","torsdag","fredag","lördag"], - namesAbbr: ["sö","må","ti","on","to","fr","lö"], - namesShort: ["sö","må","ti","on","to","fr","lö"] - }, - months: { - names: ["januari","februari","mars","april","maj","juni","juli","augusti","september","oktober","november","december",""], - namesAbbr: ["jan","feb","mar","apr","maj","jun","jul","aug","sep","okt","nov","dec",""] - }, - AM: null, - PM: null, - patterns: { - d: "yyyy-MM-dd", - D: "'den 'd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "'den 'd MMMM yyyy HH:mm", - F: "'den 'd MMMM yyyy HH:mm:ss", - M: "'den 'd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.sw-KE.js b/web/Scripts/globalize/cultures/globalize.culture.sw-KE.js deleted file mode 100644 index 579e4faf..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.sw-KE.js +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Globalize Culture sw-KE - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "sw-KE", "default", { - name: "sw-KE", - englishName: "Kiswahili (Kenya)", - nativeName: "Kiswahili (Kenya)", - language: "sw", - numberFormat: { - currency: { - symbol: "S" - } - }, - calendars: { - standard: { - days: { - names: ["Jumapili","Jumatatu","Jumanne","Jumatano","Alhamisi","Ijumaa","Jumamosi"], - namesAbbr: ["Jumap.","Jumat.","Juman.","Jumat.","Alh.","Iju.","Jumam."], - namesShort: ["P","T","N","T","A","I","M"] - }, - months: { - names: ["Januari","Februari","Machi","Aprili","Mei","Juni","Julai","Agosti","Septemba","Oktoba","Novemba","Decemba",""], - namesAbbr: ["Jan","Feb","Mac","Apr","Mei","Jun","Jul","Ago","Sep","Okt","Nov","Dec",""] - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.sw.js b/web/Scripts/globalize/cultures/globalize.culture.sw.js deleted file mode 100644 index 14824e90..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.sw.js +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Globalize Culture sw - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "sw", "default", { - name: "sw", - englishName: "Kiswahili", - nativeName: "Kiswahili", - language: "sw", - numberFormat: { - currency: { - symbol: "S" - } - }, - calendars: { - standard: { - days: { - names: ["Jumapili","Jumatatu","Jumanne","Jumatano","Alhamisi","Ijumaa","Jumamosi"], - namesAbbr: ["Jumap.","Jumat.","Juman.","Jumat.","Alh.","Iju.","Jumam."], - namesShort: ["P","T","N","T","A","I","M"] - }, - months: { - names: ["Januari","Februari","Machi","Aprili","Mei","Juni","Julai","Agosti","Septemba","Oktoba","Novemba","Decemba",""], - namesAbbr: ["Jan","Feb","Mac","Apr","Mei","Jun","Jul","Ago","Sep","Okt","Nov","Dec",""] - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.syr-SY.js b/web/Scripts/globalize/cultures/globalize.culture.syr-SY.js deleted file mode 100644 index b44cf987..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.syr-SY.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Globalize Culture syr-SY - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "syr-SY", "default", { - name: "syr-SY", - englishName: "Syriac (Syria)", - nativeName: "ܣܘܪܝܝܐ (سوريا)", - language: "syr", - isRTL: true, - numberFormat: { - currency: { - pattern: ["$n-","$ n"], - symbol: "ل.س.\u200f" - } - }, - calendars: { - standard: { - firstDay: 6, - days: { - names: ["ܚܕ ܒܫܒܐ","ܬܪܝܢ ܒܫܒܐ","ܬܠܬܐ ܒܫܒܐ","ܐܪܒܥܐ ܒܫܒܐ","ܚܡܫܐ ܒܫܒܐ","ܥܪܘܒܬܐ","ܫܒܬܐ"], - namesAbbr: ["\u070fܐ \u070fܒܫ","\u070fܒ \u070fܒܫ","\u070fܓ \u070fܒܫ","\u070fܕ \u070fܒܫ","\u070fܗ \u070fܒܫ","\u070fܥܪܘܒ","\u070fܫܒ"], - namesShort: ["ܐ","ܒ","ܓ","ܕ","ܗ","ܥ","ܫ"] - }, - months: { - names: ["ܟܢܘܢ ܐܚܪܝ","ܫܒܛ","ܐܕܪ","ܢܝܣܢ","ܐܝܪ","ܚܙܝܪܢ","ܬܡܘܙ","ܐܒ","ܐܝܠܘܠ","ܬܫܪܝ ܩܕܝܡ","ܬܫܪܝ ܐܚܪܝ","ܟܢܘܢ ܩܕܝܡ",""], - namesAbbr: ["\u070fܟܢ \u070fܒ","ܫܒܛ","ܐܕܪ","ܢܝܣܢ","ܐܝܪ","ܚܙܝܪܢ","ܬܡܘܙ","ܐܒ","ܐܝܠܘܠ","\u070fܬܫ \u070fܐ","\u070fܬܫ \u070fܒ","\u070fܟܢ \u070fܐ",""] - }, - AM: ["ܩ.ܛ","ܩ.ܛ","ܩ.ܛ"], - PM: ["ܒ.ܛ","ܒ.ܛ","ܒ.ܛ"], - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM, yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd MMMM, yyyy hh:mm tt", - F: "dd MMMM, yyyy hh:mm:ss tt", - M: "dd MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.syr.js b/web/Scripts/globalize/cultures/globalize.culture.syr.js deleted file mode 100644 index 2d9f1d2f..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.syr.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Globalize Culture syr - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "syr", "default", { - name: "syr", - englishName: "Syriac", - nativeName: "ܣܘܪܝܝܐ", - language: "syr", - isRTL: true, - numberFormat: { - currency: { - pattern: ["$n-","$ n"], - symbol: "ل.س.\u200f" - } - }, - calendars: { - standard: { - firstDay: 6, - days: { - names: ["ܚܕ ܒܫܒܐ","ܬܪܝܢ ܒܫܒܐ","ܬܠܬܐ ܒܫܒܐ","ܐܪܒܥܐ ܒܫܒܐ","ܚܡܫܐ ܒܫܒܐ","ܥܪܘܒܬܐ","ܫܒܬܐ"], - namesAbbr: ["\u070fܐ \u070fܒܫ","\u070fܒ \u070fܒܫ","\u070fܓ \u070fܒܫ","\u070fܕ \u070fܒܫ","\u070fܗ \u070fܒܫ","\u070fܥܪܘܒ","\u070fܫܒ"], - namesShort: ["ܐ","ܒ","ܓ","ܕ","ܗ","ܥ","ܫ"] - }, - months: { - names: ["ܟܢܘܢ ܐܚܪܝ","ܫܒܛ","ܐܕܪ","ܢܝܣܢ","ܐܝܪ","ܚܙܝܪܢ","ܬܡܘܙ","ܐܒ","ܐܝܠܘܠ","ܬܫܪܝ ܩܕܝܡ","ܬܫܪܝ ܐܚܪܝ","ܟܢܘܢ ܩܕܝܡ",""], - namesAbbr: ["\u070fܟܢ \u070fܒ","ܫܒܛ","ܐܕܪ","ܢܝܣܢ","ܐܝܪ","ܚܙܝܪܢ","ܬܡܘܙ","ܐܒ","ܐܝܠܘܠ","\u070fܬܫ \u070fܐ","\u070fܬܫ \u070fܒ","\u070fܟܢ \u070fܐ",""] - }, - AM: ["ܩ.ܛ","ܩ.ܛ","ܩ.ܛ"], - PM: ["ܒ.ܛ","ܒ.ܛ","ܒ.ܛ"], - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM, yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd MMMM, yyyy hh:mm tt", - F: "dd MMMM, yyyy hh:mm:ss tt", - M: "dd MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.ta-IN.js b/web/Scripts/globalize/cultures/globalize.culture.ta-IN.js deleted file mode 100644 index b9d550ac..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.ta-IN.js +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Globalize Culture ta-IN - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "ta-IN", "default", { - name: "ta-IN", - englishName: "Tamil (India)", - nativeName: "தமிழ் (இந்தியா)", - language: "ta", - numberFormat: { - groupSizes: [3,2], - percent: { - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,2], - symbol: "ரூ" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["ஞாயிற்றுக்கிழமை","திங்கள்கிழமை","செவ்வாய்கிழமை","புதன்கிழமை","வியாழக்கிழமை","வெள்ளிக்கிழமை","சனிக்கிழமை"], - namesAbbr: ["ஞாயிறு","திங்கள்","செவ்வாய்","புதன்","வியாழன்","வெள்ளி","சனி"], - namesShort: ["ஞா","தி","செ","பு","வி","வெ","ச"] - }, - months: { - names: ["ஜனவரி","பிப்ரவரி","மார்ச்","ஏப்ரல்","மே","ஜூன்","ஜூலை","ஆகஸ்ட்","செப்டம்பர்","அக்டோபர்","நவம்பர்","டிசம்பர்",""], - namesAbbr: ["ஜனவரி","பிப்ரவரி","மார்ச்","ஏப்ரல்","மே","ஜூன்","ஜூலை","ஆகஸ்ட்","செப்டம்பர்","அக்டோபர்","நவம்பர்","டிசம்பர்",""] - }, - AM: ["காலை","காலை","காலை"], - PM: ["மாலை","மாலை","மாலை"], - patterns: { - d: "dd-MM-yyyy", - D: "dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd MMMM yyyy HH:mm", - F: "dd MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.ta.js b/web/Scripts/globalize/cultures/globalize.culture.ta.js deleted file mode 100644 index 3d15ce16..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.ta.js +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Globalize Culture ta - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "ta", "default", { - name: "ta", - englishName: "Tamil", - nativeName: "தமிழ்", - language: "ta", - numberFormat: { - groupSizes: [3,2], - percent: { - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,2], - symbol: "ரூ" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["ஞாயிற்றுக்கிழமை","திங்கள்கிழமை","செவ்வாய்கிழமை","புதன்கிழமை","வியாழக்கிழமை","வெள்ளிக்கிழமை","சனிக்கிழமை"], - namesAbbr: ["ஞாயிறு","திங்கள்","செவ்வாய்","புதன்","வியாழன்","வெள்ளி","சனி"], - namesShort: ["ஞா","தி","செ","பு","வி","வெ","ச"] - }, - months: { - names: ["ஜனவரி","பிப்ரவரி","மார்ச்","ஏப்ரல்","மே","ஜூன்","ஜூலை","ஆகஸ்ட்","செப்டம்பர்","அக்டோபர்","நவம்பர்","டிசம்பர்",""], - namesAbbr: ["ஜனவரி","பிப்ரவரி","மார்ச்","ஏப்ரல்","மே","ஜூன்","ஜூலை","ஆகஸ்ட்","செப்டம்பர்","அக்டோபர்","நவம்பர்","டிசம்பர்",""] - }, - AM: ["காலை","காலை","காலை"], - PM: ["மாலை","மாலை","மாலை"], - patterns: { - d: "dd-MM-yyyy", - D: "dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd MMMM yyyy HH:mm", - F: "dd MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.te-IN.js b/web/Scripts/globalize/cultures/globalize.culture.te-IN.js deleted file mode 100644 index b9f8b848..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.te-IN.js +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Globalize Culture te-IN - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "te-IN", "default", { - name: "te-IN", - englishName: "Telugu (India)", - nativeName: "తెలుగు (భారత దేశం)", - language: "te", - numberFormat: { - groupSizes: [3,2], - percent: { - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,2], - symbol: "రూ" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["ఆదివారం","సోమవారం","మంగళవారం","బుధవారం","గురువారం","శుక్రవారం","శనివారం"], - namesAbbr: ["ఆది.","సోమ.","మంగళ.","బుధ.","గురు.","శుక్ర.","శని."], - namesShort: ["ఆ","సో","మం","బు","గు","శు","శ"] - }, - months: { - names: ["జనవరి","ఫిబ్రవరి","మార్చి","ఏప్రిల్","మే","జూన్","జూలై","ఆగస్టు","సెప్టెంబర్","అక్టోబర్","నవంబర్","డిసెంబర్",""], - namesAbbr: ["జనవరి","ఫిబ్రవరి","మార్చి","ఏప్రిల్","మే","జూన్","జూలై","ఆగస్టు","సెప్టెంబర్","అక్టోబర్","నవంబర్","డిసెంబర్",""] - }, - AM: ["పూర్వాహ్న","పూర్వాహ్న","పూర్వాహ్న"], - PM: ["అపరాహ్న","అపరాహ్న","అపరాహ్న"], - patterns: { - d: "dd-MM-yy", - D: "dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd MMMM yyyy HH:mm", - F: "dd MMMM yyyy HH:mm:ss", - M: "dd MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.te.js b/web/Scripts/globalize/cultures/globalize.culture.te.js deleted file mode 100644 index 4ef21e08..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.te.js +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Globalize Culture te - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "te", "default", { - name: "te", - englishName: "Telugu", - nativeName: "తెలుగు", - language: "te", - numberFormat: { - groupSizes: [3,2], - percent: { - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,2], - symbol: "రూ" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["ఆదివారం","సోమవారం","మంగళవారం","బుధవారం","గురువారం","శుక్రవారం","శనివారం"], - namesAbbr: ["ఆది.","సోమ.","మంగళ.","బుధ.","గురు.","శుక్ర.","శని."], - namesShort: ["ఆ","సో","మం","బు","గు","శు","శ"] - }, - months: { - names: ["జనవరి","ఫిబ్రవరి","మార్చి","ఏప్రిల్","మే","జూన్","జూలై","ఆగస్టు","సెప్టెంబర్","అక్టోబర్","నవంబర్","డిసెంబర్",""], - namesAbbr: ["జనవరి","ఫిబ్రవరి","మార్చి","ఏప్రిల్","మే","జూన్","జూలై","ఆగస్టు","సెప్టెంబర్","అక్టోబర్","నవంబర్","డిసెంబర్",""] - }, - AM: ["పూర్వాహ్న","పూర్వాహ్న","పూర్వాహ్న"], - PM: ["అపరాహ్న","అపరాహ్న","అపరాహ్న"], - patterns: { - d: "dd-MM-yy", - D: "dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd MMMM yyyy HH:mm", - F: "dd MMMM yyyy HH:mm:ss", - M: "dd MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.tg-Cyrl-TJ.js b/web/Scripts/globalize/cultures/globalize.culture.tg-Cyrl-TJ.js deleted file mode 100644 index 3fe4d1b2..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.tg-Cyrl-TJ.js +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Globalize Culture tg-Cyrl-TJ - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "tg-Cyrl-TJ", "default", { - name: "tg-Cyrl-TJ", - englishName: "Tajik (Cyrillic, Tajikistan)", - nativeName: "Тоҷикӣ (Тоҷикистон)", - language: "tg-Cyrl", - numberFormat: { - ",": " ", - ".": ",", - groupSizes: [3,0], - negativeInfinity: "-бесконечность", - positiveInfinity: "бесконечность", - percent: { - pattern: ["-n%","n%"], - groupSizes: [3,0], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - groupSizes: [3,0], - ",": " ", - ".": ";", - symbol: "т.р." - } - }, - calendars: { - standard: { - "/": ".", - days: { - names: ["Яш","Душанбе","Сешанбе","Чоршанбе","Панҷшанбе","Ҷумъа","Шанбе"], - namesAbbr: ["Яш","Дш","Сш","Чш","Пш","Ҷм","Шн"], - namesShort: ["Яш","Дш","Сш","Чш","Пш","Ҷм","Шн"] - }, - months: { - names: ["Январ","Феврал","Март","Апрел","Май","Июн","Июл","Август","Сентябр","Октябр","Ноябр","Декабр",""], - namesAbbr: ["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек",""] - }, - monthsGenitive: { - names: ["январи","феврали","марти","апрели","маи","июни","июли","августи","сентябри","октябри","ноябри","декабри",""], - namesAbbr: ["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yy", - D: "d MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d MMMM yyyy H:mm", - F: "d MMMM yyyy H:mm:ss", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.tg-Cyrl.js b/web/Scripts/globalize/cultures/globalize.culture.tg-Cyrl.js deleted file mode 100644 index 5825abdb..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.tg-Cyrl.js +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Globalize Culture tg-Cyrl - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "tg-Cyrl", "default", { - name: "tg-Cyrl", - englishName: "Tajik (Cyrillic)", - nativeName: "Тоҷикӣ", - language: "tg-Cyrl", - numberFormat: { - ",": " ", - ".": ",", - groupSizes: [3,0], - negativeInfinity: "-бесконечность", - positiveInfinity: "бесконечность", - percent: { - pattern: ["-n%","n%"], - groupSizes: [3,0], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - groupSizes: [3,0], - ",": " ", - ".": ";", - symbol: "т.р." - } - }, - calendars: { - standard: { - "/": ".", - days: { - names: ["Яш","Душанбе","Сешанбе","Чоршанбе","Панҷшанбе","Ҷумъа","Шанбе"], - namesAbbr: ["Яш","Дш","Сш","Чш","Пш","Ҷм","Шн"], - namesShort: ["Яш","Дш","Сш","Чш","Пш","Ҷм","Шн"] - }, - months: { - names: ["Январ","Феврал","Март","Апрел","Май","Июн","Июл","Август","Сентябр","Октябр","Ноябр","Декабр",""], - namesAbbr: ["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек",""] - }, - monthsGenitive: { - names: ["январи","феврали","марти","апрели","маи","июни","июли","августи","сентябри","октябри","ноябри","декабри",""], - namesAbbr: ["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yy", - D: "d MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d MMMM yyyy H:mm", - F: "d MMMM yyyy H:mm:ss", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.tg.js b/web/Scripts/globalize/cultures/globalize.culture.tg.js deleted file mode 100644 index 5c3494f8..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.tg.js +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Globalize Culture tg - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "tg", "default", { - name: "tg", - englishName: "Tajik", - nativeName: "Тоҷикӣ", - language: "tg", - numberFormat: { - ",": " ", - ".": ",", - groupSizes: [3,0], - negativeInfinity: "-бесконечность", - positiveInfinity: "бесконечность", - percent: { - pattern: ["-n%","n%"], - groupSizes: [3,0], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - groupSizes: [3,0], - ",": " ", - ".": ";", - symbol: "т.р." - } - }, - calendars: { - standard: { - "/": ".", - days: { - names: ["Яш","Душанбе","Сешанбе","Чоршанбе","Панҷшанбе","Ҷумъа","Шанбе"], - namesAbbr: ["Яш","Дш","Сш","Чш","Пш","Ҷм","Шн"], - namesShort: ["Яш","Дш","Сш","Чш","Пш","Ҷм","Шн"] - }, - months: { - names: ["Январ","Феврал","Март","Апрел","Май","Июн","Июл","Август","Сентябр","Октябр","Ноябр","Декабр",""], - namesAbbr: ["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек",""] - }, - monthsGenitive: { - names: ["январи","феврали","марти","апрели","маи","июни","июли","августи","сентябри","октябри","ноябри","декабри",""], - namesAbbr: ["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yy", - D: "d MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d MMMM yyyy H:mm", - F: "d MMMM yyyy H:mm:ss", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.th-TH.js b/web/Scripts/globalize/cultures/globalize.culture.th-TH.js deleted file mode 100644 index 5451bf1f..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.th-TH.js +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Globalize Culture th-TH - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "th-TH", "default", { - name: "th-TH", - englishName: "Thai (Thailand)", - nativeName: "ไทย (ไทย)", - language: "th", - numberFormat: { - currency: { - pattern: ["-$n","$n"], - symbol: "฿" - } - }, - calendars: { - standard: { - name: "ThaiBuddhist", - firstDay: 1, - days: { - names: ["อาทิตย์","จันทร์","อังคาร","พุธ","พฤหัสบดี","ศุกร์","เสาร์"], - namesAbbr: ["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."], - namesShort: ["อ","จ","อ","พ","พ","ศ","ส"] - }, - months: { - names: ["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม",""], - namesAbbr: ["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค.",""] - }, - eras: [{"name":"พ.ศ.","start":null,"offset":-543}], - twoDigitYearMax: 2572, - patterns: { - d: "d/M/yyyy", - D: "d MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d MMMM yyyy H:mm", - F: "d MMMM yyyy H:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - }, - Gregorian_Localized: { - firstDay: 1, - days: { - names: ["อาทิตย์","จันทร์","อังคาร","พุธ","พฤหัสบดี","ศุกร์","เสาร์"], - namesAbbr: ["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."], - namesShort: ["อ","จ","อ","พ","พ","ศ","ส"] - }, - months: { - names: ["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม",""], - namesAbbr: ["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค.",""] - }, - patterns: { - d: "d/M/yyyy", - D: "'วัน'dddd'ที่' d MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "'วัน'dddd'ที่' d MMMM yyyy H:mm", - F: "'วัน'dddd'ที่' d MMMM yyyy H:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.th.js b/web/Scripts/globalize/cultures/globalize.culture.th.js deleted file mode 100644 index 5490f588..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.th.js +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Globalize Culture th - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "th", "default", { - name: "th", - englishName: "Thai", - nativeName: "ไทย", - language: "th", - numberFormat: { - currency: { - pattern: ["-$n","$n"], - symbol: "฿" - } - }, - calendars: { - standard: { - name: "ThaiBuddhist", - firstDay: 1, - days: { - names: ["อาทิตย์","จันทร์","อังคาร","พุธ","พฤหัสบดี","ศุกร์","เสาร์"], - namesAbbr: ["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."], - namesShort: ["อ","จ","อ","พ","พ","ศ","ส"] - }, - months: { - names: ["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม",""], - namesAbbr: ["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค.",""] - }, - eras: [{"name":"พ.ศ.","start":null,"offset":-543}], - twoDigitYearMax: 2572, - patterns: { - d: "d/M/yyyy", - D: "d MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d MMMM yyyy H:mm", - F: "d MMMM yyyy H:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - }, - Gregorian_Localized: { - firstDay: 1, - days: { - names: ["อาทิตย์","จันทร์","อังคาร","พุธ","พฤหัสบดี","ศุกร์","เสาร์"], - namesAbbr: ["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."], - namesShort: ["อ","จ","อ","พ","พ","ศ","ส"] - }, - months: { - names: ["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม",""], - namesAbbr: ["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค.",""] - }, - patterns: { - d: "d/M/yyyy", - D: "'วัน'dddd'ที่' d MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "'วัน'dddd'ที่' d MMMM yyyy H:mm", - F: "'วัน'dddd'ที่' d MMMM yyyy H:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.tk-TM.js b/web/Scripts/globalize/cultures/globalize.culture.tk-TM.js deleted file mode 100644 index 7f2e2a32..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.tk-TM.js +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Globalize Culture tk-TM - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "tk-TM", "default", { - name: "tk-TM", - englishName: "Turkmen (Turkmenistan)", - nativeName: "türkmençe (Türkmenistan)", - language: "tk", - numberFormat: { - ",": " ", - ".": ",", - negativeInfinity: "-üznüksizlik", - positiveInfinity: "üznüksizlik", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n$","n$"], - ",": " ", - ".": ",", - symbol: "m." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Duşenbe","Sişenbe","Çarşenbe","Penşenbe","Anna","Şenbe","Ýekşenbe"], - namesAbbr: ["Db","Sb","Çb","Pb","An","Şb","Ýb"], - namesShort: ["D","S","Ç","P","A","Ş","Ý"] - }, - months: { - names: ["Ýanwar","Fewral","Mart","Aprel","Maý","lýun","lýul","Awgust","Sentýabr","Oktýabr","Noýabr","Dekabr",""], - namesAbbr: ["Ýan","Few","Mart","Apr","Maý","lýun","lýul","Awg","Sen","Okt","Not","Dek",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yy", - D: "yyyy 'ý.' MMMM d", - t: "H:mm", - T: "H:mm:ss", - f: "yyyy 'ý.' MMMM d H:mm", - F: "yyyy 'ý.' MMMM d H:mm:ss", - Y: "yyyy 'ý.' MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.tk.js b/web/Scripts/globalize/cultures/globalize.culture.tk.js deleted file mode 100644 index 151c2ee6..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.tk.js +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Globalize Culture tk - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "tk", "default", { - name: "tk", - englishName: "Turkmen", - nativeName: "türkmençe", - language: "tk", - numberFormat: { - ",": " ", - ".": ",", - negativeInfinity: "-üznüksizlik", - positiveInfinity: "üznüksizlik", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n$","n$"], - ",": " ", - ".": ",", - symbol: "m." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Duşenbe","Sişenbe","Çarşenbe","Penşenbe","Anna","Şenbe","Ýekşenbe"], - namesAbbr: ["Db","Sb","Çb","Pb","An","Şb","Ýb"], - namesShort: ["D","S","Ç","P","A","Ş","Ý"] - }, - months: { - names: ["Ýanwar","Fewral","Mart","Aprel","Maý","lýun","lýul","Awgust","Sentýabr","Oktýabr","Noýabr","Dekabr",""], - namesAbbr: ["Ýan","Few","Mart","Apr","Maý","lýun","lýul","Awg","Sen","Okt","Not","Dek",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yy", - D: "yyyy 'ý.' MMMM d", - t: "H:mm", - T: "H:mm:ss", - f: "yyyy 'ý.' MMMM d H:mm", - F: "yyyy 'ý.' MMMM d H:mm:ss", - Y: "yyyy 'ý.' MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.tn-ZA.js b/web/Scripts/globalize/cultures/globalize.culture.tn-ZA.js deleted file mode 100644 index e08cc810..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.tn-ZA.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Globalize Culture tn-ZA - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "tn-ZA", "default", { - name: "tn-ZA", - englishName: "Setswana (South Africa)", - nativeName: "Setswana (Aforika Borwa)", - language: "tn", - numberFormat: { - percent: { - pattern: ["-%n","%n"] - }, - currency: { - pattern: ["$-n","$ n"], - symbol: "R" - } - }, - calendars: { - standard: { - days: { - names: ["Latshipi","Mosupologo","Labobedi","Laboraro","Labone","Labotlhano","Lamatlhatso"], - namesAbbr: ["Ltp.","Mos.","Lbd.","Lbr.","Lbn.","Lbt.","Lmt."], - namesShort: ["Lp","Ms","Lb","Lr","Ln","Lt","Lm"] - }, - months: { - names: ["Ferikgong","Tlhakole","Mopitloe","Moranang","Motsheganong","Seetebosigo","Phukwi","Phatwe","Lwetse","Diphalane","Ngwanatsele","Sedimothole",""], - namesAbbr: ["Fer.","Tlhak.","Mop.","Mor.","Motsh.","Seet.","Phukw.","Phatw.","Lwets.","Diph.","Ngwan.","Sed.",""] - }, - patterns: { - d: "yyyy/MM/dd", - D: "dd MMMM yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd MMMM yyyy hh:mm tt", - F: "dd MMMM yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.tn.js b/web/Scripts/globalize/cultures/globalize.culture.tn.js deleted file mode 100644 index 54b9745d..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.tn.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Globalize Culture tn - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "tn", "default", { - name: "tn", - englishName: "Setswana", - nativeName: "Setswana", - language: "tn", - numberFormat: { - percent: { - pattern: ["-%n","%n"] - }, - currency: { - pattern: ["$-n","$ n"], - symbol: "R" - } - }, - calendars: { - standard: { - days: { - names: ["Latshipi","Mosupologo","Labobedi","Laboraro","Labone","Labotlhano","Lamatlhatso"], - namesAbbr: ["Ltp.","Mos.","Lbd.","Lbr.","Lbn.","Lbt.","Lmt."], - namesShort: ["Lp","Ms","Lb","Lr","Ln","Lt","Lm"] - }, - months: { - names: ["Ferikgong","Tlhakole","Mopitloe","Moranang","Motsheganong","Seetebosigo","Phukwi","Phatwe","Lwetse","Diphalane","Ngwanatsele","Sedimothole",""], - namesAbbr: ["Fer.","Tlhak.","Mop.","Mor.","Motsh.","Seet.","Phukw.","Phatw.","Lwets.","Diph.","Ngwan.","Sed.",""] - }, - patterns: { - d: "yyyy/MM/dd", - D: "dd MMMM yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd MMMM yyyy hh:mm tt", - F: "dd MMMM yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.tr-TR.js b/web/Scripts/globalize/cultures/globalize.culture.tr-TR.js deleted file mode 100644 index c0377ba3..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.tr-TR.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Globalize Culture tr-TR - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "tr-TR", "default", { - name: "tr-TR", - englishName: "Turkish (Turkey)", - nativeName: "Türkçe (Türkiye)", - language: "tr", - numberFormat: { - ",": ".", - ".": ",", - percent: { - pattern: ["-%n","%n"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "TL" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"], - namesAbbr: ["Paz","Pzt","Sal","Çar","Per","Cum","Cmt"], - namesShort: ["Pz","Pt","Sa","Ça","Pe","Cu","Ct"] - }, - months: { - names: ["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık",""], - namesAbbr: ["Oca","Şub","Mar","Nis","May","Haz","Tem","Ağu","Eyl","Eki","Kas","Ara",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "dd MMMM yyyy dddd", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd MMMM yyyy dddd HH:mm", - F: "dd MMMM yyyy dddd HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.tr.js b/web/Scripts/globalize/cultures/globalize.culture.tr.js deleted file mode 100644 index 47a18ccf..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.tr.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Globalize Culture tr - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "tr", "default", { - name: "tr", - englishName: "Turkish", - nativeName: "Türkçe", - language: "tr", - numberFormat: { - ",": ".", - ".": ",", - percent: { - pattern: ["-%n","%n"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "TL" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"], - namesAbbr: ["Paz","Pzt","Sal","Çar","Per","Cum","Cmt"], - namesShort: ["Pz","Pt","Sa","Ça","Pe","Cu","Ct"] - }, - months: { - names: ["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık",""], - namesAbbr: ["Oca","Şub","Mar","Nis","May","Haz","Tem","Ağu","Eyl","Eki","Kas","Ara",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "dd MMMM yyyy dddd", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd MMMM yyyy dddd HH:mm", - F: "dd MMMM yyyy dddd HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.tt-RU.js b/web/Scripts/globalize/cultures/globalize.culture.tt-RU.js deleted file mode 100644 index 163d7555..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.tt-RU.js +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Globalize Culture tt-RU - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "tt-RU", "default", { - name: "tt-RU", - englishName: "Tatar (Russia)", - nativeName: "Татар (Россия)", - language: "tt", - numberFormat: { - ",": " ", - ".": ",", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "р." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Якшәмбе","Дүшәмбе","Сишәмбе","Чәршәмбе","Пәнҗешәмбе","Җомга","Шимбә"], - namesAbbr: ["Якш","Дүш","Сиш","Чәрш","Пәнҗ","Җом","Шим"], - namesShort: ["Я","Д","С","Ч","П","Җ","Ш"] - }, - months: { - names: ["Гыйнвар","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь",""], - namesAbbr: ["Гыйн.","Фев.","Мар.","Апр.","Май","Июнь","Июль","Авг.","Сен.","Окт.","Нояб.","Дек.",""] - }, - monthsGenitive: { - names: ["Гыйнварның","Февральнең","Мартның","Апрельнең","Майның","Июньнең","Июльнең","Августның","Сентябрьның","Октябрьның","Ноябрьның","Декабрьның",""], - namesAbbr: ["Гыйн.-ның","Фев.-нең","Мар.-ның","Апр.-нең","Майның","Июньнең","Июльнең","Авг.-ның","Сен.-ның","Окт.-ның","Нояб.-ның","Дек.-ның",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "d MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d MMMM yyyy H:mm", - F: "d MMMM yyyy H:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.tt.js b/web/Scripts/globalize/cultures/globalize.culture.tt.js deleted file mode 100644 index 0d810ad8..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.tt.js +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Globalize Culture tt - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "tt", "default", { - name: "tt", - englishName: "Tatar", - nativeName: "Татар", - language: "tt", - numberFormat: { - ",": " ", - ".": ",", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "р." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Якшәмбе","Дүшәмбе","Сишәмбе","Чәршәмбе","Пәнҗешәмбе","Җомга","Шимбә"], - namesAbbr: ["Якш","Дүш","Сиш","Чәрш","Пәнҗ","Җом","Шим"], - namesShort: ["Я","Д","С","Ч","П","Җ","Ш"] - }, - months: { - names: ["Гыйнвар","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь",""], - namesAbbr: ["Гыйн.","Фев.","Мар.","Апр.","Май","Июнь","Июль","Авг.","Сен.","Окт.","Нояб.","Дек.",""] - }, - monthsGenitive: { - names: ["Гыйнварның","Февральнең","Мартның","Апрельнең","Майның","Июньнең","Июльнең","Августның","Сентябрьның","Октябрьның","Ноябрьның","Декабрьның",""], - namesAbbr: ["Гыйн.-ның","Фев.-нең","Мар.-ның","Апр.-нең","Майның","Июньнең","Июльнең","Авг.-ның","Сен.-ның","Окт.-ның","Нояб.-ның","Дек.-ның",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "d MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d MMMM yyyy H:mm", - F: "d MMMM yyyy H:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.tzm-Latn-DZ.js b/web/Scripts/globalize/cultures/globalize.culture.tzm-Latn-DZ.js deleted file mode 100644 index 68504af3..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.tzm-Latn-DZ.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Globalize Culture tzm-Latn-DZ - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "tzm-Latn-DZ", "default", { - name: "tzm-Latn-DZ", - englishName: "Tamazight (Latin, Algeria)", - nativeName: "Tamazight (Djazaïr)", - language: "tzm-Latn", - numberFormat: { - pattern: ["n-"], - ",": ".", - ".": ",", - "NaN": "Non Numérique", - negativeInfinity: "-Infini", - positiveInfinity: "+Infini", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - symbol: "DZD" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 6, - days: { - names: ["Acer","Arime","Aram","Ahad","Amhadh","Sem","Sedh"], - namesAbbr: ["Ace","Ari","Ara","Aha","Amh","Sem","Sed"], - namesShort: ["Ac","Ar","Ar","Ah","Am","Se","Se"] - }, - months: { - names: ["Yenayer","Furar","Maghres","Yebrir","Mayu","Yunyu","Yulyu","Ghuct","Cutenber","Ktuber","Wambir","Dujanbir",""], - namesAbbr: ["Yen","Fur","Mag","Yeb","May","Yun","Yul","Ghu","Cut","Ktu","Wam","Duj",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd-MM-yyyy", - D: "dd MMMM, yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dd MMMM, yyyy H:mm", - F: "dd MMMM, yyyy H:mm:ss", - M: "dd MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.tzm-Latn.js b/web/Scripts/globalize/cultures/globalize.culture.tzm-Latn.js deleted file mode 100644 index 03913878..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.tzm-Latn.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Globalize Culture tzm-Latn - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "tzm-Latn", "default", { - name: "tzm-Latn", - englishName: "Tamazight (Latin)", - nativeName: "Tamazight", - language: "tzm-Latn", - numberFormat: { - pattern: ["n-"], - ",": ".", - ".": ",", - "NaN": "Non Numérique", - negativeInfinity: "-Infini", - positiveInfinity: "+Infini", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - symbol: "DZD" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 6, - days: { - names: ["Acer","Arime","Aram","Ahad","Amhadh","Sem","Sedh"], - namesAbbr: ["Ace","Ari","Ara","Aha","Amh","Sem","Sed"], - namesShort: ["Ac","Ar","Ar","Ah","Am","Se","Se"] - }, - months: { - names: ["Yenayer","Furar","Maghres","Yebrir","Mayu","Yunyu","Yulyu","Ghuct","Cutenber","Ktuber","Wambir","Dujanbir",""], - namesAbbr: ["Yen","Fur","Mag","Yeb","May","Yun","Yul","Ghu","Cut","Ktu","Wam","Duj",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd-MM-yyyy", - D: "dd MMMM, yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dd MMMM, yyyy H:mm", - F: "dd MMMM, yyyy H:mm:ss", - M: "dd MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.tzm.js b/web/Scripts/globalize/cultures/globalize.culture.tzm.js deleted file mode 100644 index 92b44c6e..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.tzm.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Globalize Culture tzm - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "tzm", "default", { - name: "tzm", - englishName: "Tamazight", - nativeName: "Tamazight", - language: "tzm", - numberFormat: { - pattern: ["n-"], - ",": ".", - ".": ",", - "NaN": "Non Numérique", - negativeInfinity: "-Infini", - positiveInfinity: "+Infini", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - symbol: "DZD" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 6, - days: { - names: ["Acer","Arime","Aram","Ahad","Amhadh","Sem","Sedh"], - namesAbbr: ["Ace","Ari","Ara","Aha","Amh","Sem","Sed"], - namesShort: ["Ac","Ar","Ar","Ah","Am","Se","Se"] - }, - months: { - names: ["Yenayer","Furar","Maghres","Yebrir","Mayu","Yunyu","Yulyu","Ghuct","Cutenber","Ktuber","Wambir","Dujanbir",""], - namesAbbr: ["Yen","Fur","Mag","Yeb","May","Yun","Yul","Ghu","Cut","Ktu","Wam","Duj",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd-MM-yyyy", - D: "dd MMMM, yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dd MMMM, yyyy H:mm", - F: "dd MMMM, yyyy H:mm:ss", - M: "dd MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.ug-CN.js b/web/Scripts/globalize/cultures/globalize.culture.ug-CN.js deleted file mode 100644 index 02a3d501..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.ug-CN.js +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Globalize Culture ug-CN - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "ug-CN", "default", { - name: "ug-CN", - englishName: "Uyghur (PRC)", - nativeName: "ئۇيغۇرچە (جۇڭخۇا خەلق جۇمھۇرىيىتى)", - language: "ug", - isRTL: true, - numberFormat: { - "NaN": "سان ئەمەس", - negativeInfinity: "مەنپىي چەكسىزلىك", - positiveInfinity: "مۇسبەت چەكسىزلىك", - percent: { - pattern: ["-n%","n%"] - }, - currency: { - pattern: ["$-n","$n"], - symbol: "¥" - } - }, - calendars: { - standard: { - "/": "-", - days: { - names: ["يەكشەنبە","دۈشەنبە","سەيشەنبە","چارشەنبە","پەيشەنبە","جۈمە","شەنبە"], - namesAbbr: ["يە","دۈ","سە","چا","پە","جۈ","شە"], - namesShort: ["ي","د","س","چ","پ","ج","ش"] - }, - months: { - names: ["1-ئاي","2-ئاي","3-ئاي","4-ئاي","5-ئاي","6-ئاي","7-ئاي","8-ئاي","9-ئاي","10-ئاي","11-ئاي","12-ئاي",""], - namesAbbr: ["1-ئاي","2-ئاي","3-ئاي","4-ئاي","5-ئاي","6-ئاي","7-ئاي","8-ئاي","9-ئاي","10-ئاي","11-ئاي","12-ئاي",""] - }, - AM: ["چۈشتىن بۇرۇن","چۈشتىن بۇرۇن","چۈشتىن بۇرۇن"], - PM: ["چۈشتىن كېيىن","چۈشتىن كېيىن","چۈشتىن كېيىن"], - eras: [{"name":"مىلادى","start":null,"offset":0}], - patterns: { - d: "yyyy-M-d", - D: "yyyy-'يىلى' MMMM d-'كۈنى،'", - t: "H:mm", - T: "H:mm:ss", - f: "yyyy-'يىلى' MMMM d-'كۈنى،' H:mm", - F: "yyyy-'يىلى' MMMM d-'كۈنى،' H:mm:ss", - M: "MMMM d'-كۈنى'", - Y: "yyyy-'يىلى' MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.ug.js b/web/Scripts/globalize/cultures/globalize.culture.ug.js deleted file mode 100644 index d8dd8a4e..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.ug.js +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Globalize Culture ug - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "ug", "default", { - name: "ug", - englishName: "Uyghur", - nativeName: "ئۇيغۇرچە", - language: "ug", - isRTL: true, - numberFormat: { - "NaN": "سان ئەمەس", - negativeInfinity: "مەنپىي چەكسىزلىك", - positiveInfinity: "مۇسبەت چەكسىزلىك", - percent: { - pattern: ["-n%","n%"] - }, - currency: { - pattern: ["$-n","$n"], - symbol: "¥" - } - }, - calendars: { - standard: { - "/": "-", - days: { - names: ["يەكشەنبە","دۈشەنبە","سەيشەنبە","چارشەنبە","پەيشەنبە","جۈمە","شەنبە"], - namesAbbr: ["يە","دۈ","سە","چا","پە","جۈ","شە"], - namesShort: ["ي","د","س","چ","پ","ج","ش"] - }, - months: { - names: ["1-ئاي","2-ئاي","3-ئاي","4-ئاي","5-ئاي","6-ئاي","7-ئاي","8-ئاي","9-ئاي","10-ئاي","11-ئاي","12-ئاي",""], - namesAbbr: ["1-ئاي","2-ئاي","3-ئاي","4-ئاي","5-ئاي","6-ئاي","7-ئاي","8-ئاي","9-ئاي","10-ئاي","11-ئاي","12-ئاي",""] - }, - AM: ["چۈشتىن بۇرۇن","چۈشتىن بۇرۇن","چۈشتىن بۇرۇن"], - PM: ["چۈشتىن كېيىن","چۈشتىن كېيىن","چۈشتىن كېيىن"], - eras: [{"name":"مىلادى","start":null,"offset":0}], - patterns: { - d: "yyyy-M-d", - D: "yyyy-'يىلى' MMMM d-'كۈنى،'", - t: "H:mm", - T: "H:mm:ss", - f: "yyyy-'يىلى' MMMM d-'كۈنى،' H:mm", - F: "yyyy-'يىلى' MMMM d-'كۈنى،' H:mm:ss", - M: "MMMM d'-كۈنى'", - Y: "yyyy-'يىلى' MMMM" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.uk-UA.js b/web/Scripts/globalize/cultures/globalize.culture.uk-UA.js deleted file mode 100644 index e46fe448..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.uk-UA.js +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Globalize Culture uk-UA - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "uk-UA", "default", { - name: "uk-UA", - englishName: "Ukrainian (Ukraine)", - nativeName: "українська (Україна)", - language: "uk", - numberFormat: { - ",": " ", - ".": ",", - negativeInfinity: "-безмежність", - positiveInfinity: "безмежність", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n$","n$"], - ",": " ", - ".": ",", - symbol: "₴" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["неділя","понеділок","вівторок","середа","четвер","п'ятниця","субота"], - namesAbbr: ["Нд","Пн","Вт","Ср","Чт","Пт","Сб"], - namesShort: ["Нд","Пн","Вт","Ср","Чт","Пт","Сб"] - }, - months: { - names: ["Січень","Лютий","Березень","Квітень","Травень","Червень","Липень","Серпень","Вересень","Жовтень","Листопад","Грудень",""], - namesAbbr: ["Січ","Лют","Бер","Кві","Тра","Чер","Лип","Сер","Вер","Жов","Лис","Гру",""] - }, - monthsGenitive: { - names: ["січня","лютого","березня","квітня","травня","червня","липня","серпня","вересня","жовтня","листопада","грудня",""], - namesAbbr: ["січ","лют","бер","кві","тра","чер","лип","сер","вер","жов","лис","гру",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "d MMMM yyyy' р.'", - t: "H:mm", - T: "H:mm:ss", - f: "d MMMM yyyy' р.' H:mm", - F: "d MMMM yyyy' р.' H:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy' р.'" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.uk.js b/web/Scripts/globalize/cultures/globalize.culture.uk.js deleted file mode 100644 index 18e0a892..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.uk.js +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Globalize Culture uk - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "uk", "default", { - name: "uk", - englishName: "Ukrainian", - nativeName: "українська", - language: "uk", - numberFormat: { - ",": " ", - ".": ",", - negativeInfinity: "-безмежність", - positiveInfinity: "безмежність", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n$","n$"], - ",": " ", - ".": ",", - symbol: "₴" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["неділя","понеділок","вівторок","середа","четвер","п'ятниця","субота"], - namesAbbr: ["Нд","Пн","Вт","Ср","Чт","Пт","Сб"], - namesShort: ["Нд","Пн","Вт","Ср","Чт","Пт","Сб"] - }, - months: { - names: ["Січень","Лютий","Березень","Квітень","Травень","Червень","Липень","Серпень","Вересень","Жовтень","Листопад","Грудень",""], - namesAbbr: ["Січ","Лют","Бер","Кві","Тра","Чер","Лип","Сер","Вер","Жов","Лис","Гру",""] - }, - monthsGenitive: { - names: ["січня","лютого","березня","квітня","травня","червня","липня","серпня","вересня","жовтня","листопада","грудня",""], - namesAbbr: ["січ","лют","бер","кві","тра","чер","лип","сер","вер","жов","лис","гру",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "d MMMM yyyy' р.'", - t: "H:mm", - T: "H:mm:ss", - f: "d MMMM yyyy' р.' H:mm", - F: "d MMMM yyyy' р.' H:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy' р.'" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.ur-PK.js b/web/Scripts/globalize/cultures/globalize.culture.ur-PK.js deleted file mode 100644 index c92e6e30..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.ur-PK.js +++ /dev/null @@ -1,157 +0,0 @@ -/* - * Globalize Culture ur-PK - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "ur-PK", "default", { - name: "ur-PK", - englishName: "Urdu (Islamic Republic of Pakistan)", - nativeName: "اُردو (پاکستان)", - language: "ur", - isRTL: true, - numberFormat: { - currency: { - pattern: ["$n-","$n"], - symbol: "Rs" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["اتوار","پير","منگل","بدھ","جمعرات","جمعه","هفته"], - namesAbbr: ["اتوار","پير","منگل","بدھ","جمعرات","جمعه","هفته"], - namesShort: ["ا","پ","م","ب","ج","ج","ه"] - }, - months: { - names: ["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر",""], - namesAbbr: ["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر",""] - }, - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM, yyyy", - f: "dd MMMM, yyyy h:mm tt", - F: "dd MMMM, yyyy h:mm:ss tt", - M: "dd MMMM" - } - }, - Hijri: { - name: "Hijri", - firstDay: 1, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MM/yyyy", - f: "dd/MM/yyyy h:mm tt", - F: "dd/MM/yyyy h:mm:ss tt", - M: "dd MMMM" - }, - convert: { - // Adapted to Script from System.Globalization.HijriCalendar - ticks1970: 62135596800000, - // number of days leading up to each month - monthDays: [0, 30, 59, 89, 118, 148, 177, 207, 236, 266, 295, 325, 355], - minDate: -42521673600000, - maxDate: 253402300799999, - // The number of days to add or subtract from the calendar to accommodate the variances - // in the start and the end of Ramadan and to accommodate the date difference between - // countries/regions. May be dynamically adjusted based on user preference, but should - // remain in the range of -2 to 2, inclusive. - hijriAdjustment: 0, - toGregorian: function(hyear, hmonth, hday) { - var daysSinceJan0101 = this.daysToYear(hyear) + this.monthDays[hmonth] + hday - 1 - this.hijriAdjustment; - // 86400000 = ticks per day - var gdate = new Date(daysSinceJan0101 * 86400000 - this.ticks1970); - // adjust for timezone, because we are interested in the gregorian date for the same timezone - // but ticks in javascript is always from GMT, unlike the server were ticks counts from the base - // date in the current timezone. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - return gdate; - }, - fromGregorian: function(gdate) { - if ((gdate < this.minDate) || (gdate > this.maxDate)) return null; - var ticks = this.ticks1970 + (gdate-0) - gdate.getTimezoneOffset() * 60000, - daysSinceJan0101 = Math.floor(ticks / 86400000) + 1 + this.hijriAdjustment; - // very particular formula determined by someone smart, adapted from the server-side implementation. - // it approximates the hijri year. - var hday, hmonth, hyear = Math.floor(((daysSinceJan0101 - 227013) * 30) / 10631) + 1, - absDays = this.daysToYear(hyear), - daysInYear = this.isLeapYear(hyear) ? 355 : 354; - // hyear is just approximate, it may need adjustment up or down by 1. - if (daysSinceJan0101 < absDays) { - hyear--; - absDays -= daysInYear; - } - else if (daysSinceJan0101 === absDays) { - hyear--; - absDays = this.daysToYear(hyear); - } - else { - if (daysSinceJan0101 > (absDays + daysInYear)) { - absDays += daysInYear; - hyear++; - } - } - // determine month by looking at how many days into the hyear we are - // monthDays contains the number of days up to each month. - hmonth = 0; - var daysIntoYear = daysSinceJan0101 - absDays; - while (hmonth <= 11 && daysIntoYear > this.monthDays[hmonth]) { - hmonth++; - } - hmonth--; - hday = daysIntoYear - this.monthDays[hmonth]; - return [hyear, hmonth, hday]; - }, - daysToYear: function(year) { - // calculates how many days since Jan 1, 0001 - var yearsToYear30 = Math.floor((year - 1) / 30) * 30, - yearsInto30 = year - yearsToYear30 - 1, - days = Math.floor((yearsToYear30 * 10631) / 30) + 227013; - while (yearsInto30 > 0) { - days += (this.isLeapYear(yearsInto30) ? 355 : 354); - yearsInto30--; - } - return days; - }, - isLeapYear: function(year) { - return ((((year * 11) + 14) % 30) < 11); - } - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.ur.js b/web/Scripts/globalize/cultures/globalize.culture.ur.js deleted file mode 100644 index 3b6709db..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.ur.js +++ /dev/null @@ -1,157 +0,0 @@ -/* - * Globalize Culture ur - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "ur", "default", { - name: "ur", - englishName: "Urdu", - nativeName: "اُردو", - language: "ur", - isRTL: true, - numberFormat: { - currency: { - pattern: ["$n-","$n"], - symbol: "Rs" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["اتوار","پير","منگل","بدھ","جمعرات","جمعه","هفته"], - namesAbbr: ["اتوار","پير","منگل","بدھ","جمعرات","جمعه","هفته"], - namesShort: ["ا","پ","م","ب","ج","ج","ه"] - }, - months: { - names: ["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر",""], - namesAbbr: ["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر",""] - }, - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM, yyyy", - f: "dd MMMM, yyyy h:mm tt", - F: "dd MMMM, yyyy h:mm:ss tt", - M: "dd MMMM" - } - }, - Hijri: { - name: "Hijri", - firstDay: 1, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MM/yyyy", - f: "dd/MM/yyyy h:mm tt", - F: "dd/MM/yyyy h:mm:ss tt", - M: "dd MMMM" - }, - convert: { - // Adapted to Script from System.Globalization.HijriCalendar - ticks1970: 62135596800000, - // number of days leading up to each month - monthDays: [0, 30, 59, 89, 118, 148, 177, 207, 236, 266, 295, 325, 355], - minDate: -42521673600000, - maxDate: 253402300799999, - // The number of days to add or subtract from the calendar to accommodate the variances - // in the start and the end of Ramadan and to accommodate the date difference between - // countries/regions. May be dynamically adjusted based on user preference, but should - // remain in the range of -2 to 2, inclusive. - hijriAdjustment: 0, - toGregorian: function(hyear, hmonth, hday) { - var daysSinceJan0101 = this.daysToYear(hyear) + this.monthDays[hmonth] + hday - 1 - this.hijriAdjustment; - // 86400000 = ticks per day - var gdate = new Date(daysSinceJan0101 * 86400000 - this.ticks1970); - // adjust for timezone, because we are interested in the gregorian date for the same timezone - // but ticks in javascript is always from GMT, unlike the server were ticks counts from the base - // date in the current timezone. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - return gdate; - }, - fromGregorian: function(gdate) { - if ((gdate < this.minDate) || (gdate > this.maxDate)) return null; - var ticks = this.ticks1970 + (gdate-0) - gdate.getTimezoneOffset() * 60000, - daysSinceJan0101 = Math.floor(ticks / 86400000) + 1 + this.hijriAdjustment; - // very particular formula determined by someone smart, adapted from the server-side implementation. - // it approximates the hijri year. - var hday, hmonth, hyear = Math.floor(((daysSinceJan0101 - 227013) * 30) / 10631) + 1, - absDays = this.daysToYear(hyear), - daysInYear = this.isLeapYear(hyear) ? 355 : 354; - // hyear is just approximate, it may need adjustment up or down by 1. - if (daysSinceJan0101 < absDays) { - hyear--; - absDays -= daysInYear; - } - else if (daysSinceJan0101 === absDays) { - hyear--; - absDays = this.daysToYear(hyear); - } - else { - if (daysSinceJan0101 > (absDays + daysInYear)) { - absDays += daysInYear; - hyear++; - } - } - // determine month by looking at how many days into the hyear we are - // monthDays contains the number of days up to each month. - hmonth = 0; - var daysIntoYear = daysSinceJan0101 - absDays; - while (hmonth <= 11 && daysIntoYear > this.monthDays[hmonth]) { - hmonth++; - } - hmonth--; - hday = daysIntoYear - this.monthDays[hmonth]; - return [hyear, hmonth, hday]; - }, - daysToYear: function(year) { - // calculates how many days since Jan 1, 0001 - var yearsToYear30 = Math.floor((year - 1) / 30) * 30, - yearsInto30 = year - yearsToYear30 - 1, - days = Math.floor((yearsToYear30 * 10631) / 30) + 227013; - while (yearsInto30 > 0) { - days += (this.isLeapYear(yearsInto30) ? 355 : 354); - yearsInto30--; - } - return days; - }, - isLeapYear: function(year) { - return ((((year * 11) + 14) % 30) < 11); - } - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.uz-Cyrl-UZ.js b/web/Scripts/globalize/cultures/globalize.culture.uz-Cyrl-UZ.js deleted file mode 100644 index f034500b..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.uz-Cyrl-UZ.js +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Globalize Culture uz-Cyrl-UZ - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "uz-Cyrl-UZ", "default", { - name: "uz-Cyrl-UZ", - englishName: "Uzbek (Cyrillic, Uzbekistan)", - nativeName: "Ўзбек (Ўзбекистон)", - language: "uz-Cyrl", - numberFormat: { - ",": " ", - ".": ",", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "сўм" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["якшанба","душанба","сешанба","чоршанба","пайшанба","жума","шанба"], - namesAbbr: ["якш","дш","сш","чш","пш","ж","ш"], - namesShort: ["я","д","с","ч","п","ж","ш"] - }, - months: { - names: ["Январ","Феврал","Март","Апрел","Май","Июн","Июл","Август","Сентябр","Октябр","Ноябр","Декабр",""], - namesAbbr: ["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек",""] - }, - monthsGenitive: { - names: ["январ","феврал","март","апрел","май","июн","июл","август","сентябр","октябр","ноябр","декабр",""], - namesAbbr: ["Янв","Фев","Мар","Апр","мая","Июн","Июл","Авг","Сен","Окт","Ноя","Дек",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "yyyy 'йил' d-MMMM", - t: "HH:mm", - T: "HH:mm:ss", - f: "yyyy 'йил' d-MMMM HH:mm", - F: "yyyy 'йил' d-MMMM HH:mm:ss", - M: "d-MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.uz-Cyrl.js b/web/Scripts/globalize/cultures/globalize.culture.uz-Cyrl.js deleted file mode 100644 index 8dbb77ca..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.uz-Cyrl.js +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Globalize Culture uz-Cyrl - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "uz-Cyrl", "default", { - name: "uz-Cyrl", - englishName: "Uzbek (Cyrillic)", - nativeName: "Ўзбек", - language: "uz-Cyrl", - numberFormat: { - ",": " ", - ".": ",", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "сўм" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["якшанба","душанба","сешанба","чоршанба","пайшанба","жума","шанба"], - namesAbbr: ["якш","дш","сш","чш","пш","ж","ш"], - namesShort: ["я","д","с","ч","п","ж","ш"] - }, - months: { - names: ["Январ","Феврал","Март","Апрел","Май","Июн","Июл","Август","Сентябр","Октябр","Ноябр","Декабр",""], - namesAbbr: ["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек",""] - }, - monthsGenitive: { - names: ["январ","феврал","март","апрел","май","июн","июл","август","сентябр","октябр","ноябр","декабр",""], - namesAbbr: ["Янв","Фев","Мар","Апр","мая","Июн","Июл","Авг","Сен","Окт","Ноя","Дек",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "yyyy 'йил' d-MMMM", - t: "HH:mm", - T: "HH:mm:ss", - f: "yyyy 'йил' d-MMMM HH:mm", - F: "yyyy 'йил' d-MMMM HH:mm:ss", - M: "d-MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.uz-Latn-UZ.js b/web/Scripts/globalize/cultures/globalize.culture.uz-Latn-UZ.js deleted file mode 100644 index 7f22ce80..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.uz-Latn-UZ.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Globalize Culture uz-Latn-UZ - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "uz-Latn-UZ", "default", { - name: "uz-Latn-UZ", - englishName: "Uzbek (Latin, Uzbekistan)", - nativeName: "U'zbek (U'zbekiston Respublikasi)", - language: "uz-Latn", - numberFormat: { - ",": " ", - ".": ",", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - decimals: 0, - ",": " ", - ".": ",", - symbol: "so'm" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["yakshanba","dushanba","seshanba","chorshanba","payshanba","juma","shanba"], - namesAbbr: ["yak.","dsh.","sesh.","chr.","psh.","jm.","sh."], - namesShort: ["ya","d","s","ch","p","j","sh"] - }, - months: { - names: ["yanvar","fevral","mart","aprel","may","iyun","iyul","avgust","sentyabr","oktyabr","noyabr","dekabr",""], - namesAbbr: ["yanvar","fevral","mart","aprel","may","iyun","iyul","avgust","sentyabr","oktyabr","noyabr","dekabr",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd/MM yyyy", - D: "yyyy 'yil' d-MMMM", - t: "HH:mm", - T: "HH:mm:ss", - f: "yyyy 'yil' d-MMMM HH:mm", - F: "yyyy 'yil' d-MMMM HH:mm:ss", - M: "d-MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.uz-Latn.js b/web/Scripts/globalize/cultures/globalize.culture.uz-Latn.js deleted file mode 100644 index 33d160bb..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.uz-Latn.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Globalize Culture uz-Latn - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "uz-Latn", "default", { - name: "uz-Latn", - englishName: "Uzbek (Latin)", - nativeName: "U'zbek", - language: "uz-Latn", - numberFormat: { - ",": " ", - ".": ",", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - decimals: 0, - ",": " ", - ".": ",", - symbol: "so'm" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["yakshanba","dushanba","seshanba","chorshanba","payshanba","juma","shanba"], - namesAbbr: ["yak.","dsh.","sesh.","chr.","psh.","jm.","sh."], - namesShort: ["ya","d","s","ch","p","j","sh"] - }, - months: { - names: ["yanvar","fevral","mart","aprel","may","iyun","iyul","avgust","sentyabr","oktyabr","noyabr","dekabr",""], - namesAbbr: ["yanvar","fevral","mart","aprel","may","iyun","iyul","avgust","sentyabr","oktyabr","noyabr","dekabr",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd/MM yyyy", - D: "yyyy 'yil' d-MMMM", - t: "HH:mm", - T: "HH:mm:ss", - f: "yyyy 'yil' d-MMMM HH:mm", - F: "yyyy 'yil' d-MMMM HH:mm:ss", - M: "d-MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.uz.js b/web/Scripts/globalize/cultures/globalize.culture.uz.js deleted file mode 100644 index 63eac49c..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.uz.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Globalize Culture uz - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "uz", "default", { - name: "uz", - englishName: "Uzbek", - nativeName: "U'zbek", - language: "uz", - numberFormat: { - ",": " ", - ".": ",", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - decimals: 0, - ",": " ", - ".": ",", - symbol: "so'm" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["yakshanba","dushanba","seshanba","chorshanba","payshanba","juma","shanba"], - namesAbbr: ["yak.","dsh.","sesh.","chr.","psh.","jm.","sh."], - namesShort: ["ya","d","s","ch","p","j","sh"] - }, - months: { - names: ["yanvar","fevral","mart","aprel","may","iyun","iyul","avgust","sentyabr","oktyabr","noyabr","dekabr",""], - namesAbbr: ["yanvar","fevral","mart","aprel","may","iyun","iyul","avgust","sentyabr","oktyabr","noyabr","dekabr",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd/MM yyyy", - D: "yyyy 'yil' d-MMMM", - t: "HH:mm", - T: "HH:mm:ss", - f: "yyyy 'yil' d-MMMM HH:mm", - F: "yyyy 'yil' d-MMMM HH:mm:ss", - M: "d-MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.vi-VN.js b/web/Scripts/globalize/cultures/globalize.culture.vi-VN.js deleted file mode 100644 index b5597785..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.vi-VN.js +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Globalize Culture vi-VN - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "vi-VN", "default", { - name: "vi-VN", - englishName: "Vietnamese (Vietnam)", - nativeName: "Tiếng Việt (Việt Nam)", - language: "vi", - numberFormat: { - ",": ".", - ".": ",", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "₫" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["Chủ Nhật","Thứ Hai","Thứ Ba","Thứ Tư","Thứ Năm","Thứ Sáu","Thứ Bảy"], - namesAbbr: ["CN","Hai","Ba","Tư","Năm","Sáu","Bảy"], - namesShort: ["C","H","B","T","N","S","B"] - }, - months: { - names: ["Tháng Giêng","Tháng Hai","Tháng Ba","Tháng Tư","Tháng Năm","Tháng Sáu","Tháng Bảy","Tháng Tám","Tháng Chín","Tháng Mười","Tháng Mười Một","Tháng Mười Hai",""], - namesAbbr: ["Thg1","Thg2","Thg3","Thg4","Thg5","Thg6","Thg7","Thg8","Thg9","Thg10","Thg11","Thg12",""] - }, - AM: ["SA","sa","SA"], - PM: ["CH","ch","CH"], - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM yyyy", - f: "dd MMMM yyyy h:mm tt", - F: "dd MMMM yyyy h:mm:ss tt", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.vi.js b/web/Scripts/globalize/cultures/globalize.culture.vi.js deleted file mode 100644 index d7191bfc..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.vi.js +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Globalize Culture vi - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "vi", "default", { - name: "vi", - englishName: "Vietnamese", - nativeName: "Tiếng Việt", - language: "vi", - numberFormat: { - ",": ".", - ".": ",", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "₫" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["Chủ Nhật","Thứ Hai","Thứ Ba","Thứ Tư","Thứ Năm","Thứ Sáu","Thứ Bảy"], - namesAbbr: ["CN","Hai","Ba","Tư","Năm","Sáu","Bảy"], - namesShort: ["C","H","B","T","N","S","B"] - }, - months: { - names: ["Tháng Giêng","Tháng Hai","Tháng Ba","Tháng Tư","Tháng Năm","Tháng Sáu","Tháng Bảy","Tháng Tám","Tháng Chín","Tháng Mười","Tháng Mười Một","Tháng Mười Hai",""], - namesAbbr: ["Thg1","Thg2","Thg3","Thg4","Thg5","Thg6","Thg7","Thg8","Thg9","Thg10","Thg11","Thg12",""] - }, - AM: ["SA","sa","SA"], - PM: ["CH","ch","CH"], - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM yyyy", - f: "dd MMMM yyyy h:mm tt", - F: "dd MMMM yyyy h:mm:ss tt", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.wo-SN.js b/web/Scripts/globalize/cultures/globalize.culture.wo-SN.js deleted file mode 100644 index 245f6ec6..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.wo-SN.js +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Globalize Culture wo-SN - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "wo-SN", "default", { - name: "wo-SN", - englishName: "Wolof (Senegal)", - nativeName: "Wolof (Sénégal)", - language: "wo", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "Non Numérique", - negativeInfinity: "-Infini", - positiveInfinity: "+Infini", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "XOF" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"], - namesAbbr: ["dim.","lun.","mar.","mer.","jeu.","ven.","sam."], - namesShort: ["di","lu","ma","me","je","ve","sa"] - }, - months: { - names: ["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""], - namesAbbr: ["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""] - }, - AM: null, - PM: null, - eras: [{"name":"ap. J.-C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd d MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd d MMMM yyyy HH:mm", - F: "dddd d MMMM yyyy HH:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.wo.js b/web/Scripts/globalize/cultures/globalize.culture.wo.js deleted file mode 100644 index da949053..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.wo.js +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Globalize Culture wo - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "wo", "default", { - name: "wo", - englishName: "Wolof", - nativeName: "Wolof", - language: "wo", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "Non Numérique", - negativeInfinity: "-Infini", - positiveInfinity: "+Infini", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "XOF" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"], - namesAbbr: ["dim.","lun.","mar.","mer.","jeu.","ven.","sam."], - namesShort: ["di","lu","ma","me","je","ve","sa"] - }, - months: { - names: ["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""], - namesAbbr: ["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""] - }, - AM: null, - PM: null, - eras: [{"name":"ap. J.-C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd d MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd d MMMM yyyy HH:mm", - F: "dddd d MMMM yyyy HH:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.xh-ZA.js b/web/Scripts/globalize/cultures/globalize.culture.xh-ZA.js deleted file mode 100644 index 10f34c37..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.xh-ZA.js +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Globalize Culture xh-ZA - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "xh-ZA", "default", { - name: "xh-ZA", - englishName: "isiXhosa (South Africa)", - nativeName: "isiXhosa (uMzantsi Afrika)", - language: "xh", - numberFormat: { - percent: { - pattern: ["-%n","%n"] - }, - currency: { - pattern: ["$-n","$ n"], - symbol: "R" - } - }, - calendars: { - standard: { - days: { - names: ["iCawa","uMvulo","uLwesibini","uLwesithathu","uLwesine","uLwesihlanu","uMgqibelo"], - namesShort: ["Ca","Mv","Lb","Lt","Ln","Lh","Mg"] - }, - months: { - names: ["Mqungu","Mdumba","Kwindla","Tshazimpuzi","Canzibe","Silimela","Khala","Thupha","Msintsi","Dwarha","Nkanga","Mnga",""] - }, - patterns: { - d: "yyyy/MM/dd", - D: "dd MMMM yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd MMMM yyyy hh:mm tt", - F: "dd MMMM yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.xh.js b/web/Scripts/globalize/cultures/globalize.culture.xh.js deleted file mode 100644 index d15a3b85..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.xh.js +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Globalize Culture xh - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "xh", "default", { - name: "xh", - englishName: "isiXhosa", - nativeName: "isiXhosa", - language: "xh", - numberFormat: { - percent: { - pattern: ["-%n","%n"] - }, - currency: { - pattern: ["$-n","$ n"], - symbol: "R" - } - }, - calendars: { - standard: { - days: { - names: ["iCawa","uMvulo","uLwesibini","uLwesithathu","uLwesine","uLwesihlanu","uMgqibelo"], - namesShort: ["Ca","Mv","Lb","Lt","Ln","Lh","Mg"] - }, - months: { - names: ["Mqungu","Mdumba","Kwindla","Tshazimpuzi","Canzibe","Silimela","Khala","Thupha","Msintsi","Dwarha","Nkanga","Mnga",""] - }, - patterns: { - d: "yyyy/MM/dd", - D: "dd MMMM yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd MMMM yyyy hh:mm tt", - F: "dd MMMM yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.yo-NG.js b/web/Scripts/globalize/cultures/globalize.culture.yo-NG.js deleted file mode 100644 index c968ad32..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.yo-NG.js +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Globalize Culture yo-NG - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "yo-NG", "default", { - name: "yo-NG", - englishName: "Yoruba (Nigeria)", - nativeName: "Yoruba (Nigeria)", - language: "yo", - numberFormat: { - currency: { - pattern: ["$-n","$ n"], - symbol: "N" - } - }, - calendars: { - standard: { - days: { - names: ["Aiku","Aje","Isegun","Ojo'ru","Ojo'bo","Eti","Abameta"], - namesAbbr: ["Aik","Aje","Ise","Ojo","Ojo","Eti","Aba"], - namesShort: ["A","A","I","O","O","E","A"] - }, - months: { - names: ["Osu kinni","Osu keji","Osu keta","Osu kerin","Osu karun","Osu kefa","Osu keje","Osu kejo","Osu kesan","Osu kewa","Osu kokanla","Osu keresi",""], - namesAbbr: ["kin.","kej.","ket.","ker.","kar.","kef.","kej.","kej.","kes.","kew.","kok.","ker.",""] - }, - AM: ["Owuro","owuro","OWURO"], - PM: ["Ale","ale","ALE"], - eras: [{"name":"AD","start":null,"offset":0}], - patterns: { - d: "d/M/yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.yo.js b/web/Scripts/globalize/cultures/globalize.culture.yo.js deleted file mode 100644 index 15b5c8c0..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.yo.js +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Globalize Culture yo - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "yo", "default", { - name: "yo", - englishName: "Yoruba", - nativeName: "Yoruba", - language: "yo", - numberFormat: { - currency: { - pattern: ["$-n","$ n"], - symbol: "N" - } - }, - calendars: { - standard: { - days: { - names: ["Aiku","Aje","Isegun","Ojo'ru","Ojo'bo","Eti","Abameta"], - namesAbbr: ["Aik","Aje","Ise","Ojo","Ojo","Eti","Aba"], - namesShort: ["A","A","I","O","O","E","A"] - }, - months: { - names: ["Osu kinni","Osu keji","Osu keta","Osu kerin","Osu karun","Osu kefa","Osu keje","Osu kejo","Osu kesan","Osu kewa","Osu kokanla","Osu keresi",""], - namesAbbr: ["kin.","kej.","ket.","ker.","kar.","kef.","kej.","kej.","kes.","kew.","kok.","ker.",""] - }, - AM: ["Owuro","owuro","OWURO"], - PM: ["Ale","ale","ALE"], - eras: [{"name":"AD","start":null,"offset":0}], - patterns: { - d: "d/M/yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.zh-CHS.js b/web/Scripts/globalize/cultures/globalize.culture.zh-CHS.js deleted file mode 100644 index 265227de..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.zh-CHS.js +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Globalize Culture zh-CHS - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "zh-CHS", "default", { - name: "zh-CHS", - englishName: "Chinese (Simplified) Legacy", - nativeName: "中文(简体) 旧版", - language: "zh-CHS", - numberFormat: { - "NaN": "非数字", - negativeInfinity: "负无穷大", - positiveInfinity: "正无穷大", - percent: { - pattern: ["-n%","n%"] - }, - currency: { - pattern: ["$-n","$n"], - symbol: "¥" - } - }, - calendars: { - standard: { - days: { - names: ["星期日","星期一","星期二","星期三","星期四","星期五","星期六"], - namesAbbr: ["周日","周一","周二","周三","周四","周五","周六"], - namesShort: ["日","一","二","三","四","五","六"] - }, - months: { - names: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""], - namesAbbr: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""] - }, - AM: ["上午","上午","上午"], - PM: ["下午","下午","下午"], - eras: [{"name":"公元","start":null,"offset":0}], - patterns: { - d: "yyyy/M/d", - D: "yyyy'年'M'月'd'日'", - t: "H:mm", - T: "H:mm:ss", - f: "yyyy'年'M'月'd'日' H:mm", - F: "yyyy'年'M'月'd'日' H:mm:ss", - M: "M'月'd'日'", - Y: "yyyy'年'M'月'" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.zh-CHT.js b/web/Scripts/globalize/cultures/globalize.culture.zh-CHT.js deleted file mode 100644 index a0438f05..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.zh-CHT.js +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Globalize Culture zh-CHT - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "zh-CHT", "default", { - name: "zh-CHT", - englishName: "Chinese (Traditional) Legacy", - nativeName: "中文(繁體) 舊版", - language: "zh-CHT", - numberFormat: { - "NaN": "非數字", - negativeInfinity: "負無窮大", - positiveInfinity: "正無窮大", - percent: { - pattern: ["-n%","n%"] - }, - currency: { - symbol: "HK$" - } - }, - calendars: { - standard: { - days: { - names: ["星期日","星期一","星期二","星期三","星期四","星期五","星期六"], - namesAbbr: ["週日","週一","週二","週三","週四","週五","週六"], - namesShort: ["日","一","二","三","四","五","六"] - }, - months: { - names: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""], - namesAbbr: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""] - }, - AM: ["上午","上午","上午"], - PM: ["下午","下午","下午"], - eras: [{"name":"公元","start":null,"offset":0}], - patterns: { - d: "d/M/yyyy", - D: "yyyy'年'M'月'd'日'", - t: "H:mm", - T: "H:mm:ss", - f: "yyyy'年'M'月'd'日' H:mm", - F: "yyyy'年'M'月'd'日' H:mm:ss", - M: "M'月'd'日'", - Y: "yyyy'年'M'月'" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.zh-CN.js b/web/Scripts/globalize/cultures/globalize.culture.zh-CN.js deleted file mode 100644 index d9de0cd0..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.zh-CN.js +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Globalize Culture zh-CN - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "zh-CN", "default", { - name: "zh-CN", - englishName: "Chinese (Simplified, PRC)", - nativeName: "中文(中华人民共和国)", - language: "zh-CHS", - numberFormat: { - "NaN": "非数字", - negativeInfinity: "负无穷大", - positiveInfinity: "正无穷大", - percent: { - pattern: ["-n%","n%"] - }, - currency: { - pattern: ["$-n","$n"], - symbol: "¥" - } - }, - calendars: { - standard: { - days: { - names: ["星期日","星期一","星期二","星期三","星期四","星期五","星期六"], - namesAbbr: ["周日","周一","周二","周三","周四","周五","周六"], - namesShort: ["日","一","二","三","四","五","六"] - }, - months: { - names: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""], - namesAbbr: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""] - }, - AM: ["上午","上午","上午"], - PM: ["下午","下午","下午"], - eras: [{"name":"公元","start":null,"offset":0}], - patterns: { - d: "yyyy/M/d", - D: "yyyy'年'M'月'd'日'", - t: "H:mm", - T: "H:mm:ss", - f: "yyyy'年'M'月'd'日' H:mm", - F: "yyyy'年'M'月'd'日' H:mm:ss", - M: "M'月'd'日'", - Y: "yyyy'年'M'月'" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.zh-HK.js b/web/Scripts/globalize/cultures/globalize.culture.zh-HK.js deleted file mode 100644 index 0bac5bff..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.zh-HK.js +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Globalize Culture zh-HK - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "zh-HK", "default", { - name: "zh-HK", - englishName: "Chinese (Traditional, Hong Kong S.A.R.)", - nativeName: "中文(香港特別行政區)", - language: "zh-CHT", - numberFormat: { - "NaN": "非數字", - negativeInfinity: "負無窮大", - positiveInfinity: "正無窮大", - percent: { - pattern: ["-n%","n%"] - }, - currency: { - symbol: "HK$" - } - }, - calendars: { - standard: { - days: { - names: ["星期日","星期一","星期二","星期三","星期四","星期五","星期六"], - namesAbbr: ["週日","週一","週二","週三","週四","週五","週六"], - namesShort: ["日","一","二","三","四","五","六"] - }, - months: { - names: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""], - namesAbbr: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""] - }, - AM: ["上午","上午","上午"], - PM: ["下午","下午","下午"], - eras: [{"name":"公元","start":null,"offset":0}], - patterns: { - d: "d/M/yyyy", - D: "yyyy'年'M'月'd'日'", - t: "H:mm", - T: "H:mm:ss", - f: "yyyy'年'M'月'd'日' H:mm", - F: "yyyy'年'M'月'd'日' H:mm:ss", - M: "M'月'd'日'", - Y: "yyyy'年'M'月'" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.zh-Hans.js b/web/Scripts/globalize/cultures/globalize.culture.zh-Hans.js deleted file mode 100644 index 9be13a32..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.zh-Hans.js +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Globalize Culture zh-Hans - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "zh-Hans", "default", { - name: "zh-Hans", - englishName: "Chinese (Simplified)", - nativeName: "中文(简体)", - language: "zh-Hans", - numberFormat: { - "NaN": "非数字", - negativeInfinity: "负无穷大", - positiveInfinity: "正无穷大", - percent: { - pattern: ["-n%","n%"] - }, - currency: { - pattern: ["$-n","$n"], - symbol: "¥" - } - }, - calendars: { - standard: { - days: { - names: ["星期日","星期一","星期二","星期三","星期四","星期五","星期六"], - namesAbbr: ["周日","周一","周二","周三","周四","周五","周六"], - namesShort: ["日","一","二","三","四","五","六"] - }, - months: { - names: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""], - namesAbbr: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""] - }, - AM: ["上午","上午","上午"], - PM: ["下午","下午","下午"], - eras: [{"name":"公元","start":null,"offset":0}], - patterns: { - d: "yyyy/M/d", - D: "yyyy'年'M'月'd'日'", - t: "H:mm", - T: "H:mm:ss", - f: "yyyy'年'M'月'd'日' H:mm", - F: "yyyy'年'M'月'd'日' H:mm:ss", - M: "M'月'd'日'", - Y: "yyyy'年'M'月'" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.zh-Hant.js b/web/Scripts/globalize/cultures/globalize.culture.zh-Hant.js deleted file mode 100644 index 9392ea76..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.zh-Hant.js +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Globalize Culture zh-Hant - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "zh-Hant", "default", { - name: "zh-Hant", - englishName: "Chinese (Traditional)", - nativeName: "中文(繁體)", - language: "zh-Hant", - numberFormat: { - "NaN": "非數字", - negativeInfinity: "負無窮大", - positiveInfinity: "正無窮大", - percent: { - pattern: ["-n%","n%"] - }, - currency: { - symbol: "HK$" - } - }, - calendars: { - standard: { - days: { - names: ["星期日","星期一","星期二","星期三","星期四","星期五","星期六"], - namesAbbr: ["週日","週一","週二","週三","週四","週五","週六"], - namesShort: ["日","一","二","三","四","五","六"] - }, - months: { - names: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""], - namesAbbr: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""] - }, - AM: ["上午","上午","上午"], - PM: ["下午","下午","下午"], - eras: [{"name":"公元","start":null,"offset":0}], - patterns: { - d: "d/M/yyyy", - D: "yyyy'年'M'月'd'日'", - t: "H:mm", - T: "H:mm:ss", - f: "yyyy'年'M'月'd'日' H:mm", - F: "yyyy'年'M'月'd'日' H:mm:ss", - M: "M'月'd'日'", - Y: "yyyy'年'M'月'" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.zh-MO.js b/web/Scripts/globalize/cultures/globalize.culture.zh-MO.js deleted file mode 100644 index 7a729649..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.zh-MO.js +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Globalize Culture zh-MO - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "zh-MO", "default", { - name: "zh-MO", - englishName: "Chinese (Traditional, Macao S.A.R.)", - nativeName: "中文(澳門特別行政區)", - language: "zh-CHT", - numberFormat: { - "NaN": "非數字", - negativeInfinity: "負無窮大", - positiveInfinity: "正無窮大", - percent: { - pattern: ["-n%","n%"] - }, - currency: { - symbol: "MOP" - } - }, - calendars: { - standard: { - days: { - names: ["星期日","星期一","星期二","星期三","星期四","星期五","星期六"], - namesAbbr: ["週日","週一","週二","週三","週四","週五","週六"], - namesShort: ["日","一","二","三","四","五","六"] - }, - months: { - names: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""], - namesAbbr: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""] - }, - AM: ["上午","上午","上午"], - PM: ["下午","下午","下午"], - eras: [{"name":"公元","start":null,"offset":0}], - patterns: { - d: "d/M/yyyy", - D: "yyyy'年'M'月'd'日'", - t: "H:mm", - T: "H:mm:ss", - f: "yyyy'年'M'月'd'日' H:mm", - F: "yyyy'年'M'月'd'日' H:mm:ss", - M: "M'月'd'日'", - Y: "yyyy'年'M'月'" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.zh-SG.js b/web/Scripts/globalize/cultures/globalize.culture.zh-SG.js deleted file mode 100644 index 80349300..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.zh-SG.js +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Globalize Culture zh-SG - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "zh-SG", "default", { - name: "zh-SG", - englishName: "Chinese (Simplified, Singapore)", - nativeName: "中文(新加坡)", - language: "zh-CHS", - numberFormat: { - percent: { - pattern: ["-n%","n%"] - } - }, - calendars: { - standard: { - days: { - names: ["星期日","星期一","星期二","星期三","星期四","星期五","星期六"], - namesAbbr: ["周日","周一","周二","周三","周四","周五","周六"], - namesShort: ["日","一","二","三","四","五","六"] - }, - months: { - names: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""], - namesAbbr: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""] - }, - patterns: { - d: "d/M/yyyy", - D: "yyyy'年'M'月'd'日'", - t: "tt h:mm", - T: "tt h:mm:ss", - f: "yyyy'年'M'月'd'日' tt h:mm", - F: "yyyy'年'M'月'd'日' tt h:mm:ss", - M: "M'月'd'日'", - Y: "yyyy'年'M'月'" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.zh-TW.js b/web/Scripts/globalize/cultures/globalize.culture.zh-TW.js deleted file mode 100644 index 14d17251..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.zh-TW.js +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Globalize Culture zh-TW - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "zh-TW", "default", { - name: "zh-TW", - englishName: "Chinese (Traditional, Taiwan)", - nativeName: "中文(台灣)", - language: "zh-CHT", - numberFormat: { - "NaN": "不是一個數字", - negativeInfinity: "負無窮大", - positiveInfinity: "正無窮大", - percent: { - pattern: ["-n%","n%"] - }, - currency: { - pattern: ["-$n","$n"], - symbol: "NT$" - } - }, - calendars: { - standard: { - days: { - names: ["星期日","星期一","星期二","星期三","星期四","星期五","星期六"], - namesAbbr: ["週日","週一","週二","週三","週四","週五","週六"], - namesShort: ["日","一","二","三","四","五","六"] - }, - months: { - names: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""], - namesAbbr: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""] - }, - AM: ["上午","上午","上午"], - PM: ["下午","下午","下午"], - eras: [{"name":"西元","start":null,"offset":0}], - patterns: { - d: "yyyy/M/d", - D: "yyyy'年'M'月'd'日'", - t: "tt hh:mm", - T: "tt hh:mm:ss", - f: "yyyy'年'M'月'd'日' tt hh:mm", - F: "yyyy'年'M'月'd'日' tt hh:mm:ss", - M: "M'月'd'日'", - Y: "yyyy'年'M'月'" - } - }, - Taiwan: { - name: "Taiwan", - days: { - names: ["星期日","星期一","星期二","星期三","星期四","星期五","星期六"], - namesAbbr: ["週日","週一","週二","週三","週四","週五","週六"], - namesShort: ["日","一","二","三","四","五","六"] - }, - months: { - names: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""], - namesAbbr: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""] - }, - AM: ["上午","上午","上午"], - PM: ["下午","下午","下午"], - eras: [{"name":"","start":null,"offset":1911}], - twoDigitYearMax: 99, - patterns: { - d: "yyyy/M/d", - D: "yyyy'年'M'月'd'日'", - t: "tt hh:mm", - T: "tt hh:mm:ss", - f: "yyyy'年'M'月'd'日' tt hh:mm", - F: "yyyy'年'M'月'd'日' tt hh:mm:ss", - M: "M'月'd'日'", - Y: "yyyy'年'M'月'" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.zh.js b/web/Scripts/globalize/cultures/globalize.culture.zh.js deleted file mode 100644 index b828385f..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.zh.js +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Globalize Culture zh - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "zh", "default", { - name: "zh", - englishName: "Chinese", - nativeName: "中文", - language: "zh", - numberFormat: { - "NaN": "非数字", - negativeInfinity: "负无穷大", - positiveInfinity: "正无穷大", - percent: { - pattern: ["-n%","n%"] - }, - currency: { - pattern: ["$-n","$n"], - symbol: "¥" - } - }, - calendars: { - standard: { - days: { - names: ["星期日","星期一","星期二","星期三","星期四","星期五","星期六"], - namesAbbr: ["周日","周一","周二","周三","周四","周五","周六"], - namesShort: ["日","一","二","三","四","五","六"] - }, - months: { - names: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""], - namesAbbr: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""] - }, - AM: ["上午","上午","上午"], - PM: ["下午","下午","下午"], - eras: [{"name":"公元","start":null,"offset":0}], - patterns: { - d: "yyyy/M/d", - D: "yyyy'年'M'月'd'日'", - t: "H:mm", - T: "H:mm:ss", - f: "yyyy'年'M'月'd'日' H:mm", - F: "yyyy'年'M'月'd'日' H:mm:ss", - M: "M'月'd'日'", - Y: "yyyy'年'M'月'" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.zu-ZA.js b/web/Scripts/globalize/cultures/globalize.culture.zu-ZA.js deleted file mode 100644 index ffc89474..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.zu-ZA.js +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Globalize Culture zu-ZA - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "zu-ZA", "default", { - name: "zu-ZA", - englishName: "isiZulu (South Africa)", - nativeName: "isiZulu (iNingizimu Afrika)", - language: "zu", - numberFormat: { - percent: { - pattern: ["-%n","%n"] - }, - currency: { - pattern: ["$-n","$ n"], - symbol: "R" - } - }, - calendars: { - standard: { - days: { - names: ["iSonto","uMsombuluko","uLwesibili","uLwesithathu","uLwesine","uLwesihlanu","uMgqibelo"], - namesAbbr: ["Son.","Mso.","Bi.","Tha.","Ne.","Hla.","Mgq."] - }, - months: { - names: ["uMasingana","uNhlolanja","uNdasa","uMbaso","uNhlaba","uNhlangulana","uNtulikazi","uNcwaba","uMandulo","uMfumfu","uLwezi","uZibandlela",""], - namesAbbr: ["Mas.","Nhlo.","Nda.","Mba.","Nhla.","Nhlang.","Ntu.","Ncwa.","Man.","Mfu.","Lwe.","Zib.",""] - }, - patterns: { - d: "yyyy/MM/dd", - D: "dd MMMM yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd MMMM yyyy hh:mm tt", - F: "dd MMMM yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.culture.zu.js b/web/Scripts/globalize/cultures/globalize.culture.zu.js deleted file mode 100644 index d1fbcc1a..00000000 --- a/web/Scripts/globalize/cultures/globalize.culture.zu.js +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Globalize Culture zu - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "zu", "default", { - name: "zu", - englishName: "isiZulu", - nativeName: "isiZulu", - language: "zu", - numberFormat: { - percent: { - pattern: ["-%n","%n"] - }, - currency: { - pattern: ["$-n","$ n"], - symbol: "R" - } - }, - calendars: { - standard: { - days: { - names: ["iSonto","uMsombuluko","uLwesibili","uLwesithathu","uLwesine","uLwesihlanu","uMgqibelo"], - namesAbbr: ["Son.","Mso.","Bi.","Tha.","Ne.","Hla.","Mgq."] - }, - months: { - names: ["uMasingana","uNhlolanja","uNdasa","uMbaso","uNhlaba","uNhlangulana","uNtulikazi","uNcwaba","uMandulo","uMfumfu","uLwezi","uZibandlela",""], - namesAbbr: ["Mas.","Nhlo.","Nda.","Mba.","Nhla.","Nhlang.","Ntu.","Ncwa.","Man.","Mfu.","Lwe.","Zib.",""] - }, - patterns: { - d: "yyyy/MM/dd", - D: "dd MMMM yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd MMMM yyyy hh:mm tt", - F: "dd MMMM yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/cultures/globalize.cultures.js b/web/Scripts/globalize/cultures/globalize.cultures.js deleted file mode 100644 index cfc03f64..00000000 --- a/web/Scripts/globalize/cultures/globalize.cultures.js +++ /dev/null @@ -1,24063 +0,0 @@ -/* - * Globalize Cultures - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * This file was generated by the Globalize Culture Generator - * Translation: bugs found in this file need to be fixed in the generator - */ - -(function( window, undefined ) { - -var Globalize; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - Globalize = require( "globalize" ); -} else { - // Global variable - Globalize = window.Globalize; -} - -Globalize.addCultureInfo( "ar", "default", { - name: "ar", - englishName: "Arabic", - nativeName: "العربية", - language: "ar", - isRTL: true, - numberFormat: { - pattern: ["n-"], - "NaN": "ليس برقم", - negativeInfinity: "-لا نهاية", - positiveInfinity: "+لا نهاية", - currency: { - pattern: ["$n-","$ n"], - symbol: "ر.س.\u200f" - } - }, - calendars: { - standard: { - name: "UmAlQura", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MMMM/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd/MMMM/yyyy hh:mm tt", - F: "dd/MMMM/yyyy hh:mm:ss tt", - M: "dd MMMM" - }, - convert: { - _yearInfo: [ - // MonthLengthFlags, Gregorian Date - [746, -2198707200000], - [1769, -2168121600000], - [3794, -2137449600000], - [3748, -2106777600000], - [3402, -2076192000000], - [2710, -2045606400000], - [1334, -2015020800000], - [2741, -1984435200000], - [3498, -1953763200000], - [2980, -1923091200000], - [2889, -1892505600000], - [2707, -1861920000000], - [1323, -1831334400000], - [2647, -1800748800000], - [1206, -1770076800000], - [2741, -1739491200000], - [1450, -1708819200000], - [3413, -1678233600000], - [3370, -1647561600000], - [2646, -1616976000000], - [1198, -1586390400000], - [2397, -1555804800000], - [748, -1525132800000], - [1749, -1494547200000], - [1706, -1463875200000], - [1365, -1433289600000], - [1195, -1402704000000], - [2395, -1372118400000], - [698, -1341446400000], - [1397, -1310860800000], - [2994, -1280188800000], - [1892, -1249516800000], - [1865, -1218931200000], - [1621, -1188345600000], - [683, -1157760000000], - [1371, -1127174400000], - [2778, -1096502400000], - [1748, -1065830400000], - [3785, -1035244800000], - [3474, -1004572800000], - [3365, -973987200000], - [2637, -943401600000], - [685, -912816000000], - [1389, -882230400000], - [2922, -851558400000], - [2898, -820886400000], - [2725, -790300800000], - [2635, -759715200000], - [1175, -729129600000], - [2359, -698544000000], - [694, -667872000000], - [1397, -637286400000], - [3434, -606614400000], - [3410, -575942400000], - [2710, -545356800000], - [2349, -514771200000], - [605, -484185600000], - [1245, -453600000000], - [2778, -422928000000], - [1492, -392256000000], - [3497, -361670400000], - [3410, -330998400000], - [2730, -300412800000], - [1238, -269827200000], - [2486, -239241600000], - [884, -208569600000], - [1897, -177984000000], - [1874, -147312000000], - [1701, -116726400000], - [1355, -86140800000], - [2731, -55555200000], - [1370, -24883200000], - [2773, 5702400000], - [3538, 36374400000], - [3492, 67046400000], - [3401, 97632000000], - [2709, 128217600000], - [1325, 158803200000], - [2653, 189388800000], - [1370, 220060800000], - [2773, 250646400000], - [1706, 281318400000], - [1685, 311904000000], - [1323, 342489600000], - [2647, 373075200000], - [1198, 403747200000], - [2422, 434332800000], - [1388, 465004800000], - [2901, 495590400000], - [2730, 526262400000], - [2645, 556848000000], - [1197, 587433600000], - [2397, 618019200000], - [730, 648691200000], - [1497, 679276800000], - [3506, 709948800000], - [2980, 740620800000], - [2890, 771206400000], - [2645, 801792000000], - [693, 832377600000], - [1397, 862963200000], - [2922, 893635200000], - [3026, 924307200000], - [3012, 954979200000], - [2953, 985564800000], - [2709, 1016150400000], - [1325, 1046736000000], - [1453, 1077321600000], - [2922, 1107993600000], - [1748, 1138665600000], - [3529, 1169251200000], - [3474, 1199923200000], - [2726, 1230508800000], - [2390, 1261094400000], - [686, 1291680000000], - [1389, 1322265600000], - [874, 1352937600000], - [2901, 1383523200000], - [2730, 1414195200000], - [2381, 1444780800000], - [1181, 1475366400000], - [2397, 1505952000000], - [698, 1536624000000], - [1461, 1567209600000], - [1450, 1597881600000], - [3413, 1628467200000], - [2714, 1659139200000], - [2350, 1689724800000], - [622, 1720310400000], - [1373, 1750896000000], - [2778, 1781568000000], - [1748, 1812240000000], - [1701, 1842825600000], - [0, 1873411200000] - ], - minDate: -2198707200000, - maxDate: 1873411199999, - toGregorian: function(hyear, hmonth, hday) { - var days = hday - 1, - gyear = hyear - 1318; - if (gyear < 0 || gyear >= this._yearInfo.length) return null; - var info = this._yearInfo[gyear], - gdate = new Date(info[1]), - monthLength = info[0]; - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the gregorian date in the same timezone, - // not what the gregorian date was at GMT time, so we adjust for the offset. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - for (var i = 0; i < hmonth; i++) { - days += 29 + (monthLength & 1); - monthLength = monthLength >> 1; - } - gdate.setDate(gdate.getDate() + days); - return gdate; - }, - fromGregorian: function(gdate) { - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the hijri date in the same timezone, - // not what the hijri date was at GMT time, so we adjust for the offset. - var ticks = gdate - gdate.getTimezoneOffset() * 60000; - if (ticks < this.minDate || ticks > this.maxDate) return null; - var hyear = 0, - hmonth = 1; - // find the earliest gregorian date in the array that is greater than or equal to the given date - while (ticks > this._yearInfo[++hyear][1]) { } - if (ticks !== this._yearInfo[hyear][1]) { - hyear--; - } - var info = this._yearInfo[hyear], - // how many days has it been since the date we found in the array? - // 86400000 = ticks per day - days = Math.floor((ticks - info[1]) / 86400000), - monthLength = info[0]; - hyear += 1318; // the Nth array entry corresponds to hijri year 1318+N - // now increment day/month based on the total days, considering - // how many days are in each month. We cannot run past the year - // mark since we would have found a different array entry in that case. - var daysInMonth = 29 + (monthLength & 1); - while (days >= daysInMonth) { - days -= daysInMonth; - monthLength = monthLength >> 1; - daysInMonth = 29 + (monthLength & 1); - hmonth++; - } - // remaining days is less than is in one month, thus is the day of the month we landed on - // hmonth-1 because in javascript months are zero based, stay consistent with that. - return [hyear, hmonth - 1, days + 1]; - } - } - }, - Hijri: { - name: "Hijri", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MM/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd/MM/yyyy hh:mm tt", - F: "dd/MM/yyyy hh:mm:ss tt", - M: "dd MMMM" - }, - convert: { - // Adapted to Script from System.Globalization.HijriCalendar - ticks1970: 62135596800000, - // number of days leading up to each month - monthDays: [0, 30, 59, 89, 118, 148, 177, 207, 236, 266, 295, 325, 355], - minDate: -42521673600000, - maxDate: 253402300799999, - // The number of days to add or subtract from the calendar to accommodate the variances - // in the start and the end of Ramadan and to accommodate the date difference between - // countries/regions. May be dynamically adjusted based on user preference, but should - // remain in the range of -2 to 2, inclusive. - hijriAdjustment: 0, - toGregorian: function(hyear, hmonth, hday) { - var daysSinceJan0101 = this.daysToYear(hyear) + this.monthDays[hmonth] + hday - 1 - this.hijriAdjustment; - // 86400000 = ticks per day - var gdate = new Date(daysSinceJan0101 * 86400000 - this.ticks1970); - // adjust for timezone, because we are interested in the gregorian date for the same timezone - // but ticks in javascript is always from GMT, unlike the server were ticks counts from the base - // date in the current timezone. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - return gdate; - }, - fromGregorian: function(gdate) { - if ((gdate < this.minDate) || (gdate > this.maxDate)) return null; - var ticks = this.ticks1970 + (gdate-0) - gdate.getTimezoneOffset() * 60000, - daysSinceJan0101 = Math.floor(ticks / 86400000) + 1 + this.hijriAdjustment; - // very particular formula determined by someone smart, adapted from the server-side implementation. - // it approximates the hijri year. - var hday, hmonth, hyear = Math.floor(((daysSinceJan0101 - 227013) * 30) / 10631) + 1, - absDays = this.daysToYear(hyear), - daysInYear = this.isLeapYear(hyear) ? 355 : 354; - // hyear is just approximate, it may need adjustment up or down by 1. - if (daysSinceJan0101 < absDays) { - hyear--; - absDays -= daysInYear; - } - else if (daysSinceJan0101 === absDays) { - hyear--; - absDays = this.daysToYear(hyear); - } - else { - if (daysSinceJan0101 > (absDays + daysInYear)) { - absDays += daysInYear; - hyear++; - } - } - // determine month by looking at how many days into the hyear we are - // monthDays contains the number of days up to each month. - hmonth = 0; - var daysIntoYear = daysSinceJan0101 - absDays; - while (hmonth <= 11 && daysIntoYear > this.monthDays[hmonth]) { - hmonth++; - } - hmonth--; - hday = daysIntoYear - this.monthDays[hmonth]; - return [hyear, hmonth, hday]; - }, - daysToYear: function(year) { - // calculates how many days since Jan 1, 0001 - var yearsToYear30 = Math.floor((year - 1) / 30) * 30, - yearsInto30 = year - yearsToYear30 - 1, - days = Math.floor((yearsToYear30 * 10631) / 30) + 227013; - while (yearsInto30 > 0) { - days += (this.isLeapYear(yearsInto30) ? 355 : 354); - yearsInto30--; - } - return days; - }, - isLeapYear: function(year) { - return ((((year * 11) + 14) % 30) < 11); - } - } - }, - Gregorian_MiddleEastFrench: { - name: "Gregorian_MiddleEastFrench", - firstDay: 6, - days: { - names: ["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"], - namesAbbr: ["dim.","lun.","mar.","mer.","jeu.","ven.","sam."], - namesShort: ["di","lu","ma","me","je","ve","sa"] - }, - months: { - names: ["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""], - namesAbbr: ["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"ap. J.-C.","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt", - M: "dd MMMM" - } - }, - Gregorian_Arabic: { - name: "Gregorian_Arabic", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""], - namesAbbr: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - }, - Gregorian_Localized: { - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM, yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd MMMM, yyyy hh:mm tt", - F: "dd MMMM, yyyy hh:mm:ss tt", - M: "dd MMMM" - } - }, - Gregorian_TransliteratedFrench: { - name: "Gregorian_TransliteratedFrench", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - } - } -}); - -Globalize.addCultureInfo( "bg", "default", { - name: "bg", - englishName: "Bulgarian", - nativeName: "български", - language: "bg", - numberFormat: { - ",": " ", - ".": ",", - negativeInfinity: "- безкрайност", - positiveInfinity: "+ безкрайност", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "лв." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["неделя","понеделник","вторник","сряда","четвъртък","петък","събота"], - namesAbbr: ["нед","пон","вт","ср","четв","пет","съб"], - namesShort: ["н","п","в","с","ч","п","с"] - }, - months: { - names: ["януари","февруари","март","април","май","юни","юли","август","септември","октомври","ноември","декември",""], - namesAbbr: ["ян","февр","март","апр","май","юни","юли","авг","септ","окт","ноември","дек",""] - }, - AM: null, - PM: null, - eras: [{"name":"след новата ера","start":null,"offset":0}], - patterns: { - d: "d.M.yyyy 'г.'", - D: "dd MMMM yyyy 'г.'", - t: "HH:mm 'ч.'", - T: "HH:mm:ss 'ч.'", - f: "dd MMMM yyyy 'г.' HH:mm 'ч.'", - F: "dd MMMM yyyy 'г.' HH:mm:ss 'ч.'", - M: "dd MMMM", - Y: "MMMM yyyy 'г.'" - } - } - } -}); - -Globalize.addCultureInfo( "ca", "default", { - name: "ca", - englishName: "Catalan", - nativeName: "català", - language: "ca", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "NeuN", - negativeInfinity: "-Infinit", - positiveInfinity: "Infinit", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["diumenge","dilluns","dimarts","dimecres","dijous","divendres","dissabte"], - namesAbbr: ["dg.","dl.","dt.","dc.","dj.","dv.","ds."], - namesShort: ["dg","dl","dt","dc","dj","dv","ds"] - }, - months: { - names: ["gener","febrer","març","abril","maig","juny","juliol","agost","setembre","octubre","novembre","desembre",""], - namesAbbr: ["gen","feb","març","abr","maig","juny","jul","ag","set","oct","nov","des",""] - }, - AM: null, - PM: null, - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, d' / 'MMMM' / 'yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd, d' / 'MMMM' / 'yyyy HH:mm", - F: "dddd, d' / 'MMMM' / 'yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM' / 'yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "zh-Hans", "default", { - name: "zh-Hans", - englishName: "Chinese (Simplified)", - nativeName: "中文(简体)", - language: "zh-Hans", - numberFormat: { - "NaN": "非数字", - negativeInfinity: "负无穷大", - positiveInfinity: "正无穷大", - percent: { - pattern: ["-n%","n%"] - }, - currency: { - pattern: ["$-n","$n"], - symbol: "¥" - } - }, - calendars: { - standard: { - days: { - names: ["星期日","星期一","星期二","星期三","星期四","星期五","星期六"], - namesAbbr: ["周日","周一","周二","周三","周四","周五","周六"], - namesShort: ["日","一","二","三","四","五","六"] - }, - months: { - names: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""], - namesAbbr: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""] - }, - AM: ["上午","上午","上午"], - PM: ["下午","下午","下午"], - eras: [{"name":"公元","start":null,"offset":0}], - patterns: { - d: "yyyy/M/d", - D: "yyyy'年'M'月'd'日'", - t: "H:mm", - T: "H:mm:ss", - f: "yyyy'年'M'月'd'日' H:mm", - F: "yyyy'年'M'月'd'日' H:mm:ss", - M: "M'月'd'日'", - Y: "yyyy'年'M'月'" - } - } - } -}); - -Globalize.addCultureInfo( "cs", "default", { - name: "cs", - englishName: "Czech", - nativeName: "čeština", - language: "cs", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "Není číslo", - negativeInfinity: "-nekonečno", - positiveInfinity: "+nekonečno", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "Kč" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["neděle","pondělí","úterý","středa","čtvrtek","pátek","sobota"], - namesAbbr: ["ne","po","út","st","čt","pá","so"], - namesShort: ["ne","po","út","st","čt","pá","so"] - }, - months: { - names: ["leden","únor","březen","duben","květen","červen","červenec","srpen","září","říjen","listopad","prosinec",""], - namesAbbr: ["1","2","3","4","5","6","7","8","9","10","11","12",""] - }, - monthsGenitive: { - names: ["ledna","února","března","dubna","května","června","července","srpna","září","října","listopadu","prosince",""], - namesAbbr: ["1","2","3","4","5","6","7","8","9","10","11","12",""] - }, - AM: ["dop.","dop.","DOP."], - PM: ["odp.","odp.","ODP."], - eras: [{"name":"n. l.","start":null,"offset":0}], - patterns: { - d: "d.M.yyyy", - D: "d. MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM yyyy H:mm", - F: "d. MMMM yyyy H:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "da", "default", { - name: "da", - englishName: "Danish", - nativeName: "dansk", - language: "da", - numberFormat: { - ",": ".", - ".": ",", - negativeInfinity: "-INF", - positiveInfinity: "INF", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["$ -n","$ n"], - ",": ".", - ".": ",", - symbol: "kr." - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"], - namesAbbr: ["sø","ma","ti","on","to","fr","lø"], - namesShort: ["sø","ma","ti","on","to","fr","lø"] - }, - months: { - names: ["januar","februar","marts","april","maj","juni","juli","august","september","oktober","november","december",""], - namesAbbr: ["jan","feb","mar","apr","maj","jun","jul","aug","sep","okt","nov","dec",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd-MM-yyyy", - D: "d. MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "d. MMMM yyyy HH:mm", - F: "d. MMMM yyyy HH:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "de", "default", { - name: "de", - englishName: "German", - nativeName: "Deutsch", - language: "de", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "n. def.", - negativeInfinity: "-unendlich", - positiveInfinity: "+unendlich", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"], - namesAbbr: ["So","Mo","Di","Mi","Do","Fr","Sa"], - namesShort: ["So","Mo","Di","Mi","Do","Fr","Sa"] - }, - months: { - names: ["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember",""], - namesAbbr: ["Jan","Feb","Mrz","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez",""] - }, - AM: null, - PM: null, - eras: [{"name":"n. Chr.","start":null,"offset":0}], - patterns: { - d: "dd.MM.yyyy", - D: "dddd, d. MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd, d. MMMM yyyy HH:mm", - F: "dddd, d. MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "el", "default", { - name: "el", - englishName: "Greek", - nativeName: "Ελληνικά", - language: "el", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "μη αριθμός", - negativeInfinity: "-Άπειρο", - positiveInfinity: "Άπειρο", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["Κυριακή","Δευτέρα","Τρίτη","Τετάρτη","Πέμπτη","Παρασκευή","Σάββατο"], - namesAbbr: ["Κυρ","Δευ","Τρι","Τετ","Πεμ","Παρ","Σαβ"], - namesShort: ["Κυ","Δε","Τρ","Τε","Πε","Πα","Σά"] - }, - months: { - names: ["Ιανουάριος","Φεβρουάριος","Μάρτιος","Απρίλιος","Μάιος","Ιούνιος","Ιούλιος","Αύγουστος","Σεπτέμβριος","Οκτώβριος","Νοέμβριος","Δεκέμβριος",""], - namesAbbr: ["Ιαν","Φεβ","Μαρ","Απρ","Μαϊ","Ιουν","Ιουλ","Αυγ","Σεπ","Οκτ","Νοε","Δεκ",""] - }, - monthsGenitive: { - names: ["Ιανουαρίου","Φεβρουαρίου","Μαρτίου","Απριλίου","Μαΐου","Ιουνίου","Ιουλίου","Αυγούστου","Σεπτεμβρίου","Οκτωβρίου","Νοεμβρίου","Δεκεμβρίου",""], - namesAbbr: ["Ιαν","Φεβ","Μαρ","Απρ","Μαϊ","Ιουν","Ιουλ","Αυγ","Σεπ","Οκτ","Νοε","Δεκ",""] - }, - AM: ["πμ","πμ","ΠΜ"], - PM: ["μμ","μμ","ΜΜ"], - eras: [{"name":"μ.Χ.","start":null,"offset":0}], - patterns: { - d: "d/M/yyyy", - D: "dddd, d MMMM yyyy", - f: "dddd, d MMMM yyyy h:mm tt", - F: "dddd, d MMMM yyyy h:mm:ss tt", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "es", "default", { - name: "es", - englishName: "Spanish", - nativeName: "español", - language: "es", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "NeuN", - negativeInfinity: "-Infinito", - positiveInfinity: "Infinito", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["domingo","lunes","martes","miércoles","jueves","viernes","sábado"], - namesAbbr: ["dom","lun","mar","mié","jue","vie","sáb"], - namesShort: ["do","lu","ma","mi","ju","vi","sá"] - }, - months: { - names: ["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""], - namesAbbr: ["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""] - }, - AM: null, - PM: null, - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dddd, dd' de 'MMMM' de 'yyyy H:mm", - F: "dddd, dd' de 'MMMM' de 'yyyy H:mm:ss", - M: "dd MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "fi", "default", { - name: "fi", - englishName: "Finnish", - nativeName: "suomi", - language: "fi", - numberFormat: { - ",": " ", - ".": ",", - negativeInfinity: "-INF", - positiveInfinity: "INF", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["sunnuntai","maanantai","tiistai","keskiviikko","torstai","perjantai","lauantai"], - namesAbbr: ["su","ma","ti","ke","to","pe","la"], - namesShort: ["su","ma","ti","ke","to","pe","la"] - }, - months: { - names: ["tammikuu","helmikuu","maaliskuu","huhtikuu","toukokuu","kesäkuu","heinäkuu","elokuu","syyskuu","lokakuu","marraskuu","joulukuu",""], - namesAbbr: ["tammi","helmi","maalis","huhti","touko","kesä","heinä","elo","syys","loka","marras","joulu",""] - }, - AM: null, - PM: null, - patterns: { - d: "d.M.yyyy", - D: "d. MMMM'ta 'yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM'ta 'yyyy H:mm", - F: "d. MMMM'ta 'yyyy H:mm:ss", - M: "d. MMMM'ta'", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "fr", "default", { - name: "fr", - englishName: "French", - nativeName: "français", - language: "fr", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "Non Numérique", - negativeInfinity: "-Infini", - positiveInfinity: "+Infini", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"], - namesAbbr: ["dim.","lun.","mar.","mer.","jeu.","ven.","sam."], - namesShort: ["di","lu","ma","me","je","ve","sa"] - }, - months: { - names: ["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""], - namesAbbr: ["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""] - }, - AM: null, - PM: null, - eras: [{"name":"ap. J.-C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd d MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd d MMMM yyyy HH:mm", - F: "dddd d MMMM yyyy HH:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "he", "default", { - name: "he", - englishName: "Hebrew", - nativeName: "עברית", - language: "he", - isRTL: true, - numberFormat: { - "NaN": "לא מספר", - negativeInfinity: "אינסוף שלילי", - positiveInfinity: "אינסוף חיובי", - percent: { - pattern: ["-n%","n%"] - }, - currency: { - pattern: ["$-n","$ n"], - symbol: "₪" - } - }, - calendars: { - standard: { - days: { - names: ["יום ראשון","יום שני","יום שלישי","יום רביעי","יום חמישי","יום שישי","שבת"], - namesAbbr: ["יום א","יום ב","יום ג","יום ד","יום ה","יום ו","שבת"], - namesShort: ["א","ב","ג","ד","ה","ו","ש"] - }, - months: { - names: ["ינואר","פברואר","מרץ","אפריל","מאי","יוני","יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר",""], - namesAbbr: ["ינו","פבר","מרץ","אפר","מאי","יונ","יול","אוג","ספט","אוק","נוב","דצמ",""] - }, - eras: [{"name":"לספירה","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd dd MMMM yyyy HH:mm", - F: "dddd dd MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - }, - Hebrew: { - name: "Hebrew", - "/": " ", - days: { - names: ["יום ראשון","יום שני","יום שלישי","יום רביעי","יום חמישי","יום שישי","שבת"], - namesAbbr: ["א","ב","ג","ד","ה","ו","ש"], - namesShort: ["א","ב","ג","ד","ה","ו","ש"] - }, - months: { - names: ["תשרי","חשון","כסלו","טבת","שבט","אדר","אדר ב","ניסן","אייר","סיון","תמוז","אב","אלול"], - namesAbbr: ["תשרי","חשון","כסלו","טבת","שבט","אדר","אדר ב","ניסן","אייר","סיון","תמוז","אב","אלול"] - }, - eras: [{"name":"C.E.","start":null,"offset":0}], - twoDigitYearMax: 5790, - patterns: { - d: "dd MMMM yyyy", - D: "dddd dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd dd MMMM yyyy HH:mm", - F: "dddd dd MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "hu", "default", { - name: "hu", - englishName: "Hungarian", - nativeName: "magyar", - language: "hu", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "nem szám", - negativeInfinity: "negatív végtelen", - positiveInfinity: "végtelen", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "Ft" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["vasárnap","hétfő","kedd","szerda","csütörtök","péntek","szombat"], - namesAbbr: ["V","H","K","Sze","Cs","P","Szo"], - namesShort: ["V","H","K","Sze","Cs","P","Szo"] - }, - months: { - names: ["január","február","március","április","május","június","július","augusztus","szeptember","október","november","december",""], - namesAbbr: ["jan.","febr.","márc.","ápr.","máj.","jún.","júl.","aug.","szept.","okt.","nov.","dec.",""] - }, - AM: ["de.","de.","DE."], - PM: ["du.","du.","DU."], - eras: [{"name":"i.sz.","start":null,"offset":0}], - patterns: { - d: "yyyy.MM.dd.", - D: "yyyy. MMMM d.", - t: "H:mm", - T: "H:mm:ss", - f: "yyyy. MMMM d. H:mm", - F: "yyyy. MMMM d. H:mm:ss", - M: "MMMM d.", - Y: "yyyy. MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "is", "default", { - name: "is", - englishName: "Icelandic", - nativeName: "íslenska", - language: "is", - numberFormat: { - ",": ".", - ".": ",", - negativeInfinity: "-INF", - positiveInfinity: "INF", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - decimals: 0, - ",": ".", - ".": ",", - symbol: "kr." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["sunnudagur","mánudagur","þriðjudagur","miðvikudagur","fimmtudagur","föstudagur","laugardagur"], - namesAbbr: ["sun.","mán.","þri.","mið.","fim.","fös.","lau."], - namesShort: ["su","má","þr","mi","fi","fö","la"] - }, - months: { - names: ["janúar","febrúar","mars","apríl","maí","júní","júlí","ágúst","september","október","nóvember","desember",""], - namesAbbr: ["jan.","feb.","mar.","apr.","maí","jún.","júl.","ágú.","sep.","okt.","nóv.","des.",""] - }, - AM: null, - PM: null, - patterns: { - d: "d.M.yyyy", - D: "d. MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "d. MMMM yyyy HH:mm", - F: "d. MMMM yyyy HH:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "it", "default", { - name: "it", - englishName: "Italian", - nativeName: "italiano", - language: "it", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "Non un numero reale", - negativeInfinity: "-Infinito", - positiveInfinity: "+Infinito", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-$ n","$ n"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"], - namesAbbr: ["dom","lun","mar","mer","gio","ven","sab"], - namesShort: ["do","lu","ma","me","gi","ve","sa"] - }, - months: { - names: ["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre",""], - namesAbbr: ["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic",""] - }, - AM: null, - PM: null, - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd d MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd d MMMM yyyy HH:mm", - F: "dddd d MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "ja", "default", { - name: "ja", - englishName: "Japanese", - nativeName: "日本語", - language: "ja", - numberFormat: { - "NaN": "NaN (非数値)", - negativeInfinity: "-∞", - positiveInfinity: "+∞", - percent: { - pattern: ["-n%","n%"] - }, - currency: { - pattern: ["-$n","$n"], - decimals: 0, - symbol: "¥" - } - }, - calendars: { - standard: { - days: { - names: ["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"], - namesAbbr: ["日","月","火","水","木","金","土"], - namesShort: ["日","月","火","水","木","金","土"] - }, - months: { - names: ["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月",""], - namesAbbr: ["1","2","3","4","5","6","7","8","9","10","11","12",""] - }, - AM: ["午前","午前","午前"], - PM: ["午後","午後","午後"], - eras: [{"name":"西暦","start":null,"offset":0}], - patterns: { - d: "yyyy/MM/dd", - D: "yyyy'年'M'月'd'日'", - t: "H:mm", - T: "H:mm:ss", - f: "yyyy'年'M'月'd'日' H:mm", - F: "yyyy'年'M'月'd'日' H:mm:ss", - M: "M'月'd'日'", - Y: "yyyy'年'M'月'" - } - }, - Japanese: { - name: "Japanese", - days: { - names: ["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"], - namesAbbr: ["日","月","火","水","木","金","土"], - namesShort: ["日","月","火","水","木","金","土"] - }, - months: { - names: ["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月",""], - namesAbbr: ["1","2","3","4","5","6","7","8","9","10","11","12",""] - }, - AM: ["午前","午前","午前"], - PM: ["午後","午後","午後"], - eras: [{"name":"平成","start":null,"offset":1867},{"name":"昭和","start":-1812153600000,"offset":1911},{"name":"大正","start":-1357603200000,"offset":1925},{"name":"明治","start":60022080000,"offset":1988}], - twoDigitYearMax: 99, - patterns: { - d: "gg y/M/d", - D: "gg y'年'M'月'd'日'", - t: "H:mm", - T: "H:mm:ss", - f: "gg y'年'M'月'd'日' H:mm", - F: "gg y'年'M'月'd'日' H:mm:ss", - M: "M'月'd'日'", - Y: "gg y'年'M'月'" - } - } - } -}); - -Globalize.addCultureInfo( "ko", "default", { - name: "ko", - englishName: "Korean", - nativeName: "한국어", - language: "ko", - numberFormat: { - currency: { - pattern: ["-$n","$n"], - decimals: 0, - symbol: "₩" - } - }, - calendars: { - standard: { - "/": "-", - days: { - names: ["일요일","월요일","화요일","수요일","목요일","금요일","토요일"], - namesAbbr: ["일","월","화","수","목","금","토"], - namesShort: ["일","월","화","수","목","금","토"] - }, - months: { - names: ["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월",""], - namesAbbr: ["1","2","3","4","5","6","7","8","9","10","11","12",""] - }, - AM: ["오전","오전","오전"], - PM: ["오후","오후","오후"], - eras: [{"name":"서기","start":null,"offset":0}], - patterns: { - d: "yyyy-MM-dd", - D: "yyyy'년' M'월' d'일' dddd", - t: "tt h:mm", - T: "tt h:mm:ss", - f: "yyyy'년' M'월' d'일' dddd tt h:mm", - F: "yyyy'년' M'월' d'일' dddd tt h:mm:ss", - M: "M'월' d'일'", - Y: "yyyy'년' M'월'" - } - }, - Korean: { - name: "Korean", - "/": "-", - days: { - names: ["일요일","월요일","화요일","수요일","목요일","금요일","토요일"], - namesAbbr: ["일","월","화","수","목","금","토"], - namesShort: ["일","월","화","수","목","금","토"] - }, - months: { - names: ["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월",""], - namesAbbr: ["1","2","3","4","5","6","7","8","9","10","11","12",""] - }, - AM: ["오전","오전","오전"], - PM: ["오후","오후","오후"], - eras: [{"name":"단기","start":null,"offset":-2333}], - twoDigitYearMax: 4362, - patterns: { - d: "gg yyyy-MM-dd", - D: "gg yyyy'년' M'월' d'일' dddd", - t: "tt h:mm", - T: "tt h:mm:ss", - f: "gg yyyy'년' M'월' d'일' dddd tt h:mm", - F: "gg yyyy'년' M'월' d'일' dddd tt h:mm:ss", - M: "M'월' d'일'", - Y: "gg yyyy'년' M'월'" - } - } - } -}); - -Globalize.addCultureInfo( "nl", "default", { - name: "nl", - englishName: "Dutch", - nativeName: "Nederlands", - language: "nl", - numberFormat: { - ",": ".", - ".": ",", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["$ -n","$ n"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"], - namesAbbr: ["zo","ma","di","wo","do","vr","za"], - namesShort: ["zo","ma","di","wo","do","vr","za"] - }, - months: { - names: ["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december",""], - namesAbbr: ["jan","feb","mrt","apr","mei","jun","jul","aug","sep","okt","nov","dec",""] - }, - AM: null, - PM: null, - patterns: { - d: "d-M-yyyy", - D: "dddd d MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dddd d MMMM yyyy H:mm", - F: "dddd d MMMM yyyy H:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "no", "default", { - name: "no", - englishName: "Norwegian", - nativeName: "norsk", - language: "no", - numberFormat: { - ",": " ", - ".": ",", - negativeInfinity: "-INF", - positiveInfinity: "INF", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["$ -n","$ n"], - ",": " ", - ".": ",", - symbol: "kr" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"], - namesAbbr: ["sø","ma","ti","on","to","fr","lø"], - namesShort: ["sø","ma","ti","on","to","fr","lø"] - }, - months: { - names: ["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember",""], - namesAbbr: ["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "d. MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "d. MMMM yyyy HH:mm", - F: "d. MMMM yyyy HH:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "pl", "default", { - name: "pl", - englishName: "Polish", - nativeName: "polski", - language: "pl", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "nie jest liczbą", - negativeInfinity: "-nieskończoność", - positiveInfinity: "+nieskończoność", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "zł" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"], - namesAbbr: ["N","Pn","Wt","Śr","Cz","Pt","So"], - namesShort: ["N","Pn","Wt","Śr","Cz","Pt","So"] - }, - months: { - names: ["styczeń","luty","marzec","kwiecień","maj","czerwiec","lipiec","sierpień","wrzesień","październik","listopad","grudzień",""], - namesAbbr: ["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru",""] - }, - monthsGenitive: { - names: ["stycznia","lutego","marca","kwietnia","maja","czerwca","lipca","sierpnia","września","października","listopada","grudnia",""], - namesAbbr: ["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru",""] - }, - AM: null, - PM: null, - patterns: { - d: "yyyy-MM-dd", - D: "d MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "d MMMM yyyy HH:mm", - F: "d MMMM yyyy HH:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "pt", "default", { - name: "pt", - englishName: "Portuguese", - nativeName: "Português", - language: "pt", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "NaN (Não é um número)", - negativeInfinity: "-Infinito", - positiveInfinity: "+Infinito", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-$ n","$ n"], - ",": ".", - ".": ",", - symbol: "R$" - } - }, - calendars: { - standard: { - days: { - names: ["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"], - namesAbbr: ["dom","seg","ter","qua","qui","sex","sáb"], - namesShort: ["D","S","T","Q","Q","S","S"] - }, - months: { - names: ["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro",""], - namesAbbr: ["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez",""] - }, - AM: null, - PM: null, - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, d' de 'MMMM' de 'yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd, d' de 'MMMM' de 'yyyy HH:mm", - F: "dddd, d' de 'MMMM' de 'yyyy HH:mm:ss", - M: "dd' de 'MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "rm", "default", { - name: "rm", - englishName: "Romansh", - nativeName: "Rumantsch", - language: "rm", - numberFormat: { - ",": "'", - "NaN": "betg def.", - negativeInfinity: "-infinit", - positiveInfinity: "+infinit", - percent: { - pattern: ["-n%","n%"], - ",": "'" - }, - currency: { - pattern: ["$-n","$ n"], - ",": "'", - symbol: "fr." - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["dumengia","glindesdi","mardi","mesemna","gievgia","venderdi","sonda"], - namesAbbr: ["du","gli","ma","me","gie","ve","so"], - namesShort: ["du","gli","ma","me","gie","ve","so"] - }, - months: { - names: ["schaner","favrer","mars","avrigl","matg","zercladur","fanadur","avust","settember","october","november","december",""], - namesAbbr: ["schan","favr","mars","avr","matg","zercl","fan","avust","sett","oct","nov","dec",""] - }, - AM: null, - PM: null, - eras: [{"name":"s. Cr.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, d MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd, d MMMM yyyy HH:mm", - F: "dddd, d MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "ro", "default", { - name: "ro", - englishName: "Romanian", - nativeName: "română", - language: "ro", - numberFormat: { - ",": ".", - ".": ",", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "lei" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["duminică","luni","marţi","miercuri","joi","vineri","sâmbătă"], - namesAbbr: ["D","L","Ma","Mi","J","V","S"], - namesShort: ["D","L","Ma","Mi","J","V","S"] - }, - months: { - names: ["ianuarie","februarie","martie","aprilie","mai","iunie","iulie","august","septembrie","octombrie","noiembrie","decembrie",""], - namesAbbr: ["ian.","feb.","mar.","apr.","mai.","iun.","iul.","aug.","sep.","oct.","nov.","dec.",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "d MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "d MMMM yyyy HH:mm", - F: "d MMMM yyyy HH:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "ru", "default", { - name: "ru", - englishName: "Russian", - nativeName: "русский", - language: "ru", - numberFormat: { - ",": " ", - ".": ",", - negativeInfinity: "-бесконечность", - positiveInfinity: "бесконечность", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n$","n$"], - ",": " ", - ".": ",", - symbol: "р." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"], - namesAbbr: ["Вс","Пн","Вт","Ср","Чт","Пт","Сб"], - namesShort: ["Вс","Пн","Вт","Ср","Чт","Пт","Сб"] - }, - months: { - names: ["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь",""], - namesAbbr: ["янв","фев","мар","апр","май","июн","июл","авг","сен","окт","ноя","дек",""] - }, - monthsGenitive: { - names: ["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря",""], - namesAbbr: ["янв","фев","мар","апр","май","июн","июл","авг","сен","окт","ноя","дек",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "d MMMM yyyy 'г.'", - t: "H:mm", - T: "H:mm:ss", - f: "d MMMM yyyy 'г.' H:mm", - F: "d MMMM yyyy 'г.' H:mm:ss", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "hr", "default", { - name: "hr", - englishName: "Croatian", - nativeName: "hrvatski", - language: "hr", - numberFormat: { - pattern: ["- n"], - ",": ".", - ".": ",", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "kn" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["nedjelja","ponedjeljak","utorak","srijeda","četvrtak","petak","subota"], - namesAbbr: ["ned","pon","uto","sri","čet","pet","sub"], - namesShort: ["ne","po","ut","sr","če","pe","su"] - }, - months: { - names: ["siječanj","veljača","ožujak","travanj","svibanj","lipanj","srpanj","kolovoz","rujan","listopad","studeni","prosinac",""], - namesAbbr: ["sij","vlj","ožu","tra","svi","lip","srp","kol","ruj","lis","stu","pro",""] - }, - monthsGenitive: { - names: ["siječnja","veljače","ožujka","travnja","svibnja","lipnja","srpnja","kolovoza","rujna","listopada","studenog","prosinca",""], - namesAbbr: ["sij","vlj","ožu","tra","svi","lip","srp","kol","ruj","lis","stu","pro",""] - }, - AM: null, - PM: null, - patterns: { - d: "d.M.yyyy.", - D: "d. MMMM yyyy.", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM yyyy. H:mm", - F: "d. MMMM yyyy. H:mm:ss", - M: "d. MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "sk", "default", { - name: "sk", - englishName: "Slovak", - nativeName: "slovenčina", - language: "sk", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "Nie je číslo", - negativeInfinity: "-nekonečno", - positiveInfinity: "+nekonečno", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - "/": ". ", - firstDay: 1, - days: { - names: ["nedeľa","pondelok","utorok","streda","štvrtok","piatok","sobota"], - namesAbbr: ["ne","po","ut","st","št","pi","so"], - namesShort: ["ne","po","ut","st","št","pi","so"] - }, - months: { - names: ["január","február","marec","apríl","máj","jún","júl","august","september","október","november","december",""], - namesAbbr: ["1","2","3","4","5","6","7","8","9","10","11","12",""] - }, - monthsGenitive: { - names: ["januára","februára","marca","apríla","mája","júna","júla","augusta","septembra","októbra","novembra","decembra",""], - namesAbbr: ["1","2","3","4","5","6","7","8","9","10","11","12",""] - }, - AM: null, - PM: null, - eras: [{"name":"n. l.","start":null,"offset":0}], - patterns: { - d: "d. M. yyyy", - D: "d. MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM yyyy H:mm", - F: "d. MMMM yyyy H:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "sq", "default", { - name: "sq", - englishName: "Albanian", - nativeName: "shqipe", - language: "sq", - numberFormat: { - ",": ".", - ".": ",", - negativeInfinity: "-infinit", - positiveInfinity: "infinit", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n$","n$"], - ",": ".", - ".": ",", - symbol: "Lek" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["e diel","e hënë","e martë","e mërkurë","e enjte","e premte","e shtunë"], - namesAbbr: ["Die","Hën","Mar","Mër","Enj","Pre","Sht"], - namesShort: ["Di","Hë","Ma","Më","En","Pr","Sh"] - }, - months: { - names: ["janar","shkurt","mars","prill","maj","qershor","korrik","gusht","shtator","tetor","nëntor","dhjetor",""], - namesAbbr: ["Jan","Shk","Mar","Pri","Maj","Qer","Kor","Gsh","Sht","Tet","Nën","Dhj",""] - }, - AM: ["PD","pd","PD"], - PM: ["MD","md","MD"], - patterns: { - d: "yyyy-MM-dd", - D: "yyyy-MM-dd", - t: "h:mm.tt", - T: "h:mm:ss.tt", - f: "yyyy-MM-dd h:mm.tt", - F: "yyyy-MM-dd h:mm:ss.tt", - Y: "yyyy-MM" - } - } - } -}); - -Globalize.addCultureInfo( "sv", "default", { - name: "sv", - englishName: "Swedish", - nativeName: "svenska", - language: "sv", - numberFormat: { - ",": " ", - ".": ",", - negativeInfinity: "-INF", - positiveInfinity: "INF", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "kr" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["söndag","måndag","tisdag","onsdag","torsdag","fredag","lördag"], - namesAbbr: ["sö","må","ti","on","to","fr","lö"], - namesShort: ["sö","må","ti","on","to","fr","lö"] - }, - months: { - names: ["januari","februari","mars","april","maj","juni","juli","augusti","september","oktober","november","december",""], - namesAbbr: ["jan","feb","mar","apr","maj","jun","jul","aug","sep","okt","nov","dec",""] - }, - AM: null, - PM: null, - patterns: { - d: "yyyy-MM-dd", - D: "'den 'd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "'den 'd MMMM yyyy HH:mm", - F: "'den 'd MMMM yyyy HH:mm:ss", - M: "'den 'd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "th", "default", { - name: "th", - englishName: "Thai", - nativeName: "ไทย", - language: "th", - numberFormat: { - currency: { - pattern: ["-$n","$n"], - symbol: "฿" - } - }, - calendars: { - standard: { - name: "ThaiBuddhist", - firstDay: 1, - days: { - names: ["อาทิตย์","จันทร์","อังคาร","พุธ","พฤหัสบดี","ศุกร์","เสาร์"], - namesAbbr: ["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."], - namesShort: ["อ","จ","อ","พ","พ","ศ","ส"] - }, - months: { - names: ["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม",""], - namesAbbr: ["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค.",""] - }, - eras: [{"name":"พ.ศ.","start":null,"offset":-543}], - twoDigitYearMax: 2572, - patterns: { - d: "d/M/yyyy", - D: "d MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d MMMM yyyy H:mm", - F: "d MMMM yyyy H:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - }, - Gregorian_Localized: { - firstDay: 1, - days: { - names: ["อาทิตย์","จันทร์","อังคาร","พุธ","พฤหัสบดี","ศุกร์","เสาร์"], - namesAbbr: ["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."], - namesShort: ["อ","จ","อ","พ","พ","ศ","ส"] - }, - months: { - names: ["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม",""], - namesAbbr: ["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค.",""] - }, - patterns: { - d: "d/M/yyyy", - D: "'วัน'dddd'ที่' d MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "'วัน'dddd'ที่' d MMMM yyyy H:mm", - F: "'วัน'dddd'ที่' d MMMM yyyy H:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "tr", "default", { - name: "tr", - englishName: "Turkish", - nativeName: "Türkçe", - language: "tr", - numberFormat: { - ",": ".", - ".": ",", - percent: { - pattern: ["-%n","%n"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "TL" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"], - namesAbbr: ["Paz","Pzt","Sal","Çar","Per","Cum","Cmt"], - namesShort: ["Pz","Pt","Sa","Ça","Pe","Cu","Ct"] - }, - months: { - names: ["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık",""], - namesAbbr: ["Oca","Şub","Mar","Nis","May","Haz","Tem","Ağu","Eyl","Eki","Kas","Ara",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "dd MMMM yyyy dddd", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd MMMM yyyy dddd HH:mm", - F: "dd MMMM yyyy dddd HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "ur", "default", { - name: "ur", - englishName: "Urdu", - nativeName: "اُردو", - language: "ur", - isRTL: true, - numberFormat: { - currency: { - pattern: ["$n-","$n"], - symbol: "Rs" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["اتوار","پير","منگل","بدھ","جمعرات","جمعه","هفته"], - namesAbbr: ["اتوار","پير","منگل","بدھ","جمعرات","جمعه","هفته"], - namesShort: ["ا","پ","م","ب","ج","ج","ه"] - }, - months: { - names: ["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر",""], - namesAbbr: ["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر",""] - }, - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM, yyyy", - f: "dd MMMM, yyyy h:mm tt", - F: "dd MMMM, yyyy h:mm:ss tt", - M: "dd MMMM" - } - }, - Hijri: { - name: "Hijri", - firstDay: 1, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MM/yyyy", - f: "dd/MM/yyyy h:mm tt", - F: "dd/MM/yyyy h:mm:ss tt", - M: "dd MMMM" - }, - convert: { - // Adapted to Script from System.Globalization.HijriCalendar - ticks1970: 62135596800000, - // number of days leading up to each month - monthDays: [0, 30, 59, 89, 118, 148, 177, 207, 236, 266, 295, 325, 355], - minDate: -42521673600000, - maxDate: 253402300799999, - // The number of days to add or subtract from the calendar to accommodate the variances - // in the start and the end of Ramadan and to accommodate the date difference between - // countries/regions. May be dynamically adjusted based on user preference, but should - // remain in the range of -2 to 2, inclusive. - hijriAdjustment: 0, - toGregorian: function(hyear, hmonth, hday) { - var daysSinceJan0101 = this.daysToYear(hyear) + this.monthDays[hmonth] + hday - 1 - this.hijriAdjustment; - // 86400000 = ticks per day - var gdate = new Date(daysSinceJan0101 * 86400000 - this.ticks1970); - // adjust for timezone, because we are interested in the gregorian date for the same timezone - // but ticks in javascript is always from GMT, unlike the server were ticks counts from the base - // date in the current timezone. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - return gdate; - }, - fromGregorian: function(gdate) { - if ((gdate < this.minDate) || (gdate > this.maxDate)) return null; - var ticks = this.ticks1970 + (gdate-0) - gdate.getTimezoneOffset() * 60000, - daysSinceJan0101 = Math.floor(ticks / 86400000) + 1 + this.hijriAdjustment; - // very particular formula determined by someone smart, adapted from the server-side implementation. - // it approximates the hijri year. - var hday, hmonth, hyear = Math.floor(((daysSinceJan0101 - 227013) * 30) / 10631) + 1, - absDays = this.daysToYear(hyear), - daysInYear = this.isLeapYear(hyear) ? 355 : 354; - // hyear is just approximate, it may need adjustment up or down by 1. - if (daysSinceJan0101 < absDays) { - hyear--; - absDays -= daysInYear; - } - else if (daysSinceJan0101 === absDays) { - hyear--; - absDays = this.daysToYear(hyear); - } - else { - if (daysSinceJan0101 > (absDays + daysInYear)) { - absDays += daysInYear; - hyear++; - } - } - // determine month by looking at how many days into the hyear we are - // monthDays contains the number of days up to each month. - hmonth = 0; - var daysIntoYear = daysSinceJan0101 - absDays; - while (hmonth <= 11 && daysIntoYear > this.monthDays[hmonth]) { - hmonth++; - } - hmonth--; - hday = daysIntoYear - this.monthDays[hmonth]; - return [hyear, hmonth, hday]; - }, - daysToYear: function(year) { - // calculates how many days since Jan 1, 0001 - var yearsToYear30 = Math.floor((year - 1) / 30) * 30, - yearsInto30 = year - yearsToYear30 - 1, - days = Math.floor((yearsToYear30 * 10631) / 30) + 227013; - while (yearsInto30 > 0) { - days += (this.isLeapYear(yearsInto30) ? 355 : 354); - yearsInto30--; - } - return days; - }, - isLeapYear: function(year) { - return ((((year * 11) + 14) % 30) < 11); - } - } - } - } -}); - -Globalize.addCultureInfo( "id", "default", { - name: "id", - englishName: "Indonesian", - nativeName: "Bahasa Indonesia", - language: "id", - numberFormat: { - ",": ".", - ".": ",", - percent: { - ",": ".", - ".": "," - }, - currency: { - decimals: 0, - ",": ".", - ".": ",", - symbol: "Rp" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"], - namesAbbr: ["Minggu","Sen","Sel","Rabu","Kamis","Jumat","Sabtu"], - namesShort: ["M","S","S","R","K","J","S"] - }, - months: { - names: ["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","Nopember","Desember",""], - namesAbbr: ["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Agust","Sep","Okt","Nop","Des",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dd MMMM yyyy H:mm", - F: "dd MMMM yyyy H:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "uk", "default", { - name: "uk", - englishName: "Ukrainian", - nativeName: "українська", - language: "uk", - numberFormat: { - ",": " ", - ".": ",", - negativeInfinity: "-безмежність", - positiveInfinity: "безмежність", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n$","n$"], - ",": " ", - ".": ",", - symbol: "₴" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["неділя","понеділок","вівторок","середа","четвер","п'ятниця","субота"], - namesAbbr: ["Нд","Пн","Вт","Ср","Чт","Пт","Сб"], - namesShort: ["Нд","Пн","Вт","Ср","Чт","Пт","Сб"] - }, - months: { - names: ["Січень","Лютий","Березень","Квітень","Травень","Червень","Липень","Серпень","Вересень","Жовтень","Листопад","Грудень",""], - namesAbbr: ["Січ","Лют","Бер","Кві","Тра","Чер","Лип","Сер","Вер","Жов","Лис","Гру",""] - }, - monthsGenitive: { - names: ["січня","лютого","березня","квітня","травня","червня","липня","серпня","вересня","жовтня","листопада","грудня",""], - namesAbbr: ["січ","лют","бер","кві","тра","чер","лип","сер","вер","жов","лис","гру",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "d MMMM yyyy' р.'", - t: "H:mm", - T: "H:mm:ss", - f: "d MMMM yyyy' р.' H:mm", - F: "d MMMM yyyy' р.' H:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy' р.'" - } - } - } -}); - -Globalize.addCultureInfo( "be", "default", { - name: "be", - englishName: "Belarusian", - nativeName: "Беларускі", - language: "be", - numberFormat: { - ",": " ", - ".": ",", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "р." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["нядзеля","панядзелак","аўторак","серада","чацвер","пятніца","субота"], - namesAbbr: ["нд","пн","аў","ср","чц","пт","сб"], - namesShort: ["нд","пн","аў","ср","чц","пт","сб"] - }, - months: { - names: ["Студзень","Люты","Сакавік","Красавік","Май","Чэрвень","Ліпень","Жнівень","Верасень","Кастрычнік","Лістапад","Снежань",""], - namesAbbr: ["Сту","Лют","Сак","Кра","Май","Чэр","Ліп","Жні","Вер","Кас","Ліс","Сне",""] - }, - monthsGenitive: { - names: ["студзеня","лютага","сакавіка","красавіка","мая","чэрвеня","ліпеня","жніўня","верасня","кастрычніка","лістапада","снежня",""], - namesAbbr: ["Сту","Лют","Сак","Кра","Май","Чэр","Ліп","Жні","Вер","Кас","Ліс","Сне",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "d MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d MMMM yyyy H:mm", - F: "d MMMM yyyy H:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "sl", "default", { - name: "sl", - englishName: "Slovenian", - nativeName: "slovenski", - language: "sl", - numberFormat: { - ",": ".", - ".": ",", - negativeInfinity: "-neskončnost", - positiveInfinity: "neskončnost", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["nedelja","ponedeljek","torek","sreda","četrtek","petek","sobota"], - namesAbbr: ["ned","pon","tor","sre","čet","pet","sob"], - namesShort: ["ne","po","to","sr","če","pe","so"] - }, - months: { - names: ["januar","februar","marec","april","maj","junij","julij","avgust","september","oktober","november","december",""], - namesAbbr: ["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec",""] - }, - AM: null, - PM: null, - patterns: { - d: "d.M.yyyy", - D: "d. MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM yyyy H:mm", - F: "d. MMMM yyyy H:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "et", "default", { - name: "et", - englishName: "Estonian", - nativeName: "eesti", - language: "et", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "avaldamatu", - negativeInfinity: "miinuslõpmatus", - positiveInfinity: "plusslõpmatus", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - symbol: "kr" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["pühapäev","esmaspäev","teisipäev","kolmapäev","neljapäev","reede","laupäev"], - namesAbbr: ["P","E","T","K","N","R","L"], - namesShort: ["P","E","T","K","N","R","L"] - }, - months: { - names: ["jaanuar","veebruar","märts","aprill","mai","juuni","juuli","august","september","oktoober","november","detsember",""], - namesAbbr: ["jaan","veebr","märts","apr","mai","juuni","juuli","aug","sept","okt","nov","dets",""] - }, - AM: ["EL","el","EL"], - PM: ["PL","pl","PL"], - patterns: { - d: "d.MM.yyyy", - D: "d. MMMM yyyy'. a.'", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM yyyy'. a.' H:mm", - F: "d. MMMM yyyy'. a.' H:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy'. a.'" - } - } - } -}); - -Globalize.addCultureInfo( "lv", "default", { - name: "lv", - englishName: "Latvian", - nativeName: "latviešu", - language: "lv", - numberFormat: { - ",": " ", - ".": ",", - negativeInfinity: "-bezgalība", - positiveInfinity: "bezgalība", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-$ n","$ n"], - ",": " ", - ".": ",", - symbol: "Ls" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["svētdiena","pirmdiena","otrdiena","trešdiena","ceturtdiena","piektdiena","sestdiena"], - namesAbbr: ["sv","pr","ot","tr","ce","pk","se"], - namesShort: ["sv","pr","ot","tr","ce","pk","se"] - }, - months: { - names: ["janvāris","februāris","marts","aprīlis","maijs","jūnijs","jūlijs","augusts","septembris","oktobris","novembris","decembris",""], - namesAbbr: ["jan","feb","mar","apr","mai","jūn","jūl","aug","sep","okt","nov","dec",""] - }, - monthsGenitive: { - names: ["janvārī","februārī","martā","aprīlī","maijā","jūnijā","jūlijā","augustā","septembrī","oktobrī","novembrī","decembrī",""], - namesAbbr: ["jan","feb","mar","apr","mai","jūn","jūl","aug","sep","okt","nov","dec",""] - }, - AM: null, - PM: null, - patterns: { - d: "yyyy.MM.dd.", - D: "dddd, yyyy'. gada 'd. MMMM", - t: "H:mm", - T: "H:mm:ss", - f: "dddd, yyyy'. gada 'd. MMMM H:mm", - F: "dddd, yyyy'. gada 'd. MMMM H:mm:ss", - M: "d. MMMM", - Y: "yyyy. MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "lt", "default", { - name: "lt", - englishName: "Lithuanian", - nativeName: "lietuvių", - language: "lt", - numberFormat: { - ",": ".", - ".": ",", - negativeInfinity: "-begalybė", - positiveInfinity: "begalybė", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "Lt" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["sekmadienis","pirmadienis","antradienis","trečiadienis","ketvirtadienis","penktadienis","šeštadienis"], - namesAbbr: ["Sk","Pr","An","Tr","Kt","Pn","Št"], - namesShort: ["S","P","A","T","K","Pn","Š"] - }, - months: { - names: ["sausis","vasaris","kovas","balandis","gegužė","birželis","liepa","rugpjūtis","rugsėjis","spalis","lapkritis","gruodis",""], - namesAbbr: ["Sau","Vas","Kov","Bal","Geg","Bir","Lie","Rgp","Rgs","Spl","Lap","Grd",""] - }, - monthsGenitive: { - names: ["sausio","vasario","kovo","balandžio","gegužės","birželio","liepos","rugpjūčio","rugsėjo","spalio","lapkričio","gruodžio",""], - namesAbbr: ["Sau","Vas","Kov","Bal","Geg","Bir","Lie","Rgp","Rgs","Spl","Lap","Grd",""] - }, - AM: null, - PM: null, - patterns: { - d: "yyyy.MM.dd", - D: "yyyy 'm.' MMMM d 'd.'", - t: "HH:mm", - T: "HH:mm:ss", - f: "yyyy 'm.' MMMM d 'd.' HH:mm", - F: "yyyy 'm.' MMMM d 'd.' HH:mm:ss", - M: "MMMM d 'd.'", - Y: "yyyy 'm.' MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "tg", "default", { - name: "tg", - englishName: "Tajik", - nativeName: "Тоҷикӣ", - language: "tg", - numberFormat: { - ",": " ", - ".": ",", - groupSizes: [3,0], - negativeInfinity: "-бесконечность", - positiveInfinity: "бесконечность", - percent: { - pattern: ["-n%","n%"], - groupSizes: [3,0], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - groupSizes: [3,0], - ",": " ", - ".": ";", - symbol: "т.р." - } - }, - calendars: { - standard: { - "/": ".", - days: { - names: ["Яш","Душанбе","Сешанбе","Чоршанбе","Панҷшанбе","Ҷумъа","Шанбе"], - namesAbbr: ["Яш","Дш","Сш","Чш","Пш","Ҷм","Шн"], - namesShort: ["Яш","Дш","Сш","Чш","Пш","Ҷм","Шн"] - }, - months: { - names: ["Январ","Феврал","Март","Апрел","Май","Июн","Июл","Август","Сентябр","Октябр","Ноябр","Декабр",""], - namesAbbr: ["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек",""] - }, - monthsGenitive: { - names: ["январи","феврали","марти","апрели","маи","июни","июли","августи","сентябри","октябри","ноябри","декабри",""], - namesAbbr: ["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yy", - D: "d MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d MMMM yyyy H:mm", - F: "d MMMM yyyy H:mm:ss", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "fa", "default", { - name: "fa", - englishName: "Persian", - nativeName: "فارسى", - language: "fa", - isRTL: true, - numberFormat: { - pattern: ["n-"], - currency: { - pattern: ["$n-","$ n"], - ".": "/", - symbol: "ريال" - } - }, - calendars: { - standard: { - name: "Gregorian_TransliteratedFrench", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ق.ظ","ق.ظ","ق.ظ"], - PM: ["ب.ظ","ب.ظ","ب.ظ"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - }, - Gregorian_Localized: { - firstDay: 6, - days: { - names: ["يكشنبه","دوشنبه","سه شنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"], - namesAbbr: ["يكشنبه","دوشنبه","سه شنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"], - namesShort: ["ی","د","س","چ","پ","ج","ش"] - }, - months: { - names: ["ژانويه","فوريه","مارس","آوريل","مى","ژوئن","ژوئيه","اوت","سپتامبر","اُكتبر","نوامبر","دسامبر",""], - namesAbbr: ["ژانويه","فوريه","مارس","آوريل","مى","ژوئن","ژوئيه","اوت","سپتامبر","اُكتبر","نوامبر","دسامبر",""] - }, - AM: ["ق.ظ","ق.ظ","ق.ظ"], - PM: ["ب.ظ","ب.ظ","ب.ظ"], - patterns: { - d: "yyyy/MM/dd", - D: "yyyy/MM/dd", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "yyyy/MM/dd hh:mm tt", - F: "yyyy/MM/dd hh:mm:ss tt", - M: "dd MMMM" - } - }, - Hijri: { - name: "Hijri", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ق.ظ","ق.ظ","ق.ظ"], - PM: ["ب.ظ","ب.ظ","ب.ظ"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MM/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd/MM/yyyy hh:mm tt", - F: "dd/MM/yyyy hh:mm:ss tt", - M: "dd MMMM" - }, - convert: { - // Adapted to Script from System.Globalization.HijriCalendar - ticks1970: 62135596800000, - // number of days leading up to each month - monthDays: [0, 30, 59, 89, 118, 148, 177, 207, 236, 266, 295, 325, 355], - minDate: -42521673600000, - maxDate: 253402300799999, - // The number of days to add or subtract from the calendar to accommodate the variances - // in the start and the end of Ramadan and to accommodate the date difference between - // countries/regions. May be dynamically adjusted based on user preference, but should - // remain in the range of -2 to 2, inclusive. - hijriAdjustment: 0, - toGregorian: function(hyear, hmonth, hday) { - var daysSinceJan0101 = this.daysToYear(hyear) + this.monthDays[hmonth] + hday - 1 - this.hijriAdjustment; - // 86400000 = ticks per day - var gdate = new Date(daysSinceJan0101 * 86400000 - this.ticks1970); - // adjust for timezone, because we are interested in the gregorian date for the same timezone - // but ticks in javascript is always from GMT, unlike the server were ticks counts from the base - // date in the current timezone. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - return gdate; - }, - fromGregorian: function(gdate) { - if ((gdate < this.minDate) || (gdate > this.maxDate)) return null; - var ticks = this.ticks1970 + (gdate-0) - gdate.getTimezoneOffset() * 60000, - daysSinceJan0101 = Math.floor(ticks / 86400000) + 1 + this.hijriAdjustment; - // very particular formula determined by someone smart, adapted from the server-side implementation. - // it approximates the hijri year. - var hday, hmonth, hyear = Math.floor(((daysSinceJan0101 - 227013) * 30) / 10631) + 1, - absDays = this.daysToYear(hyear), - daysInYear = this.isLeapYear(hyear) ? 355 : 354; - // hyear is just approximate, it may need adjustment up or down by 1. - if (daysSinceJan0101 < absDays) { - hyear--; - absDays -= daysInYear; - } - else if (daysSinceJan0101 === absDays) { - hyear--; - absDays = this.daysToYear(hyear); - } - else { - if (daysSinceJan0101 > (absDays + daysInYear)) { - absDays += daysInYear; - hyear++; - } - } - // determine month by looking at how many days into the hyear we are - // monthDays contains the number of days up to each month. - hmonth = 0; - var daysIntoYear = daysSinceJan0101 - absDays; - while (hmonth <= 11 && daysIntoYear > this.monthDays[hmonth]) { - hmonth++; - } - hmonth--; - hday = daysIntoYear - this.monthDays[hmonth]; - return [hyear, hmonth, hday]; - }, - daysToYear: function(year) { - // calculates how many days since Jan 1, 0001 - var yearsToYear30 = Math.floor((year - 1) / 30) * 30, - yearsInto30 = year - yearsToYear30 - 1, - days = Math.floor((yearsToYear30 * 10631) / 30) + 227013; - while (yearsInto30 > 0) { - days += (this.isLeapYear(yearsInto30) ? 355 : 354); - yearsInto30--; - } - return days; - }, - isLeapYear: function(year) { - return ((((year * 11) + 14) % 30) < 11); - } - } - }, - Gregorian_TransliteratedEnglish: { - name: "Gregorian_TransliteratedEnglish", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["أ","ا","ث","أ","خ","ج","س"] - }, - months: { - names: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["يناير","فبراير","مارس","ابريل","مايو","يونيو","يوليو","اغسطس","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ق.ظ","ق.ظ","ق.ظ"], - PM: ["ب.ظ","ب.ظ","ب.ظ"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - } - } -}); - -Globalize.addCultureInfo( "vi", "default", { - name: "vi", - englishName: "Vietnamese", - nativeName: "Tiếng Việt", - language: "vi", - numberFormat: { - ",": ".", - ".": ",", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "₫" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["Chủ Nhật","Thứ Hai","Thứ Ba","Thứ Tư","Thứ Năm","Thứ Sáu","Thứ Bảy"], - namesAbbr: ["CN","Hai","Ba","Tư","Năm","Sáu","Bảy"], - namesShort: ["C","H","B","T","N","S","B"] - }, - months: { - names: ["Tháng Giêng","Tháng Hai","Tháng Ba","Tháng Tư","Tháng Năm","Tháng Sáu","Tháng Bảy","Tháng Tám","Tháng Chín","Tháng Mười","Tháng Mười Một","Tháng Mười Hai",""], - namesAbbr: ["Thg1","Thg2","Thg3","Thg4","Thg5","Thg6","Thg7","Thg8","Thg9","Thg10","Thg11","Thg12",""] - }, - AM: ["SA","sa","SA"], - PM: ["CH","ch","CH"], - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM yyyy", - f: "dd MMMM yyyy h:mm tt", - F: "dd MMMM yyyy h:mm:ss tt", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "hy", "default", { - name: "hy", - englishName: "Armenian", - nativeName: "Հայերեն", - language: "hy", - numberFormat: { - currency: { - pattern: ["-n $","n $"], - symbol: "դր." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Կիրակի","Երկուշաբթի","Երեքշաբթի","Չորեքշաբթի","Հինգշաբթի","ՈՒրբաթ","Շաբաթ"], - namesAbbr: ["Կիր","Երկ","Երք","Չրք","Հնգ","ՈՒր","Շբթ"], - namesShort: ["Կ","Ե","Ե","Չ","Հ","Ո","Շ"] - }, - months: { - names: ["Հունվար","Փետրվար","Մարտ","Ապրիլ","Մայիս","Հունիս","Հուլիս","Օգոստոս","Սեպտեմբեր","Հոկտեմբեր","Նոյեմբեր","Դեկտեմբեր",""], - namesAbbr: ["ՀՆՎ","ՓՏՎ","ՄՐՏ","ԱՊՐ","ՄՅՍ","ՀՆՍ","ՀԼՍ","ՕԳՍ","ՍԵՊ","ՀՈԿ","ՆՈՅ","ԴԵԿ",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "d MMMM, yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d MMMM, yyyy H:mm", - F: "d MMMM, yyyy H:mm:ss", - M: "d MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "az", "default", { - name: "az", - englishName: "Azeri", - nativeName: "Azərbaycan\xadılı", - language: "az", - numberFormat: { - ",": " ", - ".": ",", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "man." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Bazar","Bazar ertəsi","Çərşənbə axşamı","Çərşənbə","Cümə axşamı","Cümə","Şənbə"], - namesAbbr: ["B","Be","Ça","Ç","Ca","C","Ş"], - namesShort: ["B","Be","Ça","Ç","Ca","C","Ş"] - }, - months: { - names: ["Yanvar","Fevral","Mart","Aprel","May","İyun","İyul","Avgust","Sentyabr","Oktyabr","Noyabr","Dekabr",""], - namesAbbr: ["Yan","Fev","Mar","Apr","May","İyun","İyul","Avg","Sen","Okt","Noy","Dek",""] - }, - monthsGenitive: { - names: ["yanvar","fevral","mart","aprel","may","iyun","iyul","avgust","sentyabr","oktyabr","noyabr","dekabr",""], - namesAbbr: ["Yan","Fev","Mar","Apr","May","İyun","İyul","Avg","Sen","Okt","Noy","Dek",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "d MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d MMMM yyyy H:mm", - F: "d MMMM yyyy H:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "eu", "default", { - name: "eu", - englishName: "Basque", - nativeName: "euskara", - language: "eu", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "EdZ", - negativeInfinity: "-Infinitu", - positiveInfinity: "Infinitu", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["igandea","astelehena","asteartea","asteazkena","osteguna","ostirala","larunbata"], - namesAbbr: ["ig.","al.","as.","az.","og.","or.","lr."], - namesShort: ["ig","al","as","az","og","or","lr"] - }, - months: { - names: ["urtarrila","otsaila","martxoa","apirila","maiatza","ekaina","uztaila","abuztua","iraila","urria","azaroa","abendua",""], - namesAbbr: ["urt.","ots.","mar.","api.","mai.","eka.","uzt.","abu.","ira.","urr.","aza.","abe.",""] - }, - AM: null, - PM: null, - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "yyyy/MM/dd", - D: "dddd, yyyy.'eko' MMMM'k 'd", - t: "HH:mm", - T: "H:mm:ss", - f: "dddd, yyyy.'eko' MMMM'k 'd HH:mm", - F: "dddd, yyyy.'eko' MMMM'k 'd H:mm:ss", - Y: "yyyy.'eko' MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "hsb", "default", { - name: "hsb", - englishName: "Upper Sorbian", - nativeName: "hornjoserbšćina", - language: "hsb", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "njedefinowane", - negativeInfinity: "-njekónčne", - positiveInfinity: "+njekónčne", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - "/": ". ", - firstDay: 1, - days: { - names: ["njedźela","póndźela","wutora","srjeda","štwórtk","pjatk","sobota"], - namesAbbr: ["nje","pón","wut","srj","štw","pja","sob"], - namesShort: ["n","p","w","s","š","p","s"] - }, - months: { - names: ["januar","februar","měrc","apryl","meja","junij","julij","awgust","september","oktober","nowember","december",""], - namesAbbr: ["jan","feb","měr","apr","mej","jun","jul","awg","sep","okt","now","dec",""] - }, - monthsGenitive: { - names: ["januara","februara","měrca","apryla","meje","junija","julija","awgusta","septembra","oktobra","nowembra","decembra",""], - namesAbbr: ["jan","feb","měr","apr","mej","jun","jul","awg","sep","okt","now","dec",""] - }, - AM: null, - PM: null, - eras: [{"name":"po Chr.","start":null,"offset":0}], - patterns: { - d: "d. M. yyyy", - D: "dddd, 'dnja' d. MMMM yyyy", - t: "H.mm 'hodź.'", - T: "H:mm:ss", - f: "dddd, 'dnja' d. MMMM yyyy H.mm 'hodź.'", - F: "dddd, 'dnja' d. MMMM yyyy H:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "mk", "default", { - name: "mk", - englishName: "Macedonian (FYROM)", - nativeName: "македонски јазик", - language: "mk", - numberFormat: { - ",": ".", - ".": ",", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "ден." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["недела","понеделник","вторник","среда","четврток","петок","сабота"], - namesAbbr: ["нед","пон","втр","срд","чет","пет","саб"], - namesShort: ["не","по","вт","ср","че","пе","са"] - }, - months: { - names: ["јануари","февруари","март","април","мај","јуни","јули","август","септември","октомври","ноември","декември",""], - namesAbbr: ["јан","фев","мар","апр","мај","јун","јул","авг","сеп","окт","ное","дек",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "dddd, dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd, dd MMMM yyyy HH:mm", - F: "dddd, dd MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "tn", "default", { - name: "tn", - englishName: "Setswana", - nativeName: "Setswana", - language: "tn", - numberFormat: { - percent: { - pattern: ["-%n","%n"] - }, - currency: { - pattern: ["$-n","$ n"], - symbol: "R" - } - }, - calendars: { - standard: { - days: { - names: ["Latshipi","Mosupologo","Labobedi","Laboraro","Labone","Labotlhano","Lamatlhatso"], - namesAbbr: ["Ltp.","Mos.","Lbd.","Lbr.","Lbn.","Lbt.","Lmt."], - namesShort: ["Lp","Ms","Lb","Lr","Ln","Lt","Lm"] - }, - months: { - names: ["Ferikgong","Tlhakole","Mopitloe","Moranang","Motsheganong","Seetebosigo","Phukwi","Phatwe","Lwetse","Diphalane","Ngwanatsele","Sedimothole",""], - namesAbbr: ["Fer.","Tlhak.","Mop.","Mor.","Motsh.","Seet.","Phukw.","Phatw.","Lwets.","Diph.","Ngwan.","Sed.",""] - }, - patterns: { - d: "yyyy/MM/dd", - D: "dd MMMM yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd MMMM yyyy hh:mm tt", - F: "dd MMMM yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "xh", "default", { - name: "xh", - englishName: "isiXhosa", - nativeName: "isiXhosa", - language: "xh", - numberFormat: { - percent: { - pattern: ["-%n","%n"] - }, - currency: { - pattern: ["$-n","$ n"], - symbol: "R" - } - }, - calendars: { - standard: { - days: { - names: ["iCawa","uMvulo","uLwesibini","uLwesithathu","uLwesine","uLwesihlanu","uMgqibelo"], - namesShort: ["Ca","Mv","Lb","Lt","Ln","Lh","Mg"] - }, - months: { - names: ["Mqungu","Mdumba","Kwindla","Tshazimpuzi","Canzibe","Silimela","Khala","Thupha","Msintsi","Dwarha","Nkanga","Mnga",""] - }, - patterns: { - d: "yyyy/MM/dd", - D: "dd MMMM yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd MMMM yyyy hh:mm tt", - F: "dd MMMM yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "zu", "default", { - name: "zu", - englishName: "isiZulu", - nativeName: "isiZulu", - language: "zu", - numberFormat: { - percent: { - pattern: ["-%n","%n"] - }, - currency: { - pattern: ["$-n","$ n"], - symbol: "R" - } - }, - calendars: { - standard: { - days: { - names: ["iSonto","uMsombuluko","uLwesibili","uLwesithathu","uLwesine","uLwesihlanu","uMgqibelo"], - namesAbbr: ["Son.","Mso.","Bi.","Tha.","Ne.","Hla.","Mgq."] - }, - months: { - names: ["uMasingana","uNhlolanja","uNdasa","uMbaso","uNhlaba","uNhlangulana","uNtulikazi","uNcwaba","uMandulo","uMfumfu","uLwezi","uZibandlela",""], - namesAbbr: ["Mas.","Nhlo.","Nda.","Mba.","Nhla.","Nhlang.","Ntu.","Ncwa.","Man.","Mfu.","Lwe.","Zib.",""] - }, - patterns: { - d: "yyyy/MM/dd", - D: "dd MMMM yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd MMMM yyyy hh:mm tt", - F: "dd MMMM yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "af", "default", { - name: "af", - englishName: "Afrikaans", - nativeName: "Afrikaans", - language: "af", - numberFormat: { - percent: { - pattern: ["-n%","n%"] - }, - currency: { - pattern: ["$-n","$ n"], - symbol: "R" - } - }, - calendars: { - standard: { - days: { - names: ["Sondag","Maandag","Dinsdag","Woensdag","Donderdag","Vrydag","Saterdag"], - namesAbbr: ["Son","Maan","Dins","Woen","Dond","Vry","Sat"], - namesShort: ["So","Ma","Di","Wo","Do","Vr","Sa"] - }, - months: { - names: ["Januarie","Februarie","Maart","April","Mei","Junie","Julie","Augustus","September","Oktober","November","Desember",""], - namesAbbr: ["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Aug","Sep","Okt","Nov","Des",""] - }, - patterns: { - d: "yyyy/MM/dd", - D: "dd MMMM yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd MMMM yyyy hh:mm tt", - F: "dd MMMM yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "ka", "default", { - name: "ka", - englishName: "Georgian", - nativeName: "ქართული", - language: "ka", - numberFormat: { - ",": " ", - ".": ",", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "Lari" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["კვირა","ორშაბათი","სამშაბათი","ოთხშაბათი","ხუთშაბათი","პარასკევი","შაბათი"], - namesAbbr: ["კვირა","ორშაბათი","სამშაბათი","ოთხშაბათი","ხუთშაბათი","პარასკევი","შაბათი"], - namesShort: ["კ","ო","ს","ო","ხ","პ","შ"] - }, - months: { - names: ["იანვარი","თებერვალი","მარტი","აპრილი","მაისი","ივნისი","ივლისი","აგვისტო","სექტემბერი","ოქტომბერი","ნოემბერი","დეკემბერი",""], - namesAbbr: ["იან","თებ","მარ","აპრ","მაის","ივნ","ივლ","აგვ","სექ","ოქტ","ნოემ","დეკ",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "yyyy 'წლის' dd MM, dddd", - t: "H:mm", - T: "H:mm:ss", - f: "yyyy 'წლის' dd MM, dddd H:mm", - F: "yyyy 'წლის' dd MM, dddd H:mm:ss", - M: "dd MM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "fo", "default", { - name: "fo", - englishName: "Faroese", - nativeName: "føroyskt", - language: "fo", - numberFormat: { - ",": ".", - ".": ",", - negativeInfinity: "-INF", - positiveInfinity: "INF", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["$ -n","$ n"], - ",": ".", - ".": ",", - symbol: "kr." - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["sunnudagur","mánadagur","týsdagur","mikudagur","hósdagur","fríggjadagur","leygardagur"], - namesAbbr: ["sun","mán","týs","mik","hós","frí","leyg"], - namesShort: ["su","má","tý","mi","hó","fr","ley"] - }, - months: { - names: ["januar","februar","mars","apríl","mai","juni","juli","august","september","oktober","november","desember",""], - namesAbbr: ["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd-MM-yyyy", - D: "d. MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "d. MMMM yyyy HH:mm", - F: "d. MMMM yyyy HH:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "hi", "default", { - name: "hi", - englishName: "Hindi", - nativeName: "हिंदी", - language: "hi", - numberFormat: { - groupSizes: [3,2], - percent: { - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,2], - symbol: "रु" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["रविवार","सोमवार","मंगलवार","बुधवार","गुरुवार","शुक्रवार","शनिवार"], - namesAbbr: ["रवि.","सोम.","मंगल.","बुध.","गुरु.","शुक्र.","शनि."], - namesShort: ["र","स","म","ब","ग","श","श"] - }, - months: { - names: ["जनवरी","फरवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्तूबर","नवम्बर","दिसम्बर",""], - namesAbbr: ["जनवरी","फरवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्तूबर","नवम्बर","दिसम्बर",""] - }, - AM: ["पूर्वाह्न","पूर्वाह्न","पूर्वाह्न"], - PM: ["अपराह्न","अपराह्न","अपराह्न"], - patterns: { - d: "dd-MM-yyyy", - D: "dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd MMMM yyyy HH:mm", - F: "dd MMMM yyyy HH:mm:ss", - M: "dd MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "mt", "default", { - name: "mt", - englishName: "Maltese", - nativeName: "Malti", - language: "mt", - numberFormat: { - percent: { - pattern: ["-%n","%n"] - }, - currency: { - pattern: ["-$n","$n"], - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["Il-Ħadd","It-Tnejn","It-Tlieta","L-Erbgħa","Il-Ħamis","Il-Ġimgħa","Is-Sibt"], - namesAbbr: ["Ħad","Tne","Tli","Erb","Ħam","Ġim","Sib"], - namesShort: ["I","I","I","L","I","I","I"] - }, - months: { - names: ["Jannar","Frar","Marzu","April","Mejju","Ġunju","Lulju","Awissu","Settembru","Ottubru","Novembru","Diċembru",""], - namesAbbr: ["Jan","Fra","Mar","Apr","Mej","Ġun","Lul","Awi","Set","Ott","Nov","Diċ",""] - }, - patterns: { - d: "dd/MM/yyyy", - D: "dddd, d' ta\\' 'MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd, d' ta\\' 'MMMM yyyy HH:mm", - F: "dddd, d' ta\\' 'MMMM yyyy HH:mm:ss", - M: "d' ta\\' 'MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "se", "default", { - name: "se", - englishName: "Sami (Northern)", - nativeName: "davvisámegiella", - language: "se", - numberFormat: { - ",": " ", - ".": ",", - percent: { - pattern: ["-%n","%n"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["$ -n","$ n"], - ",": " ", - ".": ",", - symbol: "kr" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["sotnabeaivi","vuossárga","maŋŋebárga","gaskavahkku","duorastat","bearjadat","lávvardat"], - namesAbbr: ["sotn","vuos","maŋ","gask","duor","bear","láv"], - namesShort: ["s","m","d","g","d","b","l"] - }, - months: { - names: ["ođđajagemánnu","guovvamánnu","njukčamánnu","cuoŋománnu","miessemánnu","geassemánnu","suoidnemánnu","borgemánnu","čakčamánnu","golggotmánnu","skábmamánnu","juovlamánnu",""], - namesAbbr: ["ođđj","guov","njuk","cuo","mies","geas","suoi","borg","čakč","golg","skáb","juov",""] - }, - monthsGenitive: { - names: ["ođđajagimánu","guovvamánu","njukčamánu","cuoŋománu","miessemánu","geassemánu","suoidnemánu","borgemánu","čakčamánu","golggotmánu","skábmamánu","juovlamánu",""], - namesAbbr: ["ođđj","guov","njuk","cuo","mies","geas","suoi","borg","čakč","golg","skáb","juov",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "MMMM d'. b. 'yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "MMMM d'. b. 'yyyy HH:mm", - F: "MMMM d'. b. 'yyyy HH:mm:ss", - M: "MMMM d'. b. '", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "ga", "default", { - name: "ga", - englishName: "Irish", - nativeName: "Gaeilge", - language: "ga", - numberFormat: { - currency: { - pattern: ["-$n","$n"], - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"], - namesAbbr: ["Domh","Luan","Máir","Céad","Déar","Aoi","Sath"], - namesShort: ["Do","Lu","Má","Cé","De","Ao","Sa"] - }, - months: { - names: ["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig",""], - namesAbbr: ["Ean","Feabh","Már","Aib","Bealt","Meith","Iúil","Lún","M.Fómh","D.Fómh","Samh","Noll",""] - }, - AM: ["r.n.","r.n.","R.N."], - PM: ["i.n.","i.n.","I.N."], - patterns: { - d: "dd/MM/yyyy", - D: "d MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "d MMMM yyyy HH:mm", - F: "d MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "ms", "default", { - name: "ms", - englishName: "Malay", - nativeName: "Bahasa Melayu", - language: "ms", - numberFormat: { - currency: { - decimals: 0, - symbol: "RM" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["Ahad","Isnin","Selasa","Rabu","Khamis","Jumaat","Sabtu"], - namesAbbr: ["Ahad","Isnin","Sel","Rabu","Khamis","Jumaat","Sabtu"], - namesShort: ["A","I","S","R","K","J","S"] - }, - months: { - names: ["Januari","Februari","Mac","April","Mei","Jun","Julai","Ogos","September","Oktober","November","Disember",""], - namesAbbr: ["Jan","Feb","Mac","Apr","Mei","Jun","Jul","Ogos","Sept","Okt","Nov","Dis",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dd MMMM yyyy H:mm", - F: "dd MMMM yyyy H:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "kk", "default", { - name: "kk", - englishName: "Kazakh", - nativeName: "Қазақ", - language: "kk", - numberFormat: { - ",": " ", - ".": ",", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-$n","$n"], - ",": " ", - ".": "-", - symbol: "Т" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Жексенбі","Дүйсенбі","Сейсенбі","Сәрсенбі","Бейсенбі","Жұма","Сенбі"], - namesAbbr: ["Жк","Дс","Сс","Ср","Бс","Жм","Сн"], - namesShort: ["Жк","Дс","Сс","Ср","Бс","Жм","Сн"] - }, - months: { - names: ["қаңтар","ақпан","наурыз","сәуір","мамыр","маусым","шілде","тамыз","қыркүйек","қазан","қараша","желтоқсан",""], - namesAbbr: ["Қаң","Ақп","Нау","Сәу","Мам","Мау","Шіл","Там","Қыр","Қаз","Қар","Жел",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "d MMMM yyyy 'ж.'", - t: "H:mm", - T: "H:mm:ss", - f: "d MMMM yyyy 'ж.' H:mm", - F: "d MMMM yyyy 'ж.' H:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "ky", "default", { - name: "ky", - englishName: "Kyrgyz", - nativeName: "Кыргыз", - language: "ky", - numberFormat: { - ",": " ", - ".": ",", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": "-", - symbol: "сом" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Жекшемби","Дүйшөмбү","Шейшемби","Шаршемби","Бейшемби","Жума","Ишемби"], - namesAbbr: ["Жш","Дш","Шш","Шр","Бш","Жм","Иш"], - namesShort: ["Жш","Дш","Шш","Шр","Бш","Жм","Иш"] - }, - months: { - names: ["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь",""], - namesAbbr: ["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yy", - D: "d'-'MMMM yyyy'-ж.'", - t: "H:mm", - T: "H:mm:ss", - f: "d'-'MMMM yyyy'-ж.' H:mm", - F: "d'-'MMMM yyyy'-ж.' H:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy'-ж.'" - } - } - } -}); - -Globalize.addCultureInfo( "sw", "default", { - name: "sw", - englishName: "Kiswahili", - nativeName: "Kiswahili", - language: "sw", - numberFormat: { - currency: { - symbol: "S" - } - }, - calendars: { - standard: { - days: { - names: ["Jumapili","Jumatatu","Jumanne","Jumatano","Alhamisi","Ijumaa","Jumamosi"], - namesAbbr: ["Jumap.","Jumat.","Juman.","Jumat.","Alh.","Iju.","Jumam."], - namesShort: ["P","T","N","T","A","I","M"] - }, - months: { - names: ["Januari","Februari","Machi","Aprili","Mei","Juni","Julai","Agosti","Septemba","Oktoba","Novemba","Decemba",""], - namesAbbr: ["Jan","Feb","Mac","Apr","Mei","Jun","Jul","Ago","Sep","Okt","Nov","Dec",""] - } - } - } -}); - -Globalize.addCultureInfo( "tk", "default", { - name: "tk", - englishName: "Turkmen", - nativeName: "türkmençe", - language: "tk", - numberFormat: { - ",": " ", - ".": ",", - negativeInfinity: "-üznüksizlik", - positiveInfinity: "üznüksizlik", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n$","n$"], - ",": " ", - ".": ",", - symbol: "m." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Duşenbe","Sişenbe","Çarşenbe","Penşenbe","Anna","Şenbe","Ýekşenbe"], - namesAbbr: ["Db","Sb","Çb","Pb","An","Şb","Ýb"], - namesShort: ["D","S","Ç","P","A","Ş","Ý"] - }, - months: { - names: ["Ýanwar","Fewral","Mart","Aprel","Maý","lýun","lýul","Awgust","Sentýabr","Oktýabr","Noýabr","Dekabr",""], - namesAbbr: ["Ýan","Few","Mart","Apr","Maý","lýun","lýul","Awg","Sen","Okt","Not","Dek",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yy", - D: "yyyy 'ý.' MMMM d", - t: "H:mm", - T: "H:mm:ss", - f: "yyyy 'ý.' MMMM d H:mm", - F: "yyyy 'ý.' MMMM d H:mm:ss", - Y: "yyyy 'ý.' MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "uz", "default", { - name: "uz", - englishName: "Uzbek", - nativeName: "U'zbek", - language: "uz", - numberFormat: { - ",": " ", - ".": ",", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - decimals: 0, - ",": " ", - ".": ",", - symbol: "so'm" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["yakshanba","dushanba","seshanba","chorshanba","payshanba","juma","shanba"], - namesAbbr: ["yak.","dsh.","sesh.","chr.","psh.","jm.","sh."], - namesShort: ["ya","d","s","ch","p","j","sh"] - }, - months: { - names: ["yanvar","fevral","mart","aprel","may","iyun","iyul","avgust","sentyabr","oktyabr","noyabr","dekabr",""], - namesAbbr: ["yanvar","fevral","mart","aprel","may","iyun","iyul","avgust","sentyabr","oktyabr","noyabr","dekabr",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd/MM yyyy", - D: "yyyy 'yil' d-MMMM", - t: "HH:mm", - T: "HH:mm:ss", - f: "yyyy 'yil' d-MMMM HH:mm", - F: "yyyy 'yil' d-MMMM HH:mm:ss", - M: "d-MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "tt", "default", { - name: "tt", - englishName: "Tatar", - nativeName: "Татар", - language: "tt", - numberFormat: { - ",": " ", - ".": ",", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "р." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Якшәмбе","Дүшәмбе","Сишәмбе","Чәршәмбе","Пәнҗешәмбе","Җомга","Шимбә"], - namesAbbr: ["Якш","Дүш","Сиш","Чәрш","Пәнҗ","Җом","Шим"], - namesShort: ["Я","Д","С","Ч","П","Җ","Ш"] - }, - months: { - names: ["Гыйнвар","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь",""], - namesAbbr: ["Гыйн.","Фев.","Мар.","Апр.","Май","Июнь","Июль","Авг.","Сен.","Окт.","Нояб.","Дек.",""] - }, - monthsGenitive: { - names: ["Гыйнварның","Февральнең","Мартның","Апрельнең","Майның","Июньнең","Июльнең","Августның","Сентябрьның","Октябрьның","Ноябрьның","Декабрьның",""], - namesAbbr: ["Гыйн.-ның","Фев.-нең","Мар.-ның","Апр.-нең","Майның","Июньнең","Июльнең","Авг.-ның","Сен.-ның","Окт.-ның","Нояб.-ның","Дек.-ның",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "d MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d MMMM yyyy H:mm", - F: "d MMMM yyyy H:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "bn", "default", { - name: "bn", - englishName: "Bengali", - nativeName: "বাংলা", - language: "bn", - numberFormat: { - groupSizes: [3,2], - percent: { - pattern: ["-%n","%n"], - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,2], - symbol: "টা" - } - }, - calendars: { - standard: { - "/": "-", - ":": ".", - firstDay: 1, - days: { - names: ["রবিবার","সোমবার","মঙ্গলবার","বুধবার","বৃহস্পতিবার","শুক্রবার","শনিবার"], - namesAbbr: ["রবি.","সোম.","মঙ্গল.","বুধ.","বৃহস্পতি.","শুক্র.","শনি."], - namesShort: ["র","স","ম","ব","ব","শ","শ"] - }, - months: { - names: ["জানুয়ারী","ফেব্রুয়ারী","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগস্ট","সেপ্টেম্বর","অক্টোবর","নভেম্বর","ডিসেম্বর",""], - namesAbbr: ["জানু.","ফেব্রু.","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগ.","সেপ্টে.","অক্টো.","নভে.","ডিসে.",""] - }, - AM: ["পুর্বাহ্ন","পুর্বাহ্ন","পুর্বাহ্ন"], - PM: ["অপরাহ্ন","অপরাহ্ন","অপরাহ্ন"], - patterns: { - d: "dd-MM-yy", - D: "dd MMMM yyyy", - t: "HH.mm", - T: "HH.mm.ss", - f: "dd MMMM yyyy HH.mm", - F: "dd MMMM yyyy HH.mm.ss", - M: "dd MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "pa", "default", { - name: "pa", - englishName: "Punjabi", - nativeName: "ਪੰਜਾਬੀ", - language: "pa", - numberFormat: { - groupSizes: [3,2], - percent: { - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,2], - symbol: "ਰੁ" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["ਐਤਵਾਰ","ਸੋਮਵਾਰ","ਮੰਗਲਵਾਰ","ਬੁੱਧਵਾਰ","ਵੀਰਵਾਰ","ਸ਼ੁੱਕਰਵਾਰ","ਸ਼ਨਿੱਚਰਵਾਰ"], - namesAbbr: ["ਐਤ.","ਸੋਮ.","ਮੰਗਲ.","ਬੁੱਧ.","ਵੀਰ.","ਸ਼ੁਕਰ.","ਸ਼ਨਿੱਚਰ."], - namesShort: ["ਐ","ਸ","ਮ","ਬ","ਵ","ਸ਼","ਸ਼"] - }, - months: { - names: ["ਜਨਵਰੀ","ਫ਼ਰਵਰੀ","ਮਾਰਚ","ਅਪ੍ਰੈਲ","ਮਈ","ਜੂਨ","ਜੁਲਾਈ","ਅਗਸਤ","ਸਤੰਬਰ","ਅਕਤੂਬਰ","ਨਵੰਬਰ","ਦਸੰਬਰ",""], - namesAbbr: ["ਜਨਵਰੀ","ਫ਼ਰਵਰੀ","ਮਾਰਚ","ਅਪ੍ਰੈਲ","ਮਈ","ਜੂਨ","ਜੁਲਾਈ","ਅਗਸਤ","ਸਤੰਬਰ","ਅਕਤੂਬਰ","ਨਵੰਬਰ","ਦਸੰਬਰ",""] - }, - AM: ["ਸਵੇਰ","ਸਵੇਰ","ਸਵੇਰ"], - PM: ["ਸ਼ਾਮ","ਸ਼ਾਮ","ਸ਼ਾਮ"], - patterns: { - d: "dd-MM-yy", - D: "dd MMMM yyyy dddd", - t: "tt hh:mm", - T: "tt hh:mm:ss", - f: "dd MMMM yyyy dddd tt hh:mm", - F: "dd MMMM yyyy dddd tt hh:mm:ss", - M: "dd MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "gu", "default", { - name: "gu", - englishName: "Gujarati", - nativeName: "ગુજરાતી", - language: "gu", - numberFormat: { - groupSizes: [3,2], - percent: { - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,2], - symbol: "રૂ" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["રવિવાર","સોમવાર","મંગળવાર","બુધવાર","ગુરુવાર","શુક્રવાર","શનિવાર"], - namesAbbr: ["રવિ","સોમ","મંગળ","બુધ","ગુરુ","શુક્ર","શનિ"], - namesShort: ["ર","સ","મ","બ","ગ","શ","શ"] - }, - months: { - names: ["જાન્યુઆરી","ફેબ્રુઆરી","માર્ચ","એપ્રિલ","મે","જૂન","જુલાઈ","ઑગસ્ટ","સપ્ટેમ્બર","ઑક્ટ્બર","નવેમ્બર","ડિસેમ્બર",""], - namesAbbr: ["જાન્યુ","ફેબ્રુ","માર્ચ","એપ્રિલ","મે","જૂન","જુલાઈ","ઑગસ્ટ","સપ્ટે","ઑક્ટો","નવે","ડિસે",""] - }, - AM: ["પૂર્વ મધ્યાહ્ન","પૂર્વ મધ્યાહ્ન","પૂર્વ મધ્યાહ્ન"], - PM: ["ઉત્તર મધ્યાહ્ન","ઉત્તર મધ્યાહ્ન","ઉત્તર મધ્યાહ્ન"], - patterns: { - d: "dd-MM-yy", - D: "dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd MMMM yyyy HH:mm", - F: "dd MMMM yyyy HH:mm:ss", - M: "dd MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "or", "default", { - name: "or", - englishName: "Oriya", - nativeName: "ଓଡ଼ିଆ", - language: "or", - numberFormat: { - groupSizes: [3,2], - percent: { - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,2], - symbol: "ଟ" - } - }, - calendars: { - standard: { - "/": "-", - days: { - names: ["ରବିବାର","ସୋମବାର","ମଙ୍ଗଳବାର","ବୁଧବାର","ଗୁରୁବାର","ଶୁକ୍ରବାର","ଶନିବାର"], - namesAbbr: ["ରବି.","ସୋମ.","ମଙ୍ଗଳ.","ବୁଧ.","ଗୁରୁ.","ଶୁକ୍ର.","ଶନି."], - namesShort: ["ର","ସୋ","ମ","ବୁ","ଗୁ","ଶୁ","ଶ"] - }, - months: { - names: ["ଜାନୁୟାରୀ","ଫ୍ରେବୃୟାରୀ","ମାର୍ଚ୍ଚ","ଏପ୍ରିଲ୍\u200c","ମେ","ଜୁନ୍\u200c","ଜୁଲାଇ","ଅଗଷ୍ଟ","ସେପ୍ଟେମ୍ବର","ଅକ୍ଟୋବର","ନଭେମ୍ବର","(ଡିସେମ୍ବର",""], - namesAbbr: ["ଜାନୁୟାରୀ","ଫ୍ରେବୃୟାରୀ","ମାର୍ଚ୍ଚ","ଏପ୍ରିଲ୍\u200c","ମେ","ଜୁନ୍\u200c","ଜୁଲାଇ","ଅଗଷ୍ଟ","ସେପ୍ଟେମ୍ବର","ଅକ୍ଟୋବର","ନଭେମ୍ବର","(ଡିସେମ୍ବର",""] - }, - eras: [{"name":"ଖ୍ରୀଷ୍ଟାବ୍ଦ","start":null,"offset":0}], - patterns: { - d: "dd-MM-yy", - D: "dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd MMMM yyyy HH:mm", - F: "dd MMMM yyyy HH:mm:ss", - M: "dd MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "ta", "default", { - name: "ta", - englishName: "Tamil", - nativeName: "தமிழ்", - language: "ta", - numberFormat: { - groupSizes: [3,2], - percent: { - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,2], - symbol: "ரூ" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["ஞாயிற்றுக்கிழமை","திங்கள்கிழமை","செவ்வாய்கிழமை","புதன்கிழமை","வியாழக்கிழமை","வெள்ளிக்கிழமை","சனிக்கிழமை"], - namesAbbr: ["ஞாயிறு","திங்கள்","செவ்வாய்","புதன்","வியாழன்","வெள்ளி","சனி"], - namesShort: ["ஞா","தி","செ","பு","வி","வெ","ச"] - }, - months: { - names: ["ஜனவரி","பிப்ரவரி","மார்ச்","ஏப்ரல்","மே","ஜூன்","ஜூலை","ஆகஸ்ட்","செப்டம்பர்","அக்டோபர்","நவம்பர்","டிசம்பர்",""], - namesAbbr: ["ஜனவரி","பிப்ரவரி","மார்ச்","ஏப்ரல்","மே","ஜூன்","ஜூலை","ஆகஸ்ட்","செப்டம்பர்","அக்டோபர்","நவம்பர்","டிசம்பர்",""] - }, - AM: ["காலை","காலை","காலை"], - PM: ["மாலை","மாலை","மாலை"], - patterns: { - d: "dd-MM-yyyy", - D: "dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd MMMM yyyy HH:mm", - F: "dd MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "te", "default", { - name: "te", - englishName: "Telugu", - nativeName: "తెలుగు", - language: "te", - numberFormat: { - groupSizes: [3,2], - percent: { - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,2], - symbol: "రూ" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["ఆదివారం","సోమవారం","మంగళవారం","బుధవారం","గురువారం","శుక్రవారం","శనివారం"], - namesAbbr: ["ఆది.","సోమ.","మంగళ.","బుధ.","గురు.","శుక్ర.","శని."], - namesShort: ["ఆ","సో","మం","బు","గు","శు","శ"] - }, - months: { - names: ["జనవరి","ఫిబ్రవరి","మార్చి","ఏప్రిల్","మే","జూన్","జూలై","ఆగస్టు","సెప్టెంబర్","అక్టోబర్","నవంబర్","డిసెంబర్",""], - namesAbbr: ["జనవరి","ఫిబ్రవరి","మార్చి","ఏప్రిల్","మే","జూన్","జూలై","ఆగస్టు","సెప్టెంబర్","అక్టోబర్","నవంబర్","డిసెంబర్",""] - }, - AM: ["పూర్వాహ్న","పూర్వాహ్న","పూర్వాహ్న"], - PM: ["అపరాహ్న","అపరాహ్న","అపరాహ్న"], - patterns: { - d: "dd-MM-yy", - D: "dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd MMMM yyyy HH:mm", - F: "dd MMMM yyyy HH:mm:ss", - M: "dd MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "kn", "default", { - name: "kn", - englishName: "Kannada", - nativeName: "ಕನ್ನಡ", - language: "kn", - numberFormat: { - groupSizes: [3,2], - percent: { - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,2], - symbol: "ರೂ" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["ಭಾನುವಾರ","ಸೋಮವಾರ","ಮಂಗಳವಾರ","ಬುಧವಾರ","ಗುರುವಾರ","ಶುಕ್ರವಾರ","ಶನಿವಾರ"], - namesAbbr: ["ಭಾನು.","ಸೋಮ.","ಮಂಗಳ.","ಬುಧ.","ಗುರು.","ಶುಕ್ರ.","ಶನಿ."], - namesShort: ["ರ","ಸ","ಮ","ಬ","ಗ","ಶ","ಶ"] - }, - months: { - names: ["ಜನವರಿ","ಫೆಬ್ರವರಿ","ಮಾರ್ಚ್","ಎಪ್ರಿಲ್","ಮೇ","ಜೂನ್","ಜುಲೈ","ಆಗಸ್ಟ್","ಸೆಪ್ಟಂಬರ್","ಅಕ್ಟೋಬರ್","ನವೆಂಬರ್","ಡಿಸೆಂಬರ್",""], - namesAbbr: ["ಜನವರಿ","ಫೆಬ್ರವರಿ","ಮಾರ್ಚ್","ಎಪ್ರಿಲ್","ಮೇ","ಜೂನ್","ಜುಲೈ","ಆಗಸ್ಟ್","ಸೆಪ್ಟಂಬರ್","ಅಕ್ಟೋಬರ್","ನವೆಂಬರ್","ಡಿಸೆಂಬರ್",""] - }, - AM: ["ಪೂರ್ವಾಹ್ನ","ಪೂರ್ವಾಹ್ನ","ಪೂರ್ವಾಹ್ನ"], - PM: ["ಅಪರಾಹ್ನ","ಅಪರಾಹ್ನ","ಅಪರಾಹ್ನ"], - patterns: { - d: "dd-MM-yy", - D: "dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd MMMM yyyy HH:mm", - F: "dd MMMM yyyy HH:mm:ss", - M: "dd MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "ml", "default", { - name: "ml", - englishName: "Malayalam", - nativeName: "മലയാളം", - language: "ml", - numberFormat: { - groupSizes: [3,2], - percent: { - pattern: ["-%n","%n"], - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,2], - symbol: "ക" - } - }, - calendars: { - standard: { - "/": "-", - ":": ".", - firstDay: 1, - days: { - names: ["ഞായറാഴ്ച","തിങ്കളാഴ്ച","ചൊവ്വാഴ്ച","ബുധനാഴ്ച","വ്യാഴാഴ്ച","വെള്ളിയാഴ്ച","ശനിയാഴ്ച"], - namesAbbr: ["ഞായർ.","തിങ്കൾ.","ചൊവ്വ.","ബുധൻ.","വ്യാഴം.","വെള്ളി.","ശനി."], - namesShort: ["ഞ","ത","ച","ബ","വ","വെ","ശ"] - }, - months: { - names: ["ജനുവരി","ഫെബ്റുവരി","മാറ്ച്ച്","ഏപ്റില്","മെയ്","ജൂണ്","ജൂലൈ","ഓഗസ്ററ്","സെപ്ററംബറ്","ഒക്ടോബറ്","നവംബറ്","ഡിസംബറ്",""], - namesAbbr: ["ജനുവരി","ഫെബ്റുവരി","മാറ്ച്ച്","ഏപ്റില്","മെയ്","ജൂണ്","ജൂലൈ","ഓഗസ്ററ്","സെപ്ററംബറ്","ഒക്ടോബറ്","നവംബറ്","ഡിസംബറ്",""] - }, - patterns: { - d: "dd-MM-yy", - D: "dd MMMM yyyy", - t: "HH.mm", - T: "HH.mm.ss", - f: "dd MMMM yyyy HH.mm", - F: "dd MMMM yyyy HH.mm.ss", - M: "dd MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "as", "default", { - name: "as", - englishName: "Assamese", - nativeName: "অসমীয়া", - language: "as", - numberFormat: { - groupSizes: [3,2], - "NaN": "nan", - negativeInfinity: "-infinity", - positiveInfinity: "infinity", - percent: { - pattern: ["-n%","n%"], - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","n$"], - groupSizes: [3,2], - symbol: "ট" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["সোমবাৰ","মঙ্গলবাৰ","বুধবাৰ","বৃহস্পতিবাৰ","শুক্রবাৰ","শনিবাৰ","ৰবিবাৰ"], - namesAbbr: ["সোম.","মঙ্গল.","বুধ.","বৃহ.","শুক্র.","শনি.","ৰবি."], - namesShort: ["সো","ম","বু","বৃ","শু","শ","র"] - }, - months: { - names: ["জানুৱাৰী","ফেব্রুৱাৰী","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগষ্ট","চেপ্টেম্বর","অক্টোবর","নবেম্বর","ডিচেম্বর",""], - namesAbbr: ["জানু","ফেব্রু","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগষ্ট","চেপ্টে","অক্টো","নবে","ডিচে",""] - }, - AM: ["ৰাতিপু","ৰাতিপু","ৰাতিপু"], - PM: ["আবেলি","আবেলি","আবেলি"], - eras: [{"name":"খ্রীষ্টাব্দ","start":null,"offset":0}], - patterns: { - d: "dd-MM-yyyy", - D: "yyyy,MMMM dd, dddd", - t: "tt h:mm", - T: "tt h:mm:ss", - f: "yyyy,MMMM dd, dddd tt h:mm", - F: "yyyy,MMMM dd, dddd tt h:mm:ss", - M: "dd MMMM", - Y: "MMMM,yy" - } - } - } -}); - -Globalize.addCultureInfo( "mr", "default", { - name: "mr", - englishName: "Marathi", - nativeName: "मराठी", - language: "mr", - numberFormat: { - groupSizes: [3,2], - percent: { - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,2], - symbol: "रु" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["रविवार","सोमवार","मंगळवार","बुधवार","गुरुवार","शुक्रवार","शनिवार"], - namesAbbr: ["रवि.","सोम.","मंगळ.","बुध.","गुरु.","शुक्र.","शनि."], - namesShort: ["र","स","म","ब","ग","श","श"] - }, - months: { - names: ["जानेवारी","फेब्रुवारी","मार्च","एप्रिल","मे","जून","जुलै","ऑगस्ट","सप्टेंबर","ऑक्टोबर","नोव्हेंबर","डिसेंबर",""], - namesAbbr: ["जाने.","फेब्रु.","मार्च","एप्रिल","मे","जून","जुलै","ऑगस्ट","सप्टें.","ऑक्टो.","नोव्हें.","डिसें.",""] - }, - AM: ["म.पू.","म.पू.","म.पू."], - PM: ["म.नं.","म.नं.","म.नं."], - patterns: { - d: "dd-MM-yyyy", - D: "dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd MMMM yyyy HH:mm", - F: "dd MMMM yyyy HH:mm:ss", - M: "dd MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "sa", "default", { - name: "sa", - englishName: "Sanskrit", - nativeName: "संस्कृत", - language: "sa", - numberFormat: { - groupSizes: [3,2], - percent: { - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,2], - symbol: "रु" - } - }, - calendars: { - standard: { - "/": "-", - days: { - names: ["रविवासरः","सोमवासरः","मङ्गलवासरः","बुधवासरः","गुरुवासरः","शुक्रवासरः","शनिवासरः"], - namesAbbr: ["रविवासरः","सोमवासरः","मङ्गलवासरः","बुधवासरः","गुरुवासरः","शुक्रवासरः","शनिवासरः"], - namesShort: ["र","स","म","ब","ग","श","श"] - }, - months: { - names: ["जनवरी","फरवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्तूबर","नवम्बर","दिसम्बर",""], - namesAbbr: ["जनवरी","फरवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्तूबर","नवम्बर","दिसम्बर",""] - }, - AM: ["पूर्वाह्न","पूर्वाह्न","पूर्वाह्न"], - PM: ["अपराह्न","अपराह्न","अपराह्न"], - patterns: { - d: "dd-MM-yyyy", - D: "dd MMMM yyyy dddd", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd MMMM yyyy dddd HH:mm", - F: "dd MMMM yyyy dddd HH:mm:ss", - M: "dd MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "mn", "default", { - name: "mn", - englishName: "Mongolian", - nativeName: "Монгол хэл", - language: "mn", - numberFormat: { - ",": " ", - ".": ",", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n$","n$"], - ",": " ", - ".": ",", - symbol: "₮" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Ням","Даваа","Мягмар","Лхагва","Пүрэв","Баасан","Бямба"], - namesAbbr: ["Ня","Да","Мя","Лх","Пү","Ба","Бя"], - namesShort: ["Ня","Да","Мя","Лх","Пү","Ба","Бя"] - }, - months: { - names: ["1 дүгээр сар","2 дугаар сар","3 дугаар сар","4 дүгээр сар","5 дугаар сар","6 дугаар сар","7 дугаар сар","8 дугаар сар","9 дүгээр сар","10 дугаар сар","11 дүгээр сар","12 дугаар сар",""], - namesAbbr: ["I","II","III","IV","V","VI","VII","VIII","IX","X","XI","XII",""] - }, - monthsGenitive: { - names: ["1 дүгээр сарын","2 дугаар сарын","3 дугаар сарын","4 дүгээр сарын","5 дугаар сарын","6 дугаар сарын","7 дугаар сарын","8 дугаар сарын","9 дүгээр сарын","10 дугаар сарын","11 дүгээр сарын","12 дугаар сарын",""], - namesAbbr: ["I","II","III","IV","V","VI","VII","VIII","IX","X","XI","XII",""] - }, - AM: null, - PM: null, - patterns: { - d: "yy.MM.dd", - D: "yyyy 'оны' MMMM d", - t: "H:mm", - T: "H:mm:ss", - f: "yyyy 'оны' MMMM d H:mm", - F: "yyyy 'оны' MMMM d H:mm:ss", - M: "d MMMM", - Y: "yyyy 'он' MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "bo", "default", { - name: "bo", - englishName: "Tibetan", - nativeName: "བོད་ཡིག", - language: "bo", - numberFormat: { - groupSizes: [3,0], - "NaN": "ཨང་ཀི་མིན་པ།", - negativeInfinity: "མོ་གྲངས་ཚད་མེད་ཆུང་བ།", - positiveInfinity: "ཕོ་གྲངས་ཚད་མེད་ཆེ་བ།", - percent: { - pattern: ["-n%","n%"], - groupSizes: [3,0] - }, - currency: { - pattern: ["$-n","$n"], - groupSizes: [3,0], - symbol: "¥" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["གཟའ་ཉི་མ།","གཟའ་ཟླ་བ།","གཟའ་མིག་དམར།","གཟའ་ལྷག་པ།","གཟའ་ཕུར་བུ།","གཟའ་པ་སངས།","གཟའ་སྤེན་པ།"], - namesAbbr: ["ཉི་མ།","ཟླ་བ།","མིག་དམར།","ལྷག་པ།","ཕུར་བུ།","པ་སངས།","སྤེན་པ།"], - namesShort: ["༧","༡","༢","༣","༤","༥","༦"] - }, - months: { - names: ["སྤྱི་ཟླ་དང་པོ།","སྤྱི་ཟླ་གཉིས་པ།","སྤྱི་ཟླ་གསུམ་པ།","སྤྱི་ཟླ་བཞི་པ།","སྤྱི་ཟླ་ལྔ་པ།","སྤྱི་ཟླ་དྲུག་པ།","སྤྱི་ཟླ་བདུན་པ།","སྤྱི་ཟླ་བརྒྱད་པ།","སྤྱི་ཟླ་དགུ་པ།","སྤྱི་ཟླ་བཅུ་པོ།","སྤྱི་ཟླ་བཅུ་གཅིག་པ།","སྤྱི་ཟླ་བཅུ་གཉིས་པ།",""], - namesAbbr: ["ཟླ་ ༡","ཟླ་ ༢","ཟླ་ ༣","ཟླ་ ༤","ཟླ་ ༥","ཟླ་ ༦","ཟླ་ ༧","ཟླ་ ༨","ཟླ་ ༩","ཟླ་ ༡༠","ཟླ་ ༡༡","ཟླ་ ༡༢",""] - }, - AM: ["སྔ་དྲོ","སྔ་དྲོ","སྔ་དྲོ"], - PM: ["ཕྱི་དྲོ","ཕྱི་དྲོ","ཕྱི་དྲོ"], - eras: [{"name":"སྤྱི་ལོ","start":null,"offset":0}], - patterns: { - d: "yyyy/M/d", - D: "yyyy'ལོའི་ཟླ' M'ཚེས' d", - t: "HH:mm", - T: "HH:mm:ss", - f: "yyyy'ལོའི་ཟླ' M'ཚེས' d HH:mm", - F: "yyyy'ལོའི་ཟླ' M'ཚེས' d HH:mm:ss", - M: "'ཟླ་' M'ཚེས'd", - Y: "yyyy.M" - } - } - } -}); - -Globalize.addCultureInfo( "cy", "default", { - name: "cy", - englishName: "Welsh", - nativeName: "Cymraeg", - language: "cy", - numberFormat: { - percent: { - pattern: ["-%n","%n"] - }, - currency: { - pattern: ["-$n","$n"], - symbol: "£" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["Dydd Sul","Dydd Llun","Dydd Mawrth","Dydd Mercher","Dydd Iau","Dydd Gwener","Dydd Sadwrn"], - namesAbbr: ["Sul","Llun","Maw","Mer","Iau","Gwe","Sad"], - namesShort: ["Su","Ll","Ma","Me","Ia","Gw","Sa"] - }, - months: { - names: ["Ionawr","Chwefror","Mawrth","Ebrill","Mai","Mehefin","Gorffennaf","Awst","Medi","Hydref","Tachwedd","Rhagfyr",""], - namesAbbr: ["Ion","Chwe","Maw","Ebr","Mai","Meh","Gor","Aws","Med","Hyd","Tach","Rhag",""] - }, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd MMMM yyyy HH:mm", - F: "dd MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "km", "default", { - name: "km", - englishName: "Khmer", - nativeName: "ខ្មែរ", - language: "km", - numberFormat: { - pattern: ["- n"], - groupSizes: [3,0], - "NaN": "NAN", - negativeInfinity: "-- អនន្ត", - positiveInfinity: "អនន្ត", - percent: { - pattern: ["-n%","n%"], - groupSizes: [3,0] - }, - currency: { - pattern: ["-n$","n$"], - symbol: "៛" - } - }, - calendars: { - standard: { - "/": "-", - days: { - names: ["ថ្ងៃអាទិត្យ","ថ្ងៃច័ន្ទ","ថ្ងៃអង្គារ","ថ្ងៃពុធ","ថ្ងៃព្រហស្បតិ៍","ថ្ងៃសុក្រ","ថ្ងៃសៅរ៍"], - namesAbbr: ["អាទិ.","ច.","អ.","ពុ","ព្រហ.","សុ.","ស."], - namesShort: ["អា","ច","អ","ពុ","ព្","សុ","ស"] - }, - months: { - names: ["មករា","កុម្ភៈ","មិនា","មេសា","ឧសភា","មិថុនា","កក្កដា","សីហា","កញ្ញា","តុលា","វិច្ឆិកា","ធ្នូ",""], - namesAbbr: ["១","២","៣","៤","៥","៦","៧","៨","៩","១០","១១","១២",""] - }, - AM: ["ព្រឹក","ព្រឹក","ព្រឹក"], - PM: ["ល្ងាច","ល្ងាច","ល្ងាច"], - eras: [{"name":"មុនគ.ស.","start":null,"offset":0}], - patterns: { - d: "yyyy-MM-dd", - D: "d MMMM yyyy", - t: "H:mm tt", - T: "HH:mm:ss", - f: "d MMMM yyyy H:mm tt", - F: "d MMMM yyyy HH:mm:ss", - M: "'ថ្ងៃទី' dd 'ខែ' MM", - Y: "'ខែ' MM 'ឆ្នាំ' yyyy" - } - }, - Gregorian_TransliteratedEnglish: { - name: "Gregorian_TransliteratedEnglish", - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["أ","ا","ث","أ","خ","ج","س"] - }, - months: { - names: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["يناير","فبراير","مارس","ابريل","مايو","يونيو","يوليو","اغسطس","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ព្រឹក","ព្រឹក","ព្រឹក"], - PM: ["ល្ងាច","ល្ងាច","ល្ងាច"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "H:mm tt", - T: "HH:mm:ss", - f: "dddd, MMMM dd, yyyy H:mm tt", - F: "dddd, MMMM dd, yyyy HH:mm:ss" - } - } - } -}); - -Globalize.addCultureInfo( "lo", "default", { - name: "lo", - englishName: "Lao", - nativeName: "ລາວ", - language: "lo", - numberFormat: { - pattern: ["(n)"], - groupSizes: [3,0], - percent: { - groupSizes: [3,0] - }, - currency: { - pattern: ["(n$)","n$"], - groupSizes: [3,0], - symbol: "₭" - } - }, - calendars: { - standard: { - days: { - names: ["ວັນອາທິດ","ວັນຈັນ","ວັນອັງຄານ","ວັນພຸດ","ວັນພະຫັດ","ວັນສຸກ","ວັນເສົາ"], - namesAbbr: ["ອາທິດ","ຈັນ","ອັງຄານ","ພຸດ","ພະຫັດ","ສຸກ","ເສົາ"], - namesShort: ["ອ","ຈ","ອ","ພ","ພ","ສ","ເ"] - }, - months: { - names: ["ມັງກອນ","ກຸມພາ","ມີນາ","ເມສາ","ພຶດສະພາ","ມິຖຸນາ","ກໍລະກົດ","ສິງຫາ","ກັນຍາ","ຕຸລາ","ພະຈິກ","ທັນວາ",""], - namesAbbr: ["ມັງກອນ","ກຸມພາ","ມີນາ","ເມສາ","ພຶດສະພາ","ມິຖຸນາ","ກໍລະກົດ","ສິງຫາ","ກັນຍາ","ຕຸລາ","ພະຈິກ","ທັນວາ",""] - }, - AM: ["ເຊົ້າ","ເຊົ້າ","ເຊົ້າ"], - PM: ["ແລງ","ແລງ","ແລງ"], - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM yyyy", - t: "H:mm tt", - T: "HH:mm:ss", - f: "dd MMMM yyyy H:mm tt", - F: "dd MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "gl", "default", { - name: "gl", - englishName: "Galician", - nativeName: "galego", - language: "gl", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "NeuN", - negativeInfinity: "-Infinito", - positiveInfinity: "Infinito", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["domingo","luns","martes","mércores","xoves","venres","sábado"], - namesAbbr: ["dom","luns","mar","mér","xov","ven","sáb"], - namesShort: ["do","lu","ma","mé","xo","ve","sá"] - }, - months: { - names: ["xaneiro","febreiro","marzo","abril","maio","xuño","xullo","agosto","setembro","outubro","novembro","decembro",""], - namesAbbr: ["xan","feb","mar","abr","maio","xuñ","xull","ago","set","out","nov","dec",""] - }, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dddd, dd' de 'MMMM' de 'yyyy H:mm", - F: "dddd, dd' de 'MMMM' de 'yyyy H:mm:ss", - M: "dd MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "kok", "default", { - name: "kok", - englishName: "Konkani", - nativeName: "कोंकणी", - language: "kok", - numberFormat: { - groupSizes: [3,2], - percent: { - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,2], - symbol: "रु" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["आयतार","सोमार","मंगळार","बुधवार","बिरेस्तार","सुक्रार","शेनवार"], - namesAbbr: ["आय.","सोम.","मंगळ.","बुध.","बिरे.","सुक्र.","शेन."], - namesShort: ["आ","स","म","ब","ब","स","श"] - }, - months: { - names: ["जानेवारी","फेब्रुवारी","मार्च","एप्रिल","मे","जून","जुलै","ऑगस्ट","सप्टेंबर","ऑक्टोबर","नोवेम्बर","डिसेंबर",""], - namesAbbr: ["जानेवारी","फेब्रुवारी","मार्च","एप्रिल","मे","जून","जुलै","ऑगस्ट","सप्टेंबर","ऑक्टोबर","नोवेम्बर","डिसेंबर",""] - }, - AM: ["म.पू.","म.पू.","म.पू."], - PM: ["म.नं.","म.नं.","म.नं."], - patterns: { - d: "dd-MM-yyyy", - D: "dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd MMMM yyyy HH:mm", - F: "dd MMMM yyyy HH:mm:ss", - M: "dd MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "syr", "default", { - name: "syr", - englishName: "Syriac", - nativeName: "ܣܘܪܝܝܐ", - language: "syr", - isRTL: true, - numberFormat: { - currency: { - pattern: ["$n-","$ n"], - symbol: "ل.س.\u200f" - } - }, - calendars: { - standard: { - firstDay: 6, - days: { - names: ["ܚܕ ܒܫܒܐ","ܬܪܝܢ ܒܫܒܐ","ܬܠܬܐ ܒܫܒܐ","ܐܪܒܥܐ ܒܫܒܐ","ܚܡܫܐ ܒܫܒܐ","ܥܪܘܒܬܐ","ܫܒܬܐ"], - namesAbbr: ["\u070fܐ \u070fܒܫ","\u070fܒ \u070fܒܫ","\u070fܓ \u070fܒܫ","\u070fܕ \u070fܒܫ","\u070fܗ \u070fܒܫ","\u070fܥܪܘܒ","\u070fܫܒ"], - namesShort: ["ܐ","ܒ","ܓ","ܕ","ܗ","ܥ","ܫ"] - }, - months: { - names: ["ܟܢܘܢ ܐܚܪܝ","ܫܒܛ","ܐܕܪ","ܢܝܣܢ","ܐܝܪ","ܚܙܝܪܢ","ܬܡܘܙ","ܐܒ","ܐܝܠܘܠ","ܬܫܪܝ ܩܕܝܡ","ܬܫܪܝ ܐܚܪܝ","ܟܢܘܢ ܩܕܝܡ",""], - namesAbbr: ["\u070fܟܢ \u070fܒ","ܫܒܛ","ܐܕܪ","ܢܝܣܢ","ܐܝܪ","ܚܙܝܪܢ","ܬܡܘܙ","ܐܒ","ܐܝܠܘܠ","\u070fܬܫ \u070fܐ","\u070fܬܫ \u070fܒ","\u070fܟܢ \u070fܐ",""] - }, - AM: ["ܩ.ܛ","ܩ.ܛ","ܩ.ܛ"], - PM: ["ܒ.ܛ","ܒ.ܛ","ܒ.ܛ"], - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM, yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd MMMM, yyyy hh:mm tt", - F: "dd MMMM, yyyy hh:mm:ss tt", - M: "dd MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "si", "default", { - name: "si", - englishName: "Sinhala", - nativeName: "සිංහල", - language: "si", - numberFormat: { - groupSizes: [3,2], - negativeInfinity: "-අනන්තය", - positiveInfinity: "අනන්තය", - percent: { - groupSizes: [3,2] - }, - currency: { - pattern: ["($ n)","$ n"], - symbol: "රු." - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["ඉරිදා","සඳුදා","අඟහරුවාදා","බදාදා","බ්\u200dරහස්පතින්දා","සිකුරාදා","සෙනසුරාදා"], - namesAbbr: ["ඉරිදා","සඳුදා","කුජදා","බුදදා","ගුරුදා","කිවිදා","ශනිදා"], - namesShort: ["ඉ","ස","අ","බ","බ්\u200dර","සි","සෙ"] - }, - months: { - names: ["ජනවාරි","පෙබරවාරි","මාර්තු","අ\u200cප්\u200dරේල්","මැයි","ජූනි","ජූලි","අ\u200cගෝස්තු","සැප්තැම්බර්","ඔක්තෝබර්","නොවැම්බර්","දෙසැම්බර්",""], - namesAbbr: ["ජන.","පෙබ.","මාර්තු.","අප්\u200dරේල්.","මැයි.","ජූනි.","ජූලි.","අගෝ.","සැප්.","ඔක්.","නොවැ.","දෙසැ.",""] - }, - AM: ["පෙ.ව.","පෙ.ව.","පෙ.ව."], - PM: ["ප.ව.","ප.ව.","ප.ව."], - eras: [{"name":"ක්\u200dරි.ව.","start":null,"offset":0}], - patterns: { - d: "yyyy-MM-dd", - D: "yyyy MMMM' මස 'dd' වැනිදා 'dddd", - f: "yyyy MMMM' මස 'dd' වැනිදා 'dddd h:mm tt", - F: "yyyy MMMM' මස 'dd' වැනිදා 'dddd h:mm:ss tt", - Y: "yyyy MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "iu", "default", { - name: "iu", - englishName: "Inuktitut", - nativeName: "Inuktitut", - language: "iu", - numberFormat: { - groupSizes: [3,0], - percent: { - groupSizes: [3,0] - } - }, - calendars: { - standard: { - days: { - names: ["Naattiinguja","Naggajjau","Aippiq","Pingatsiq","Sitammiq","Tallirmiq","Sivataarvik"], - namesAbbr: ["Nat","Nag","Aip","Pi","Sit","Tal","Siv"], - namesShort: ["N","N","A","P","S","T","S"] - }, - months: { - names: ["Jaannuari","Viivvuari","Maatsi","Iipuri","Mai","Juuni","Julai","Aaggiisi","Sitipiri","Utupiri","Nuvipiri","Tisipiri",""], - namesAbbr: ["Jan","Viv","Mas","Ipu","Mai","Jun","Jul","Agi","Sii","Uut","Nuv","Tis",""] - }, - patterns: { - d: "d/MM/yyyy", - D: "ddd, MMMM dd,yyyy", - f: "ddd, MMMM dd,yyyy h:mm tt", - F: "ddd, MMMM dd,yyyy h:mm:ss tt" - } - } - } -}); - -Globalize.addCultureInfo( "am", "default", { - name: "am", - englishName: "Amharic", - nativeName: "አማርኛ", - language: "am", - numberFormat: { - decimals: 1, - groupSizes: [3,0], - "NaN": "NAN", - percent: { - pattern: ["-n%","n%"], - decimals: 1, - groupSizes: [3,0] - }, - currency: { - pattern: ["-$n","$n"], - groupSizes: [3,0], - symbol: "ETB" - } - }, - calendars: { - standard: { - days: { - names: ["እሑድ","ሰኞ","ማክሰኞ","ረቡዕ","ሐሙስ","ዓርብ","ቅዳሜ"], - namesAbbr: ["እሑድ","ሰኞ","ማክሰ","ረቡዕ","ሐሙስ","ዓርብ","ቅዳሜ"], - namesShort: ["እ","ሰ","ማ","ረ","ሐ","ዓ","ቅ"] - }, - months: { - names: ["ጃንዩወሪ","ፌብሩወሪ","ማርች","ኤፕረል","ሜይ","ጁን","ጁላይ","ኦገስት","ሴፕቴምበር","ኦክተውበር","ኖቬምበር","ዲሴምበር",""], - namesAbbr: ["ጃንዩ","ፌብሩ","ማርች","ኤፕረ","ሜይ","ጁን","ጁላይ","ኦገስ","ሴፕቴ","ኦክተ","ኖቬም","ዲሴም",""] - }, - AM: ["ጡዋት","ጡዋት","ጡዋት"], - PM: ["ከሰዓት","ከሰዓት","ከሰዓት"], - eras: [{"name":"ዓመተ ምሕረት","start":null,"offset":0}], - patterns: { - d: "d/M/yyyy", - D: "dddd '፣' MMMM d 'ቀን' yyyy", - f: "dddd '፣' MMMM d 'ቀን' yyyy h:mm tt", - F: "dddd '፣' MMMM d 'ቀን' yyyy h:mm:ss tt", - M: "MMMM d ቀን", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "tzm", "default", { - name: "tzm", - englishName: "Tamazight", - nativeName: "Tamazight", - language: "tzm", - numberFormat: { - pattern: ["n-"], - ",": ".", - ".": ",", - "NaN": "Non Numérique", - negativeInfinity: "-Infini", - positiveInfinity: "+Infini", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - symbol: "DZD" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 6, - days: { - names: ["Acer","Arime","Aram","Ahad","Amhadh","Sem","Sedh"], - namesAbbr: ["Ace","Ari","Ara","Aha","Amh","Sem","Sed"], - namesShort: ["Ac","Ar","Ar","Ah","Am","Se","Se"] - }, - months: { - names: ["Yenayer","Furar","Maghres","Yebrir","Mayu","Yunyu","Yulyu","Ghuct","Cutenber","Ktuber","Wambir","Dujanbir",""], - namesAbbr: ["Yen","Fur","Mag","Yeb","May","Yun","Yul","Ghu","Cut","Ktu","Wam","Duj",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd-MM-yyyy", - D: "dd MMMM, yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dd MMMM, yyyy H:mm", - F: "dd MMMM, yyyy H:mm:ss", - M: "dd MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "ne", "default", { - name: "ne", - englishName: "Nepali", - nativeName: "नेपाली", - language: "ne", - numberFormat: { - groupSizes: [3,2], - "NaN": "nan", - negativeInfinity: "-infinity", - positiveInfinity: "infinity", - percent: { - pattern: ["-n%","n%"], - groupSizes: [3,2] - }, - currency: { - pattern: ["-$n","$n"], - symbol: "रु" - } - }, - calendars: { - standard: { - days: { - names: ["आइतवार","सोमवार","मङ्गलवार","बुधवार","बिहीवार","शुक्रवार","शनिवार"], - namesAbbr: ["आइत","सोम","मङ्गल","बुध","बिही","शुक्र","शनि"], - namesShort: ["आ","सो","म","बु","बि","शु","श"] - }, - months: { - names: ["जनवरी","फेब्रुअरी","मार्च","अप्रिल","मे","जून","जुलाई","अगस्त","सेप्टेम्बर","अक्टोबर","नोभेम्बर","डिसेम्बर",""], - namesAbbr: ["जन","फेब","मार्च","अप्रिल","मे","जून","जुलाई","अग","सेप्ट","अक्ट","नोभ","डिस",""] - }, - AM: ["विहानी","विहानी","विहानी"], - PM: ["बेलुकी","बेलुकी","बेलुकी"], - eras: [{"name":"a.d.","start":null,"offset":0}], - patterns: { - Y: "MMMM,yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "fy", "default", { - name: "fy", - englishName: "Frisian", - nativeName: "Frysk", - language: "fy", - numberFormat: { - ",": ".", - ".": ",", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["$ -n","$ n"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["Snein","Moandei","Tiisdei","Woansdei","Tongersdei","Freed","Sneon"], - namesAbbr: ["Sn","Mo","Ti","Wo","To","Fr","Sn"], - namesShort: ["S","M","T","W","T","F","S"] - }, - months: { - names: ["jannewaris","febrewaris","maart","april","maaie","juny","july","augustus","septimber","oktober","novimber","desimber",""], - namesAbbr: ["jann","febr","mrt","apr","maaie","jun","jul","aug","sept","okt","nov","des",""] - }, - AM: null, - PM: null, - patterns: { - d: "d-M-yyyy", - D: "dddd d MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dddd d MMMM yyyy H:mm", - F: "dddd d MMMM yyyy H:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "ps", "default", { - name: "ps", - englishName: "Pashto", - nativeName: "پښتو", - language: "ps", - isRTL: true, - numberFormat: { - pattern: ["n-"], - ",": "،", - ".": ",", - "NaN": "غ ع", - negativeInfinity: "-∞", - positiveInfinity: "∞", - percent: { - pattern: ["%n-","%n"], - ",": "،", - ".": "," - }, - currency: { - pattern: ["$n-","$n"], - ",": "٬", - ".": "٫", - symbol: "؋" - } - }, - calendars: { - standard: { - name: "Hijri", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["غ.م","غ.م","غ.م"], - PM: ["غ.و","غ.و","غ.و"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MM/yyyy", - f: "dd/MM/yyyy h:mm tt", - F: "dd/MM/yyyy h:mm:ss tt", - M: "dd MMMM" - }, - convert: { - // Adapted to Script from System.Globalization.HijriCalendar - ticks1970: 62135596800000, - // number of days leading up to each month - monthDays: [0, 30, 59, 89, 118, 148, 177, 207, 236, 266, 295, 325, 355], - minDate: -42521673600000, - maxDate: 253402300799999, - // The number of days to add or subtract from the calendar to accommodate the variances - // in the start and the end of Ramadan and to accommodate the date difference between - // countries/regions. May be dynamically adjusted based on user preference, but should - // remain in the range of -2 to 2, inclusive. - hijriAdjustment: 0, - toGregorian: function(hyear, hmonth, hday) { - var daysSinceJan0101 = this.daysToYear(hyear) + this.monthDays[hmonth] + hday - 1 - this.hijriAdjustment; - // 86400000 = ticks per day - var gdate = new Date(daysSinceJan0101 * 86400000 - this.ticks1970); - // adjust for timezone, because we are interested in the gregorian date for the same timezone - // but ticks in javascript is always from GMT, unlike the server were ticks counts from the base - // date in the current timezone. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - return gdate; - }, - fromGregorian: function(gdate) { - if ((gdate < this.minDate) || (gdate > this.maxDate)) return null; - var ticks = this.ticks1970 + (gdate-0) - gdate.getTimezoneOffset() * 60000, - daysSinceJan0101 = Math.floor(ticks / 86400000) + 1 + this.hijriAdjustment; - // very particular formula determined by someone smart, adapted from the server-side implementation. - // it approximates the hijri year. - var hday, hmonth, hyear = Math.floor(((daysSinceJan0101 - 227013) * 30) / 10631) + 1, - absDays = this.daysToYear(hyear), - daysInYear = this.isLeapYear(hyear) ? 355 : 354; - // hyear is just approximate, it may need adjustment up or down by 1. - if (daysSinceJan0101 < absDays) { - hyear--; - absDays -= daysInYear; - } - else if (daysSinceJan0101 === absDays) { - hyear--; - absDays = this.daysToYear(hyear); - } - else { - if (daysSinceJan0101 > (absDays + daysInYear)) { - absDays += daysInYear; - hyear++; - } - } - // determine month by looking at how many days into the hyear we are - // monthDays contains the number of days up to each month. - hmonth = 0; - var daysIntoYear = daysSinceJan0101 - absDays; - while (hmonth <= 11 && daysIntoYear > this.monthDays[hmonth]) { - hmonth++; - } - hmonth--; - hday = daysIntoYear - this.monthDays[hmonth]; - return [hyear, hmonth, hday]; - }, - daysToYear: function(year) { - // calculates how many days since Jan 1, 0001 - var yearsToYear30 = Math.floor((year - 1) / 30) * 30, - yearsInto30 = year - yearsToYear30 - 1, - days = Math.floor((yearsToYear30 * 10631) / 30) + 227013; - while (yearsInto30 > 0) { - days += (this.isLeapYear(yearsInto30) ? 355 : 354); - yearsInto30--; - } - return days; - }, - isLeapYear: function(year) { - return ((((year * 11) + 14) % 30) < 11); - } - } - }, - Gregorian_Localized: { - firstDay: 6, - days: { - names: ["یکشنبه","دوشنبه","سه\u200cشنبه","چارشنبه","پنجشنبه","جمعه","شنبه"], - namesAbbr: ["یکشنبه","دوشنبه","سه\u200cشنبه","چارشنبه","پنجشنبه","جمعه","شنبه"], - namesShort: ["ی","د","س","چ","پ","ج","ش"] - }, - months: { - names: ["سلواغه","كب","ورى","غويى","غبرګولى","چنګا ښزمرى","زمرى","وږى","تله","لړم","لنڈ ۍ","مرغومى",""], - namesAbbr: ["سلواغه","كب","ورى","غويى","غبرګولى","چنګا ښ","زمرى","وږى","تله","لړم","لنڈ ۍ","مرغومى",""] - }, - AM: ["غ.م","غ.م","غ.م"], - PM: ["غ.و","غ.و","غ.و"], - eras: [{"name":"ل.ه","start":null,"offset":0}], - patterns: { - d: "yyyy/M/d", - D: "yyyy, dd, MMMM, dddd", - f: "yyyy, dd, MMMM, dddd h:mm tt", - F: "yyyy, dd, MMMM, dddd h:mm:ss tt", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "fil", "default", { - name: "fil", - englishName: "Filipino", - nativeName: "Filipino", - language: "fil", - numberFormat: { - currency: { - symbol: "PhP" - } - }, - calendars: { - standard: { - days: { - names: ["Linggo","Lunes","Martes","Mierkoles","Huebes","Biernes","Sabado"], - namesAbbr: ["Lin","Lun","Mar","Mier","Hueb","Bier","Saba"], - namesShort: ["L","L","M","M","H","B","S"] - }, - months: { - names: ["Enero","Pebrero","Marso","Abril","Mayo","Hunyo","Hulyo","Agosto","Septyembre","Oktubre","Nobyembre","Disyembre",""], - namesAbbr: ["En","Peb","Mar","Abr","Mayo","Hun","Hul","Agos","Sept","Okt","Nob","Dis",""] - }, - eras: [{"name":"Anno Domini","start":null,"offset":0}] - } - } -}); - -Globalize.addCultureInfo( "dv", "default", { - name: "dv", - englishName: "Divehi", - nativeName: "ދިވެހިބަސް", - language: "dv", - isRTL: true, - numberFormat: { - currency: { - pattern: ["n $-","n $"], - symbol: "ރ." - } - }, - calendars: { - standard: { - name: "Hijri", - days: { - names: ["އާދީއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"], - namesAbbr: ["އާދީއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"], - namesShort: ["އާ","ހޯ","އަ","ބު","ބު","ހު","ހޮ"] - }, - months: { - names: ["މުޙައްރަމް","ޞަފަރު","ރަބީޢުލްއައްވަލް","ރަބީޢުލްއާޚިރު","ޖުމާދަލްއޫލާ","ޖުމާދަލްއާޚިރާ","ރަޖަބް","ޝަޢްބާން","ރަމަޟާން","ޝައްވާލް","ޛުލްޤަޢިދާ","ޛުލްޙިއްޖާ",""], - namesAbbr: ["މުޙައްރަމް","ޞަފަރު","ރަބީޢުލްއައްވަލް","ރަބީޢުލްއާޚިރު","ޖުމާދަލްއޫލާ","ޖުމާދަލްއާޚިރާ","ރަޖަބް","ޝަޢްބާން","ރަމަޟާން","ޝައްވާލް","ޛުލްޤަޢިދާ","ޛުލްޙިއްޖާ",""] - }, - AM: ["މކ","މކ","މކ"], - PM: ["މފ","މފ","މފ"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MM/yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd/MM/yyyy HH:mm", - F: "dd/MM/yyyy HH:mm:ss", - M: "dd MMMM" - }, - convert: { - // Adapted to Script from System.Globalization.HijriCalendar - ticks1970: 62135596800000, - // number of days leading up to each month - monthDays: [0, 30, 59, 89, 118, 148, 177, 207, 236, 266, 295, 325, 355], - minDate: -42521673600000, - maxDate: 253402300799999, - // The number of days to add or subtract from the calendar to accommodate the variances - // in the start and the end of Ramadan and to accommodate the date difference between - // countries/regions. May be dynamically adjusted based on user preference, but should - // remain in the range of -2 to 2, inclusive. - hijriAdjustment: 0, - toGregorian: function(hyear, hmonth, hday) { - var daysSinceJan0101 = this.daysToYear(hyear) + this.monthDays[hmonth] + hday - 1 - this.hijriAdjustment; - // 86400000 = ticks per day - var gdate = new Date(daysSinceJan0101 * 86400000 - this.ticks1970); - // adjust for timezone, because we are interested in the gregorian date for the same timezone - // but ticks in javascript is always from GMT, unlike the server were ticks counts from the base - // date in the current timezone. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - return gdate; - }, - fromGregorian: function(gdate) { - if ((gdate < this.minDate) || (gdate > this.maxDate)) return null; - var ticks = this.ticks1970 + (gdate-0) - gdate.getTimezoneOffset() * 60000, - daysSinceJan0101 = Math.floor(ticks / 86400000) + 1 + this.hijriAdjustment; - // very particular formula determined by someone smart, adapted from the server-side implementation. - // it approximates the hijri year. - var hday, hmonth, hyear = Math.floor(((daysSinceJan0101 - 227013) * 30) / 10631) + 1, - absDays = this.daysToYear(hyear), - daysInYear = this.isLeapYear(hyear) ? 355 : 354; - // hyear is just approximate, it may need adjustment up or down by 1. - if (daysSinceJan0101 < absDays) { - hyear--; - absDays -= daysInYear; - } - else if (daysSinceJan0101 === absDays) { - hyear--; - absDays = this.daysToYear(hyear); - } - else { - if (daysSinceJan0101 > (absDays + daysInYear)) { - absDays += daysInYear; - hyear++; - } - } - // determine month by looking at how many days into the hyear we are - // monthDays contains the number of days up to each month. - hmonth = 0; - var daysIntoYear = daysSinceJan0101 - absDays; - while (hmonth <= 11 && daysIntoYear > this.monthDays[hmonth]) { - hmonth++; - } - hmonth--; - hday = daysIntoYear - this.monthDays[hmonth]; - return [hyear, hmonth, hday]; - }, - daysToYear: function(year) { - // calculates how many days since Jan 1, 0001 - var yearsToYear30 = Math.floor((year - 1) / 30) * 30, - yearsInto30 = year - yearsToYear30 - 1, - days = Math.floor((yearsToYear30 * 10631) / 30) + 227013; - while (yearsInto30 > 0) { - days += (this.isLeapYear(yearsInto30) ? 355 : 354); - yearsInto30--; - } - return days; - }, - isLeapYear: function(year) { - return ((((year * 11) + 14) % 30) < 11); - } - } - }, - Gregorian_Localized: { - days: { - names: ["އާދީއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"], - namesAbbr: ["އާދީއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"], - namesShort: ["އާ","ހޯ","އަ","ބު","ބު","ހު","ހޮ"] - }, - months: { - names: ["ޖަނަވަރީ","ފެބްރުއަރީ","މާޗް","އޭޕްރިލް","މެއި","ޖޫން","ޖުލައި","އޯގަސްޓް","ސެޕްޓެމްބަރ","އޮކްޓޯބަރ","ނޮވެމްބަރ","ޑިސެމްބަރ",""], - namesAbbr: ["ޖަނަވަރީ","ފެބްރުއަރީ","މާޗް","އޭޕްރިލް","މެއި","ޖޫން","ޖުލައި","އޯގަސްޓް","ސެޕްޓެމްބަރ","އޮކްޓޯބަރ","ނޮވެމްބަރ","ޑިސެމްބަރ",""] - }, - AM: ["މކ","މކ","މކ"], - PM: ["މފ","މފ","މފ"], - eras: [{"name":"މީލާދީ","start":null,"offset":0}], - patterns: { - d: "dd/MM/yy", - D: "ddd, yyyy MMMM dd", - t: "HH:mm", - T: "HH:mm:ss", - f: "ddd, yyyy MMMM dd HH:mm", - F: "ddd, yyyy MMMM dd HH:mm:ss", - Y: "yyyy, MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "ha", "default", { - name: "ha", - englishName: "Hausa", - nativeName: "Hausa", - language: "ha", - numberFormat: { - currency: { - pattern: ["$-n","$ n"], - symbol: "N" - } - }, - calendars: { - standard: { - days: { - names: ["Lahadi","Litinin","Talata","Laraba","Alhamis","Juma'a","Asabar"], - namesAbbr: ["Lah","Lit","Tal","Lar","Alh","Jum","Asa"], - namesShort: ["L","L","T","L","A","J","A"] - }, - months: { - names: ["Januwaru","Febreru","Maris","Afrilu","Mayu","Yuni","Yuli","Agusta","Satumba","Oktocba","Nuwamba","Disamba",""], - namesAbbr: ["Jan","Feb","Mar","Afr","May","Yun","Yul","Agu","Sat","Okt","Nuw","Dis",""] - }, - AM: ["Safe","safe","SAFE"], - PM: ["Yamma","yamma","YAMMA"], - eras: [{"name":"AD","start":null,"offset":0}], - patterns: { - d: "d/M/yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "yo", "default", { - name: "yo", - englishName: "Yoruba", - nativeName: "Yoruba", - language: "yo", - numberFormat: { - currency: { - pattern: ["$-n","$ n"], - symbol: "N" - } - }, - calendars: { - standard: { - days: { - names: ["Aiku","Aje","Isegun","Ojo'ru","Ojo'bo","Eti","Abameta"], - namesAbbr: ["Aik","Aje","Ise","Ojo","Ojo","Eti","Aba"], - namesShort: ["A","A","I","O","O","E","A"] - }, - months: { - names: ["Osu kinni","Osu keji","Osu keta","Osu kerin","Osu karun","Osu kefa","Osu keje","Osu kejo","Osu kesan","Osu kewa","Osu kokanla","Osu keresi",""], - namesAbbr: ["kin.","kej.","ket.","ker.","kar.","kef.","kej.","kej.","kes.","kew.","kok.","ker.",""] - }, - AM: ["Owuro","owuro","OWURO"], - PM: ["Ale","ale","ALE"], - eras: [{"name":"AD","start":null,"offset":0}], - patterns: { - d: "d/M/yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "quz", "default", { - name: "quz", - englishName: "Quechua", - nativeName: "runasimi", - language: "quz", - numberFormat: { - ",": ".", - ".": ",", - percent: { - pattern: ["-%n","%n"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["($ n)","$ n"], - ",": ".", - ".": ",", - symbol: "$b" - } - }, - calendars: { - standard: { - days: { - names: ["intichaw","killachaw","atipachaw","quyllurchaw","Ch' askachaw","Illapachaw","k'uychichaw"], - namesAbbr: ["int","kil","ati","quy","Ch'","Ill","k'u"], - namesShort: ["d","k","a","m","h","b","k"] - }, - months: { - names: ["Qulla puquy","Hatun puquy","Pauqar waray","ayriwa","Aymuray","Inti raymi","Anta Sitwa","Qhapaq Sitwa","Uma raymi","Kantaray","Ayamarq'a","Kapaq Raymi",""], - namesAbbr: ["Qul","Hat","Pau","ayr","Aym","Int","Ant","Qha","Uma","Kan","Aya","Kap",""] - }, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, dd' de 'MMMM' de 'yyyy hh:mm tt", - F: "dddd, dd' de 'MMMM' de 'yyyy hh:mm:ss tt", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "nso", "default", { - name: "nso", - englishName: "Sesotho sa Leboa", - nativeName: "Sesotho sa Leboa", - language: "nso", - numberFormat: { - percent: { - pattern: ["-%n","%n"] - }, - currency: { - pattern: ["$-n","$ n"], - symbol: "R" - } - }, - calendars: { - standard: { - days: { - names: ["Lamorena","Mošupologo","Labobedi","Laboraro","Labone","Labohlano","Mokibelo"], - namesAbbr: ["Lam","Moš","Lbb","Lbr","Lbn","Lbh","Mok"], - namesShort: ["L","M","L","L","L","L","M"] - }, - months: { - names: ["Pherekgong","Hlakola","Mopitlo","Moranang","Mosegamanye","Ngoatobošego","Phuphu","Phato","Lewedi","Diphalana","Dibatsela","Manthole",""], - namesAbbr: ["Pher","Hlak","Mop","Mor","Mos","Ngwat","Phup","Phat","Lew","Dip","Dib","Man",""] - }, - patterns: { - d: "yyyy/MM/dd", - D: "dd MMMM yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd MMMM yyyy hh:mm tt", - F: "dd MMMM yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "ba", "default", { - name: "ba", - englishName: "Bashkir", - nativeName: "Башҡорт", - language: "ba", - numberFormat: { - ",": " ", - ".": ",", - groupSizes: [3,0], - negativeInfinity: "-бесконечность", - positiveInfinity: "бесконечность", - percent: { - pattern: ["-n%","n%"], - groupSizes: [3,0], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - groupSizes: [3,0], - ",": " ", - ".": ",", - symbol: "һ." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Йәкшәмбе","Дүшәмбе","Шишәмбе","Шаршамбы","Кесаҙна","Йома","Шәмбе"], - namesAbbr: ["Йш","Дш","Шш","Шр","Кс","Йм","Шб"], - namesShort: ["Йш","Дш","Шш","Шр","Кс","Йм","Шб"] - }, - months: { - names: ["ғинуар","февраль","март","апрель","май","июнь","июль","август","сентябрь","октябрь","ноябрь","декабрь",""], - namesAbbr: ["ғин","фев","мар","апр","май","июн","июл","авг","сен","окт","ноя","дек",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yy", - D: "d MMMM yyyy 'й'", - t: "H:mm", - T: "H:mm:ss", - f: "d MMMM yyyy 'й' H:mm", - F: "d MMMM yyyy 'й' H:mm:ss", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "lb", "default", { - name: "lb", - englishName: "Luxembourgish", - nativeName: "Lëtzebuergesch", - language: "lb", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "n. num.", - negativeInfinity: "-onendlech", - positiveInfinity: "+onendlech", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["Sonndeg","Méindeg","Dënschdeg","Mëttwoch","Donneschdeg","Freideg","Samschdeg"], - namesAbbr: ["Son","Méi","Dën","Mët","Don","Fre","Sam"], - namesShort: ["So","Mé","Dë","Më","Do","Fr","Sa"] - }, - months: { - names: ["Januar","Februar","Mäerz","Abrëll","Mee","Juni","Juli","August","September","Oktober","November","Dezember",""], - namesAbbr: ["Jan","Feb","Mäe","Abr","Mee","Jun","Jul","Aug","Sep","Okt","Nov","Dez",""] - }, - AM: null, - PM: null, - eras: [{"name":"n. Chr","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd d MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd d MMMM yyyy HH:mm", - F: "dddd d MMMM yyyy HH:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "kl", "default", { - name: "kl", - englishName: "Greenlandic", - nativeName: "kalaallisut", - language: "kl", - numberFormat: { - ",": ".", - ".": ",", - groupSizes: [3,0], - negativeInfinity: "-INF", - positiveInfinity: "INF", - percent: { - groupSizes: [3,0], - ",": ".", - ".": "," - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,0], - ",": ".", - ".": ",", - symbol: "kr." - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["sapaat","ataasinngorneq","marlunngorneq","pingasunngorneq","sisamanngorneq","tallimanngorneq","arfininngorneq"], - namesAbbr: ["sap","ata","mar","ping","sis","tal","arf"], - namesShort: ["sa","at","ma","pi","si","ta","ar"] - }, - months: { - names: ["januari","februari","martsi","apriili","maaji","juni","juli","aggusti","septembari","oktobari","novembari","decembari",""], - namesAbbr: ["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","dec",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd-MM-yyyy", - D: "d. MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "d. MMMM yyyy HH:mm", - F: "d. MMMM yyyy HH:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "ig", "default", { - name: "ig", - englishName: "Igbo", - nativeName: "Igbo", - language: "ig", - numberFormat: { - currency: { - pattern: ["$-n","$ n"], - symbol: "N" - } - }, - calendars: { - standard: { - days: { - names: ["Aiku","Aje","Isegun","Ojo'ru","Ojo'bo","Eti","Abameta"], - namesAbbr: ["Aik","Aje","Ise","Ojo","Ojo","Eti","Aba"], - namesShort: ["A","A","I","O","O","E","A"] - }, - months: { - names: ["Onwa mbu","Onwa ibua","Onwa ato","Onwa ano","Onwa ise","Onwa isi","Onwa asa","Onwa asato","Onwa itolu","Onwa iri","Onwa iri n'ofu","Onwa iri n'ibua",""], - namesAbbr: ["mbu.","ibu.","ato.","ano.","ise","isi","asa","asa.","ito.","iri.","n'of.","n'ib.",""] - }, - AM: ["Ututu","ututu","UTUTU"], - PM: ["Efifie","efifie","EFIFIE"], - eras: [{"name":"AD","start":null,"offset":0}], - patterns: { - d: "d/M/yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "ii", "default", { - name: "ii", - englishName: "Yi", - nativeName: "ꆈꌠꁱꂷ", - language: "ii", - numberFormat: { - groupSizes: [3,0], - "NaN": "ꌗꂷꀋꉬ", - negativeInfinity: "ꀄꊭꌐꀋꉆ", - positiveInfinity: "ꈤꇁꑖꀋꉬ", - percent: { - pattern: ["-n%","n%"], - groupSizes: [3,0] - }, - currency: { - pattern: ["$-n","$n"], - symbol: "¥" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["ꑭꆏꑍ","ꆏꊂ꒔","ꆏꊂꑍ","ꆏꊂꌕ","ꆏꊂꇖ","ꆏꊂꉬ","ꆏꊂꃘ"], - namesAbbr: ["ꑭꆏ","ꆏ꒔","ꆏꑍ","ꆏꌕ","ꆏꇖ","ꆏꉬ","ꆏꃘ"], - namesShort: ["ꆏ","꒔","ꑍ","ꌕ","ꇖ","ꉬ","ꃘ"] - }, - months: { - names: ["ꋍꆪ","ꑍꆪ","ꌕꆪ","ꇖꆪ","ꉬꆪ","ꃘꆪ","ꏃꆪ","ꉆꆪ","ꈬꆪ","ꊰꆪ","ꊯꊪꆪ","ꊰꑋꆪ",""], - namesAbbr: ["ꋍꆪ","ꑍꆪ","ꌕꆪ","ꇖꆪ","ꉬꆪ","ꃘꆪ","ꏃꆪ","ꉆꆪ","ꈬꆪ","ꊰꆪ","ꊯꊪꆪ","ꊰꑋꆪ",""] - }, - AM: ["ꂵꆪꈌꈐ","ꂵꆪꈌꈐ","ꂵꆪꈌꈐ"], - PM: ["ꂵꆪꈌꉈ","ꂵꆪꈌꉈ","ꂵꆪꈌꉈ"], - eras: [{"name":"ꇬꑼ","start":null,"offset":0}], - patterns: { - d: "yyyy/M/d", - D: "yyyy'ꈎ' M'ꆪ' d'ꑍ'", - t: "tt h:mm", - T: "H:mm:ss", - f: "yyyy'ꈎ' M'ꆪ' d'ꑍ' tt h:mm", - F: "yyyy'ꈎ' M'ꆪ' d'ꑍ' H:mm:ss", - M: "M'ꆪ' d'ꑍ'", - Y: "yyyy'ꈎ' M'ꆪ'" - } - } - } -}); - -Globalize.addCultureInfo( "arn", "default", { - name: "arn", - englishName: "Mapudungun", - nativeName: "Mapudungun", - language: "arn", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "NeuN", - negativeInfinity: "-Infinito", - positiveInfinity: "Infinito", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-$ n","$ n"], - ",": ".", - ".": "," - } - }, - calendars: { - standard: { - "/": "-", - days: { - names: ["domingo","lunes","martes","miércoles","jueves","viernes","sábado"], - namesAbbr: ["dom","lun","mar","mié","jue","vie","sáb"], - namesShort: ["do","lu","ma","mi","ju","vi","sá"] - }, - months: { - names: ["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""], - namesAbbr: ["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""] - }, - AM: null, - PM: null, - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd-MM-yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dddd, dd' de 'MMMM' de 'yyyy H:mm", - F: "dddd, dd' de 'MMMM' de 'yyyy H:mm:ss", - M: "dd MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "moh", "default", { - name: "moh", - englishName: "Mohawk", - nativeName: "Kanien'kéha", - language: "moh", - numberFormat: { - groupSizes: [3,0], - percent: { - groupSizes: [3,0] - } - }, - calendars: { - standard: { - days: { - names: ["Awentatokentì:ke","Awentataón'ke","Ratironhia'kehronòn:ke","Soséhne","Okaristiiáhne","Ronwaia'tanentaktonhne","Entákta"], - namesShort: ["S","M","T","W","T","F","S"] - }, - months: { - names: ["Tsothohrkó:Wa","Enniska","Enniskó:Wa","Onerahtókha","Onerahtohkó:Wa","Ohiari:Ha","Ohiarihkó:Wa","Seskéha","Seskehkó:Wa","Kenténha","Kentenhkó:Wa","Tsothóhrha",""] - } - } - } -}); - -Globalize.addCultureInfo( "br", "default", { - name: "br", - englishName: "Breton", - nativeName: "brezhoneg", - language: "br", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "NkN", - negativeInfinity: "-Anfin", - positiveInfinity: "+Anfin", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["Sul","Lun","Meurzh","Merc'her","Yaou","Gwener","Sadorn"], - namesAbbr: ["Sul","Lun","Meu.","Mer.","Yaou","Gwe.","Sad."], - namesShort: ["Su","Lu","Mz","Mc","Ya","Gw","Sa"] - }, - months: { - names: ["Genver","C'hwevrer","Meurzh","Ebrel","Mae","Mezheven","Gouere","Eost","Gwengolo","Here","Du","Kerzu",""], - namesAbbr: ["Gen.","C'hwe.","Meur.","Ebr.","Mae","Mezh.","Goue.","Eost","Gwen.","Here","Du","Kzu",""] - }, - AM: null, - PM: null, - eras: [{"name":"g. J.-K.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd d MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd d MMMM yyyy HH:mm", - F: "dddd d MMMM yyyy HH:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "ug", "default", { - name: "ug", - englishName: "Uyghur", - nativeName: "ئۇيغۇرچە", - language: "ug", - isRTL: true, - numberFormat: { - "NaN": "سان ئەمەس", - negativeInfinity: "مەنپىي چەكسىزلىك", - positiveInfinity: "مۇسبەت چەكسىزلىك", - percent: { - pattern: ["-n%","n%"] - }, - currency: { - pattern: ["$-n","$n"], - symbol: "¥" - } - }, - calendars: { - standard: { - "/": "-", - days: { - names: ["يەكشەنبە","دۈشەنبە","سەيشەنبە","چارشەنبە","پەيشەنبە","جۈمە","شەنبە"], - namesAbbr: ["يە","دۈ","سە","چا","پە","جۈ","شە"], - namesShort: ["ي","د","س","چ","پ","ج","ش"] - }, - months: { - names: ["1-ئاي","2-ئاي","3-ئاي","4-ئاي","5-ئاي","6-ئاي","7-ئاي","8-ئاي","9-ئاي","10-ئاي","11-ئاي","12-ئاي",""], - namesAbbr: ["1-ئاي","2-ئاي","3-ئاي","4-ئاي","5-ئاي","6-ئاي","7-ئاي","8-ئاي","9-ئاي","10-ئاي","11-ئاي","12-ئاي",""] - }, - AM: ["چۈشتىن بۇرۇن","چۈشتىن بۇرۇن","چۈشتىن بۇرۇن"], - PM: ["چۈشتىن كېيىن","چۈشتىن كېيىن","چۈشتىن كېيىن"], - eras: [{"name":"مىلادى","start":null,"offset":0}], - patterns: { - d: "yyyy-M-d", - D: "yyyy-'يىلى' MMMM d-'كۈنى،'", - t: "H:mm", - T: "H:mm:ss", - f: "yyyy-'يىلى' MMMM d-'كۈنى،' H:mm", - F: "yyyy-'يىلى' MMMM d-'كۈنى،' H:mm:ss", - M: "MMMM d'-كۈنى'", - Y: "yyyy-'يىلى' MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "mi", "default", { - name: "mi", - englishName: "Maori", - nativeName: "Reo Māori", - language: "mi", - numberFormat: { - percent: { - pattern: ["-%n","%n"] - }, - currency: { - pattern: ["-$n","$n"] - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["Rātapu","Rāhina","Rātū","Rāapa","Rāpare","Rāmere","Rāhoroi"], - namesAbbr: ["Ta","Hi","Tū","Apa","Pa","Me","Ho"], - namesShort: ["Ta","Hi","Tū","Aa","Pa","Me","Ho"] - }, - months: { - names: ["Kohi-tātea","Hui-tanguru","Poutū-te-rangi","Paenga-whāwhā","Haratua","Pipiri","Hōngongoi","Here-turi-kōkā","Mahuru","Whiringa-ā-nuku","Whiringa-ā-rangi","Hakihea",""], - namesAbbr: ["Kohi","Hui","Pou","Pae","Hara","Pipi","Hōngo","Here","Mahu","Nuku","Rangi","Haki",""] - }, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd MMMM, yyyy", - f: "dddd, dd MMMM, yyyy h:mm tt", - F: "dddd, dd MMMM, yyyy h:mm:ss tt", - M: "dd MMMM", - Y: "MMMM, yy" - } - } - } -}); - -Globalize.addCultureInfo( "oc", "default", { - name: "oc", - englishName: "Occitan", - nativeName: "Occitan", - language: "oc", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "Non Numeric", - negativeInfinity: "-Infinit", - positiveInfinity: "+Infinit", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["dimenge","diluns","dimars","dimècres","dijòus","divendres","dissabte"], - namesAbbr: ["dim.","lun.","mar.","mèc.","jòu.","ven.","sab."], - namesShort: ["di","lu","ma","mè","jò","ve","sa"] - }, - months: { - names: ["genier","febrier","març","abril","mai","junh","julh","agost","setembre","octobre","novembre","desembre",""], - namesAbbr: ["gen.","feb.","mar.","abr.","mai.","jun.","jul.","ag.","set.","oct.","nov.","des.",""] - }, - monthsGenitive: { - names: ["de genier","de febrier","de març","d'abril","de mai","de junh","de julh","d'agost","de setembre","d'octobre","de novembre","de desembre",""], - namesAbbr: ["gen.","feb.","mar.","abr.","mai.","jun.","jul.","ag.","set.","oct.","nov.","des.",""] - }, - AM: null, - PM: null, - eras: [{"name":"après Jèsus-Crist","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd,' lo 'd MMMM' de 'yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd,' lo 'd MMMM' de 'yyyy HH:mm", - F: "dddd,' lo 'd MMMM' de 'yyyy HH:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "co", "default", { - name: "co", - englishName: "Corsican", - nativeName: "Corsu", - language: "co", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "Mica numericu", - negativeInfinity: "-Infinitu", - positiveInfinity: "+Infinitu", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["dumenica","luni","marti","mercuri","ghjovi","venderi","sabbatu"], - namesAbbr: ["dum.","lun.","mar.","mer.","ghj.","ven.","sab."], - namesShort: ["du","lu","ma","me","gh","ve","sa"] - }, - months: { - names: ["ghjennaghju","ferraghju","marzu","aprile","maghju","ghjunghju","lugliu","aostu","settembre","ottobre","nuvembre","dicembre",""], - namesAbbr: ["ghje","ferr","marz","apri","magh","ghju","lugl","aost","sett","otto","nuve","dice",""] - }, - AM: null, - PM: null, - eras: [{"name":"dopu J-C","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd d MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd d MMMM yyyy HH:mm", - F: "dddd d MMMM yyyy HH:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "gsw", "default", { - name: "gsw", - englishName: "Alsatian", - nativeName: "Elsässisch", - language: "gsw", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "Ohne Nummer", - negativeInfinity: "-Unendlich", - positiveInfinity: "+Unendlich", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["Sundàà","Mondàà","Dienschdàà","Mittwuch","Dunnerschdàà","Fridàà","Sàmschdàà"], - namesAbbr: ["Su.","Mo.","Di.","Mi.","Du.","Fr.","Sà."], - namesShort: ["Su","Mo","Di","Mi","Du","Fr","Sà"] - }, - months: { - names: ["Jänner","Feverje","März","Àpril","Mai","Jüni","Jüli","Augscht","September","Oktower","Nowember","Dezember",""], - namesAbbr: ["Jän.","Fev.","März","Apr.","Mai","Jüni","Jüli","Aug.","Sept.","Okt.","Now.","Dez.",""] - }, - AM: null, - PM: null, - eras: [{"name":"Vor J.-C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd d MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd d MMMM yyyy HH:mm", - F: "dddd d MMMM yyyy HH:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "sah", "default", { - name: "sah", - englishName: "Yakut", - nativeName: "саха", - language: "sah", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "NAN", - negativeInfinity: "-бесконечность", - positiveInfinity: "бесконечность", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n$","n$"], - ",": " ", - ".": ",", - symbol: "с." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["баскыһыанньа","бэнидиэнньик","оптуорунньук","сэрэдэ","чэппиэр","бээтинсэ","субуота"], - namesAbbr: ["Бс","Бн","Оп","Ср","Чп","Бт","Сб"], - namesShort: ["Бс","Бн","Оп","Ср","Чп","Бт","Сб"] - }, - months: { - names: ["Тохсунньу","Олунньу","Кулун тутар","Муус устар","Ыам ыйа","Бэс ыйа","От ыйа","Атырдьах ыйа","Балаҕан ыйа","Алтынньы","Сэтинньи","Ахсынньы",""], - namesAbbr: ["тхс","олн","кул","мст","ыам","бэс","отй","атр","блҕ","алт","стн","ахс",""] - }, - monthsGenitive: { - names: ["тохсунньу","олунньу","кулун тутар","муус устар","ыам ыйын","бэс ыйын","от ыйын","атырдьах ыйын","балаҕан ыйын","алтынньы","сэтинньи","ахсынньы",""], - namesAbbr: ["тхс","олн","кул","мст","ыам","бэс","отй","атр","блҕ","алт","стн","ахс",""] - }, - AM: null, - PM: null, - patterns: { - d: "MM.dd.yyyy", - D: "MMMM d yyyy 'с.'", - t: "H:mm", - T: "H:mm:ss", - f: "MMMM d yyyy 'с.' H:mm", - F: "MMMM d yyyy 'с.' H:mm:ss", - Y: "MMMM yyyy 'с.'" - } - } - } -}); - -Globalize.addCultureInfo( "qut", "default", { - name: "qut", - englishName: "K'iche", - nativeName: "K'iche", - language: "qut", - numberFormat: { - "NaN": "NeuN", - negativeInfinity: "-Infinito", - positiveInfinity: "Infinito", - currency: { - symbol: "Q" - } - }, - calendars: { - standard: { - days: { - names: ["juq'ij","kaq'ij","oxq'ij","kajq'ij","joq'ij","waqq'ij","wuqq'ij"], - namesAbbr: ["juq","kaq","oxq","kajq","joq","waqq","wuqq"], - namesShort: ["ju","ka","ox","ka","jo","wa","wu"] - }, - months: { - names: ["nab'e ik'","ukab' ik'","rox ik'","ukaj ik'","uro' ik'","uwaq ik'","uwuq ik'","uwajxaq ik'","ub'elej ik'","ulaj ik'","ujulaj ik'","ukab'laj ik'",""], - namesAbbr: ["nab'e","ukab","rox","ukaj","uro","uwaq","uwuq","uwajxaq","ub'elej","ulaj","ujulaj","ukab'laj",""] - }, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, dd' de 'MMMM' de 'yyyy hh:mm tt", - F: "dddd, dd' de 'MMMM' de 'yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "rw", "default", { - name: "rw", - englishName: "Kinyarwanda", - nativeName: "Kinyarwanda", - language: "rw", - numberFormat: { - ",": " ", - ".": ",", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["$-n","$ n"], - ",": " ", - ".": ",", - symbol: "RWF" - } - }, - calendars: { - standard: { - days: { - names: ["Ku wa mbere","Ku wa kabiri","Ku wa gatatu","Ku wa kane","Ku wa gatanu","Ku wa gatandatu","Ku cyumweru"], - namesAbbr: ["mbe.","kab.","gat.","kan.","gat.","gat.","cyu."], - namesShort: ["mb","ka","ga","ka","ga","ga","cy"] - }, - months: { - names: ["Mutarama","Gashyantare","Werurwe","Mata","Gicurasi","Kamena","Nyakanga","Kanama","Nzeli","Ukwakira","Ugushyingo","Ukuboza",""], - namesAbbr: ["Mut","Gas","Wer","Mat","Gic","Kam","Nya","Kan","Nze","Ukwa","Ugu","Uku",""] - }, - AM: ["saa moya z.m.","saa moya z.m.","SAA MOYA Z.M."], - PM: ["saa moya z.n.","saa moya z.n.","SAA MOYA Z.N."], - eras: [{"name":"AD","start":null,"offset":0}] - } - } -}); - -Globalize.addCultureInfo( "wo", "default", { - name: "wo", - englishName: "Wolof", - nativeName: "Wolof", - language: "wo", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "Non Numérique", - negativeInfinity: "-Infini", - positiveInfinity: "+Infini", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "XOF" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"], - namesAbbr: ["dim.","lun.","mar.","mer.","jeu.","ven.","sam."], - namesShort: ["di","lu","ma","me","je","ve","sa"] - }, - months: { - names: ["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""], - namesAbbr: ["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""] - }, - AM: null, - PM: null, - eras: [{"name":"ap. J.-C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd d MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd d MMMM yyyy HH:mm", - F: "dddd d MMMM yyyy HH:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "prs", "default", { - name: "prs", - englishName: "Dari", - nativeName: "درى", - language: "prs", - isRTL: true, - numberFormat: { - pattern: ["n-"], - ",": ".", - ".": ",", - "NaN": "غ ع", - negativeInfinity: "-∞", - positiveInfinity: "∞", - percent: { - pattern: ["%n-","%n"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["$n-","$n"], - symbol: "؋" - } - }, - calendars: { - standard: { - name: "Hijri", - firstDay: 5, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["غ.م","غ.م","غ.م"], - PM: ["غ.و","غ.و","غ.و"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MM/yyyy", - f: "dd/MM/yyyy h:mm tt", - F: "dd/MM/yyyy h:mm:ss tt", - M: "dd MMMM" - }, - convert: { - // Adapted to Script from System.Globalization.HijriCalendar - ticks1970: 62135596800000, - // number of days leading up to each month - monthDays: [0, 30, 59, 89, 118, 148, 177, 207, 236, 266, 295, 325, 355], - minDate: -42521673600000, - maxDate: 253402300799999, - // The number of days to add or subtract from the calendar to accommodate the variances - // in the start and the end of Ramadan and to accommodate the date difference between - // countries/regions. May be dynamically adjusted based on user preference, but should - // remain in the range of -2 to 2, inclusive. - hijriAdjustment: 0, - toGregorian: function(hyear, hmonth, hday) { - var daysSinceJan0101 = this.daysToYear(hyear) + this.monthDays[hmonth] + hday - 1 - this.hijriAdjustment; - // 86400000 = ticks per day - var gdate = new Date(daysSinceJan0101 * 86400000 - this.ticks1970); - // adjust for timezone, because we are interested in the gregorian date for the same timezone - // but ticks in javascript is always from GMT, unlike the server were ticks counts from the base - // date in the current timezone. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - return gdate; - }, - fromGregorian: function(gdate) { - if ((gdate < this.minDate) || (gdate > this.maxDate)) return null; - var ticks = this.ticks1970 + (gdate-0) - gdate.getTimezoneOffset() * 60000, - daysSinceJan0101 = Math.floor(ticks / 86400000) + 1 + this.hijriAdjustment; - // very particular formula determined by someone smart, adapted from the server-side implementation. - // it approximates the hijri year. - var hday, hmonth, hyear = Math.floor(((daysSinceJan0101 - 227013) * 30) / 10631) + 1, - absDays = this.daysToYear(hyear), - daysInYear = this.isLeapYear(hyear) ? 355 : 354; - // hyear is just approximate, it may need adjustment up or down by 1. - if (daysSinceJan0101 < absDays) { - hyear--; - absDays -= daysInYear; - } - else if (daysSinceJan0101 === absDays) { - hyear--; - absDays = this.daysToYear(hyear); - } - else { - if (daysSinceJan0101 > (absDays + daysInYear)) { - absDays += daysInYear; - hyear++; - } - } - // determine month by looking at how many days into the hyear we are - // monthDays contains the number of days up to each month. - hmonth = 0; - var daysIntoYear = daysSinceJan0101 - absDays; - while (hmonth <= 11 && daysIntoYear > this.monthDays[hmonth]) { - hmonth++; - } - hmonth--; - hday = daysIntoYear - this.monthDays[hmonth]; - return [hyear, hmonth, hday]; - }, - daysToYear: function(year) { - // calculates how many days since Jan 1, 0001 - var yearsToYear30 = Math.floor((year - 1) / 30) * 30, - yearsInto30 = year - yearsToYear30 - 1, - days = Math.floor((yearsToYear30 * 10631) / 30) + 227013; - while (yearsInto30 > 0) { - days += (this.isLeapYear(yearsInto30) ? 355 : 354); - yearsInto30--; - } - return days; - }, - isLeapYear: function(year) { - return ((((year * 11) + 14) % 30) < 11); - } - } - }, - Gregorian_Localized: { - firstDay: 5, - days: { - names: ["یکشنبه","دوشنبه","سه\u200cشنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"], - namesAbbr: ["یکشنبه","دوشنبه","سه\u200cشنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"], - namesShort: ["ی","د","س","چ","پ","ج","ش"] - }, - months: { - names: ["سلواغه","كب","ورى","غويى","غبرګولى","چنګاښ","زمرى","وږى","تله","لړم","ليندۍ","مرغومى",""], - namesAbbr: ["سلواغه","كب","ورى","غويى","غبرګولى","چنګاښ","زمرى","وږى","تله","لړم","ليندۍ","مرغومى",""] - }, - AM: ["غ.م","غ.م","غ.م"], - PM: ["غ.و","غ.و","غ.و"], - eras: [{"name":"ل.ه","start":null,"offset":0}], - patterns: { - d: "yyyy/M/d", - D: "yyyy, dd, MMMM, dddd", - f: "yyyy, dd, MMMM, dddd h:mm tt", - F: "yyyy, dd, MMMM, dddd h:mm:ss tt", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "gd", "default", { - name: "gd", - englishName: "Scottish Gaelic", - nativeName: "Gàidhlig", - language: "gd", - numberFormat: { - negativeInfinity: "-Neo-chrìochnachd", - positiveInfinity: "Neo-chrìochnachd", - currency: { - pattern: ["-$n","$n"], - symbol: "£" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"], - namesAbbr: ["Dòm","Lua","Mài","Cia","Ard","Hao","Sat"], - namesShort: ["D","L","M","C","A","H","S"] - }, - months: { - names: ["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd",""], - namesAbbr: ["Fao","Gea","Màr","Gib","Cèi","Ògm","Iuc","Lùn","Sul","Dàm","Sam","Dùb",""] - }, - AM: ["m","m","M"], - PM: ["f","f","F"], - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd MMMM yyyy HH:mm", - F: "dd MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "ar-SA", "default", { - name: "ar-SA", - englishName: "Arabic (Saudi Arabia)", - nativeName: "العربية (المملكة العربية السعودية)", - language: "ar", - isRTL: true, - numberFormat: { - pattern: ["n-"], - "NaN": "ليس برقم", - negativeInfinity: "-لا نهاية", - positiveInfinity: "+لا نهاية", - currency: { - pattern: ["$n-","$ n"], - symbol: "ر.س.\u200f" - } - }, - calendars: { - standard: { - name: "UmAlQura", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MMMM/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd/MMMM/yyyy hh:mm tt", - F: "dd/MMMM/yyyy hh:mm:ss tt", - M: "dd MMMM" - }, - convert: { - _yearInfo: [ - // MonthLengthFlags, Gregorian Date - [746, -2198707200000], - [1769, -2168121600000], - [3794, -2137449600000], - [3748, -2106777600000], - [3402, -2076192000000], - [2710, -2045606400000], - [1334, -2015020800000], - [2741, -1984435200000], - [3498, -1953763200000], - [2980, -1923091200000], - [2889, -1892505600000], - [2707, -1861920000000], - [1323, -1831334400000], - [2647, -1800748800000], - [1206, -1770076800000], - [2741, -1739491200000], - [1450, -1708819200000], - [3413, -1678233600000], - [3370, -1647561600000], - [2646, -1616976000000], - [1198, -1586390400000], - [2397, -1555804800000], - [748, -1525132800000], - [1749, -1494547200000], - [1706, -1463875200000], - [1365, -1433289600000], - [1195, -1402704000000], - [2395, -1372118400000], - [698, -1341446400000], - [1397, -1310860800000], - [2994, -1280188800000], - [1892, -1249516800000], - [1865, -1218931200000], - [1621, -1188345600000], - [683, -1157760000000], - [1371, -1127174400000], - [2778, -1096502400000], - [1748, -1065830400000], - [3785, -1035244800000], - [3474, -1004572800000], - [3365, -973987200000], - [2637, -943401600000], - [685, -912816000000], - [1389, -882230400000], - [2922, -851558400000], - [2898, -820886400000], - [2725, -790300800000], - [2635, -759715200000], - [1175, -729129600000], - [2359, -698544000000], - [694, -667872000000], - [1397, -637286400000], - [3434, -606614400000], - [3410, -575942400000], - [2710, -545356800000], - [2349, -514771200000], - [605, -484185600000], - [1245, -453600000000], - [2778, -422928000000], - [1492, -392256000000], - [3497, -361670400000], - [3410, -330998400000], - [2730, -300412800000], - [1238, -269827200000], - [2486, -239241600000], - [884, -208569600000], - [1897, -177984000000], - [1874, -147312000000], - [1701, -116726400000], - [1355, -86140800000], - [2731, -55555200000], - [1370, -24883200000], - [2773, 5702400000], - [3538, 36374400000], - [3492, 67046400000], - [3401, 97632000000], - [2709, 128217600000], - [1325, 158803200000], - [2653, 189388800000], - [1370, 220060800000], - [2773, 250646400000], - [1706, 281318400000], - [1685, 311904000000], - [1323, 342489600000], - [2647, 373075200000], - [1198, 403747200000], - [2422, 434332800000], - [1388, 465004800000], - [2901, 495590400000], - [2730, 526262400000], - [2645, 556848000000], - [1197, 587433600000], - [2397, 618019200000], - [730, 648691200000], - [1497, 679276800000], - [3506, 709948800000], - [2980, 740620800000], - [2890, 771206400000], - [2645, 801792000000], - [693, 832377600000], - [1397, 862963200000], - [2922, 893635200000], - [3026, 924307200000], - [3012, 954979200000], - [2953, 985564800000], - [2709, 1016150400000], - [1325, 1046736000000], - [1453, 1077321600000], - [2922, 1107993600000], - [1748, 1138665600000], - [3529, 1169251200000], - [3474, 1199923200000], - [2726, 1230508800000], - [2390, 1261094400000], - [686, 1291680000000], - [1389, 1322265600000], - [874, 1352937600000], - [2901, 1383523200000], - [2730, 1414195200000], - [2381, 1444780800000], - [1181, 1475366400000], - [2397, 1505952000000], - [698, 1536624000000], - [1461, 1567209600000], - [1450, 1597881600000], - [3413, 1628467200000], - [2714, 1659139200000], - [2350, 1689724800000], - [622, 1720310400000], - [1373, 1750896000000], - [2778, 1781568000000], - [1748, 1812240000000], - [1701, 1842825600000], - [0, 1873411200000] - ], - minDate: -2198707200000, - maxDate: 1873411199999, - toGregorian: function(hyear, hmonth, hday) { - var days = hday - 1, - gyear = hyear - 1318; - if (gyear < 0 || gyear >= this._yearInfo.length) return null; - var info = this._yearInfo[gyear], - gdate = new Date(info[1]), - monthLength = info[0]; - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the gregorian date in the same timezone, - // not what the gregorian date was at GMT time, so we adjust for the offset. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - for (var i = 0; i < hmonth; i++) { - days += 29 + (monthLength & 1); - monthLength = monthLength >> 1; - } - gdate.setDate(gdate.getDate() + days); - return gdate; - }, - fromGregorian: function(gdate) { - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the hijri date in the same timezone, - // not what the hijri date was at GMT time, so we adjust for the offset. - var ticks = gdate - gdate.getTimezoneOffset() * 60000; - if (ticks < this.minDate || ticks > this.maxDate) return null; - var hyear = 0, - hmonth = 1; - // find the earliest gregorian date in the array that is greater than or equal to the given date - while (ticks > this._yearInfo[++hyear][1]) { } - if (ticks !== this._yearInfo[hyear][1]) { - hyear--; - } - var info = this._yearInfo[hyear], - // how many days has it been since the date we found in the array? - // 86400000 = ticks per day - days = Math.floor((ticks - info[1]) / 86400000), - monthLength = info[0]; - hyear += 1318; // the Nth array entry corresponds to hijri year 1318+N - // now increment day/month based on the total days, considering - // how many days are in each month. We cannot run past the year - // mark since we would have found a different array entry in that case. - var daysInMonth = 29 + (monthLength & 1); - while (days >= daysInMonth) { - days -= daysInMonth; - monthLength = monthLength >> 1; - daysInMonth = 29 + (monthLength & 1); - hmonth++; - } - // remaining days is less than is in one month, thus is the day of the month we landed on - // hmonth-1 because in javascript months are zero based, stay consistent with that. - return [hyear, hmonth - 1, days + 1]; - } - } - }, - Hijri: { - name: "Hijri", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MM/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd/MM/yyyy hh:mm tt", - F: "dd/MM/yyyy hh:mm:ss tt", - M: "dd MMMM" - }, - convert: { - // Adapted to Script from System.Globalization.HijriCalendar - ticks1970: 62135596800000, - // number of days leading up to each month - monthDays: [0, 30, 59, 89, 118, 148, 177, 207, 236, 266, 295, 325, 355], - minDate: -42521673600000, - maxDate: 253402300799999, - // The number of days to add or subtract from the calendar to accommodate the variances - // in the start and the end of Ramadan and to accommodate the date difference between - // countries/regions. May be dynamically adjusted based on user preference, but should - // remain in the range of -2 to 2, inclusive. - hijriAdjustment: 0, - toGregorian: function(hyear, hmonth, hday) { - var daysSinceJan0101 = this.daysToYear(hyear) + this.monthDays[hmonth] + hday - 1 - this.hijriAdjustment; - // 86400000 = ticks per day - var gdate = new Date(daysSinceJan0101 * 86400000 - this.ticks1970); - // adjust for timezone, because we are interested in the gregorian date for the same timezone - // but ticks in javascript is always from GMT, unlike the server were ticks counts from the base - // date in the current timezone. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - return gdate; - }, - fromGregorian: function(gdate) { - if ((gdate < this.minDate) || (gdate > this.maxDate)) return null; - var ticks = this.ticks1970 + (gdate-0) - gdate.getTimezoneOffset() * 60000, - daysSinceJan0101 = Math.floor(ticks / 86400000) + 1 + this.hijriAdjustment; - // very particular formula determined by someone smart, adapted from the server-side implementation. - // it approximates the hijri year. - var hday, hmonth, hyear = Math.floor(((daysSinceJan0101 - 227013) * 30) / 10631) + 1, - absDays = this.daysToYear(hyear), - daysInYear = this.isLeapYear(hyear) ? 355 : 354; - // hyear is just approximate, it may need adjustment up or down by 1. - if (daysSinceJan0101 < absDays) { - hyear--; - absDays -= daysInYear; - } - else if (daysSinceJan0101 === absDays) { - hyear--; - absDays = this.daysToYear(hyear); - } - else { - if (daysSinceJan0101 > (absDays + daysInYear)) { - absDays += daysInYear; - hyear++; - } - } - // determine month by looking at how many days into the hyear we are - // monthDays contains the number of days up to each month. - hmonth = 0; - var daysIntoYear = daysSinceJan0101 - absDays; - while (hmonth <= 11 && daysIntoYear > this.monthDays[hmonth]) { - hmonth++; - } - hmonth--; - hday = daysIntoYear - this.monthDays[hmonth]; - return [hyear, hmonth, hday]; - }, - daysToYear: function(year) { - // calculates how many days since Jan 1, 0001 - var yearsToYear30 = Math.floor((year - 1) / 30) * 30, - yearsInto30 = year - yearsToYear30 - 1, - days = Math.floor((yearsToYear30 * 10631) / 30) + 227013; - while (yearsInto30 > 0) { - days += (this.isLeapYear(yearsInto30) ? 355 : 354); - yearsInto30--; - } - return days; - }, - isLeapYear: function(year) { - return ((((year * 11) + 14) % 30) < 11); - } - } - }, - Gregorian_MiddleEastFrench: { - name: "Gregorian_MiddleEastFrench", - firstDay: 6, - days: { - names: ["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"], - namesAbbr: ["dim.","lun.","mar.","mer.","jeu.","ven.","sam."], - namesShort: ["di","lu","ma","me","je","ve","sa"] - }, - months: { - names: ["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""], - namesAbbr: ["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"ap. J.-C.","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt", - M: "dd MMMM" - } - }, - Gregorian_Arabic: { - name: "Gregorian_Arabic", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""], - namesAbbr: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - }, - Gregorian_Localized: { - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM, yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd MMMM, yyyy hh:mm tt", - F: "dd MMMM, yyyy hh:mm:ss tt", - M: "dd MMMM" - } - }, - Gregorian_TransliteratedFrench: { - name: "Gregorian_TransliteratedFrench", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - } - } -}); - -Globalize.addCultureInfo( "bg-BG", "default", { - name: "bg-BG", - englishName: "Bulgarian (Bulgaria)", - nativeName: "български (България)", - language: "bg", - numberFormat: { - ",": " ", - ".": ",", - negativeInfinity: "- безкрайност", - positiveInfinity: "+ безкрайност", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "лв." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["неделя","понеделник","вторник","сряда","четвъртък","петък","събота"], - namesAbbr: ["нед","пон","вт","ср","четв","пет","съб"], - namesShort: ["н","п","в","с","ч","п","с"] - }, - months: { - names: ["януари","февруари","март","април","май","юни","юли","август","септември","октомври","ноември","декември",""], - namesAbbr: ["ян","февр","март","апр","май","юни","юли","авг","септ","окт","ноември","дек",""] - }, - AM: null, - PM: null, - eras: [{"name":"след новата ера","start":null,"offset":0}], - patterns: { - d: "d.M.yyyy 'г.'", - D: "dd MMMM yyyy 'г.'", - t: "HH:mm 'ч.'", - T: "HH:mm:ss 'ч.'", - f: "dd MMMM yyyy 'г.' HH:mm 'ч.'", - F: "dd MMMM yyyy 'г.' HH:mm:ss 'ч.'", - M: "dd MMMM", - Y: "MMMM yyyy 'г.'" - } - } - } -}); - -Globalize.addCultureInfo( "ca-ES", "default", { - name: "ca-ES", - englishName: "Catalan (Catalan)", - nativeName: "català (català)", - language: "ca", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "NeuN", - negativeInfinity: "-Infinit", - positiveInfinity: "Infinit", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["diumenge","dilluns","dimarts","dimecres","dijous","divendres","dissabte"], - namesAbbr: ["dg.","dl.","dt.","dc.","dj.","dv.","ds."], - namesShort: ["dg","dl","dt","dc","dj","dv","ds"] - }, - months: { - names: ["gener","febrer","març","abril","maig","juny","juliol","agost","setembre","octubre","novembre","desembre",""], - namesAbbr: ["gen","feb","març","abr","maig","juny","jul","ag","set","oct","nov","des",""] - }, - AM: null, - PM: null, - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, d' / 'MMMM' / 'yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd, d' / 'MMMM' / 'yyyy HH:mm", - F: "dddd, d' / 'MMMM' / 'yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM' / 'yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "zh-TW", "default", { - name: "zh-TW", - englishName: "Chinese (Traditional, Taiwan)", - nativeName: "中文(台灣)", - language: "zh-CHT", - numberFormat: { - "NaN": "不是一個數字", - negativeInfinity: "負無窮大", - positiveInfinity: "正無窮大", - percent: { - pattern: ["-n%","n%"] - }, - currency: { - pattern: ["-$n","$n"], - symbol: "NT$" - } - }, - calendars: { - standard: { - days: { - names: ["星期日","星期一","星期二","星期三","星期四","星期五","星期六"], - namesAbbr: ["週日","週一","週二","週三","週四","週五","週六"], - namesShort: ["日","一","二","三","四","五","六"] - }, - months: { - names: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""], - namesAbbr: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""] - }, - AM: ["上午","上午","上午"], - PM: ["下午","下午","下午"], - eras: [{"name":"西元","start":null,"offset":0}], - patterns: { - d: "yyyy/M/d", - D: "yyyy'年'M'月'd'日'", - t: "tt hh:mm", - T: "tt hh:mm:ss", - f: "yyyy'年'M'月'd'日' tt hh:mm", - F: "yyyy'年'M'月'd'日' tt hh:mm:ss", - M: "M'月'd'日'", - Y: "yyyy'年'M'月'" - } - }, - Taiwan: { - name: "Taiwan", - days: { - names: ["星期日","星期一","星期二","星期三","星期四","星期五","星期六"], - namesAbbr: ["週日","週一","週二","週三","週四","週五","週六"], - namesShort: ["日","一","二","三","四","五","六"] - }, - months: { - names: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""], - namesAbbr: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""] - }, - AM: ["上午","上午","上午"], - PM: ["下午","下午","下午"], - eras: [{"name":"","start":null,"offset":1911}], - twoDigitYearMax: 99, - patterns: { - d: "yyyy/M/d", - D: "yyyy'年'M'月'd'日'", - t: "tt hh:mm", - T: "tt hh:mm:ss", - f: "yyyy'年'M'月'd'日' tt hh:mm", - F: "yyyy'年'M'月'd'日' tt hh:mm:ss", - M: "M'月'd'日'", - Y: "yyyy'年'M'月'" - } - } - } -}); - -Globalize.addCultureInfo( "cs-CZ", "default", { - name: "cs-CZ", - englishName: "Czech (Czech Republic)", - nativeName: "čeština (Česká republika)", - language: "cs", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "Není číslo", - negativeInfinity: "-nekonečno", - positiveInfinity: "+nekonečno", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "Kč" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["neděle","pondělí","úterý","středa","čtvrtek","pátek","sobota"], - namesAbbr: ["ne","po","út","st","čt","pá","so"], - namesShort: ["ne","po","út","st","čt","pá","so"] - }, - months: { - names: ["leden","únor","březen","duben","květen","červen","červenec","srpen","září","říjen","listopad","prosinec",""], - namesAbbr: ["1","2","3","4","5","6","7","8","9","10","11","12",""] - }, - monthsGenitive: { - names: ["ledna","února","března","dubna","května","června","července","srpna","září","října","listopadu","prosince",""], - namesAbbr: ["1","2","3","4","5","6","7","8","9","10","11","12",""] - }, - AM: ["dop.","dop.","DOP."], - PM: ["odp.","odp.","ODP."], - eras: [{"name":"n. l.","start":null,"offset":0}], - patterns: { - d: "d.M.yyyy", - D: "d. MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM yyyy H:mm", - F: "d. MMMM yyyy H:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "da-DK", "default", { - name: "da-DK", - englishName: "Danish (Denmark)", - nativeName: "dansk (Danmark)", - language: "da", - numberFormat: { - ",": ".", - ".": ",", - negativeInfinity: "-INF", - positiveInfinity: "INF", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["$ -n","$ n"], - ",": ".", - ".": ",", - symbol: "kr." - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"], - namesAbbr: ["sø","ma","ti","on","to","fr","lø"], - namesShort: ["sø","ma","ti","on","to","fr","lø"] - }, - months: { - names: ["januar","februar","marts","april","maj","juni","juli","august","september","oktober","november","december",""], - namesAbbr: ["jan","feb","mar","apr","maj","jun","jul","aug","sep","okt","nov","dec",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd-MM-yyyy", - D: "d. MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "d. MMMM yyyy HH:mm", - F: "d. MMMM yyyy HH:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "de-DE", "default", { - name: "de-DE", - englishName: "German (Germany)", - nativeName: "Deutsch (Deutschland)", - language: "de", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "n. def.", - negativeInfinity: "-unendlich", - positiveInfinity: "+unendlich", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"], - namesAbbr: ["So","Mo","Di","Mi","Do","Fr","Sa"], - namesShort: ["So","Mo","Di","Mi","Do","Fr","Sa"] - }, - months: { - names: ["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember",""], - namesAbbr: ["Jan","Feb","Mrz","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez",""] - }, - AM: null, - PM: null, - eras: [{"name":"n. Chr.","start":null,"offset":0}], - patterns: { - d: "dd.MM.yyyy", - D: "dddd, d. MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd, d. MMMM yyyy HH:mm", - F: "dddd, d. MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "el-GR", "default", { - name: "el-GR", - englishName: "Greek (Greece)", - nativeName: "Ελληνικά (Ελλάδα)", - language: "el", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "μη αριθμός", - negativeInfinity: "-Άπειρο", - positiveInfinity: "Άπειρο", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["Κυριακή","Δευτέρα","Τρίτη","Τετάρτη","Πέμπτη","Παρασκευή","Σάββατο"], - namesAbbr: ["Κυρ","Δευ","Τρι","Τετ","Πεμ","Παρ","Σαβ"], - namesShort: ["Κυ","Δε","Τρ","Τε","Πε","Πα","Σά"] - }, - months: { - names: ["Ιανουάριος","Φεβρουάριος","Μάρτιος","Απρίλιος","Μάιος","Ιούνιος","Ιούλιος","Αύγουστος","Σεπτέμβριος","Οκτώβριος","Νοέμβριος","Δεκέμβριος",""], - namesAbbr: ["Ιαν","Φεβ","Μαρ","Απρ","Μαϊ","Ιουν","Ιουλ","Αυγ","Σεπ","Οκτ","Νοε","Δεκ",""] - }, - monthsGenitive: { - names: ["Ιανουαρίου","Φεβρουαρίου","Μαρτίου","Απριλίου","Μαΐου","Ιουνίου","Ιουλίου","Αυγούστου","Σεπτεμβρίου","Οκτωβρίου","Νοεμβρίου","Δεκεμβρίου",""], - namesAbbr: ["Ιαν","Φεβ","Μαρ","Απρ","Μαϊ","Ιουν","Ιουλ","Αυγ","Σεπ","Οκτ","Νοε","Δεκ",""] - }, - AM: ["πμ","πμ","ΠΜ"], - PM: ["μμ","μμ","ΜΜ"], - eras: [{"name":"μ.Χ.","start":null,"offset":0}], - patterns: { - d: "d/M/yyyy", - D: "dddd, d MMMM yyyy", - f: "dddd, d MMMM yyyy h:mm tt", - F: "dddd, d MMMM yyyy h:mm:ss tt", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "en-US", "default", { - name: "en-US", - englishName: "English (United States)" -}); - -Globalize.addCultureInfo( "fi-FI", "default", { - name: "fi-FI", - englishName: "Finnish (Finland)", - nativeName: "suomi (Suomi)", - language: "fi", - numberFormat: { - ",": " ", - ".": ",", - negativeInfinity: "-INF", - positiveInfinity: "INF", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["sunnuntai","maanantai","tiistai","keskiviikko","torstai","perjantai","lauantai"], - namesAbbr: ["su","ma","ti","ke","to","pe","la"], - namesShort: ["su","ma","ti","ke","to","pe","la"] - }, - months: { - names: ["tammikuu","helmikuu","maaliskuu","huhtikuu","toukokuu","kesäkuu","heinäkuu","elokuu","syyskuu","lokakuu","marraskuu","joulukuu",""], - namesAbbr: ["tammi","helmi","maalis","huhti","touko","kesä","heinä","elo","syys","loka","marras","joulu",""] - }, - AM: null, - PM: null, - patterns: { - d: "d.M.yyyy", - D: "d. MMMM'ta 'yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM'ta 'yyyy H:mm", - F: "d. MMMM'ta 'yyyy H:mm:ss", - M: "d. MMMM'ta'", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "fr-FR", "default", { - name: "fr-FR", - englishName: "French (France)", - nativeName: "français (France)", - language: "fr", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "Non Numérique", - negativeInfinity: "-Infini", - positiveInfinity: "+Infini", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"], - namesAbbr: ["dim.","lun.","mar.","mer.","jeu.","ven.","sam."], - namesShort: ["di","lu","ma","me","je","ve","sa"] - }, - months: { - names: ["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""], - namesAbbr: ["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""] - }, - AM: null, - PM: null, - eras: [{"name":"ap. J.-C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd d MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd d MMMM yyyy HH:mm", - F: "dddd d MMMM yyyy HH:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "he-IL", "default", { - name: "he-IL", - englishName: "Hebrew (Israel)", - nativeName: "עברית (ישראל)", - language: "he", - isRTL: true, - numberFormat: { - "NaN": "לא מספר", - negativeInfinity: "אינסוף שלילי", - positiveInfinity: "אינסוף חיובי", - percent: { - pattern: ["-n%","n%"] - }, - currency: { - pattern: ["$-n","$ n"], - symbol: "₪" - } - }, - calendars: { - standard: { - days: { - names: ["יום ראשון","יום שני","יום שלישי","יום רביעי","יום חמישי","יום שישי","שבת"], - namesAbbr: ["יום א","יום ב","יום ג","יום ד","יום ה","יום ו","שבת"], - namesShort: ["א","ב","ג","ד","ה","ו","ש"] - }, - months: { - names: ["ינואר","פברואר","מרץ","אפריל","מאי","יוני","יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר",""], - namesAbbr: ["ינו","פבר","מרץ","אפר","מאי","יונ","יול","אוג","ספט","אוק","נוב","דצמ",""] - }, - eras: [{"name":"לספירה","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd dd MMMM yyyy HH:mm", - F: "dddd dd MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - }, - Hebrew: { - name: "Hebrew", - "/": " ", - days: { - names: ["יום ראשון","יום שני","יום שלישי","יום רביעי","יום חמישי","יום שישי","שבת"], - namesAbbr: ["א","ב","ג","ד","ה","ו","ש"], - namesShort: ["א","ב","ג","ד","ה","ו","ש"] - }, - months: { - names: ["תשרי","חשון","כסלו","טבת","שבט","אדר","אדר ב","ניסן","אייר","סיון","תמוז","אב","אלול"], - namesAbbr: ["תשרי","חשון","כסלו","טבת","שבט","אדר","אדר ב","ניסן","אייר","סיון","תמוז","אב","אלול"] - }, - eras: [{"name":"C.E.","start":null,"offset":0}], - twoDigitYearMax: 5790, - patterns: { - d: "dd MMMM yyyy", - D: "dddd dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd dd MMMM yyyy HH:mm", - F: "dddd dd MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "hu-HU", "default", { - name: "hu-HU", - englishName: "Hungarian (Hungary)", - nativeName: "magyar (Magyarország)", - language: "hu", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "nem szám", - negativeInfinity: "negatív végtelen", - positiveInfinity: "végtelen", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "Ft" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["vasárnap","hétfő","kedd","szerda","csütörtök","péntek","szombat"], - namesAbbr: ["V","H","K","Sze","Cs","P","Szo"], - namesShort: ["V","H","K","Sze","Cs","P","Szo"] - }, - months: { - names: ["január","február","március","április","május","június","július","augusztus","szeptember","október","november","december",""], - namesAbbr: ["jan.","febr.","márc.","ápr.","máj.","jún.","júl.","aug.","szept.","okt.","nov.","dec.",""] - }, - AM: ["de.","de.","DE."], - PM: ["du.","du.","DU."], - eras: [{"name":"i.sz.","start":null,"offset":0}], - patterns: { - d: "yyyy.MM.dd.", - D: "yyyy. MMMM d.", - t: "H:mm", - T: "H:mm:ss", - f: "yyyy. MMMM d. H:mm", - F: "yyyy. MMMM d. H:mm:ss", - M: "MMMM d.", - Y: "yyyy. MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "is-IS", "default", { - name: "is-IS", - englishName: "Icelandic (Iceland)", - nativeName: "íslenska (Ísland)", - language: "is", - numberFormat: { - ",": ".", - ".": ",", - negativeInfinity: "-INF", - positiveInfinity: "INF", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - decimals: 0, - ",": ".", - ".": ",", - symbol: "kr." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["sunnudagur","mánudagur","þriðjudagur","miðvikudagur","fimmtudagur","föstudagur","laugardagur"], - namesAbbr: ["sun.","mán.","þri.","mið.","fim.","fös.","lau."], - namesShort: ["su","má","þr","mi","fi","fö","la"] - }, - months: { - names: ["janúar","febrúar","mars","apríl","maí","júní","júlí","ágúst","september","október","nóvember","desember",""], - namesAbbr: ["jan.","feb.","mar.","apr.","maí","jún.","júl.","ágú.","sep.","okt.","nóv.","des.",""] - }, - AM: null, - PM: null, - patterns: { - d: "d.M.yyyy", - D: "d. MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "d. MMMM yyyy HH:mm", - F: "d. MMMM yyyy HH:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "it-IT", "default", { - name: "it-IT", - englishName: "Italian (Italy)", - nativeName: "italiano (Italia)", - language: "it", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "Non un numero reale", - negativeInfinity: "-Infinito", - positiveInfinity: "+Infinito", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-$ n","$ n"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"], - namesAbbr: ["dom","lun","mar","mer","gio","ven","sab"], - namesShort: ["do","lu","ma","me","gi","ve","sa"] - }, - months: { - names: ["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre",""], - namesAbbr: ["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic",""] - }, - AM: null, - PM: null, - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd d MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd d MMMM yyyy HH:mm", - F: "dddd d MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "ja-JP", "default", { - name: "ja-JP", - englishName: "Japanese (Japan)", - nativeName: "日本語 (日本)", - language: "ja", - numberFormat: { - "NaN": "NaN (非数値)", - negativeInfinity: "-∞", - positiveInfinity: "+∞", - percent: { - pattern: ["-n%","n%"] - }, - currency: { - pattern: ["-$n","$n"], - decimals: 0, - symbol: "¥" - } - }, - calendars: { - standard: { - days: { - names: ["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"], - namesAbbr: ["日","月","火","水","木","金","土"], - namesShort: ["日","月","火","水","木","金","土"] - }, - months: { - names: ["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月",""], - namesAbbr: ["1","2","3","4","5","6","7","8","9","10","11","12",""] - }, - AM: ["午前","午前","午前"], - PM: ["午後","午後","午後"], - eras: [{"name":"西暦","start":null,"offset":0}], - patterns: { - d: "yyyy/MM/dd", - D: "yyyy'年'M'月'd'日'", - t: "H:mm", - T: "H:mm:ss", - f: "yyyy'年'M'月'd'日' H:mm", - F: "yyyy'年'M'月'd'日' H:mm:ss", - M: "M'月'd'日'", - Y: "yyyy'年'M'月'" - } - }, - Japanese: { - name: "Japanese", - days: { - names: ["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"], - namesAbbr: ["日","月","火","水","木","金","土"], - namesShort: ["日","月","火","水","木","金","土"] - }, - months: { - names: ["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月",""], - namesAbbr: ["1","2","3","4","5","6","7","8","9","10","11","12",""] - }, - AM: ["午前","午前","午前"], - PM: ["午後","午後","午後"], - eras: [{"name":"平成","start":null,"offset":1867},{"name":"昭和","start":-1812153600000,"offset":1911},{"name":"大正","start":-1357603200000,"offset":1925},{"name":"明治","start":60022080000,"offset":1988}], - twoDigitYearMax: 99, - patterns: { - d: "gg y/M/d", - D: "gg y'年'M'月'd'日'", - t: "H:mm", - T: "H:mm:ss", - f: "gg y'年'M'月'd'日' H:mm", - F: "gg y'年'M'月'd'日' H:mm:ss", - M: "M'月'd'日'", - Y: "gg y'年'M'月'" - } - } - } -}); - -Globalize.addCultureInfo( "ko-KR", "default", { - name: "ko-KR", - englishName: "Korean (Korea)", - nativeName: "한국어 (대한민국)", - language: "ko", - numberFormat: { - currency: { - pattern: ["-$n","$n"], - decimals: 0, - symbol: "₩" - } - }, - calendars: { - standard: { - "/": "-", - days: { - names: ["일요일","월요일","화요일","수요일","목요일","금요일","토요일"], - namesAbbr: ["일","월","화","수","목","금","토"], - namesShort: ["일","월","화","수","목","금","토"] - }, - months: { - names: ["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월",""], - namesAbbr: ["1","2","3","4","5","6","7","8","9","10","11","12",""] - }, - AM: ["오전","오전","오전"], - PM: ["오후","오후","오후"], - eras: [{"name":"서기","start":null,"offset":0}], - patterns: { - d: "yyyy-MM-dd", - D: "yyyy'년' M'월' d'일' dddd", - t: "tt h:mm", - T: "tt h:mm:ss", - f: "yyyy'년' M'월' d'일' dddd tt h:mm", - F: "yyyy'년' M'월' d'일' dddd tt h:mm:ss", - M: "M'월' d'일'", - Y: "yyyy'년' M'월'" - } - }, - Korean: { - name: "Korean", - "/": "-", - days: { - names: ["일요일","월요일","화요일","수요일","목요일","금요일","토요일"], - namesAbbr: ["일","월","화","수","목","금","토"], - namesShort: ["일","월","화","수","목","금","토"] - }, - months: { - names: ["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월",""], - namesAbbr: ["1","2","3","4","5","6","7","8","9","10","11","12",""] - }, - AM: ["오전","오전","오전"], - PM: ["오후","오후","오후"], - eras: [{"name":"단기","start":null,"offset":-2333}], - twoDigitYearMax: 4362, - patterns: { - d: "gg yyyy-MM-dd", - D: "gg yyyy'년' M'월' d'일' dddd", - t: "tt h:mm", - T: "tt h:mm:ss", - f: "gg yyyy'년' M'월' d'일' dddd tt h:mm", - F: "gg yyyy'년' M'월' d'일' dddd tt h:mm:ss", - M: "M'월' d'일'", - Y: "gg yyyy'년' M'월'" - } - } - } -}); - -Globalize.addCultureInfo( "nl-NL", "default", { - name: "nl-NL", - englishName: "Dutch (Netherlands)", - nativeName: "Nederlands (Nederland)", - language: "nl", - numberFormat: { - ",": ".", - ".": ",", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["$ -n","$ n"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"], - namesAbbr: ["zo","ma","di","wo","do","vr","za"], - namesShort: ["zo","ma","di","wo","do","vr","za"] - }, - months: { - names: ["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december",""], - namesAbbr: ["jan","feb","mrt","apr","mei","jun","jul","aug","sep","okt","nov","dec",""] - }, - AM: null, - PM: null, - patterns: { - d: "d-M-yyyy", - D: "dddd d MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dddd d MMMM yyyy H:mm", - F: "dddd d MMMM yyyy H:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "nb-NO", "default", { - name: "nb-NO", - englishName: "Norwegian, Bokmål (Norway)", - nativeName: "norsk, bokmål (Norge)", - language: "nb", - numberFormat: { - ",": " ", - ".": ",", - negativeInfinity: "-INF", - positiveInfinity: "INF", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["$ -n","$ n"], - ",": " ", - ".": ",", - symbol: "kr" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"], - namesAbbr: ["sø","ma","ti","on","to","fr","lø"], - namesShort: ["sø","ma","ti","on","to","fr","lø"] - }, - months: { - names: ["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember",""], - namesAbbr: ["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "d. MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "d. MMMM yyyy HH:mm", - F: "d. MMMM yyyy HH:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "pl-PL", "default", { - name: "pl-PL", - englishName: "Polish (Poland)", - nativeName: "polski (Polska)", - language: "pl", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "nie jest liczbą", - negativeInfinity: "-nieskończoność", - positiveInfinity: "+nieskończoność", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "zł" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"], - namesAbbr: ["N","Pn","Wt","Śr","Cz","Pt","So"], - namesShort: ["N","Pn","Wt","Śr","Cz","Pt","So"] - }, - months: { - names: ["styczeń","luty","marzec","kwiecień","maj","czerwiec","lipiec","sierpień","wrzesień","październik","listopad","grudzień",""], - namesAbbr: ["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru",""] - }, - monthsGenitive: { - names: ["stycznia","lutego","marca","kwietnia","maja","czerwca","lipca","sierpnia","września","października","listopada","grudnia",""], - namesAbbr: ["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru",""] - }, - AM: null, - PM: null, - patterns: { - d: "yyyy-MM-dd", - D: "d MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "d MMMM yyyy HH:mm", - F: "d MMMM yyyy HH:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "pt-BR", "default", { - name: "pt-BR", - englishName: "Portuguese (Brazil)", - nativeName: "Português (Brasil)", - language: "pt", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "NaN (Não é um número)", - negativeInfinity: "-Infinito", - positiveInfinity: "+Infinito", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-$ n","$ n"], - ",": ".", - ".": ",", - symbol: "R$" - } - }, - calendars: { - standard: { - days: { - names: ["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"], - namesAbbr: ["dom","seg","ter","qua","qui","sex","sáb"], - namesShort: ["D","S","T","Q","Q","S","S"] - }, - months: { - names: ["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro",""], - namesAbbr: ["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez",""] - }, - AM: null, - PM: null, - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, d' de 'MMMM' de 'yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd, d' de 'MMMM' de 'yyyy HH:mm", - F: "dddd, d' de 'MMMM' de 'yyyy HH:mm:ss", - M: "dd' de 'MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "rm-CH", "default", { - name: "rm-CH", - englishName: "Romansh (Switzerland)", - nativeName: "Rumantsch (Svizra)", - language: "rm", - numberFormat: { - ",": "'", - "NaN": "betg def.", - negativeInfinity: "-infinit", - positiveInfinity: "+infinit", - percent: { - pattern: ["-n%","n%"], - ",": "'" - }, - currency: { - pattern: ["$-n","$ n"], - ",": "'", - symbol: "fr." - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["dumengia","glindesdi","mardi","mesemna","gievgia","venderdi","sonda"], - namesAbbr: ["du","gli","ma","me","gie","ve","so"], - namesShort: ["du","gli","ma","me","gie","ve","so"] - }, - months: { - names: ["schaner","favrer","mars","avrigl","matg","zercladur","fanadur","avust","settember","october","november","december",""], - namesAbbr: ["schan","favr","mars","avr","matg","zercl","fan","avust","sett","oct","nov","dec",""] - }, - AM: null, - PM: null, - eras: [{"name":"s. Cr.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, d MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd, d MMMM yyyy HH:mm", - F: "dddd, d MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "ro-RO", "default", { - name: "ro-RO", - englishName: "Romanian (Romania)", - nativeName: "română (România)", - language: "ro", - numberFormat: { - ",": ".", - ".": ",", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "lei" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["duminică","luni","marţi","miercuri","joi","vineri","sâmbătă"], - namesAbbr: ["D","L","Ma","Mi","J","V","S"], - namesShort: ["D","L","Ma","Mi","J","V","S"] - }, - months: { - names: ["ianuarie","februarie","martie","aprilie","mai","iunie","iulie","august","septembrie","octombrie","noiembrie","decembrie",""], - namesAbbr: ["ian.","feb.","mar.","apr.","mai.","iun.","iul.","aug.","sep.","oct.","nov.","dec.",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "d MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "d MMMM yyyy HH:mm", - F: "d MMMM yyyy HH:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "ru-RU", "default", { - name: "ru-RU", - englishName: "Russian (Russia)", - nativeName: "русский (Россия)", - language: "ru", - numberFormat: { - ",": " ", - ".": ",", - negativeInfinity: "-бесконечность", - positiveInfinity: "бесконечность", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n$","n$"], - ",": " ", - ".": ",", - symbol: "р." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"], - namesAbbr: ["Вс","Пн","Вт","Ср","Чт","Пт","Сб"], - namesShort: ["Вс","Пн","Вт","Ср","Чт","Пт","Сб"] - }, - months: { - names: ["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь",""], - namesAbbr: ["янв","фев","мар","апр","май","июн","июл","авг","сен","окт","ноя","дек",""] - }, - monthsGenitive: { - names: ["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря",""], - namesAbbr: ["янв","фев","мар","апр","май","июн","июл","авг","сен","окт","ноя","дек",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "d MMMM yyyy 'г.'", - t: "H:mm", - T: "H:mm:ss", - f: "d MMMM yyyy 'г.' H:mm", - F: "d MMMM yyyy 'г.' H:mm:ss", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "hr-HR", "default", { - name: "hr-HR", - englishName: "Croatian (Croatia)", - nativeName: "hrvatski (Hrvatska)", - language: "hr", - numberFormat: { - pattern: ["- n"], - ",": ".", - ".": ",", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "kn" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["nedjelja","ponedjeljak","utorak","srijeda","četvrtak","petak","subota"], - namesAbbr: ["ned","pon","uto","sri","čet","pet","sub"], - namesShort: ["ne","po","ut","sr","če","pe","su"] - }, - months: { - names: ["siječanj","veljača","ožujak","travanj","svibanj","lipanj","srpanj","kolovoz","rujan","listopad","studeni","prosinac",""], - namesAbbr: ["sij","vlj","ožu","tra","svi","lip","srp","kol","ruj","lis","stu","pro",""] - }, - monthsGenitive: { - names: ["siječnja","veljače","ožujka","travnja","svibnja","lipnja","srpnja","kolovoza","rujna","listopada","studenog","prosinca",""], - namesAbbr: ["sij","vlj","ožu","tra","svi","lip","srp","kol","ruj","lis","stu","pro",""] - }, - AM: null, - PM: null, - patterns: { - d: "d.M.yyyy.", - D: "d. MMMM yyyy.", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM yyyy. H:mm", - F: "d. MMMM yyyy. H:mm:ss", - M: "d. MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "sk-SK", "default", { - name: "sk-SK", - englishName: "Slovak (Slovakia)", - nativeName: "slovenčina (Slovenská republika)", - language: "sk", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "Nie je číslo", - negativeInfinity: "-nekonečno", - positiveInfinity: "+nekonečno", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - "/": ". ", - firstDay: 1, - days: { - names: ["nedeľa","pondelok","utorok","streda","štvrtok","piatok","sobota"], - namesAbbr: ["ne","po","ut","st","št","pi","so"], - namesShort: ["ne","po","ut","st","št","pi","so"] - }, - months: { - names: ["január","február","marec","apríl","máj","jún","júl","august","september","október","november","december",""], - namesAbbr: ["1","2","3","4","5","6","7","8","9","10","11","12",""] - }, - monthsGenitive: { - names: ["januára","februára","marca","apríla","mája","júna","júla","augusta","septembra","októbra","novembra","decembra",""], - namesAbbr: ["1","2","3","4","5","6","7","8","9","10","11","12",""] - }, - AM: null, - PM: null, - eras: [{"name":"n. l.","start":null,"offset":0}], - patterns: { - d: "d. M. yyyy", - D: "d. MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM yyyy H:mm", - F: "d. MMMM yyyy H:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "sq-AL", "default", { - name: "sq-AL", - englishName: "Albanian (Albania)", - nativeName: "shqipe (Shqipëria)", - language: "sq", - numberFormat: { - ",": ".", - ".": ",", - negativeInfinity: "-infinit", - positiveInfinity: "infinit", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n$","n$"], - ",": ".", - ".": ",", - symbol: "Lek" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["e diel","e hënë","e martë","e mërkurë","e enjte","e premte","e shtunë"], - namesAbbr: ["Die","Hën","Mar","Mër","Enj","Pre","Sht"], - namesShort: ["Di","Hë","Ma","Më","En","Pr","Sh"] - }, - months: { - names: ["janar","shkurt","mars","prill","maj","qershor","korrik","gusht","shtator","tetor","nëntor","dhjetor",""], - namesAbbr: ["Jan","Shk","Mar","Pri","Maj","Qer","Kor","Gsh","Sht","Tet","Nën","Dhj",""] - }, - AM: ["PD","pd","PD"], - PM: ["MD","md","MD"], - patterns: { - d: "yyyy-MM-dd", - D: "yyyy-MM-dd", - t: "h:mm.tt", - T: "h:mm:ss.tt", - f: "yyyy-MM-dd h:mm.tt", - F: "yyyy-MM-dd h:mm:ss.tt", - Y: "yyyy-MM" - } - } - } -}); - -Globalize.addCultureInfo( "sv-SE", "default", { - name: "sv-SE", - englishName: "Swedish (Sweden)", - nativeName: "svenska (Sverige)", - language: "sv", - numberFormat: { - ",": " ", - ".": ",", - negativeInfinity: "-INF", - positiveInfinity: "INF", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "kr" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["söndag","måndag","tisdag","onsdag","torsdag","fredag","lördag"], - namesAbbr: ["sö","må","ti","on","to","fr","lö"], - namesShort: ["sö","må","ti","on","to","fr","lö"] - }, - months: { - names: ["januari","februari","mars","april","maj","juni","juli","augusti","september","oktober","november","december",""], - namesAbbr: ["jan","feb","mar","apr","maj","jun","jul","aug","sep","okt","nov","dec",""] - }, - AM: null, - PM: null, - patterns: { - d: "yyyy-MM-dd", - D: "'den 'd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "'den 'd MMMM yyyy HH:mm", - F: "'den 'd MMMM yyyy HH:mm:ss", - M: "'den 'd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "th-TH", "default", { - name: "th-TH", - englishName: "Thai (Thailand)", - nativeName: "ไทย (ไทย)", - language: "th", - numberFormat: { - currency: { - pattern: ["-$n","$n"], - symbol: "฿" - } - }, - calendars: { - standard: { - name: "ThaiBuddhist", - firstDay: 1, - days: { - names: ["อาทิตย์","จันทร์","อังคาร","พุธ","พฤหัสบดี","ศุกร์","เสาร์"], - namesAbbr: ["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."], - namesShort: ["อ","จ","อ","พ","พ","ศ","ส"] - }, - months: { - names: ["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม",""], - namesAbbr: ["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค.",""] - }, - eras: [{"name":"พ.ศ.","start":null,"offset":-543}], - twoDigitYearMax: 2572, - patterns: { - d: "d/M/yyyy", - D: "d MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d MMMM yyyy H:mm", - F: "d MMMM yyyy H:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - }, - Gregorian_Localized: { - firstDay: 1, - days: { - names: ["อาทิตย์","จันทร์","อังคาร","พุธ","พฤหัสบดี","ศุกร์","เสาร์"], - namesAbbr: ["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."], - namesShort: ["อ","จ","อ","พ","พ","ศ","ส"] - }, - months: { - names: ["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม",""], - namesAbbr: ["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค.",""] - }, - patterns: { - d: "d/M/yyyy", - D: "'วัน'dddd'ที่' d MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "'วัน'dddd'ที่' d MMMM yyyy H:mm", - F: "'วัน'dddd'ที่' d MMMM yyyy H:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "tr-TR", "default", { - name: "tr-TR", - englishName: "Turkish (Turkey)", - nativeName: "Türkçe (Türkiye)", - language: "tr", - numberFormat: { - ",": ".", - ".": ",", - percent: { - pattern: ["-%n","%n"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "TL" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"], - namesAbbr: ["Paz","Pzt","Sal","Çar","Per","Cum","Cmt"], - namesShort: ["Pz","Pt","Sa","Ça","Pe","Cu","Ct"] - }, - months: { - names: ["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık",""], - namesAbbr: ["Oca","Şub","Mar","Nis","May","Haz","Tem","Ağu","Eyl","Eki","Kas","Ara",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "dd MMMM yyyy dddd", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd MMMM yyyy dddd HH:mm", - F: "dd MMMM yyyy dddd HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "ur-PK", "default", { - name: "ur-PK", - englishName: "Urdu (Islamic Republic of Pakistan)", - nativeName: "اُردو (پاکستان)", - language: "ur", - isRTL: true, - numberFormat: { - currency: { - pattern: ["$n-","$n"], - symbol: "Rs" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["اتوار","پير","منگل","بدھ","جمعرات","جمعه","هفته"], - namesAbbr: ["اتوار","پير","منگل","بدھ","جمعرات","جمعه","هفته"], - namesShort: ["ا","پ","م","ب","ج","ج","ه"] - }, - months: { - names: ["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر",""], - namesAbbr: ["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر",""] - }, - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM, yyyy", - f: "dd MMMM, yyyy h:mm tt", - F: "dd MMMM, yyyy h:mm:ss tt", - M: "dd MMMM" - } - }, - Hijri: { - name: "Hijri", - firstDay: 1, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MM/yyyy", - f: "dd/MM/yyyy h:mm tt", - F: "dd/MM/yyyy h:mm:ss tt", - M: "dd MMMM" - }, - convert: { - // Adapted to Script from System.Globalization.HijriCalendar - ticks1970: 62135596800000, - // number of days leading up to each month - monthDays: [0, 30, 59, 89, 118, 148, 177, 207, 236, 266, 295, 325, 355], - minDate: -42521673600000, - maxDate: 253402300799999, - // The number of days to add or subtract from the calendar to accommodate the variances - // in the start and the end of Ramadan and to accommodate the date difference between - // countries/regions. May be dynamically adjusted based on user preference, but should - // remain in the range of -2 to 2, inclusive. - hijriAdjustment: 0, - toGregorian: function(hyear, hmonth, hday) { - var daysSinceJan0101 = this.daysToYear(hyear) + this.monthDays[hmonth] + hday - 1 - this.hijriAdjustment; - // 86400000 = ticks per day - var gdate = new Date(daysSinceJan0101 * 86400000 - this.ticks1970); - // adjust for timezone, because we are interested in the gregorian date for the same timezone - // but ticks in javascript is always from GMT, unlike the server were ticks counts from the base - // date in the current timezone. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - return gdate; - }, - fromGregorian: function(gdate) { - if ((gdate < this.minDate) || (gdate > this.maxDate)) return null; - var ticks = this.ticks1970 + (gdate-0) - gdate.getTimezoneOffset() * 60000, - daysSinceJan0101 = Math.floor(ticks / 86400000) + 1 + this.hijriAdjustment; - // very particular formula determined by someone smart, adapted from the server-side implementation. - // it approximates the hijri year. - var hday, hmonth, hyear = Math.floor(((daysSinceJan0101 - 227013) * 30) / 10631) + 1, - absDays = this.daysToYear(hyear), - daysInYear = this.isLeapYear(hyear) ? 355 : 354; - // hyear is just approximate, it may need adjustment up or down by 1. - if (daysSinceJan0101 < absDays) { - hyear--; - absDays -= daysInYear; - } - else if (daysSinceJan0101 === absDays) { - hyear--; - absDays = this.daysToYear(hyear); - } - else { - if (daysSinceJan0101 > (absDays + daysInYear)) { - absDays += daysInYear; - hyear++; - } - } - // determine month by looking at how many days into the hyear we are - // monthDays contains the number of days up to each month. - hmonth = 0; - var daysIntoYear = daysSinceJan0101 - absDays; - while (hmonth <= 11 && daysIntoYear > this.monthDays[hmonth]) { - hmonth++; - } - hmonth--; - hday = daysIntoYear - this.monthDays[hmonth]; - return [hyear, hmonth, hday]; - }, - daysToYear: function(year) { - // calculates how many days since Jan 1, 0001 - var yearsToYear30 = Math.floor((year - 1) / 30) * 30, - yearsInto30 = year - yearsToYear30 - 1, - days = Math.floor((yearsToYear30 * 10631) / 30) + 227013; - while (yearsInto30 > 0) { - days += (this.isLeapYear(yearsInto30) ? 355 : 354); - yearsInto30--; - } - return days; - }, - isLeapYear: function(year) { - return ((((year * 11) + 14) % 30) < 11); - } - } - } - } -}); - -Globalize.addCultureInfo( "id-ID", "default", { - name: "id-ID", - englishName: "Indonesian (Indonesia)", - nativeName: "Bahasa Indonesia (Indonesia)", - language: "id", - numberFormat: { - ",": ".", - ".": ",", - percent: { - ",": ".", - ".": "," - }, - currency: { - decimals: 0, - ",": ".", - ".": ",", - symbol: "Rp" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"], - namesAbbr: ["Minggu","Sen","Sel","Rabu","Kamis","Jumat","Sabtu"], - namesShort: ["M","S","S","R","K","J","S"] - }, - months: { - names: ["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","Nopember","Desember",""], - namesAbbr: ["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Agust","Sep","Okt","Nop","Des",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dd MMMM yyyy H:mm", - F: "dd MMMM yyyy H:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "uk-UA", "default", { - name: "uk-UA", - englishName: "Ukrainian (Ukraine)", - nativeName: "українська (Україна)", - language: "uk", - numberFormat: { - ",": " ", - ".": ",", - negativeInfinity: "-безмежність", - positiveInfinity: "безмежність", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n$","n$"], - ",": " ", - ".": ",", - symbol: "₴" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["неділя","понеділок","вівторок","середа","четвер","п'ятниця","субота"], - namesAbbr: ["Нд","Пн","Вт","Ср","Чт","Пт","Сб"], - namesShort: ["Нд","Пн","Вт","Ср","Чт","Пт","Сб"] - }, - months: { - names: ["Січень","Лютий","Березень","Квітень","Травень","Червень","Липень","Серпень","Вересень","Жовтень","Листопад","Грудень",""], - namesAbbr: ["Січ","Лют","Бер","Кві","Тра","Чер","Лип","Сер","Вер","Жов","Лис","Гру",""] - }, - monthsGenitive: { - names: ["січня","лютого","березня","квітня","травня","червня","липня","серпня","вересня","жовтня","листопада","грудня",""], - namesAbbr: ["січ","лют","бер","кві","тра","чер","лип","сер","вер","жов","лис","гру",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "d MMMM yyyy' р.'", - t: "H:mm", - T: "H:mm:ss", - f: "d MMMM yyyy' р.' H:mm", - F: "d MMMM yyyy' р.' H:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy' р.'" - } - } - } -}); - -Globalize.addCultureInfo( "be-BY", "default", { - name: "be-BY", - englishName: "Belarusian (Belarus)", - nativeName: "Беларускі (Беларусь)", - language: "be", - numberFormat: { - ",": " ", - ".": ",", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "р." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["нядзеля","панядзелак","аўторак","серада","чацвер","пятніца","субота"], - namesAbbr: ["нд","пн","аў","ср","чц","пт","сб"], - namesShort: ["нд","пн","аў","ср","чц","пт","сб"] - }, - months: { - names: ["Студзень","Люты","Сакавік","Красавік","Май","Чэрвень","Ліпень","Жнівень","Верасень","Кастрычнік","Лістапад","Снежань",""], - namesAbbr: ["Сту","Лют","Сак","Кра","Май","Чэр","Ліп","Жні","Вер","Кас","Ліс","Сне",""] - }, - monthsGenitive: { - names: ["студзеня","лютага","сакавіка","красавіка","мая","чэрвеня","ліпеня","жніўня","верасня","кастрычніка","лістапада","снежня",""], - namesAbbr: ["Сту","Лют","Сак","Кра","Май","Чэр","Ліп","Жні","Вер","Кас","Ліс","Сне",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "d MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d MMMM yyyy H:mm", - F: "d MMMM yyyy H:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "sl-SI", "default", { - name: "sl-SI", - englishName: "Slovenian (Slovenia)", - nativeName: "slovenski (Slovenija)", - language: "sl", - numberFormat: { - ",": ".", - ".": ",", - negativeInfinity: "-neskončnost", - positiveInfinity: "neskončnost", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["nedelja","ponedeljek","torek","sreda","četrtek","petek","sobota"], - namesAbbr: ["ned","pon","tor","sre","čet","pet","sob"], - namesShort: ["ne","po","to","sr","če","pe","so"] - }, - months: { - names: ["januar","februar","marec","april","maj","junij","julij","avgust","september","oktober","november","december",""], - namesAbbr: ["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec",""] - }, - AM: null, - PM: null, - patterns: { - d: "d.M.yyyy", - D: "d. MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM yyyy H:mm", - F: "d. MMMM yyyy H:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "et-EE", "default", { - name: "et-EE", - englishName: "Estonian (Estonia)", - nativeName: "eesti (Eesti)", - language: "et", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "avaldamatu", - negativeInfinity: "miinuslõpmatus", - positiveInfinity: "plusslõpmatus", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - symbol: "kr" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["pühapäev","esmaspäev","teisipäev","kolmapäev","neljapäev","reede","laupäev"], - namesAbbr: ["P","E","T","K","N","R","L"], - namesShort: ["P","E","T","K","N","R","L"] - }, - months: { - names: ["jaanuar","veebruar","märts","aprill","mai","juuni","juuli","august","september","oktoober","november","detsember",""], - namesAbbr: ["jaan","veebr","märts","apr","mai","juuni","juuli","aug","sept","okt","nov","dets",""] - }, - AM: ["EL","el","EL"], - PM: ["PL","pl","PL"], - patterns: { - d: "d.MM.yyyy", - D: "d. MMMM yyyy'. a.'", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM yyyy'. a.' H:mm", - F: "d. MMMM yyyy'. a.' H:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy'. a.'" - } - } - } -}); - -Globalize.addCultureInfo( "lv-LV", "default", { - name: "lv-LV", - englishName: "Latvian (Latvia)", - nativeName: "latviešu (Latvija)", - language: "lv", - numberFormat: { - ",": " ", - ".": ",", - negativeInfinity: "-bezgalība", - positiveInfinity: "bezgalība", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-$ n","$ n"], - ",": " ", - ".": ",", - symbol: "Ls" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["svētdiena","pirmdiena","otrdiena","trešdiena","ceturtdiena","piektdiena","sestdiena"], - namesAbbr: ["sv","pr","ot","tr","ce","pk","se"], - namesShort: ["sv","pr","ot","tr","ce","pk","se"] - }, - months: { - names: ["janvāris","februāris","marts","aprīlis","maijs","jūnijs","jūlijs","augusts","septembris","oktobris","novembris","decembris",""], - namesAbbr: ["jan","feb","mar","apr","mai","jūn","jūl","aug","sep","okt","nov","dec",""] - }, - monthsGenitive: { - names: ["janvārī","februārī","martā","aprīlī","maijā","jūnijā","jūlijā","augustā","septembrī","oktobrī","novembrī","decembrī",""], - namesAbbr: ["jan","feb","mar","apr","mai","jūn","jūl","aug","sep","okt","nov","dec",""] - }, - AM: null, - PM: null, - patterns: { - d: "yyyy.MM.dd.", - D: "dddd, yyyy'. gada 'd. MMMM", - t: "H:mm", - T: "H:mm:ss", - f: "dddd, yyyy'. gada 'd. MMMM H:mm", - F: "dddd, yyyy'. gada 'd. MMMM H:mm:ss", - M: "d. MMMM", - Y: "yyyy. MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "lt-LT", "default", { - name: "lt-LT", - englishName: "Lithuanian (Lithuania)", - nativeName: "lietuvių (Lietuva)", - language: "lt", - numberFormat: { - ",": ".", - ".": ",", - negativeInfinity: "-begalybė", - positiveInfinity: "begalybė", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "Lt" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["sekmadienis","pirmadienis","antradienis","trečiadienis","ketvirtadienis","penktadienis","šeštadienis"], - namesAbbr: ["Sk","Pr","An","Tr","Kt","Pn","Št"], - namesShort: ["S","P","A","T","K","Pn","Š"] - }, - months: { - names: ["sausis","vasaris","kovas","balandis","gegužė","birželis","liepa","rugpjūtis","rugsėjis","spalis","lapkritis","gruodis",""], - namesAbbr: ["Sau","Vas","Kov","Bal","Geg","Bir","Lie","Rgp","Rgs","Spl","Lap","Grd",""] - }, - monthsGenitive: { - names: ["sausio","vasario","kovo","balandžio","gegužės","birželio","liepos","rugpjūčio","rugsėjo","spalio","lapkričio","gruodžio",""], - namesAbbr: ["Sau","Vas","Kov","Bal","Geg","Bir","Lie","Rgp","Rgs","Spl","Lap","Grd",""] - }, - AM: null, - PM: null, - patterns: { - d: "yyyy.MM.dd", - D: "yyyy 'm.' MMMM d 'd.'", - t: "HH:mm", - T: "HH:mm:ss", - f: "yyyy 'm.' MMMM d 'd.' HH:mm", - F: "yyyy 'm.' MMMM d 'd.' HH:mm:ss", - M: "MMMM d 'd.'", - Y: "yyyy 'm.' MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "tg-Cyrl-TJ", "default", { - name: "tg-Cyrl-TJ", - englishName: "Tajik (Cyrillic, Tajikistan)", - nativeName: "Тоҷикӣ (Тоҷикистон)", - language: "tg-Cyrl", - numberFormat: { - ",": " ", - ".": ",", - groupSizes: [3,0], - negativeInfinity: "-бесконечность", - positiveInfinity: "бесконечность", - percent: { - pattern: ["-n%","n%"], - groupSizes: [3,0], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - groupSizes: [3,0], - ",": " ", - ".": ";", - symbol: "т.р." - } - }, - calendars: { - standard: { - "/": ".", - days: { - names: ["Яш","Душанбе","Сешанбе","Чоршанбе","Панҷшанбе","Ҷумъа","Шанбе"], - namesAbbr: ["Яш","Дш","Сш","Чш","Пш","Ҷм","Шн"], - namesShort: ["Яш","Дш","Сш","Чш","Пш","Ҷм","Шн"] - }, - months: { - names: ["Январ","Феврал","Март","Апрел","Май","Июн","Июл","Август","Сентябр","Октябр","Ноябр","Декабр",""], - namesAbbr: ["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек",""] - }, - monthsGenitive: { - names: ["январи","феврали","марти","апрели","маи","июни","июли","августи","сентябри","октябри","ноябри","декабри",""], - namesAbbr: ["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yy", - D: "d MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d MMMM yyyy H:mm", - F: "d MMMM yyyy H:mm:ss", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "fa-IR", "default", { - name: "fa-IR", - englishName: "Persian", - nativeName: "فارسى (ایران)", - language: "fa", - isRTL: true, - numberFormat: { - pattern: ["n-"], - currency: { - pattern: ["$n-","$ n"], - ".": "/", - symbol: "ريال" - } - }, - calendars: { - standard: { - name: "Gregorian_TransliteratedFrench", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ق.ظ","ق.ظ","ق.ظ"], - PM: ["ب.ظ","ب.ظ","ب.ظ"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - }, - Gregorian_Localized: { - firstDay: 6, - days: { - names: ["يكشنبه","دوشنبه","سه شنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"], - namesAbbr: ["يكشنبه","دوشنبه","سه شنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"], - namesShort: ["ی","د","س","چ","پ","ج","ش"] - }, - months: { - names: ["ژانويه","فوريه","مارس","آوريل","مى","ژوئن","ژوئيه","اوت","سپتامبر","اُكتبر","نوامبر","دسامبر",""], - namesAbbr: ["ژانويه","فوريه","مارس","آوريل","مى","ژوئن","ژوئيه","اوت","سپتامبر","اُكتبر","نوامبر","دسامبر",""] - }, - AM: ["ق.ظ","ق.ظ","ق.ظ"], - PM: ["ب.ظ","ب.ظ","ب.ظ"], - patterns: { - d: "yyyy/MM/dd", - D: "yyyy/MM/dd", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "yyyy/MM/dd hh:mm tt", - F: "yyyy/MM/dd hh:mm:ss tt", - M: "dd MMMM" - } - }, - Hijri: { - name: "Hijri", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ق.ظ","ق.ظ","ق.ظ"], - PM: ["ب.ظ","ب.ظ","ب.ظ"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MM/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd/MM/yyyy hh:mm tt", - F: "dd/MM/yyyy hh:mm:ss tt", - M: "dd MMMM" - }, - convert: { - // Adapted to Script from System.Globalization.HijriCalendar - ticks1970: 62135596800000, - // number of days leading up to each month - monthDays: [0, 30, 59, 89, 118, 148, 177, 207, 236, 266, 295, 325, 355], - minDate: -42521673600000, - maxDate: 253402300799999, - // The number of days to add or subtract from the calendar to accommodate the variances - // in the start and the end of Ramadan and to accommodate the date difference between - // countries/regions. May be dynamically adjusted based on user preference, but should - // remain in the range of -2 to 2, inclusive. - hijriAdjustment: 0, - toGregorian: function(hyear, hmonth, hday) { - var daysSinceJan0101 = this.daysToYear(hyear) + this.monthDays[hmonth] + hday - 1 - this.hijriAdjustment; - // 86400000 = ticks per day - var gdate = new Date(daysSinceJan0101 * 86400000 - this.ticks1970); - // adjust for timezone, because we are interested in the gregorian date for the same timezone - // but ticks in javascript is always from GMT, unlike the server were ticks counts from the base - // date in the current timezone. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - return gdate; - }, - fromGregorian: function(gdate) { - if ((gdate < this.minDate) || (gdate > this.maxDate)) return null; - var ticks = this.ticks1970 + (gdate-0) - gdate.getTimezoneOffset() * 60000, - daysSinceJan0101 = Math.floor(ticks / 86400000) + 1 + this.hijriAdjustment; - // very particular formula determined by someone smart, adapted from the server-side implementation. - // it approximates the hijri year. - var hday, hmonth, hyear = Math.floor(((daysSinceJan0101 - 227013) * 30) / 10631) + 1, - absDays = this.daysToYear(hyear), - daysInYear = this.isLeapYear(hyear) ? 355 : 354; - // hyear is just approximate, it may need adjustment up or down by 1. - if (daysSinceJan0101 < absDays) { - hyear--; - absDays -= daysInYear; - } - else if (daysSinceJan0101 === absDays) { - hyear--; - absDays = this.daysToYear(hyear); - } - else { - if (daysSinceJan0101 > (absDays + daysInYear)) { - absDays += daysInYear; - hyear++; - } - } - // determine month by looking at how many days into the hyear we are - // monthDays contains the number of days up to each month. - hmonth = 0; - var daysIntoYear = daysSinceJan0101 - absDays; - while (hmonth <= 11 && daysIntoYear > this.monthDays[hmonth]) { - hmonth++; - } - hmonth--; - hday = daysIntoYear - this.monthDays[hmonth]; - return [hyear, hmonth, hday]; - }, - daysToYear: function(year) { - // calculates how many days since Jan 1, 0001 - var yearsToYear30 = Math.floor((year - 1) / 30) * 30, - yearsInto30 = year - yearsToYear30 - 1, - days = Math.floor((yearsToYear30 * 10631) / 30) + 227013; - while (yearsInto30 > 0) { - days += (this.isLeapYear(yearsInto30) ? 355 : 354); - yearsInto30--; - } - return days; - }, - isLeapYear: function(year) { - return ((((year * 11) + 14) % 30) < 11); - } - } - }, - Gregorian_TransliteratedEnglish: { - name: "Gregorian_TransliteratedEnglish", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["أ","ا","ث","أ","خ","ج","س"] - }, - months: { - names: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["يناير","فبراير","مارس","ابريل","مايو","يونيو","يوليو","اغسطس","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ق.ظ","ق.ظ","ق.ظ"], - PM: ["ب.ظ","ب.ظ","ب.ظ"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - } - } -}); - -Globalize.addCultureInfo( "vi-VN", "default", { - name: "vi-VN", - englishName: "Vietnamese (Vietnam)", - nativeName: "Tiếng Việt (Việt Nam)", - language: "vi", - numberFormat: { - ",": ".", - ".": ",", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "₫" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["Chủ Nhật","Thứ Hai","Thứ Ba","Thứ Tư","Thứ Năm","Thứ Sáu","Thứ Bảy"], - namesAbbr: ["CN","Hai","Ba","Tư","Năm","Sáu","Bảy"], - namesShort: ["C","H","B","T","N","S","B"] - }, - months: { - names: ["Tháng Giêng","Tháng Hai","Tháng Ba","Tháng Tư","Tháng Năm","Tháng Sáu","Tháng Bảy","Tháng Tám","Tháng Chín","Tháng Mười","Tháng Mười Một","Tháng Mười Hai",""], - namesAbbr: ["Thg1","Thg2","Thg3","Thg4","Thg5","Thg6","Thg7","Thg8","Thg9","Thg10","Thg11","Thg12",""] - }, - AM: ["SA","sa","SA"], - PM: ["CH","ch","CH"], - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM yyyy", - f: "dd MMMM yyyy h:mm tt", - F: "dd MMMM yyyy h:mm:ss tt", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "hy-AM", "default", { - name: "hy-AM", - englishName: "Armenian (Armenia)", - nativeName: "Հայերեն (Հայաստան)", - language: "hy", - numberFormat: { - currency: { - pattern: ["-n $","n $"], - symbol: "դր." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Կիրակի","Երկուշաբթի","Երեքշաբթի","Չորեքշաբթի","Հինգշաբթի","ՈՒրբաթ","Շաբաթ"], - namesAbbr: ["Կիր","Երկ","Երք","Չրք","Հնգ","ՈՒր","Շբթ"], - namesShort: ["Կ","Ե","Ե","Չ","Հ","Ո","Շ"] - }, - months: { - names: ["Հունվար","Փետրվար","Մարտ","Ապրիլ","Մայիս","Հունիս","Հուլիս","Օգոստոս","Սեպտեմբեր","Հոկտեմբեր","Նոյեմբեր","Դեկտեմբեր",""], - namesAbbr: ["ՀՆՎ","ՓՏՎ","ՄՐՏ","ԱՊՐ","ՄՅՍ","ՀՆՍ","ՀԼՍ","ՕԳՍ","ՍԵՊ","ՀՈԿ","ՆՈՅ","ԴԵԿ",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "d MMMM, yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d MMMM, yyyy H:mm", - F: "d MMMM, yyyy H:mm:ss", - M: "d MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "az-Latn-AZ", "default", { - name: "az-Latn-AZ", - englishName: "Azeri (Latin, Azerbaijan)", - nativeName: "Azərbaycan\xadılı (Azərbaycan)", - language: "az-Latn", - numberFormat: { - ",": " ", - ".": ",", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "man." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Bazar","Bazar ertəsi","Çərşənbə axşamı","Çərşənbə","Cümə axşamı","Cümə","Şənbə"], - namesAbbr: ["B","Be","Ça","Ç","Ca","C","Ş"], - namesShort: ["B","Be","Ça","Ç","Ca","C","Ş"] - }, - months: { - names: ["Yanvar","Fevral","Mart","Aprel","May","İyun","İyul","Avgust","Sentyabr","Oktyabr","Noyabr","Dekabr",""], - namesAbbr: ["Yan","Fev","Mar","Apr","May","İyun","İyul","Avg","Sen","Okt","Noy","Dek",""] - }, - monthsGenitive: { - names: ["yanvar","fevral","mart","aprel","may","iyun","iyul","avgust","sentyabr","oktyabr","noyabr","dekabr",""], - namesAbbr: ["Yan","Fev","Mar","Apr","May","İyun","İyul","Avg","Sen","Okt","Noy","Dek",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "d MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d MMMM yyyy H:mm", - F: "d MMMM yyyy H:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "eu-ES", "default", { - name: "eu-ES", - englishName: "Basque (Basque)", - nativeName: "euskara (euskara)", - language: "eu", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "EdZ", - negativeInfinity: "-Infinitu", - positiveInfinity: "Infinitu", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["igandea","astelehena","asteartea","asteazkena","osteguna","ostirala","larunbata"], - namesAbbr: ["ig.","al.","as.","az.","og.","or.","lr."], - namesShort: ["ig","al","as","az","og","or","lr"] - }, - months: { - names: ["urtarrila","otsaila","martxoa","apirila","maiatza","ekaina","uztaila","abuztua","iraila","urria","azaroa","abendua",""], - namesAbbr: ["urt.","ots.","mar.","api.","mai.","eka.","uzt.","abu.","ira.","urr.","aza.","abe.",""] - }, - AM: null, - PM: null, - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "yyyy/MM/dd", - D: "dddd, yyyy.'eko' MMMM'k 'd", - t: "HH:mm", - T: "H:mm:ss", - f: "dddd, yyyy.'eko' MMMM'k 'd HH:mm", - F: "dddd, yyyy.'eko' MMMM'k 'd H:mm:ss", - Y: "yyyy.'eko' MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "hsb-DE", "default", { - name: "hsb-DE", - englishName: "Upper Sorbian (Germany)", - nativeName: "hornjoserbšćina (Němska)", - language: "hsb", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "njedefinowane", - negativeInfinity: "-njekónčne", - positiveInfinity: "+njekónčne", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - "/": ". ", - firstDay: 1, - days: { - names: ["njedźela","póndźela","wutora","srjeda","štwórtk","pjatk","sobota"], - namesAbbr: ["nje","pón","wut","srj","štw","pja","sob"], - namesShort: ["n","p","w","s","š","p","s"] - }, - months: { - names: ["januar","februar","měrc","apryl","meja","junij","julij","awgust","september","oktober","nowember","december",""], - namesAbbr: ["jan","feb","měr","apr","mej","jun","jul","awg","sep","okt","now","dec",""] - }, - monthsGenitive: { - names: ["januara","februara","měrca","apryla","meje","junija","julija","awgusta","septembra","oktobra","nowembra","decembra",""], - namesAbbr: ["jan","feb","měr","apr","mej","jun","jul","awg","sep","okt","now","dec",""] - }, - AM: null, - PM: null, - eras: [{"name":"po Chr.","start":null,"offset":0}], - patterns: { - d: "d. M. yyyy", - D: "dddd, 'dnja' d. MMMM yyyy", - t: "H.mm 'hodź.'", - T: "H:mm:ss", - f: "dddd, 'dnja' d. MMMM yyyy H.mm 'hodź.'", - F: "dddd, 'dnja' d. MMMM yyyy H:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "mk-MK", "default", { - name: "mk-MK", - englishName: "Macedonian (Former Yugoslav Republic of Macedonia)", - nativeName: "македонски јазик (Македонија)", - language: "mk", - numberFormat: { - ",": ".", - ".": ",", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "ден." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["недела","понеделник","вторник","среда","четврток","петок","сабота"], - namesAbbr: ["нед","пон","втр","срд","чет","пет","саб"], - namesShort: ["не","по","вт","ср","че","пе","са"] - }, - months: { - names: ["јануари","февруари","март","април","мај","јуни","јули","август","септември","октомври","ноември","декември",""], - namesAbbr: ["јан","фев","мар","апр","мај","јун","јул","авг","сеп","окт","ное","дек",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "dddd, dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd, dd MMMM yyyy HH:mm", - F: "dddd, dd MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "tn-ZA", "default", { - name: "tn-ZA", - englishName: "Setswana (South Africa)", - nativeName: "Setswana (Aforika Borwa)", - language: "tn", - numberFormat: { - percent: { - pattern: ["-%n","%n"] - }, - currency: { - pattern: ["$-n","$ n"], - symbol: "R" - } - }, - calendars: { - standard: { - days: { - names: ["Latshipi","Mosupologo","Labobedi","Laboraro","Labone","Labotlhano","Lamatlhatso"], - namesAbbr: ["Ltp.","Mos.","Lbd.","Lbr.","Lbn.","Lbt.","Lmt."], - namesShort: ["Lp","Ms","Lb","Lr","Ln","Lt","Lm"] - }, - months: { - names: ["Ferikgong","Tlhakole","Mopitloe","Moranang","Motsheganong","Seetebosigo","Phukwi","Phatwe","Lwetse","Diphalane","Ngwanatsele","Sedimothole",""], - namesAbbr: ["Fer.","Tlhak.","Mop.","Mor.","Motsh.","Seet.","Phukw.","Phatw.","Lwets.","Diph.","Ngwan.","Sed.",""] - }, - patterns: { - d: "yyyy/MM/dd", - D: "dd MMMM yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd MMMM yyyy hh:mm tt", - F: "dd MMMM yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "xh-ZA", "default", { - name: "xh-ZA", - englishName: "isiXhosa (South Africa)", - nativeName: "isiXhosa (uMzantsi Afrika)", - language: "xh", - numberFormat: { - percent: { - pattern: ["-%n","%n"] - }, - currency: { - pattern: ["$-n","$ n"], - symbol: "R" - } - }, - calendars: { - standard: { - days: { - names: ["iCawa","uMvulo","uLwesibini","uLwesithathu","uLwesine","uLwesihlanu","uMgqibelo"], - namesShort: ["Ca","Mv","Lb","Lt","Ln","Lh","Mg"] - }, - months: { - names: ["Mqungu","Mdumba","Kwindla","Tshazimpuzi","Canzibe","Silimela","Khala","Thupha","Msintsi","Dwarha","Nkanga","Mnga",""] - }, - patterns: { - d: "yyyy/MM/dd", - D: "dd MMMM yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd MMMM yyyy hh:mm tt", - F: "dd MMMM yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "zu-ZA", "default", { - name: "zu-ZA", - englishName: "isiZulu (South Africa)", - nativeName: "isiZulu (iNingizimu Afrika)", - language: "zu", - numberFormat: { - percent: { - pattern: ["-%n","%n"] - }, - currency: { - pattern: ["$-n","$ n"], - symbol: "R" - } - }, - calendars: { - standard: { - days: { - names: ["iSonto","uMsombuluko","uLwesibili","uLwesithathu","uLwesine","uLwesihlanu","uMgqibelo"], - namesAbbr: ["Son.","Mso.","Bi.","Tha.","Ne.","Hla.","Mgq."] - }, - months: { - names: ["uMasingana","uNhlolanja","uNdasa","uMbaso","uNhlaba","uNhlangulana","uNtulikazi","uNcwaba","uMandulo","uMfumfu","uLwezi","uZibandlela",""], - namesAbbr: ["Mas.","Nhlo.","Nda.","Mba.","Nhla.","Nhlang.","Ntu.","Ncwa.","Man.","Mfu.","Lwe.","Zib.",""] - }, - patterns: { - d: "yyyy/MM/dd", - D: "dd MMMM yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd MMMM yyyy hh:mm tt", - F: "dd MMMM yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "af-ZA", "default", { - name: "af-ZA", - englishName: "Afrikaans (South Africa)", - nativeName: "Afrikaans (Suid Afrika)", - language: "af", - numberFormat: { - percent: { - pattern: ["-n%","n%"] - }, - currency: { - pattern: ["$-n","$ n"], - symbol: "R" - } - }, - calendars: { - standard: { - days: { - names: ["Sondag","Maandag","Dinsdag","Woensdag","Donderdag","Vrydag","Saterdag"], - namesAbbr: ["Son","Maan","Dins","Woen","Dond","Vry","Sat"], - namesShort: ["So","Ma","Di","Wo","Do","Vr","Sa"] - }, - months: { - names: ["Januarie","Februarie","Maart","April","Mei","Junie","Julie","Augustus","September","Oktober","November","Desember",""], - namesAbbr: ["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Aug","Sep","Okt","Nov","Des",""] - }, - patterns: { - d: "yyyy/MM/dd", - D: "dd MMMM yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd MMMM yyyy hh:mm tt", - F: "dd MMMM yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "ka-GE", "default", { - name: "ka-GE", - englishName: "Georgian (Georgia)", - nativeName: "ქართული (საქართველო)", - language: "ka", - numberFormat: { - ",": " ", - ".": ",", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "Lari" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["კვირა","ორშაბათი","სამშაბათი","ოთხშაბათი","ხუთშაბათი","პარასკევი","შაბათი"], - namesAbbr: ["კვირა","ორშაბათი","სამშაბათი","ოთხშაბათი","ხუთშაბათი","პარასკევი","შაბათი"], - namesShort: ["კ","ო","ს","ო","ხ","პ","შ"] - }, - months: { - names: ["იანვარი","თებერვალი","მარტი","აპრილი","მაისი","ივნისი","ივლისი","აგვისტო","სექტემბერი","ოქტომბერი","ნოემბერი","დეკემბერი",""], - namesAbbr: ["იან","თებ","მარ","აპრ","მაის","ივნ","ივლ","აგვ","სექ","ოქტ","ნოემ","დეკ",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "yyyy 'წლის' dd MM, dddd", - t: "H:mm", - T: "H:mm:ss", - f: "yyyy 'წლის' dd MM, dddd H:mm", - F: "yyyy 'წლის' dd MM, dddd H:mm:ss", - M: "dd MM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "fo-FO", "default", { - name: "fo-FO", - englishName: "Faroese (Faroe Islands)", - nativeName: "føroyskt (Føroyar)", - language: "fo", - numberFormat: { - ",": ".", - ".": ",", - negativeInfinity: "-INF", - positiveInfinity: "INF", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["$ -n","$ n"], - ",": ".", - ".": ",", - symbol: "kr." - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["sunnudagur","mánadagur","týsdagur","mikudagur","hósdagur","fríggjadagur","leygardagur"], - namesAbbr: ["sun","mán","týs","mik","hós","frí","leyg"], - namesShort: ["su","má","tý","mi","hó","fr","ley"] - }, - months: { - names: ["januar","februar","mars","apríl","mai","juni","juli","august","september","oktober","november","desember",""], - namesAbbr: ["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd-MM-yyyy", - D: "d. MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "d. MMMM yyyy HH:mm", - F: "d. MMMM yyyy HH:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "hi-IN", "default", { - name: "hi-IN", - englishName: "Hindi (India)", - nativeName: "हिंदी (भारत)", - language: "hi", - numberFormat: { - groupSizes: [3,2], - percent: { - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,2], - symbol: "रु" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["रविवार","सोमवार","मंगलवार","बुधवार","गुरुवार","शुक्रवार","शनिवार"], - namesAbbr: ["रवि.","सोम.","मंगल.","बुध.","गुरु.","शुक्र.","शनि."], - namesShort: ["र","स","म","ब","ग","श","श"] - }, - months: { - names: ["जनवरी","फरवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्तूबर","नवम्बर","दिसम्बर",""], - namesAbbr: ["जनवरी","फरवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्तूबर","नवम्बर","दिसम्बर",""] - }, - AM: ["पूर्वाह्न","पूर्वाह्न","पूर्वाह्न"], - PM: ["अपराह्न","अपराह्न","अपराह्न"], - patterns: { - d: "dd-MM-yyyy", - D: "dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd MMMM yyyy HH:mm", - F: "dd MMMM yyyy HH:mm:ss", - M: "dd MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "mt-MT", "default", { - name: "mt-MT", - englishName: "Maltese (Malta)", - nativeName: "Malti (Malta)", - language: "mt", - numberFormat: { - percent: { - pattern: ["-%n","%n"] - }, - currency: { - pattern: ["-$n","$n"], - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["Il-Ħadd","It-Tnejn","It-Tlieta","L-Erbgħa","Il-Ħamis","Il-Ġimgħa","Is-Sibt"], - namesAbbr: ["Ħad","Tne","Tli","Erb","Ħam","Ġim","Sib"], - namesShort: ["I","I","I","L","I","I","I"] - }, - months: { - names: ["Jannar","Frar","Marzu","April","Mejju","Ġunju","Lulju","Awissu","Settembru","Ottubru","Novembru","Diċembru",""], - namesAbbr: ["Jan","Fra","Mar","Apr","Mej","Ġun","Lul","Awi","Set","Ott","Nov","Diċ",""] - }, - patterns: { - d: "dd/MM/yyyy", - D: "dddd, d' ta\\' 'MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd, d' ta\\' 'MMMM yyyy HH:mm", - F: "dddd, d' ta\\' 'MMMM yyyy HH:mm:ss", - M: "d' ta\\' 'MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "se-NO", "default", { - name: "se-NO", - englishName: "Sami, Northern (Norway)", - nativeName: "davvisámegiella (Norga)", - language: "se", - numberFormat: { - ",": " ", - ".": ",", - percent: { - pattern: ["-%n","%n"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["$ -n","$ n"], - ",": " ", - ".": ",", - symbol: "kr" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["sotnabeaivi","vuossárga","maŋŋebárga","gaskavahkku","duorastat","bearjadat","lávvardat"], - namesAbbr: ["sotn","vuos","maŋ","gask","duor","bear","láv"], - namesShort: ["s","m","d","g","d","b","l"] - }, - months: { - names: ["ođđajagemánnu","guovvamánnu","njukčamánnu","cuoŋománnu","miessemánnu","geassemánnu","suoidnemánnu","borgemánnu","čakčamánnu","golggotmánnu","skábmamánnu","juovlamánnu",""], - namesAbbr: ["ođđj","guov","njuk","cuo","mies","geas","suoi","borg","čakč","golg","skáb","juov",""] - }, - monthsGenitive: { - names: ["ođđajagimánu","guovvamánu","njukčamánu","cuoŋománu","miessemánu","geassemánu","suoidnemánu","borgemánu","čakčamánu","golggotmánu","skábmamánu","juovlamánu",""], - namesAbbr: ["ođđj","guov","njuk","cuo","mies","geas","suoi","borg","čakč","golg","skáb","juov",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "MMMM d'. b. 'yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "MMMM d'. b. 'yyyy HH:mm", - F: "MMMM d'. b. 'yyyy HH:mm:ss", - M: "MMMM d'. b. '", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "ms-MY", "default", { - name: "ms-MY", - englishName: "Malay (Malaysia)", - nativeName: "Bahasa Melayu (Malaysia)", - language: "ms", - numberFormat: { - currency: { - decimals: 0, - symbol: "RM" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["Ahad","Isnin","Selasa","Rabu","Khamis","Jumaat","Sabtu"], - namesAbbr: ["Ahad","Isnin","Sel","Rabu","Khamis","Jumaat","Sabtu"], - namesShort: ["A","I","S","R","K","J","S"] - }, - months: { - names: ["Januari","Februari","Mac","April","Mei","Jun","Julai","Ogos","September","Oktober","November","Disember",""], - namesAbbr: ["Jan","Feb","Mac","Apr","Mei","Jun","Jul","Ogos","Sept","Okt","Nov","Dis",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dd MMMM yyyy H:mm", - F: "dd MMMM yyyy H:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "kk-KZ", "default", { - name: "kk-KZ", - englishName: "Kazakh (Kazakhstan)", - nativeName: "Қазақ (Қазақстан)", - language: "kk", - numberFormat: { - ",": " ", - ".": ",", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-$n","$n"], - ",": " ", - ".": "-", - symbol: "Т" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Жексенбі","Дүйсенбі","Сейсенбі","Сәрсенбі","Бейсенбі","Жұма","Сенбі"], - namesAbbr: ["Жк","Дс","Сс","Ср","Бс","Жм","Сн"], - namesShort: ["Жк","Дс","Сс","Ср","Бс","Жм","Сн"] - }, - months: { - names: ["қаңтар","ақпан","наурыз","сәуір","мамыр","маусым","шілде","тамыз","қыркүйек","қазан","қараша","желтоқсан",""], - namesAbbr: ["Қаң","Ақп","Нау","Сәу","Мам","Мау","Шіл","Там","Қыр","Қаз","Қар","Жел",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "d MMMM yyyy 'ж.'", - t: "H:mm", - T: "H:mm:ss", - f: "d MMMM yyyy 'ж.' H:mm", - F: "d MMMM yyyy 'ж.' H:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "ky-KG", "default", { - name: "ky-KG", - englishName: "Kyrgyz (Kyrgyzstan)", - nativeName: "Кыргыз (Кыргызстан)", - language: "ky", - numberFormat: { - ",": " ", - ".": ",", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": "-", - symbol: "сом" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Жекшемби","Дүйшөмбү","Шейшемби","Шаршемби","Бейшемби","Жума","Ишемби"], - namesAbbr: ["Жш","Дш","Шш","Шр","Бш","Жм","Иш"], - namesShort: ["Жш","Дш","Шш","Шр","Бш","Жм","Иш"] - }, - months: { - names: ["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь",""], - namesAbbr: ["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yy", - D: "d'-'MMMM yyyy'-ж.'", - t: "H:mm", - T: "H:mm:ss", - f: "d'-'MMMM yyyy'-ж.' H:mm", - F: "d'-'MMMM yyyy'-ж.' H:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy'-ж.'" - } - } - } -}); - -Globalize.addCultureInfo( "sw-KE", "default", { - name: "sw-KE", - englishName: "Kiswahili (Kenya)", - nativeName: "Kiswahili (Kenya)", - language: "sw", - numberFormat: { - currency: { - symbol: "S" - } - }, - calendars: { - standard: { - days: { - names: ["Jumapili","Jumatatu","Jumanne","Jumatano","Alhamisi","Ijumaa","Jumamosi"], - namesAbbr: ["Jumap.","Jumat.","Juman.","Jumat.","Alh.","Iju.","Jumam."], - namesShort: ["P","T","N","T","A","I","M"] - }, - months: { - names: ["Januari","Februari","Machi","Aprili","Mei","Juni","Julai","Agosti","Septemba","Oktoba","Novemba","Decemba",""], - namesAbbr: ["Jan","Feb","Mac","Apr","Mei","Jun","Jul","Ago","Sep","Okt","Nov","Dec",""] - } - } - } -}); - -Globalize.addCultureInfo( "tk-TM", "default", { - name: "tk-TM", - englishName: "Turkmen (Turkmenistan)", - nativeName: "türkmençe (Türkmenistan)", - language: "tk", - numberFormat: { - ",": " ", - ".": ",", - negativeInfinity: "-üznüksizlik", - positiveInfinity: "üznüksizlik", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n$","n$"], - ",": " ", - ".": ",", - symbol: "m." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Duşenbe","Sişenbe","Çarşenbe","Penşenbe","Anna","Şenbe","Ýekşenbe"], - namesAbbr: ["Db","Sb","Çb","Pb","An","Şb","Ýb"], - namesShort: ["D","S","Ç","P","A","Ş","Ý"] - }, - months: { - names: ["Ýanwar","Fewral","Mart","Aprel","Maý","lýun","lýul","Awgust","Sentýabr","Oktýabr","Noýabr","Dekabr",""], - namesAbbr: ["Ýan","Few","Mart","Apr","Maý","lýun","lýul","Awg","Sen","Okt","Not","Dek",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yy", - D: "yyyy 'ý.' MMMM d", - t: "H:mm", - T: "H:mm:ss", - f: "yyyy 'ý.' MMMM d H:mm", - F: "yyyy 'ý.' MMMM d H:mm:ss", - Y: "yyyy 'ý.' MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "uz-Latn-UZ", "default", { - name: "uz-Latn-UZ", - englishName: "Uzbek (Latin, Uzbekistan)", - nativeName: "U'zbek (U'zbekiston Respublikasi)", - language: "uz-Latn", - numberFormat: { - ",": " ", - ".": ",", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - decimals: 0, - ",": " ", - ".": ",", - symbol: "so'm" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["yakshanba","dushanba","seshanba","chorshanba","payshanba","juma","shanba"], - namesAbbr: ["yak.","dsh.","sesh.","chr.","psh.","jm.","sh."], - namesShort: ["ya","d","s","ch","p","j","sh"] - }, - months: { - names: ["yanvar","fevral","mart","aprel","may","iyun","iyul","avgust","sentyabr","oktyabr","noyabr","dekabr",""], - namesAbbr: ["yanvar","fevral","mart","aprel","may","iyun","iyul","avgust","sentyabr","oktyabr","noyabr","dekabr",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd/MM yyyy", - D: "yyyy 'yil' d-MMMM", - t: "HH:mm", - T: "HH:mm:ss", - f: "yyyy 'yil' d-MMMM HH:mm", - F: "yyyy 'yil' d-MMMM HH:mm:ss", - M: "d-MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "tt-RU", "default", { - name: "tt-RU", - englishName: "Tatar (Russia)", - nativeName: "Татар (Россия)", - language: "tt", - numberFormat: { - ",": " ", - ".": ",", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "р." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Якшәмбе","Дүшәмбе","Сишәмбе","Чәршәмбе","Пәнҗешәмбе","Җомга","Шимбә"], - namesAbbr: ["Якш","Дүш","Сиш","Чәрш","Пәнҗ","Җом","Шим"], - namesShort: ["Я","Д","С","Ч","П","Җ","Ш"] - }, - months: { - names: ["Гыйнвар","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь",""], - namesAbbr: ["Гыйн.","Фев.","Мар.","Апр.","Май","Июнь","Июль","Авг.","Сен.","Окт.","Нояб.","Дек.",""] - }, - monthsGenitive: { - names: ["Гыйнварның","Февральнең","Мартның","Апрельнең","Майның","Июньнең","Июльнең","Августның","Сентябрьның","Октябрьның","Ноябрьның","Декабрьның",""], - namesAbbr: ["Гыйн.-ның","Фев.-нең","Мар.-ның","Апр.-нең","Майның","Июньнең","Июльнең","Авг.-ның","Сен.-ның","Окт.-ның","Нояб.-ның","Дек.-ның",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "d MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d MMMM yyyy H:mm", - F: "d MMMM yyyy H:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "bn-IN", "default", { - name: "bn-IN", - englishName: "Bengali (India)", - nativeName: "বাংলা (ভারত)", - language: "bn", - numberFormat: { - groupSizes: [3,2], - percent: { - pattern: ["-%n","%n"], - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,2], - symbol: "টা" - } - }, - calendars: { - standard: { - "/": "-", - ":": ".", - firstDay: 1, - days: { - names: ["রবিবার","সোমবার","মঙ্গলবার","বুধবার","বৃহস্পতিবার","শুক্রবার","শনিবার"], - namesAbbr: ["রবি.","সোম.","মঙ্গল.","বুধ.","বৃহস্পতি.","শুক্র.","শনি."], - namesShort: ["র","স","ম","ব","ব","শ","শ"] - }, - months: { - names: ["জানুয়ারী","ফেব্রুয়ারী","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগস্ট","সেপ্টেম্বর","অক্টোবর","নভেম্বর","ডিসেম্বর",""], - namesAbbr: ["জানু.","ফেব্রু.","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগ.","সেপ্টে.","অক্টো.","নভে.","ডিসে.",""] - }, - AM: ["পুর্বাহ্ন","পুর্বাহ্ন","পুর্বাহ্ন"], - PM: ["অপরাহ্ন","অপরাহ্ন","অপরাহ্ন"], - patterns: { - d: "dd-MM-yy", - D: "dd MMMM yyyy", - t: "HH.mm", - T: "HH.mm.ss", - f: "dd MMMM yyyy HH.mm", - F: "dd MMMM yyyy HH.mm.ss", - M: "dd MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "pa-IN", "default", { - name: "pa-IN", - englishName: "Punjabi (India)", - nativeName: "ਪੰਜਾਬੀ (ਭਾਰਤ)", - language: "pa", - numberFormat: { - groupSizes: [3,2], - percent: { - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,2], - symbol: "ਰੁ" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["ਐਤਵਾਰ","ਸੋਮਵਾਰ","ਮੰਗਲਵਾਰ","ਬੁੱਧਵਾਰ","ਵੀਰਵਾਰ","ਸ਼ੁੱਕਰਵਾਰ","ਸ਼ਨਿੱਚਰਵਾਰ"], - namesAbbr: ["ਐਤ.","ਸੋਮ.","ਮੰਗਲ.","ਬੁੱਧ.","ਵੀਰ.","ਸ਼ੁਕਰ.","ਸ਼ਨਿੱਚਰ."], - namesShort: ["ਐ","ਸ","ਮ","ਬ","ਵ","ਸ਼","ਸ਼"] - }, - months: { - names: ["ਜਨਵਰੀ","ਫ਼ਰਵਰੀ","ਮਾਰਚ","ਅਪ੍ਰੈਲ","ਮਈ","ਜੂਨ","ਜੁਲਾਈ","ਅਗਸਤ","ਸਤੰਬਰ","ਅਕਤੂਬਰ","ਨਵੰਬਰ","ਦਸੰਬਰ",""], - namesAbbr: ["ਜਨਵਰੀ","ਫ਼ਰਵਰੀ","ਮਾਰਚ","ਅਪ੍ਰੈਲ","ਮਈ","ਜੂਨ","ਜੁਲਾਈ","ਅਗਸਤ","ਸਤੰਬਰ","ਅਕਤੂਬਰ","ਨਵੰਬਰ","ਦਸੰਬਰ",""] - }, - AM: ["ਸਵੇਰ","ਸਵੇਰ","ਸਵੇਰ"], - PM: ["ਸ਼ਾਮ","ਸ਼ਾਮ","ਸ਼ਾਮ"], - patterns: { - d: "dd-MM-yy", - D: "dd MMMM yyyy dddd", - t: "tt hh:mm", - T: "tt hh:mm:ss", - f: "dd MMMM yyyy dddd tt hh:mm", - F: "dd MMMM yyyy dddd tt hh:mm:ss", - M: "dd MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "gu-IN", "default", { - name: "gu-IN", - englishName: "Gujarati (India)", - nativeName: "ગુજરાતી (ભારત)", - language: "gu", - numberFormat: { - groupSizes: [3,2], - percent: { - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,2], - symbol: "રૂ" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["રવિવાર","સોમવાર","મંગળવાર","બુધવાર","ગુરુવાર","શુક્રવાર","શનિવાર"], - namesAbbr: ["રવિ","સોમ","મંગળ","બુધ","ગુરુ","શુક્ર","શનિ"], - namesShort: ["ર","સ","મ","બ","ગ","શ","શ"] - }, - months: { - names: ["જાન્યુઆરી","ફેબ્રુઆરી","માર્ચ","એપ્રિલ","મે","જૂન","જુલાઈ","ઑગસ્ટ","સપ્ટેમ્બર","ઑક્ટ્બર","નવેમ્બર","ડિસેમ્બર",""], - namesAbbr: ["જાન્યુ","ફેબ્રુ","માર્ચ","એપ્રિલ","મે","જૂન","જુલાઈ","ઑગસ્ટ","સપ્ટે","ઑક્ટો","નવે","ડિસે",""] - }, - AM: ["પૂર્વ મધ્યાહ્ન","પૂર્વ મધ્યાહ્ન","પૂર્વ મધ્યાહ્ન"], - PM: ["ઉત્તર મધ્યાહ્ન","ઉત્તર મધ્યાહ્ન","ઉત્તર મધ્યાહ્ન"], - patterns: { - d: "dd-MM-yy", - D: "dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd MMMM yyyy HH:mm", - F: "dd MMMM yyyy HH:mm:ss", - M: "dd MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "or-IN", "default", { - name: "or-IN", - englishName: "Oriya (India)", - nativeName: "ଓଡ଼ିଆ (ଭାରତ)", - language: "or", - numberFormat: { - groupSizes: [3,2], - percent: { - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,2], - symbol: "ଟ" - } - }, - calendars: { - standard: { - "/": "-", - days: { - names: ["ରବିବାର","ସୋମବାର","ମଙ୍ଗଳବାର","ବୁଧବାର","ଗୁରୁବାର","ଶୁକ୍ରବାର","ଶନିବାର"], - namesAbbr: ["ରବି.","ସୋମ.","ମଙ୍ଗଳ.","ବୁଧ.","ଗୁରୁ.","ଶୁକ୍ର.","ଶନି."], - namesShort: ["ର","ସୋ","ମ","ବୁ","ଗୁ","ଶୁ","ଶ"] - }, - months: { - names: ["ଜାନୁୟାରୀ","ଫ୍ରେବୃୟାରୀ","ମାର୍ଚ୍ଚ","ଏପ୍ରିଲ୍\u200c","ମେ","ଜୁନ୍\u200c","ଜୁଲାଇ","ଅଗଷ୍ଟ","ସେପ୍ଟେମ୍ବର","ଅକ୍ଟୋବର","ନଭେମ୍ବର","(ଡିସେମ୍ବର",""], - namesAbbr: ["ଜାନୁୟାରୀ","ଫ୍ରେବୃୟାରୀ","ମାର୍ଚ୍ଚ","ଏପ୍ରିଲ୍\u200c","ମେ","ଜୁନ୍\u200c","ଜୁଲାଇ","ଅଗଷ୍ଟ","ସେପ୍ଟେମ୍ବର","ଅକ୍ଟୋବର","ନଭେମ୍ବର","(ଡିସେମ୍ବର",""] - }, - eras: [{"name":"ଖ୍ରୀଷ୍ଟାବ୍ଦ","start":null,"offset":0}], - patterns: { - d: "dd-MM-yy", - D: "dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd MMMM yyyy HH:mm", - F: "dd MMMM yyyy HH:mm:ss", - M: "dd MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "ta-IN", "default", { - name: "ta-IN", - englishName: "Tamil (India)", - nativeName: "தமிழ் (இந்தியா)", - language: "ta", - numberFormat: { - groupSizes: [3,2], - percent: { - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,2], - symbol: "ரூ" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["ஞாயிற்றுக்கிழமை","திங்கள்கிழமை","செவ்வாய்கிழமை","புதன்கிழமை","வியாழக்கிழமை","வெள்ளிக்கிழமை","சனிக்கிழமை"], - namesAbbr: ["ஞாயிறு","திங்கள்","செவ்வாய்","புதன்","வியாழன்","வெள்ளி","சனி"], - namesShort: ["ஞா","தி","செ","பு","வி","வெ","ச"] - }, - months: { - names: ["ஜனவரி","பிப்ரவரி","மார்ச்","ஏப்ரல்","மே","ஜூன்","ஜூலை","ஆகஸ்ட்","செப்டம்பர்","அக்டோபர்","நவம்பர்","டிசம்பர்",""], - namesAbbr: ["ஜனவரி","பிப்ரவரி","மார்ச்","ஏப்ரல்","மே","ஜூன்","ஜூலை","ஆகஸ்ட்","செப்டம்பர்","அக்டோபர்","நவம்பர்","டிசம்பர்",""] - }, - AM: ["காலை","காலை","காலை"], - PM: ["மாலை","மாலை","மாலை"], - patterns: { - d: "dd-MM-yyyy", - D: "dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd MMMM yyyy HH:mm", - F: "dd MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "te-IN", "default", { - name: "te-IN", - englishName: "Telugu (India)", - nativeName: "తెలుగు (భారత దేశం)", - language: "te", - numberFormat: { - groupSizes: [3,2], - percent: { - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,2], - symbol: "రూ" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["ఆదివారం","సోమవారం","మంగళవారం","బుధవారం","గురువారం","శుక్రవారం","శనివారం"], - namesAbbr: ["ఆది.","సోమ.","మంగళ.","బుధ.","గురు.","శుక్ర.","శని."], - namesShort: ["ఆ","సో","మం","బు","గు","శు","శ"] - }, - months: { - names: ["జనవరి","ఫిబ్రవరి","మార్చి","ఏప్రిల్","మే","జూన్","జూలై","ఆగస్టు","సెప్టెంబర్","అక్టోబర్","నవంబర్","డిసెంబర్",""], - namesAbbr: ["జనవరి","ఫిబ్రవరి","మార్చి","ఏప్రిల్","మే","జూన్","జూలై","ఆగస్టు","సెప్టెంబర్","అక్టోబర్","నవంబర్","డిసెంబర్",""] - }, - AM: ["పూర్వాహ్న","పూర్వాహ్న","పూర్వాహ్న"], - PM: ["అపరాహ్న","అపరాహ్న","అపరాహ్న"], - patterns: { - d: "dd-MM-yy", - D: "dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd MMMM yyyy HH:mm", - F: "dd MMMM yyyy HH:mm:ss", - M: "dd MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "kn-IN", "default", { - name: "kn-IN", - englishName: "Kannada (India)", - nativeName: "ಕನ್ನಡ (ಭಾರತ)", - language: "kn", - numberFormat: { - groupSizes: [3,2], - percent: { - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,2], - symbol: "ರೂ" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["ಭಾನುವಾರ","ಸೋಮವಾರ","ಮಂಗಳವಾರ","ಬುಧವಾರ","ಗುರುವಾರ","ಶುಕ್ರವಾರ","ಶನಿವಾರ"], - namesAbbr: ["ಭಾನು.","ಸೋಮ.","ಮಂಗಳ.","ಬುಧ.","ಗುರು.","ಶುಕ್ರ.","ಶನಿ."], - namesShort: ["ರ","ಸ","ಮ","ಬ","ಗ","ಶ","ಶ"] - }, - months: { - names: ["ಜನವರಿ","ಫೆಬ್ರವರಿ","ಮಾರ್ಚ್","ಎಪ್ರಿಲ್","ಮೇ","ಜೂನ್","ಜುಲೈ","ಆಗಸ್ಟ್","ಸೆಪ್ಟಂಬರ್","ಅಕ್ಟೋಬರ್","ನವೆಂಬರ್","ಡಿಸೆಂಬರ್",""], - namesAbbr: ["ಜನವರಿ","ಫೆಬ್ರವರಿ","ಮಾರ್ಚ್","ಎಪ್ರಿಲ್","ಮೇ","ಜೂನ್","ಜುಲೈ","ಆಗಸ್ಟ್","ಸೆಪ್ಟಂಬರ್","ಅಕ್ಟೋಬರ್","ನವೆಂಬರ್","ಡಿಸೆಂಬರ್",""] - }, - AM: ["ಪೂರ್ವಾಹ್ನ","ಪೂರ್ವಾಹ್ನ","ಪೂರ್ವಾಹ್ನ"], - PM: ["ಅಪರಾಹ್ನ","ಅಪರಾಹ್ನ","ಅಪರಾಹ್ನ"], - patterns: { - d: "dd-MM-yy", - D: "dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd MMMM yyyy HH:mm", - F: "dd MMMM yyyy HH:mm:ss", - M: "dd MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "ml-IN", "default", { - name: "ml-IN", - englishName: "Malayalam (India)", - nativeName: "മലയാളം (ഭാരതം)", - language: "ml", - numberFormat: { - groupSizes: [3,2], - percent: { - pattern: ["-%n","%n"], - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,2], - symbol: "ക" - } - }, - calendars: { - standard: { - "/": "-", - ":": ".", - firstDay: 1, - days: { - names: ["ഞായറാഴ്ച","തിങ്കളാഴ്ച","ചൊവ്വാഴ്ച","ബുധനാഴ്ച","വ്യാഴാഴ്ച","വെള്ളിയാഴ്ച","ശനിയാഴ്ച"], - namesAbbr: ["ഞായർ.","തിങ്കൾ.","ചൊവ്വ.","ബുധൻ.","വ്യാഴം.","വെള്ളി.","ശനി."], - namesShort: ["ഞ","ത","ച","ബ","വ","വെ","ശ"] - }, - months: { - names: ["ജനുവരി","ഫെബ്റുവരി","മാറ്ച്ച്","ഏപ്റില്","മെയ്","ജൂണ്","ജൂലൈ","ഓഗസ്ററ്","സെപ്ററംബറ്","ഒക്ടോബറ്","നവംബറ്","ഡിസംബറ്",""], - namesAbbr: ["ജനുവരി","ഫെബ്റുവരി","മാറ്ച്ച്","ഏപ്റില്","മെയ്","ജൂണ്","ജൂലൈ","ഓഗസ്ററ്","സെപ്ററംബറ്","ഒക്ടോബറ്","നവംബറ്","ഡിസംബറ്",""] - }, - patterns: { - d: "dd-MM-yy", - D: "dd MMMM yyyy", - t: "HH.mm", - T: "HH.mm.ss", - f: "dd MMMM yyyy HH.mm", - F: "dd MMMM yyyy HH.mm.ss", - M: "dd MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "as-IN", "default", { - name: "as-IN", - englishName: "Assamese (India)", - nativeName: "অসমীয়া (ভাৰত)", - language: "as", - numberFormat: { - groupSizes: [3,2], - "NaN": "nan", - negativeInfinity: "-infinity", - positiveInfinity: "infinity", - percent: { - pattern: ["-n%","n%"], - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","n$"], - groupSizes: [3,2], - symbol: "ট" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["সোমবাৰ","মঙ্গলবাৰ","বুধবাৰ","বৃহস্পতিবাৰ","শুক্রবাৰ","শনিবাৰ","ৰবিবাৰ"], - namesAbbr: ["সোম.","মঙ্গল.","বুধ.","বৃহ.","শুক্র.","শনি.","ৰবি."], - namesShort: ["সো","ম","বু","বৃ","শু","শ","র"] - }, - months: { - names: ["জানুৱাৰী","ফেব্রুৱাৰী","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগষ্ট","চেপ্টেম্বর","অক্টোবর","নবেম্বর","ডিচেম্বর",""], - namesAbbr: ["জানু","ফেব্রু","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগষ্ট","চেপ্টে","অক্টো","নবে","ডিচে",""] - }, - AM: ["ৰাতিপু","ৰাতিপু","ৰাতিপু"], - PM: ["আবেলি","আবেলি","আবেলি"], - eras: [{"name":"খ্রীষ্টাব্দ","start":null,"offset":0}], - patterns: { - d: "dd-MM-yyyy", - D: "yyyy,MMMM dd, dddd", - t: "tt h:mm", - T: "tt h:mm:ss", - f: "yyyy,MMMM dd, dddd tt h:mm", - F: "yyyy,MMMM dd, dddd tt h:mm:ss", - M: "dd MMMM", - Y: "MMMM,yy" - } - } - } -}); - -Globalize.addCultureInfo( "mr-IN", "default", { - name: "mr-IN", - englishName: "Marathi (India)", - nativeName: "मराठी (भारत)", - language: "mr", - numberFormat: { - groupSizes: [3,2], - percent: { - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,2], - symbol: "रु" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["रविवार","सोमवार","मंगळवार","बुधवार","गुरुवार","शुक्रवार","शनिवार"], - namesAbbr: ["रवि.","सोम.","मंगळ.","बुध.","गुरु.","शुक्र.","शनि."], - namesShort: ["र","स","म","ब","ग","श","श"] - }, - months: { - names: ["जानेवारी","फेब्रुवारी","मार्च","एप्रिल","मे","जून","जुलै","ऑगस्ट","सप्टेंबर","ऑक्टोबर","नोव्हेंबर","डिसेंबर",""], - namesAbbr: ["जाने.","फेब्रु.","मार्च","एप्रिल","मे","जून","जुलै","ऑगस्ट","सप्टें.","ऑक्टो.","नोव्हें.","डिसें.",""] - }, - AM: ["म.पू.","म.पू.","म.पू."], - PM: ["म.नं.","म.नं.","म.नं."], - patterns: { - d: "dd-MM-yyyy", - D: "dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd MMMM yyyy HH:mm", - F: "dd MMMM yyyy HH:mm:ss", - M: "dd MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "sa-IN", "default", { - name: "sa-IN", - englishName: "Sanskrit (India)", - nativeName: "संस्कृत (भारतम्)", - language: "sa", - numberFormat: { - groupSizes: [3,2], - percent: { - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,2], - symbol: "रु" - } - }, - calendars: { - standard: { - "/": "-", - days: { - names: ["रविवासरः","सोमवासरः","मङ्गलवासरः","बुधवासरः","गुरुवासरः","शुक्रवासरः","शनिवासरः"], - namesAbbr: ["रविवासरः","सोमवासरः","मङ्गलवासरः","बुधवासरः","गुरुवासरः","शुक्रवासरः","शनिवासरः"], - namesShort: ["र","स","म","ब","ग","श","श"] - }, - months: { - names: ["जनवरी","फरवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्तूबर","नवम्बर","दिसम्बर",""], - namesAbbr: ["जनवरी","फरवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्तूबर","नवम्बर","दिसम्बर",""] - }, - AM: ["पूर्वाह्न","पूर्वाह्न","पूर्वाह्न"], - PM: ["अपराह्न","अपराह्न","अपराह्न"], - patterns: { - d: "dd-MM-yyyy", - D: "dd MMMM yyyy dddd", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd MMMM yyyy dddd HH:mm", - F: "dd MMMM yyyy dddd HH:mm:ss", - M: "dd MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "mn-MN", "default", { - name: "mn-MN", - englishName: "Mongolian (Cyrillic, Mongolia)", - nativeName: "Монгол хэл (Монгол улс)", - language: "mn-Cyrl", - numberFormat: { - ",": " ", - ".": ",", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n$","n$"], - ",": " ", - ".": ",", - symbol: "₮" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Ням","Даваа","Мягмар","Лхагва","Пүрэв","Баасан","Бямба"], - namesAbbr: ["Ня","Да","Мя","Лх","Пү","Ба","Бя"], - namesShort: ["Ня","Да","Мя","Лх","Пү","Ба","Бя"] - }, - months: { - names: ["1 дүгээр сар","2 дугаар сар","3 дугаар сар","4 дүгээр сар","5 дугаар сар","6 дугаар сар","7 дугаар сар","8 дугаар сар","9 дүгээр сар","10 дугаар сар","11 дүгээр сар","12 дугаар сар",""], - namesAbbr: ["I","II","III","IV","V","VI","VII","VIII","IX","X","XI","XII",""] - }, - monthsGenitive: { - names: ["1 дүгээр сарын","2 дугаар сарын","3 дугаар сарын","4 дүгээр сарын","5 дугаар сарын","6 дугаар сарын","7 дугаар сарын","8 дугаар сарын","9 дүгээр сарын","10 дугаар сарын","11 дүгээр сарын","12 дугаар сарын",""], - namesAbbr: ["I","II","III","IV","V","VI","VII","VIII","IX","X","XI","XII",""] - }, - AM: null, - PM: null, - patterns: { - d: "yy.MM.dd", - D: "yyyy 'оны' MMMM d", - t: "H:mm", - T: "H:mm:ss", - f: "yyyy 'оны' MMMM d H:mm", - F: "yyyy 'оны' MMMM d H:mm:ss", - M: "d MMMM", - Y: "yyyy 'он' MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "bo-CN", "default", { - name: "bo-CN", - englishName: "Tibetan (PRC)", - nativeName: "བོད་ཡིག (ཀྲུང་ཧྭ་མི་དམངས་སྤྱི་མཐུན་རྒྱལ་ཁབ།)", - language: "bo", - numberFormat: { - groupSizes: [3,0], - "NaN": "ཨང་ཀི་མིན་པ།", - negativeInfinity: "མོ་གྲངས་ཚད་མེད་ཆུང་བ།", - positiveInfinity: "ཕོ་གྲངས་ཚད་མེད་ཆེ་བ།", - percent: { - pattern: ["-n%","n%"], - groupSizes: [3,0] - }, - currency: { - pattern: ["$-n","$n"], - groupSizes: [3,0], - symbol: "¥" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["གཟའ་ཉི་མ།","གཟའ་ཟླ་བ།","གཟའ་མིག་དམར།","གཟའ་ལྷག་པ།","གཟའ་ཕུར་བུ།","གཟའ་པ་སངས།","གཟའ་སྤེན་པ།"], - namesAbbr: ["ཉི་མ།","ཟླ་བ།","མིག་དམར།","ལྷག་པ།","ཕུར་བུ།","པ་སངས།","སྤེན་པ།"], - namesShort: ["༧","༡","༢","༣","༤","༥","༦"] - }, - months: { - names: ["སྤྱི་ཟླ་དང་པོ།","སྤྱི་ཟླ་གཉིས་པ།","སྤྱི་ཟླ་གསུམ་པ།","སྤྱི་ཟླ་བཞི་པ།","སྤྱི་ཟླ་ལྔ་པ།","སྤྱི་ཟླ་དྲུག་པ།","སྤྱི་ཟླ་བདུན་པ།","སྤྱི་ཟླ་བརྒྱད་པ།","སྤྱི་ཟླ་དགུ་པ།","སྤྱི་ཟླ་བཅུ་པོ།","སྤྱི་ཟླ་བཅུ་གཅིག་པ།","སྤྱི་ཟླ་བཅུ་གཉིས་པ།",""], - namesAbbr: ["ཟླ་ ༡","ཟླ་ ༢","ཟླ་ ༣","ཟླ་ ༤","ཟླ་ ༥","ཟླ་ ༦","ཟླ་ ༧","ཟླ་ ༨","ཟླ་ ༩","ཟླ་ ༡༠","ཟླ་ ༡༡","ཟླ་ ༡༢",""] - }, - AM: ["སྔ་དྲོ","སྔ་དྲོ","སྔ་དྲོ"], - PM: ["ཕྱི་དྲོ","ཕྱི་དྲོ","ཕྱི་དྲོ"], - eras: [{"name":"སྤྱི་ལོ","start":null,"offset":0}], - patterns: { - d: "yyyy/M/d", - D: "yyyy'ལོའི་ཟླ' M'ཚེས' d", - t: "HH:mm", - T: "HH:mm:ss", - f: "yyyy'ལོའི་ཟླ' M'ཚེས' d HH:mm", - F: "yyyy'ལོའི་ཟླ' M'ཚེས' d HH:mm:ss", - M: "'ཟླ་' M'ཚེས'd", - Y: "yyyy.M" - } - } - } -}); - -Globalize.addCultureInfo( "cy-GB", "default", { - name: "cy-GB", - englishName: "Welsh (United Kingdom)", - nativeName: "Cymraeg (y Deyrnas Unedig)", - language: "cy", - numberFormat: { - percent: { - pattern: ["-%n","%n"] - }, - currency: { - pattern: ["-$n","$n"], - symbol: "£" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["Dydd Sul","Dydd Llun","Dydd Mawrth","Dydd Mercher","Dydd Iau","Dydd Gwener","Dydd Sadwrn"], - namesAbbr: ["Sul","Llun","Maw","Mer","Iau","Gwe","Sad"], - namesShort: ["Su","Ll","Ma","Me","Ia","Gw","Sa"] - }, - months: { - names: ["Ionawr","Chwefror","Mawrth","Ebrill","Mai","Mehefin","Gorffennaf","Awst","Medi","Hydref","Tachwedd","Rhagfyr",""], - namesAbbr: ["Ion","Chwe","Maw","Ebr","Mai","Meh","Gor","Aws","Med","Hyd","Tach","Rhag",""] - }, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd MMMM yyyy HH:mm", - F: "dd MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "km-KH", "default", { - name: "km-KH", - englishName: "Khmer (Cambodia)", - nativeName: "ខ្មែរ (កម្ពុជា)", - language: "km", - numberFormat: { - pattern: ["- n"], - groupSizes: [3,0], - "NaN": "NAN", - negativeInfinity: "-- អនន្ត", - positiveInfinity: "អនន្ត", - percent: { - pattern: ["-n%","n%"], - groupSizes: [3,0] - }, - currency: { - pattern: ["-n$","n$"], - symbol: "៛" - } - }, - calendars: { - standard: { - "/": "-", - days: { - names: ["ថ្ងៃអាទិត្យ","ថ្ងៃច័ន្ទ","ថ្ងៃអង្គារ","ថ្ងៃពុធ","ថ្ងៃព្រហស្បតិ៍","ថ្ងៃសុក្រ","ថ្ងៃសៅរ៍"], - namesAbbr: ["អាទិ.","ច.","អ.","ពុ","ព្រហ.","សុ.","ស."], - namesShort: ["អា","ច","អ","ពុ","ព្","សុ","ស"] - }, - months: { - names: ["មករា","កុម្ភៈ","មិនា","មេសា","ឧសភា","មិថុនា","កក្កដា","សីហា","កញ្ញា","តុលា","វិច្ឆិកា","ធ្នូ",""], - namesAbbr: ["១","២","៣","៤","៥","៦","៧","៨","៩","១០","១១","១២",""] - }, - AM: ["ព្រឹក","ព្រឹក","ព្រឹក"], - PM: ["ល្ងាច","ល្ងាច","ល្ងាច"], - eras: [{"name":"មុនគ.ស.","start":null,"offset":0}], - patterns: { - d: "yyyy-MM-dd", - D: "d MMMM yyyy", - t: "H:mm tt", - T: "HH:mm:ss", - f: "d MMMM yyyy H:mm tt", - F: "d MMMM yyyy HH:mm:ss", - M: "'ថ្ងៃទី' dd 'ខែ' MM", - Y: "'ខែ' MM 'ឆ្នាំ' yyyy" - } - }, - Gregorian_TransliteratedEnglish: { - name: "Gregorian_TransliteratedEnglish", - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["أ","ا","ث","أ","خ","ج","س"] - }, - months: { - names: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["يناير","فبراير","مارس","ابريل","مايو","يونيو","يوليو","اغسطس","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ព្រឹក","ព្រឹក","ព្រឹក"], - PM: ["ល្ងាច","ល្ងាច","ល្ងាច"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "H:mm tt", - T: "HH:mm:ss", - f: "dddd, MMMM dd, yyyy H:mm tt", - F: "dddd, MMMM dd, yyyy HH:mm:ss" - } - } - } -}); - -Globalize.addCultureInfo( "lo-LA", "default", { - name: "lo-LA", - englishName: "Lao (Lao P.D.R.)", - nativeName: "ລາວ (ສ.ປ.ປ. ລາວ)", - language: "lo", - numberFormat: { - pattern: ["(n)"], - groupSizes: [3,0], - percent: { - groupSizes: [3,0] - }, - currency: { - pattern: ["(n$)","n$"], - groupSizes: [3,0], - symbol: "₭" - } - }, - calendars: { - standard: { - days: { - names: ["ວັນອາທິດ","ວັນຈັນ","ວັນອັງຄານ","ວັນພຸດ","ວັນພະຫັດ","ວັນສຸກ","ວັນເສົາ"], - namesAbbr: ["ອາທິດ","ຈັນ","ອັງຄານ","ພຸດ","ພະຫັດ","ສຸກ","ເສົາ"], - namesShort: ["ອ","ຈ","ອ","ພ","ພ","ສ","ເ"] - }, - months: { - names: ["ມັງກອນ","ກຸມພາ","ມີນາ","ເມສາ","ພຶດສະພາ","ມິຖຸນາ","ກໍລະກົດ","ສິງຫາ","ກັນຍາ","ຕຸລາ","ພະຈິກ","ທັນວາ",""], - namesAbbr: ["ມັງກອນ","ກຸມພາ","ມີນາ","ເມສາ","ພຶດສະພາ","ມິຖຸນາ","ກໍລະກົດ","ສິງຫາ","ກັນຍາ","ຕຸລາ","ພະຈິກ","ທັນວາ",""] - }, - AM: ["ເຊົ້າ","ເຊົ້າ","ເຊົ້າ"], - PM: ["ແລງ","ແລງ","ແລງ"], - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM yyyy", - t: "H:mm tt", - T: "HH:mm:ss", - f: "dd MMMM yyyy H:mm tt", - F: "dd MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "gl-ES", "default", { - name: "gl-ES", - englishName: "Galician (Galician)", - nativeName: "galego (galego)", - language: "gl", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "NeuN", - negativeInfinity: "-Infinito", - positiveInfinity: "Infinito", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["domingo","luns","martes","mércores","xoves","venres","sábado"], - namesAbbr: ["dom","luns","mar","mér","xov","ven","sáb"], - namesShort: ["do","lu","ma","mé","xo","ve","sá"] - }, - months: { - names: ["xaneiro","febreiro","marzo","abril","maio","xuño","xullo","agosto","setembro","outubro","novembro","decembro",""], - namesAbbr: ["xan","feb","mar","abr","maio","xuñ","xull","ago","set","out","nov","dec",""] - }, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dddd, dd' de 'MMMM' de 'yyyy H:mm", - F: "dddd, dd' de 'MMMM' de 'yyyy H:mm:ss", - M: "dd MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "kok-IN", "default", { - name: "kok-IN", - englishName: "Konkani (India)", - nativeName: "कोंकणी (भारत)", - language: "kok", - numberFormat: { - groupSizes: [3,2], - percent: { - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,2], - symbol: "रु" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["आयतार","सोमार","मंगळार","बुधवार","बिरेस्तार","सुक्रार","शेनवार"], - namesAbbr: ["आय.","सोम.","मंगळ.","बुध.","बिरे.","सुक्र.","शेन."], - namesShort: ["आ","स","म","ब","ब","स","श"] - }, - months: { - names: ["जानेवारी","फेब्रुवारी","मार्च","एप्रिल","मे","जून","जुलै","ऑगस्ट","सप्टेंबर","ऑक्टोबर","नोवेम्बर","डिसेंबर",""], - namesAbbr: ["जानेवारी","फेब्रुवारी","मार्च","एप्रिल","मे","जून","जुलै","ऑगस्ट","सप्टेंबर","ऑक्टोबर","नोवेम्बर","डिसेंबर",""] - }, - AM: ["म.पू.","म.पू.","म.पू."], - PM: ["म.नं.","म.नं.","म.नं."], - patterns: { - d: "dd-MM-yyyy", - D: "dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd MMMM yyyy HH:mm", - F: "dd MMMM yyyy HH:mm:ss", - M: "dd MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "syr-SY", "default", { - name: "syr-SY", - englishName: "Syriac (Syria)", - nativeName: "ܣܘܪܝܝܐ (سوريا)", - language: "syr", - isRTL: true, - numberFormat: { - currency: { - pattern: ["$n-","$ n"], - symbol: "ل.س.\u200f" - } - }, - calendars: { - standard: { - firstDay: 6, - days: { - names: ["ܚܕ ܒܫܒܐ","ܬܪܝܢ ܒܫܒܐ","ܬܠܬܐ ܒܫܒܐ","ܐܪܒܥܐ ܒܫܒܐ","ܚܡܫܐ ܒܫܒܐ","ܥܪܘܒܬܐ","ܫܒܬܐ"], - namesAbbr: ["\u070fܐ \u070fܒܫ","\u070fܒ \u070fܒܫ","\u070fܓ \u070fܒܫ","\u070fܕ \u070fܒܫ","\u070fܗ \u070fܒܫ","\u070fܥܪܘܒ","\u070fܫܒ"], - namesShort: ["ܐ","ܒ","ܓ","ܕ","ܗ","ܥ","ܫ"] - }, - months: { - names: ["ܟܢܘܢ ܐܚܪܝ","ܫܒܛ","ܐܕܪ","ܢܝܣܢ","ܐܝܪ","ܚܙܝܪܢ","ܬܡܘܙ","ܐܒ","ܐܝܠܘܠ","ܬܫܪܝ ܩܕܝܡ","ܬܫܪܝ ܐܚܪܝ","ܟܢܘܢ ܩܕܝܡ",""], - namesAbbr: ["\u070fܟܢ \u070fܒ","ܫܒܛ","ܐܕܪ","ܢܝܣܢ","ܐܝܪ","ܚܙܝܪܢ","ܬܡܘܙ","ܐܒ","ܐܝܠܘܠ","\u070fܬܫ \u070fܐ","\u070fܬܫ \u070fܒ","\u070fܟܢ \u070fܐ",""] - }, - AM: ["ܩ.ܛ","ܩ.ܛ","ܩ.ܛ"], - PM: ["ܒ.ܛ","ܒ.ܛ","ܒ.ܛ"], - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM, yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd MMMM, yyyy hh:mm tt", - F: "dd MMMM, yyyy hh:mm:ss tt", - M: "dd MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "si-LK", "default", { - name: "si-LK", - englishName: "Sinhala (Sri Lanka)", - nativeName: "සිංහල (ශ්\u200dරී ලංකා)", - language: "si", - numberFormat: { - groupSizes: [3,2], - negativeInfinity: "-අනන්තය", - positiveInfinity: "අනන්තය", - percent: { - groupSizes: [3,2] - }, - currency: { - pattern: ["($ n)","$ n"], - symbol: "රු." - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["ඉරිදා","සඳුදා","අඟහරුවාදා","බදාදා","බ්\u200dරහස්පතින්දා","සිකුරාදා","සෙනසුරාදා"], - namesAbbr: ["ඉරිදා","සඳුදා","කුජදා","බුදදා","ගුරුදා","කිවිදා","ශනිදා"], - namesShort: ["ඉ","ස","අ","බ","බ්\u200dර","සි","සෙ"] - }, - months: { - names: ["ජනවාරි","පෙබරවාරි","මාර්තු","අ\u200cප්\u200dරේල්","මැයි","ජූනි","ජූලි","අ\u200cගෝස්තු","සැප්තැම්බර්","ඔක්තෝබර්","නොවැම්බර්","දෙසැම්බර්",""], - namesAbbr: ["ජන.","පෙබ.","මාර්තු.","අප්\u200dරේල්.","මැයි.","ජූනි.","ජූලි.","අගෝ.","සැප්.","ඔක්.","නොවැ.","දෙසැ.",""] - }, - AM: ["පෙ.ව.","පෙ.ව.","පෙ.ව."], - PM: ["ප.ව.","ප.ව.","ප.ව."], - eras: [{"name":"ක්\u200dරි.ව.","start":null,"offset":0}], - patterns: { - d: "yyyy-MM-dd", - D: "yyyy MMMM' මස 'dd' වැනිදා 'dddd", - f: "yyyy MMMM' මස 'dd' වැනිදා 'dddd h:mm tt", - F: "yyyy MMMM' මස 'dd' වැනිදා 'dddd h:mm:ss tt", - Y: "yyyy MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "iu-Cans-CA", "default", { - name: "iu-Cans-CA", - englishName: "Inuktitut (Syllabics, Canada)", - nativeName: "ᐃᓄᒃᑎᑐᑦ (ᑲᓇᑕᒥ)", - language: "iu-Cans", - numberFormat: { - groupSizes: [3,0], - percent: { - pattern: ["-n%","n%"], - groupSizes: [3,0] - }, - currency: { - groupSizes: [3,0] - } - }, - calendars: { - standard: { - days: { - names: ["ᓈᑦᑏᖑᔭ","ᓇᒡᒐᔾᔭᐅ","ᐊᐃᑉᐱᖅ","ᐱᖓᑦᓯᖅ","ᓯᑕᒻᒥᖅ","ᑕᓪᓕᕐᒥᖅ","ᓯᕙᑖᕐᕕᒃ"], - namesAbbr: ["ᓈᑦᑏ","ᓇᒡᒐ","ᐊᐃᑉᐱ","ᐱᖓᑦᓯ","ᓯᑕ","ᑕᓪᓕ","ᓯᕙᑖᕐᕕᒃ"], - namesShort: ["ᓈ","ᓇ","ᐊ","ᐱ","ᓯ","ᑕ","ᓯ"] - }, - months: { - names: ["ᔮᓐᓄᐊᕆ","ᕖᕝᕗᐊᕆ","ᒫᑦᓯ","ᐄᐳᕆ","ᒪᐃ","ᔫᓂ","ᔪᓚᐃ","ᐋᒡᒌᓯ","ᓯᑎᐱᕆ","ᐅᑐᐱᕆ","ᓄᕕᐱᕆ","ᑎᓯᐱᕆ",""], - namesAbbr: ["ᔮᓐᓄ","ᕖᕝᕗ","ᒫᑦᓯ","ᐄᐳᕆ","ᒪᐃ","ᔫᓂ","ᔪᓚᐃ","ᐋᒡᒌ","ᓯᑎᐱ","ᐅᑐᐱ","ᓄᕕᐱ","ᑎᓯᐱ",""] - }, - patterns: { - d: "d/M/yyyy", - D: "dddd,MMMM dd,yyyy", - f: "dddd,MMMM dd,yyyy h:mm tt", - F: "dddd,MMMM dd,yyyy h:mm:ss tt", - Y: "MMMM,yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "am-ET", "default", { - name: "am-ET", - englishName: "Amharic (Ethiopia)", - nativeName: "አማርኛ (ኢትዮጵያ)", - language: "am", - numberFormat: { - decimals: 1, - groupSizes: [3,0], - "NaN": "NAN", - percent: { - pattern: ["-n%","n%"], - decimals: 1, - groupSizes: [3,0] - }, - currency: { - pattern: ["-$n","$n"], - groupSizes: [3,0], - symbol: "ETB" - } - }, - calendars: { - standard: { - days: { - names: ["እሑድ","ሰኞ","ማክሰኞ","ረቡዕ","ሐሙስ","ዓርብ","ቅዳሜ"], - namesAbbr: ["እሑድ","ሰኞ","ማክሰ","ረቡዕ","ሐሙስ","ዓርብ","ቅዳሜ"], - namesShort: ["እ","ሰ","ማ","ረ","ሐ","ዓ","ቅ"] - }, - months: { - names: ["ጃንዩወሪ","ፌብሩወሪ","ማርች","ኤፕረል","ሜይ","ጁን","ጁላይ","ኦገስት","ሴፕቴምበር","ኦክተውበር","ኖቬምበር","ዲሴምበር",""], - namesAbbr: ["ጃንዩ","ፌብሩ","ማርች","ኤፕረ","ሜይ","ጁን","ጁላይ","ኦገስ","ሴፕቴ","ኦክተ","ኖቬም","ዲሴም",""] - }, - AM: ["ጡዋት","ጡዋት","ጡዋት"], - PM: ["ከሰዓት","ከሰዓት","ከሰዓት"], - eras: [{"name":"ዓመተ ምሕረት","start":null,"offset":0}], - patterns: { - d: "d/M/yyyy", - D: "dddd '፣' MMMM d 'ቀን' yyyy", - f: "dddd '፣' MMMM d 'ቀን' yyyy h:mm tt", - F: "dddd '፣' MMMM d 'ቀን' yyyy h:mm:ss tt", - M: "MMMM d ቀን", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "ne-NP", "default", { - name: "ne-NP", - englishName: "Nepali (Nepal)", - nativeName: "नेपाली (नेपाल)", - language: "ne", - numberFormat: { - groupSizes: [3,2], - "NaN": "nan", - negativeInfinity: "-infinity", - positiveInfinity: "infinity", - percent: { - pattern: ["-n%","n%"], - groupSizes: [3,2] - }, - currency: { - pattern: ["-$n","$n"], - symbol: "रु" - } - }, - calendars: { - standard: { - days: { - names: ["आइतवार","सोमवार","मङ्गलवार","बुधवार","बिहीवार","शुक्रवार","शनिवार"], - namesAbbr: ["आइत","सोम","मङ्गल","बुध","बिही","शुक्र","शनि"], - namesShort: ["आ","सो","म","बु","बि","शु","श"] - }, - months: { - names: ["जनवरी","फेब्रुअरी","मार्च","अप्रिल","मे","जून","जुलाई","अगस्त","सेप्टेम्बर","अक्टोबर","नोभेम्बर","डिसेम्बर",""], - namesAbbr: ["जन","फेब","मार्च","अप्रिल","मे","जून","जुलाई","अग","सेप्ट","अक्ट","नोभ","डिस",""] - }, - AM: ["विहानी","विहानी","विहानी"], - PM: ["बेलुकी","बेलुकी","बेलुकी"], - eras: [{"name":"a.d.","start":null,"offset":0}], - patterns: { - Y: "MMMM,yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "fy-NL", "default", { - name: "fy-NL", - englishName: "Frisian (Netherlands)", - nativeName: "Frysk (Nederlân)", - language: "fy", - numberFormat: { - ",": ".", - ".": ",", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["$ -n","$ n"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["Snein","Moandei","Tiisdei","Woansdei","Tongersdei","Freed","Sneon"], - namesAbbr: ["Sn","Mo","Ti","Wo","To","Fr","Sn"], - namesShort: ["S","M","T","W","T","F","S"] - }, - months: { - names: ["jannewaris","febrewaris","maart","april","maaie","juny","july","augustus","septimber","oktober","novimber","desimber",""], - namesAbbr: ["jann","febr","mrt","apr","maaie","jun","jul","aug","sept","okt","nov","des",""] - }, - AM: null, - PM: null, - patterns: { - d: "d-M-yyyy", - D: "dddd d MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dddd d MMMM yyyy H:mm", - F: "dddd d MMMM yyyy H:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "ps-AF", "default", { - name: "ps-AF", - englishName: "Pashto (Afghanistan)", - nativeName: "پښتو (افغانستان)", - language: "ps", - isRTL: true, - numberFormat: { - pattern: ["n-"], - ",": "،", - ".": ",", - "NaN": "غ ع", - negativeInfinity: "-∞", - positiveInfinity: "∞", - percent: { - pattern: ["%n-","%n"], - ",": "،", - ".": "," - }, - currency: { - pattern: ["$n-","$n"], - ",": "٬", - ".": "٫", - symbol: "؋" - } - }, - calendars: { - standard: { - name: "Hijri", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["غ.م","غ.م","غ.م"], - PM: ["غ.و","غ.و","غ.و"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MM/yyyy", - f: "dd/MM/yyyy h:mm tt", - F: "dd/MM/yyyy h:mm:ss tt", - M: "dd MMMM" - }, - convert: { - // Adapted to Script from System.Globalization.HijriCalendar - ticks1970: 62135596800000, - // number of days leading up to each month - monthDays: [0, 30, 59, 89, 118, 148, 177, 207, 236, 266, 295, 325, 355], - minDate: -42521673600000, - maxDate: 253402300799999, - // The number of days to add or subtract from the calendar to accommodate the variances - // in the start and the end of Ramadan and to accommodate the date difference between - // countries/regions. May be dynamically adjusted based on user preference, but should - // remain in the range of -2 to 2, inclusive. - hijriAdjustment: 0, - toGregorian: function(hyear, hmonth, hday) { - var daysSinceJan0101 = this.daysToYear(hyear) + this.monthDays[hmonth] + hday - 1 - this.hijriAdjustment; - // 86400000 = ticks per day - var gdate = new Date(daysSinceJan0101 * 86400000 - this.ticks1970); - // adjust for timezone, because we are interested in the gregorian date for the same timezone - // but ticks in javascript is always from GMT, unlike the server were ticks counts from the base - // date in the current timezone. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - return gdate; - }, - fromGregorian: function(gdate) { - if ((gdate < this.minDate) || (gdate > this.maxDate)) return null; - var ticks = this.ticks1970 + (gdate-0) - gdate.getTimezoneOffset() * 60000, - daysSinceJan0101 = Math.floor(ticks / 86400000) + 1 + this.hijriAdjustment; - // very particular formula determined by someone smart, adapted from the server-side implementation. - // it approximates the hijri year. - var hday, hmonth, hyear = Math.floor(((daysSinceJan0101 - 227013) * 30) / 10631) + 1, - absDays = this.daysToYear(hyear), - daysInYear = this.isLeapYear(hyear) ? 355 : 354; - // hyear is just approximate, it may need adjustment up or down by 1. - if (daysSinceJan0101 < absDays) { - hyear--; - absDays -= daysInYear; - } - else if (daysSinceJan0101 === absDays) { - hyear--; - absDays = this.daysToYear(hyear); - } - else { - if (daysSinceJan0101 > (absDays + daysInYear)) { - absDays += daysInYear; - hyear++; - } - } - // determine month by looking at how many days into the hyear we are - // monthDays contains the number of days up to each month. - hmonth = 0; - var daysIntoYear = daysSinceJan0101 - absDays; - while (hmonth <= 11 && daysIntoYear > this.monthDays[hmonth]) { - hmonth++; - } - hmonth--; - hday = daysIntoYear - this.monthDays[hmonth]; - return [hyear, hmonth, hday]; - }, - daysToYear: function(year) { - // calculates how many days since Jan 1, 0001 - var yearsToYear30 = Math.floor((year - 1) / 30) * 30, - yearsInto30 = year - yearsToYear30 - 1, - days = Math.floor((yearsToYear30 * 10631) / 30) + 227013; - while (yearsInto30 > 0) { - days += (this.isLeapYear(yearsInto30) ? 355 : 354); - yearsInto30--; - } - return days; - }, - isLeapYear: function(year) { - return ((((year * 11) + 14) % 30) < 11); - } - } - }, - Gregorian_Localized: { - firstDay: 6, - days: { - names: ["یکشنبه","دوشنبه","سه\u200cشنبه","چارشنبه","پنجشنبه","جمعه","شنبه"], - namesAbbr: ["یکشنبه","دوشنبه","سه\u200cشنبه","چارشنبه","پنجشنبه","جمعه","شنبه"], - namesShort: ["ی","د","س","چ","پ","ج","ش"] - }, - months: { - names: ["سلواغه","كب","ورى","غويى","غبرګولى","چنګا ښزمرى","زمرى","وږى","تله","لړم","لنڈ ۍ","مرغومى",""], - namesAbbr: ["سلواغه","كب","ورى","غويى","غبرګولى","چنګا ښ","زمرى","وږى","تله","لړم","لنڈ ۍ","مرغومى",""] - }, - AM: ["غ.م","غ.م","غ.م"], - PM: ["غ.و","غ.و","غ.و"], - eras: [{"name":"ل.ه","start":null,"offset":0}], - patterns: { - d: "yyyy/M/d", - D: "yyyy, dd, MMMM, dddd", - f: "yyyy, dd, MMMM, dddd h:mm tt", - F: "yyyy, dd, MMMM, dddd h:mm:ss tt", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "fil-PH", "default", { - name: "fil-PH", - englishName: "Filipino (Philippines)", - nativeName: "Filipino (Pilipinas)", - language: "fil", - numberFormat: { - currency: { - symbol: "PhP" - } - }, - calendars: { - standard: { - days: { - names: ["Linggo","Lunes","Martes","Mierkoles","Huebes","Biernes","Sabado"], - namesAbbr: ["Lin","Lun","Mar","Mier","Hueb","Bier","Saba"], - namesShort: ["L","L","M","M","H","B","S"] - }, - months: { - names: ["Enero","Pebrero","Marso","Abril","Mayo","Hunyo","Hulyo","Agosto","Septyembre","Oktubre","Nobyembre","Disyembre",""], - namesAbbr: ["En","Peb","Mar","Abr","Mayo","Hun","Hul","Agos","Sept","Okt","Nob","Dis",""] - }, - eras: [{"name":"Anno Domini","start":null,"offset":0}] - } - } -}); - -Globalize.addCultureInfo( "dv-MV", "default", { - name: "dv-MV", - englishName: "Divehi (Maldives)", - nativeName: "ދިވެހިބަސް (ދިވެހި ރާއްޖެ)", - language: "dv", - isRTL: true, - numberFormat: { - currency: { - pattern: ["n $-","n $"], - symbol: "ރ." - } - }, - calendars: { - standard: { - name: "Hijri", - days: { - names: ["އާދީއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"], - namesAbbr: ["އާދީއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"], - namesShort: ["އާ","ހޯ","އަ","ބު","ބު","ހު","ހޮ"] - }, - months: { - names: ["މުޙައްރަމް","ޞަފަރު","ރަބީޢުލްއައްވަލް","ރަބީޢުލްއާޚިރު","ޖުމާދަލްއޫލާ","ޖުމާދަލްއާޚިރާ","ރަޖަބް","ޝަޢްބާން","ރަމަޟާން","ޝައްވާލް","ޛުލްޤަޢިދާ","ޛުލްޙިއްޖާ",""], - namesAbbr: ["މުޙައްރަމް","ޞަފަރު","ރަބީޢުލްއައްވަލް","ރަބީޢުލްއާޚިރު","ޖުމާދަލްއޫލާ","ޖުމާދަލްއާޚިރާ","ރަޖަބް","ޝަޢްބާން","ރަމަޟާން","ޝައްވާލް","ޛުލްޤަޢިދާ","ޛުލްޙިއްޖާ",""] - }, - AM: ["މކ","މކ","މކ"], - PM: ["މފ","މފ","މފ"], - eras: [{"name":"ހިޖްރީ","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MM/yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd/MM/yyyy HH:mm", - F: "dd/MM/yyyy HH:mm:ss", - M: "dd MMMM" - }, - convert: { - // Adapted to Script from System.Globalization.HijriCalendar - ticks1970: 62135596800000, - // number of days leading up to each month - monthDays: [0, 30, 59, 89, 118, 148, 177, 207, 236, 266, 295, 325, 355], - minDate: -42521673600000, - maxDate: 253402300799999, - // The number of days to add or subtract from the calendar to accommodate the variances - // in the start and the end of Ramadan and to accommodate the date difference between - // countries/regions. May be dynamically adjusted based on user preference, but should - // remain in the range of -2 to 2, inclusive. - hijriAdjustment: 0, - toGregorian: function(hyear, hmonth, hday) { - var daysSinceJan0101 = this.daysToYear(hyear) + this.monthDays[hmonth] + hday - 1 - this.hijriAdjustment; - // 86400000 = ticks per day - var gdate = new Date(daysSinceJan0101 * 86400000 - this.ticks1970); - // adjust for timezone, because we are interested in the gregorian date for the same timezone - // but ticks in javascript is always from GMT, unlike the server were ticks counts from the base - // date in the current timezone. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - return gdate; - }, - fromGregorian: function(gdate) { - if ((gdate < this.minDate) || (gdate > this.maxDate)) return null; - var ticks = this.ticks1970 + (gdate-0) - gdate.getTimezoneOffset() * 60000, - daysSinceJan0101 = Math.floor(ticks / 86400000) + 1 + this.hijriAdjustment; - // very particular formula determined by someone smart, adapted from the server-side implementation. - // it approximates the hijri year. - var hday, hmonth, hyear = Math.floor(((daysSinceJan0101 - 227013) * 30) / 10631) + 1, - absDays = this.daysToYear(hyear), - daysInYear = this.isLeapYear(hyear) ? 355 : 354; - // hyear is just approximate, it may need adjustment up or down by 1. - if (daysSinceJan0101 < absDays) { - hyear--; - absDays -= daysInYear; - } - else if (daysSinceJan0101 === absDays) { - hyear--; - absDays = this.daysToYear(hyear); - } - else { - if (daysSinceJan0101 > (absDays + daysInYear)) { - absDays += daysInYear; - hyear++; - } - } - // determine month by looking at how many days into the hyear we are - // monthDays contains the number of days up to each month. - hmonth = 0; - var daysIntoYear = daysSinceJan0101 - absDays; - while (hmonth <= 11 && daysIntoYear > this.monthDays[hmonth]) { - hmonth++; - } - hmonth--; - hday = daysIntoYear - this.monthDays[hmonth]; - return [hyear, hmonth, hday]; - }, - daysToYear: function(year) { - // calculates how many days since Jan 1, 0001 - var yearsToYear30 = Math.floor((year - 1) / 30) * 30, - yearsInto30 = year - yearsToYear30 - 1, - days = Math.floor((yearsToYear30 * 10631) / 30) + 227013; - while (yearsInto30 > 0) { - days += (this.isLeapYear(yearsInto30) ? 355 : 354); - yearsInto30--; - } - return days; - }, - isLeapYear: function(year) { - return ((((year * 11) + 14) % 30) < 11); - } - } - }, - Gregorian_Localized: { - days: { - names: ["އާދީއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"], - namesAbbr: ["އާދީއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"], - namesShort: ["އާ","ހޯ","އަ","ބު","ބު","ހު","ހޮ"] - }, - months: { - names: ["ޖަނަވަރީ","ފެބްރުއަރީ","މާޗް","އޭޕްރިލް","މެއި","ޖޫން","ޖުލައި","އޯގަސްޓް","ސެޕްޓެމްބަރ","އޮކްޓޯބަރ","ނޮވެމްބަރ","ޑިސެމްބަރ",""], - namesAbbr: ["ޖަނަވަރީ","ފެބްރުއަރީ","މާޗް","އޭޕްރިލް","މެއި","ޖޫން","ޖުލައި","އޯގަސްޓް","ސެޕްޓެމްބަރ","އޮކްޓޯބަރ","ނޮވެމްބަރ","ޑިސެމްބަރ",""] - }, - AM: ["މކ","މކ","މކ"], - PM: ["މފ","މފ","މފ"], - eras: [{"name":"މީލާދީ","start":null,"offset":0}], - patterns: { - d: "dd/MM/yy", - D: "ddd, yyyy MMMM dd", - t: "HH:mm", - T: "HH:mm:ss", - f: "ddd, yyyy MMMM dd HH:mm", - F: "ddd, yyyy MMMM dd HH:mm:ss", - Y: "yyyy, MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "ha-Latn-NG", "default", { - name: "ha-Latn-NG", - englishName: "Hausa (Latin, Nigeria)", - nativeName: "Hausa (Nigeria)", - language: "ha-Latn", - numberFormat: { - currency: { - pattern: ["$-n","$ n"], - symbol: "N" - } - }, - calendars: { - standard: { - days: { - names: ["Lahadi","Litinin","Talata","Laraba","Alhamis","Juma'a","Asabar"], - namesAbbr: ["Lah","Lit","Tal","Lar","Alh","Jum","Asa"], - namesShort: ["L","L","T","L","A","J","A"] - }, - months: { - names: ["Januwaru","Febreru","Maris","Afrilu","Mayu","Yuni","Yuli","Agusta","Satumba","Oktocba","Nuwamba","Disamba",""], - namesAbbr: ["Jan","Feb","Mar","Afr","May","Yun","Yul","Agu","Sat","Okt","Nuw","Dis",""] - }, - AM: ["Safe","safe","SAFE"], - PM: ["Yamma","yamma","YAMMA"], - eras: [{"name":"AD","start":null,"offset":0}], - patterns: { - d: "d/M/yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "yo-NG", "default", { - name: "yo-NG", - englishName: "Yoruba (Nigeria)", - nativeName: "Yoruba (Nigeria)", - language: "yo", - numberFormat: { - currency: { - pattern: ["$-n","$ n"], - symbol: "N" - } - }, - calendars: { - standard: { - days: { - names: ["Aiku","Aje","Isegun","Ojo'ru","Ojo'bo","Eti","Abameta"], - namesAbbr: ["Aik","Aje","Ise","Ojo","Ojo","Eti","Aba"], - namesShort: ["A","A","I","O","O","E","A"] - }, - months: { - names: ["Osu kinni","Osu keji","Osu keta","Osu kerin","Osu karun","Osu kefa","Osu keje","Osu kejo","Osu kesan","Osu kewa","Osu kokanla","Osu keresi",""], - namesAbbr: ["kin.","kej.","ket.","ker.","kar.","kef.","kej.","kej.","kes.","kew.","kok.","ker.",""] - }, - AM: ["Owuro","owuro","OWURO"], - PM: ["Ale","ale","ALE"], - eras: [{"name":"AD","start":null,"offset":0}], - patterns: { - d: "d/M/yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "quz-BO", "default", { - name: "quz-BO", - englishName: "Quechua (Bolivia)", - nativeName: "runasimi (Qullasuyu)", - language: "quz", - numberFormat: { - ",": ".", - ".": ",", - percent: { - pattern: ["-%n","%n"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["($ n)","$ n"], - ",": ".", - ".": ",", - symbol: "$b" - } - }, - calendars: { - standard: { - days: { - names: ["intichaw","killachaw","atipachaw","quyllurchaw","Ch' askachaw","Illapachaw","k'uychichaw"], - namesAbbr: ["int","kil","ati","quy","Ch'","Ill","k'u"], - namesShort: ["d","k","a","m","h","b","k"] - }, - months: { - names: ["Qulla puquy","Hatun puquy","Pauqar waray","ayriwa","Aymuray","Inti raymi","Anta Sitwa","Qhapaq Sitwa","Uma raymi","Kantaray","Ayamarq'a","Kapaq Raymi",""], - namesAbbr: ["Qul","Hat","Pau","ayr","Aym","Int","Ant","Qha","Uma","Kan","Aya","Kap",""] - }, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, dd' de 'MMMM' de 'yyyy hh:mm tt", - F: "dddd, dd' de 'MMMM' de 'yyyy hh:mm:ss tt", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "nso-ZA", "default", { - name: "nso-ZA", - englishName: "Sesotho sa Leboa (South Africa)", - nativeName: "Sesotho sa Leboa (Afrika Borwa)", - language: "nso", - numberFormat: { - percent: { - pattern: ["-%n","%n"] - }, - currency: { - pattern: ["$-n","$ n"], - symbol: "R" - } - }, - calendars: { - standard: { - days: { - names: ["Lamorena","Mošupologo","Labobedi","Laboraro","Labone","Labohlano","Mokibelo"], - namesAbbr: ["Lam","Moš","Lbb","Lbr","Lbn","Lbh","Mok"], - namesShort: ["L","M","L","L","L","L","M"] - }, - months: { - names: ["Pherekgong","Hlakola","Mopitlo","Moranang","Mosegamanye","Ngoatobošego","Phuphu","Phato","Lewedi","Diphalana","Dibatsela","Manthole",""], - namesAbbr: ["Pher","Hlak","Mop","Mor","Mos","Ngwat","Phup","Phat","Lew","Dip","Dib","Man",""] - }, - patterns: { - d: "yyyy/MM/dd", - D: "dd MMMM yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd MMMM yyyy hh:mm tt", - F: "dd MMMM yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "ba-RU", "default", { - name: "ba-RU", - englishName: "Bashkir (Russia)", - nativeName: "Башҡорт (Россия)", - language: "ba", - numberFormat: { - ",": " ", - ".": ",", - groupSizes: [3,0], - negativeInfinity: "-бесконечность", - positiveInfinity: "бесконечность", - percent: { - pattern: ["-n%","n%"], - groupSizes: [3,0], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - groupSizes: [3,0], - ",": " ", - ".": ",", - symbol: "һ." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Йәкшәмбе","Дүшәмбе","Шишәмбе","Шаршамбы","Кесаҙна","Йома","Шәмбе"], - namesAbbr: ["Йш","Дш","Шш","Шр","Кс","Йм","Шб"], - namesShort: ["Йш","Дш","Шш","Шр","Кс","Йм","Шб"] - }, - months: { - names: ["ғинуар","февраль","март","апрель","май","июнь","июль","август","сентябрь","октябрь","ноябрь","декабрь",""], - namesAbbr: ["ғин","фев","мар","апр","май","июн","июл","авг","сен","окт","ноя","дек",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yy", - D: "d MMMM yyyy 'й'", - t: "H:mm", - T: "H:mm:ss", - f: "d MMMM yyyy 'й' H:mm", - F: "d MMMM yyyy 'й' H:mm:ss", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "lb-LU", "default", { - name: "lb-LU", - englishName: "Luxembourgish (Luxembourg)", - nativeName: "Lëtzebuergesch (Luxembourg)", - language: "lb", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "n. num.", - negativeInfinity: "-onendlech", - positiveInfinity: "+onendlech", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["Sonndeg","Méindeg","Dënschdeg","Mëttwoch","Donneschdeg","Freideg","Samschdeg"], - namesAbbr: ["Son","Méi","Dën","Mët","Don","Fre","Sam"], - namesShort: ["So","Mé","Dë","Më","Do","Fr","Sa"] - }, - months: { - names: ["Januar","Februar","Mäerz","Abrëll","Mee","Juni","Juli","August","September","Oktober","November","Dezember",""], - namesAbbr: ["Jan","Feb","Mäe","Abr","Mee","Jun","Jul","Aug","Sep","Okt","Nov","Dez",""] - }, - AM: null, - PM: null, - eras: [{"name":"n. Chr","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd d MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd d MMMM yyyy HH:mm", - F: "dddd d MMMM yyyy HH:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "kl-GL", "default", { - name: "kl-GL", - englishName: "Greenlandic (Greenland)", - nativeName: "kalaallisut (Kalaallit Nunaat)", - language: "kl", - numberFormat: { - ",": ".", - ".": ",", - groupSizes: [3,0], - negativeInfinity: "-INF", - positiveInfinity: "INF", - percent: { - groupSizes: [3,0], - ",": ".", - ".": "," - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,0], - ",": ".", - ".": ",", - symbol: "kr." - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["sapaat","ataasinngorneq","marlunngorneq","pingasunngorneq","sisamanngorneq","tallimanngorneq","arfininngorneq"], - namesAbbr: ["sap","ata","mar","ping","sis","tal","arf"], - namesShort: ["sa","at","ma","pi","si","ta","ar"] - }, - months: { - names: ["januari","februari","martsi","apriili","maaji","juni","juli","aggusti","septembari","oktobari","novembari","decembari",""], - namesAbbr: ["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","dec",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd-MM-yyyy", - D: "d. MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "d. MMMM yyyy HH:mm", - F: "d. MMMM yyyy HH:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "ig-NG", "default", { - name: "ig-NG", - englishName: "Igbo (Nigeria)", - nativeName: "Igbo (Nigeria)", - language: "ig", - numberFormat: { - currency: { - pattern: ["$-n","$ n"], - symbol: "N" - } - }, - calendars: { - standard: { - days: { - names: ["Aiku","Aje","Isegun","Ojo'ru","Ojo'bo","Eti","Abameta"], - namesAbbr: ["Aik","Aje","Ise","Ojo","Ojo","Eti","Aba"], - namesShort: ["A","A","I","O","O","E","A"] - }, - months: { - names: ["Onwa mbu","Onwa ibua","Onwa ato","Onwa ano","Onwa ise","Onwa isi","Onwa asa","Onwa asato","Onwa itolu","Onwa iri","Onwa iri n'ofu","Onwa iri n'ibua",""], - namesAbbr: ["mbu.","ibu.","ato.","ano.","ise","isi","asa","asa.","ito.","iri.","n'of.","n'ib.",""] - }, - AM: ["Ututu","ututu","UTUTU"], - PM: ["Efifie","efifie","EFIFIE"], - eras: [{"name":"AD","start":null,"offset":0}], - patterns: { - d: "d/M/yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "ii-CN", "default", { - name: "ii-CN", - englishName: "Yi (PRC)", - nativeName: "ꆈꌠꁱꂷ (ꍏꉸꏓꂱꇭꉼꇩ)", - language: "ii", - numberFormat: { - groupSizes: [3,0], - "NaN": "ꌗꂷꀋꉬ", - negativeInfinity: "ꀄꊭꌐꀋꉆ", - positiveInfinity: "ꈤꇁꑖꀋꉬ", - percent: { - pattern: ["-n%","n%"], - groupSizes: [3,0] - }, - currency: { - pattern: ["$-n","$n"], - symbol: "¥" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["ꑭꆏꑍ","ꆏꊂ꒔","ꆏꊂꑍ","ꆏꊂꌕ","ꆏꊂꇖ","ꆏꊂꉬ","ꆏꊂꃘ"], - namesAbbr: ["ꑭꆏ","ꆏ꒔","ꆏꑍ","ꆏꌕ","ꆏꇖ","ꆏꉬ","ꆏꃘ"], - namesShort: ["ꆏ","꒔","ꑍ","ꌕ","ꇖ","ꉬ","ꃘ"] - }, - months: { - names: ["ꋍꆪ","ꑍꆪ","ꌕꆪ","ꇖꆪ","ꉬꆪ","ꃘꆪ","ꏃꆪ","ꉆꆪ","ꈬꆪ","ꊰꆪ","ꊯꊪꆪ","ꊰꑋꆪ",""], - namesAbbr: ["ꋍꆪ","ꑍꆪ","ꌕꆪ","ꇖꆪ","ꉬꆪ","ꃘꆪ","ꏃꆪ","ꉆꆪ","ꈬꆪ","ꊰꆪ","ꊯꊪꆪ","ꊰꑋꆪ",""] - }, - AM: ["ꂵꆪꈌꈐ","ꂵꆪꈌꈐ","ꂵꆪꈌꈐ"], - PM: ["ꂵꆪꈌꉈ","ꂵꆪꈌꉈ","ꂵꆪꈌꉈ"], - eras: [{"name":"ꇬꑼ","start":null,"offset":0}], - patterns: { - d: "yyyy/M/d", - D: "yyyy'ꈎ' M'ꆪ' d'ꑍ'", - t: "tt h:mm", - T: "H:mm:ss", - f: "yyyy'ꈎ' M'ꆪ' d'ꑍ' tt h:mm", - F: "yyyy'ꈎ' M'ꆪ' d'ꑍ' H:mm:ss", - M: "M'ꆪ' d'ꑍ'", - Y: "yyyy'ꈎ' M'ꆪ'" - } - } - } -}); - -Globalize.addCultureInfo( "arn-CL", "default", { - name: "arn-CL", - englishName: "Mapudungun (Chile)", - nativeName: "Mapudungun (Chile)", - language: "arn", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "NeuN", - negativeInfinity: "-Infinito", - positiveInfinity: "Infinito", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-$ n","$ n"], - ",": ".", - ".": "," - } - }, - calendars: { - standard: { - "/": "-", - days: { - names: ["domingo","lunes","martes","miércoles","jueves","viernes","sábado"], - namesAbbr: ["dom","lun","mar","mié","jue","vie","sáb"], - namesShort: ["do","lu","ma","mi","ju","vi","sá"] - }, - months: { - names: ["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""], - namesAbbr: ["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""] - }, - AM: null, - PM: null, - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd-MM-yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dddd, dd' de 'MMMM' de 'yyyy H:mm", - F: "dddd, dd' de 'MMMM' de 'yyyy H:mm:ss", - M: "dd MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "moh-CA", "default", { - name: "moh-CA", - englishName: "Mohawk (Mohawk)", - nativeName: "Kanien'kéha", - language: "moh", - numberFormat: { - groupSizes: [3,0], - percent: { - groupSizes: [3,0] - } - }, - calendars: { - standard: { - days: { - names: ["Awentatokentì:ke","Awentataón'ke","Ratironhia'kehronòn:ke","Soséhne","Okaristiiáhne","Ronwaia'tanentaktonhne","Entákta"], - namesShort: ["S","M","T","W","T","F","S"] - }, - months: { - names: ["Tsothohrkó:Wa","Enniska","Enniskó:Wa","Onerahtókha","Onerahtohkó:Wa","Ohiari:Ha","Ohiarihkó:Wa","Seskéha","Seskehkó:Wa","Kenténha","Kentenhkó:Wa","Tsothóhrha",""] - } - } - } -}); - -Globalize.addCultureInfo( "br-FR", "default", { - name: "br-FR", - englishName: "Breton (France)", - nativeName: "brezhoneg (Frañs)", - language: "br", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "NkN", - negativeInfinity: "-Anfin", - positiveInfinity: "+Anfin", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["Sul","Lun","Meurzh","Merc'her","Yaou","Gwener","Sadorn"], - namesAbbr: ["Sul","Lun","Meu.","Mer.","Yaou","Gwe.","Sad."], - namesShort: ["Su","Lu","Mz","Mc","Ya","Gw","Sa"] - }, - months: { - names: ["Genver","C'hwevrer","Meurzh","Ebrel","Mae","Mezheven","Gouere","Eost","Gwengolo","Here","Du","Kerzu",""], - namesAbbr: ["Gen.","C'hwe.","Meur.","Ebr.","Mae","Mezh.","Goue.","Eost","Gwen.","Here","Du","Kzu",""] - }, - AM: null, - PM: null, - eras: [{"name":"g. J.-K.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd d MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd d MMMM yyyy HH:mm", - F: "dddd d MMMM yyyy HH:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "ug-CN", "default", { - name: "ug-CN", - englishName: "Uyghur (PRC)", - nativeName: "ئۇيغۇرچە (جۇڭخۇا خەلق جۇمھۇرىيىتى)", - language: "ug", - isRTL: true, - numberFormat: { - "NaN": "سان ئەمەس", - negativeInfinity: "مەنپىي چەكسىزلىك", - positiveInfinity: "مۇسبەت چەكسىزلىك", - percent: { - pattern: ["-n%","n%"] - }, - currency: { - pattern: ["$-n","$n"], - symbol: "¥" - } - }, - calendars: { - standard: { - "/": "-", - days: { - names: ["يەكشەنبە","دۈشەنبە","سەيشەنبە","چارشەنبە","پەيشەنبە","جۈمە","شەنبە"], - namesAbbr: ["يە","دۈ","سە","چا","پە","جۈ","شە"], - namesShort: ["ي","د","س","چ","پ","ج","ش"] - }, - months: { - names: ["1-ئاي","2-ئاي","3-ئاي","4-ئاي","5-ئاي","6-ئاي","7-ئاي","8-ئاي","9-ئاي","10-ئاي","11-ئاي","12-ئاي",""], - namesAbbr: ["1-ئاي","2-ئاي","3-ئاي","4-ئاي","5-ئاي","6-ئاي","7-ئاي","8-ئاي","9-ئاي","10-ئاي","11-ئاي","12-ئاي",""] - }, - AM: ["چۈشتىن بۇرۇن","چۈشتىن بۇرۇن","چۈشتىن بۇرۇن"], - PM: ["چۈشتىن كېيىن","چۈشتىن كېيىن","چۈشتىن كېيىن"], - eras: [{"name":"مىلادى","start":null,"offset":0}], - patterns: { - d: "yyyy-M-d", - D: "yyyy-'يىلى' MMMM d-'كۈنى،'", - t: "H:mm", - T: "H:mm:ss", - f: "yyyy-'يىلى' MMMM d-'كۈنى،' H:mm", - F: "yyyy-'يىلى' MMMM d-'كۈنى،' H:mm:ss", - M: "MMMM d'-كۈنى'", - Y: "yyyy-'يىلى' MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "mi-NZ", "default", { - name: "mi-NZ", - englishName: "Maori (New Zealand)", - nativeName: "Reo Māori (Aotearoa)", - language: "mi", - numberFormat: { - percent: { - pattern: ["-%n","%n"] - }, - currency: { - pattern: ["-$n","$n"] - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["Rātapu","Rāhina","Rātū","Rāapa","Rāpare","Rāmere","Rāhoroi"], - namesAbbr: ["Ta","Hi","Tū","Apa","Pa","Me","Ho"], - namesShort: ["Ta","Hi","Tū","Aa","Pa","Me","Ho"] - }, - months: { - names: ["Kohi-tātea","Hui-tanguru","Poutū-te-rangi","Paenga-whāwhā","Haratua","Pipiri","Hōngongoi","Here-turi-kōkā","Mahuru","Whiringa-ā-nuku","Whiringa-ā-rangi","Hakihea",""], - namesAbbr: ["Kohi","Hui","Pou","Pae","Hara","Pipi","Hōngo","Here","Mahu","Nuku","Rangi","Haki",""] - }, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd MMMM, yyyy", - f: "dddd, dd MMMM, yyyy h:mm tt", - F: "dddd, dd MMMM, yyyy h:mm:ss tt", - M: "dd MMMM", - Y: "MMMM, yy" - } - } - } -}); - -Globalize.addCultureInfo( "oc-FR", "default", { - name: "oc-FR", - englishName: "Occitan (France)", - nativeName: "Occitan (França)", - language: "oc", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "Non Numeric", - negativeInfinity: "-Infinit", - positiveInfinity: "+Infinit", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["dimenge","diluns","dimars","dimècres","dijòus","divendres","dissabte"], - namesAbbr: ["dim.","lun.","mar.","mèc.","jòu.","ven.","sab."], - namesShort: ["di","lu","ma","mè","jò","ve","sa"] - }, - months: { - names: ["genier","febrier","març","abril","mai","junh","julh","agost","setembre","octobre","novembre","desembre",""], - namesAbbr: ["gen.","feb.","mar.","abr.","mai.","jun.","jul.","ag.","set.","oct.","nov.","des.",""] - }, - monthsGenitive: { - names: ["de genier","de febrier","de març","d'abril","de mai","de junh","de julh","d'agost","de setembre","d'octobre","de novembre","de desembre",""], - namesAbbr: ["gen.","feb.","mar.","abr.","mai.","jun.","jul.","ag.","set.","oct.","nov.","des.",""] - }, - AM: null, - PM: null, - eras: [{"name":"après Jèsus-Crist","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd,' lo 'd MMMM' de 'yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd,' lo 'd MMMM' de 'yyyy HH:mm", - F: "dddd,' lo 'd MMMM' de 'yyyy HH:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "co-FR", "default", { - name: "co-FR", - englishName: "Corsican (France)", - nativeName: "Corsu (France)", - language: "co", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "Mica numericu", - negativeInfinity: "-Infinitu", - positiveInfinity: "+Infinitu", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["dumenica","luni","marti","mercuri","ghjovi","venderi","sabbatu"], - namesAbbr: ["dum.","lun.","mar.","mer.","ghj.","ven.","sab."], - namesShort: ["du","lu","ma","me","gh","ve","sa"] - }, - months: { - names: ["ghjennaghju","ferraghju","marzu","aprile","maghju","ghjunghju","lugliu","aostu","settembre","ottobre","nuvembre","dicembre",""], - namesAbbr: ["ghje","ferr","marz","apri","magh","ghju","lugl","aost","sett","otto","nuve","dice",""] - }, - AM: null, - PM: null, - eras: [{"name":"dopu J-C","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd d MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd d MMMM yyyy HH:mm", - F: "dddd d MMMM yyyy HH:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "gsw-FR", "default", { - name: "gsw-FR", - englishName: "Alsatian (France)", - nativeName: "Elsässisch (Frànkrisch)", - language: "gsw", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "Ohne Nummer", - negativeInfinity: "-Unendlich", - positiveInfinity: "+Unendlich", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["Sundàà","Mondàà","Dienschdàà","Mittwuch","Dunnerschdàà","Fridàà","Sàmschdàà"], - namesAbbr: ["Su.","Mo.","Di.","Mi.","Du.","Fr.","Sà."], - namesShort: ["Su","Mo","Di","Mi","Du","Fr","Sà"] - }, - months: { - names: ["Jänner","Feverje","März","Àpril","Mai","Jüni","Jüli","Augscht","September","Oktower","Nowember","Dezember",""], - namesAbbr: ["Jän.","Fev.","März","Apr.","Mai","Jüni","Jüli","Aug.","Sept.","Okt.","Now.","Dez.",""] - }, - AM: null, - PM: null, - eras: [{"name":"Vor J.-C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd d MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd d MMMM yyyy HH:mm", - F: "dddd d MMMM yyyy HH:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "sah-RU", "default", { - name: "sah-RU", - englishName: "Yakut (Russia)", - nativeName: "саха (Россия)", - language: "sah", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "NAN", - negativeInfinity: "-бесконечность", - positiveInfinity: "бесконечность", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n$","n$"], - ",": " ", - ".": ",", - symbol: "с." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["баскыһыанньа","бэнидиэнньик","оптуорунньук","сэрэдэ","чэппиэр","бээтинсэ","субуота"], - namesAbbr: ["Бс","Бн","Оп","Ср","Чп","Бт","Сб"], - namesShort: ["Бс","Бн","Оп","Ср","Чп","Бт","Сб"] - }, - months: { - names: ["Тохсунньу","Олунньу","Кулун тутар","Муус устар","Ыам ыйа","Бэс ыйа","От ыйа","Атырдьах ыйа","Балаҕан ыйа","Алтынньы","Сэтинньи","Ахсынньы",""], - namesAbbr: ["тхс","олн","кул","мст","ыам","бэс","отй","атр","блҕ","алт","стн","ахс",""] - }, - monthsGenitive: { - names: ["тохсунньу","олунньу","кулун тутар","муус устар","ыам ыйын","бэс ыйын","от ыйын","атырдьах ыйын","балаҕан ыйын","алтынньы","сэтинньи","ахсынньы",""], - namesAbbr: ["тхс","олн","кул","мст","ыам","бэс","отй","атр","блҕ","алт","стн","ахс",""] - }, - AM: null, - PM: null, - patterns: { - d: "MM.dd.yyyy", - D: "MMMM d yyyy 'с.'", - t: "H:mm", - T: "H:mm:ss", - f: "MMMM d yyyy 'с.' H:mm", - F: "MMMM d yyyy 'с.' H:mm:ss", - Y: "MMMM yyyy 'с.'" - } - } - } -}); - -Globalize.addCultureInfo( "qut-GT", "default", { - name: "qut-GT", - englishName: "K'iche (Guatemala)", - nativeName: "K'iche (Guatemala)", - language: "qut", - numberFormat: { - "NaN": "NeuN", - negativeInfinity: "-Infinito", - positiveInfinity: "Infinito", - currency: { - symbol: "Q" - } - }, - calendars: { - standard: { - days: { - names: ["juq'ij","kaq'ij","oxq'ij","kajq'ij","joq'ij","waqq'ij","wuqq'ij"], - namesAbbr: ["juq","kaq","oxq","kajq","joq","waqq","wuqq"], - namesShort: ["ju","ka","ox","ka","jo","wa","wu"] - }, - months: { - names: ["nab'e ik'","ukab' ik'","rox ik'","ukaj ik'","uro' ik'","uwaq ik'","uwuq ik'","uwajxaq ik'","ub'elej ik'","ulaj ik'","ujulaj ik'","ukab'laj ik'",""], - namesAbbr: ["nab'e","ukab","rox","ukaj","uro","uwaq","uwuq","uwajxaq","ub'elej","ulaj","ujulaj","ukab'laj",""] - }, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, dd' de 'MMMM' de 'yyyy hh:mm tt", - F: "dddd, dd' de 'MMMM' de 'yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "rw-RW", "default", { - name: "rw-RW", - englishName: "Kinyarwanda (Rwanda)", - nativeName: "Kinyarwanda (Rwanda)", - language: "rw", - numberFormat: { - ",": " ", - ".": ",", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["$-n","$ n"], - ",": " ", - ".": ",", - symbol: "RWF" - } - }, - calendars: { - standard: { - days: { - names: ["Ku wa mbere","Ku wa kabiri","Ku wa gatatu","Ku wa kane","Ku wa gatanu","Ku wa gatandatu","Ku cyumweru"], - namesAbbr: ["mbe.","kab.","gat.","kan.","gat.","gat.","cyu."], - namesShort: ["mb","ka","ga","ka","ga","ga","cy"] - }, - months: { - names: ["Mutarama","Gashyantare","Werurwe","Mata","Gicurasi","Kamena","Nyakanga","Kanama","Nzeli","Ukwakira","Ugushyingo","Ukuboza",""], - namesAbbr: ["Mut","Gas","Wer","Mat","Gic","Kam","Nya","Kan","Nze","Ukwa","Ugu","Uku",""] - }, - AM: ["saa moya z.m.","saa moya z.m.","SAA MOYA Z.M."], - PM: ["saa moya z.n.","saa moya z.n.","SAA MOYA Z.N."], - eras: [{"name":"AD","start":null,"offset":0}] - } - } -}); - -Globalize.addCultureInfo( "wo-SN", "default", { - name: "wo-SN", - englishName: "Wolof (Senegal)", - nativeName: "Wolof (Sénégal)", - language: "wo", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "Non Numérique", - negativeInfinity: "-Infini", - positiveInfinity: "+Infini", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "XOF" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"], - namesAbbr: ["dim.","lun.","mar.","mer.","jeu.","ven.","sam."], - namesShort: ["di","lu","ma","me","je","ve","sa"] - }, - months: { - names: ["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""], - namesAbbr: ["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""] - }, - AM: null, - PM: null, - eras: [{"name":"ap. J.-C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd d MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd d MMMM yyyy HH:mm", - F: "dddd d MMMM yyyy HH:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "prs-AF", "default", { - name: "prs-AF", - englishName: "Dari (Afghanistan)", - nativeName: "درى (افغانستان)", - language: "prs", - isRTL: true, - numberFormat: { - pattern: ["n-"], - ",": ".", - ".": ",", - "NaN": "غ ع", - negativeInfinity: "-∞", - positiveInfinity: "∞", - percent: { - pattern: ["%n-","%n"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["$n-","$n"], - symbol: "؋" - } - }, - calendars: { - standard: { - name: "Hijri", - firstDay: 5, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["غ.م","غ.م","غ.م"], - PM: ["غ.و","غ.و","غ.و"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MM/yyyy", - f: "dd/MM/yyyy h:mm tt", - F: "dd/MM/yyyy h:mm:ss tt", - M: "dd MMMM" - }, - convert: { - // Adapted to Script from System.Globalization.HijriCalendar - ticks1970: 62135596800000, - // number of days leading up to each month - monthDays: [0, 30, 59, 89, 118, 148, 177, 207, 236, 266, 295, 325, 355], - minDate: -42521673600000, - maxDate: 253402300799999, - // The number of days to add or subtract from the calendar to accommodate the variances - // in the start and the end of Ramadan and to accommodate the date difference between - // countries/regions. May be dynamically adjusted based on user preference, but should - // remain in the range of -2 to 2, inclusive. - hijriAdjustment: 0, - toGregorian: function(hyear, hmonth, hday) { - var daysSinceJan0101 = this.daysToYear(hyear) + this.monthDays[hmonth] + hday - 1 - this.hijriAdjustment; - // 86400000 = ticks per day - var gdate = new Date(daysSinceJan0101 * 86400000 - this.ticks1970); - // adjust for timezone, because we are interested in the gregorian date for the same timezone - // but ticks in javascript is always from GMT, unlike the server were ticks counts from the base - // date in the current timezone. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - return gdate; - }, - fromGregorian: function(gdate) { - if ((gdate < this.minDate) || (gdate > this.maxDate)) return null; - var ticks = this.ticks1970 + (gdate-0) - gdate.getTimezoneOffset() * 60000, - daysSinceJan0101 = Math.floor(ticks / 86400000) + 1 + this.hijriAdjustment; - // very particular formula determined by someone smart, adapted from the server-side implementation. - // it approximates the hijri year. - var hday, hmonth, hyear = Math.floor(((daysSinceJan0101 - 227013) * 30) / 10631) + 1, - absDays = this.daysToYear(hyear), - daysInYear = this.isLeapYear(hyear) ? 355 : 354; - // hyear is just approximate, it may need adjustment up or down by 1. - if (daysSinceJan0101 < absDays) { - hyear--; - absDays -= daysInYear; - } - else if (daysSinceJan0101 === absDays) { - hyear--; - absDays = this.daysToYear(hyear); - } - else { - if (daysSinceJan0101 > (absDays + daysInYear)) { - absDays += daysInYear; - hyear++; - } - } - // determine month by looking at how many days into the hyear we are - // monthDays contains the number of days up to each month. - hmonth = 0; - var daysIntoYear = daysSinceJan0101 - absDays; - while (hmonth <= 11 && daysIntoYear > this.monthDays[hmonth]) { - hmonth++; - } - hmonth--; - hday = daysIntoYear - this.monthDays[hmonth]; - return [hyear, hmonth, hday]; - }, - daysToYear: function(year) { - // calculates how many days since Jan 1, 0001 - var yearsToYear30 = Math.floor((year - 1) / 30) * 30, - yearsInto30 = year - yearsToYear30 - 1, - days = Math.floor((yearsToYear30 * 10631) / 30) + 227013; - while (yearsInto30 > 0) { - days += (this.isLeapYear(yearsInto30) ? 355 : 354); - yearsInto30--; - } - return days; - }, - isLeapYear: function(year) { - return ((((year * 11) + 14) % 30) < 11); - } - } - }, - Gregorian_Localized: { - firstDay: 5, - days: { - names: ["یکشنبه","دوشنبه","سه\u200cشنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"], - namesAbbr: ["یکشنبه","دوشنبه","سه\u200cشنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"], - namesShort: ["ی","د","س","چ","پ","ج","ش"] - }, - months: { - names: ["سلواغه","كب","ورى","غويى","غبرګولى","چنګاښ","زمرى","وږى","تله","لړم","ليندۍ","مرغومى",""], - namesAbbr: ["سلواغه","كب","ورى","غويى","غبرګولى","چنګاښ","زمرى","وږى","تله","لړم","ليندۍ","مرغومى",""] - }, - AM: ["غ.م","غ.م","غ.م"], - PM: ["غ.و","غ.و","غ.و"], - eras: [{"name":"ل.ه","start":null,"offset":0}], - patterns: { - d: "yyyy/M/d", - D: "yyyy, dd, MMMM, dddd", - f: "yyyy, dd, MMMM, dddd h:mm tt", - F: "yyyy, dd, MMMM, dddd h:mm:ss tt", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "gd-GB", "default", { - name: "gd-GB", - englishName: "Scottish Gaelic (United Kingdom)", - nativeName: "Gàidhlig (An Rìoghachd Aonaichte)", - language: "gd", - numberFormat: { - negativeInfinity: "-Neo-chrìochnachd", - positiveInfinity: "Neo-chrìochnachd", - currency: { - pattern: ["-$n","$n"], - symbol: "£" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"], - namesAbbr: ["Dòm","Lua","Mài","Cia","Ard","Hao","Sat"], - namesShort: ["D","L","M","C","A","H","S"] - }, - months: { - names: ["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd",""], - namesAbbr: ["Fao","Gea","Màr","Gib","Cèi","Ògm","Iuc","Lùn","Sul","Dàm","Sam","Dùb",""] - }, - AM: ["m","m","M"], - PM: ["f","f","F"], - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd MMMM yyyy HH:mm", - F: "dd MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "ar-IQ", "default", { - name: "ar-IQ", - englishName: "Arabic (Iraq)", - nativeName: "العربية (العراق)", - language: "ar", - isRTL: true, - numberFormat: { - pattern: ["n-"], - "NaN": "ليس برقم", - negativeInfinity: "-لا نهاية", - positiveInfinity: "+لا نهاية", - currency: { - pattern: ["$n-","$ n"], - symbol: "د.ع.\u200f" - } - }, - calendars: { - standard: { - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""], - namesAbbr: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM, yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd MMMM, yyyy hh:mm tt", - F: "dd MMMM, yyyy hh:mm:ss tt", - M: "dd MMMM" - } - }, - UmAlQura: { - name: "UmAlQura", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MMMM/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd/MMMM/yyyy hh:mm tt", - F: "dd/MMMM/yyyy hh:mm:ss tt", - M: "dd MMMM" - }, - convert: { - _yearInfo: [ - // MonthLengthFlags, Gregorian Date - [746, -2198707200000], - [1769, -2168121600000], - [3794, -2137449600000], - [3748, -2106777600000], - [3402, -2076192000000], - [2710, -2045606400000], - [1334, -2015020800000], - [2741, -1984435200000], - [3498, -1953763200000], - [2980, -1923091200000], - [2889, -1892505600000], - [2707, -1861920000000], - [1323, -1831334400000], - [2647, -1800748800000], - [1206, -1770076800000], - [2741, -1739491200000], - [1450, -1708819200000], - [3413, -1678233600000], - [3370, -1647561600000], - [2646, -1616976000000], - [1198, -1586390400000], - [2397, -1555804800000], - [748, -1525132800000], - [1749, -1494547200000], - [1706, -1463875200000], - [1365, -1433289600000], - [1195, -1402704000000], - [2395, -1372118400000], - [698, -1341446400000], - [1397, -1310860800000], - [2994, -1280188800000], - [1892, -1249516800000], - [1865, -1218931200000], - [1621, -1188345600000], - [683, -1157760000000], - [1371, -1127174400000], - [2778, -1096502400000], - [1748, -1065830400000], - [3785, -1035244800000], - [3474, -1004572800000], - [3365, -973987200000], - [2637, -943401600000], - [685, -912816000000], - [1389, -882230400000], - [2922, -851558400000], - [2898, -820886400000], - [2725, -790300800000], - [2635, -759715200000], - [1175, -729129600000], - [2359, -698544000000], - [694, -667872000000], - [1397, -637286400000], - [3434, -606614400000], - [3410, -575942400000], - [2710, -545356800000], - [2349, -514771200000], - [605, -484185600000], - [1245, -453600000000], - [2778, -422928000000], - [1492, -392256000000], - [3497, -361670400000], - [3410, -330998400000], - [2730, -300412800000], - [1238, -269827200000], - [2486, -239241600000], - [884, -208569600000], - [1897, -177984000000], - [1874, -147312000000], - [1701, -116726400000], - [1355, -86140800000], - [2731, -55555200000], - [1370, -24883200000], - [2773, 5702400000], - [3538, 36374400000], - [3492, 67046400000], - [3401, 97632000000], - [2709, 128217600000], - [1325, 158803200000], - [2653, 189388800000], - [1370, 220060800000], - [2773, 250646400000], - [1706, 281318400000], - [1685, 311904000000], - [1323, 342489600000], - [2647, 373075200000], - [1198, 403747200000], - [2422, 434332800000], - [1388, 465004800000], - [2901, 495590400000], - [2730, 526262400000], - [2645, 556848000000], - [1197, 587433600000], - [2397, 618019200000], - [730, 648691200000], - [1497, 679276800000], - [3506, 709948800000], - [2980, 740620800000], - [2890, 771206400000], - [2645, 801792000000], - [693, 832377600000], - [1397, 862963200000], - [2922, 893635200000], - [3026, 924307200000], - [3012, 954979200000], - [2953, 985564800000], - [2709, 1016150400000], - [1325, 1046736000000], - [1453, 1077321600000], - [2922, 1107993600000], - [1748, 1138665600000], - [3529, 1169251200000], - [3474, 1199923200000], - [2726, 1230508800000], - [2390, 1261094400000], - [686, 1291680000000], - [1389, 1322265600000], - [874, 1352937600000], - [2901, 1383523200000], - [2730, 1414195200000], - [2381, 1444780800000], - [1181, 1475366400000], - [2397, 1505952000000], - [698, 1536624000000], - [1461, 1567209600000], - [1450, 1597881600000], - [3413, 1628467200000], - [2714, 1659139200000], - [2350, 1689724800000], - [622, 1720310400000], - [1373, 1750896000000], - [2778, 1781568000000], - [1748, 1812240000000], - [1701, 1842825600000], - [0, 1873411200000] - ], - minDate: -2198707200000, - maxDate: 1873411199999, - toGregorian: function(hyear, hmonth, hday) { - var days = hday - 1, - gyear = hyear - 1318; - if (gyear < 0 || gyear >= this._yearInfo.length) return null; - var info = this._yearInfo[gyear], - gdate = new Date(info[1]), - monthLength = info[0]; - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the gregorian date in the same timezone, - // not what the gregorian date was at GMT time, so we adjust for the offset. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - for (var i = 0; i < hmonth; i++) { - days += 29 + (monthLength & 1); - monthLength = monthLength >> 1; - } - gdate.setDate(gdate.getDate() + days); - return gdate; - }, - fromGregorian: function(gdate) { - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the hijri date in the same timezone, - // not what the hijri date was at GMT time, so we adjust for the offset. - var ticks = gdate - gdate.getTimezoneOffset() * 60000; - if (ticks < this.minDate || ticks > this.maxDate) return null; - var hyear = 0, - hmonth = 1; - // find the earliest gregorian date in the array that is greater than or equal to the given date - while (ticks > this._yearInfo[++hyear][1]) { } - if (ticks !== this._yearInfo[hyear][1]) { - hyear--; - } - var info = this._yearInfo[hyear], - // how many days has it been since the date we found in the array? - // 86400000 = ticks per day - days = Math.floor((ticks - info[1]) / 86400000), - monthLength = info[0]; - hyear += 1318; // the Nth array entry corresponds to hijri year 1318+N - // now increment day/month based on the total days, considering - // how many days are in each month. We cannot run past the year - // mark since we would have found a different array entry in that case. - var daysInMonth = 29 + (monthLength & 1); - while (days >= daysInMonth) { - days -= daysInMonth; - monthLength = monthLength >> 1; - daysInMonth = 29 + (monthLength & 1); - hmonth++; - } - // remaining days is less than is in one month, thus is the day of the month we landed on - // hmonth-1 because in javascript months are zero based, stay consistent with that. - return [hyear, hmonth - 1, days + 1]; - } - } - }, - Hijri: { - name: "Hijri", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MM/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd/MM/yyyy hh:mm tt", - F: "dd/MM/yyyy hh:mm:ss tt", - M: "dd MMMM" - }, - convert: { - // Adapted to Script from System.Globalization.HijriCalendar - ticks1970: 62135596800000, - // number of days leading up to each month - monthDays: [0, 30, 59, 89, 118, 148, 177, 207, 236, 266, 295, 325, 355], - minDate: -42521673600000, - maxDate: 253402300799999, - // The number of days to add or subtract from the calendar to accommodate the variances - // in the start and the end of Ramadan and to accommodate the date difference between - // countries/regions. May be dynamically adjusted based on user preference, but should - // remain in the range of -2 to 2, inclusive. - hijriAdjustment: 0, - toGregorian: function(hyear, hmonth, hday) { - var daysSinceJan0101 = this.daysToYear(hyear) + this.monthDays[hmonth] + hday - 1 - this.hijriAdjustment; - // 86400000 = ticks per day - var gdate = new Date(daysSinceJan0101 * 86400000 - this.ticks1970); - // adjust for timezone, because we are interested in the gregorian date for the same timezone - // but ticks in javascript is always from GMT, unlike the server were ticks counts from the base - // date in the current timezone. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - return gdate; - }, - fromGregorian: function(gdate) { - if ((gdate < this.minDate) || (gdate > this.maxDate)) return null; - var ticks = this.ticks1970 + (gdate-0) - gdate.getTimezoneOffset() * 60000, - daysSinceJan0101 = Math.floor(ticks / 86400000) + 1 + this.hijriAdjustment; - // very particular formula determined by someone smart, adapted from the server-side implementation. - // it approximates the hijri year. - var hday, hmonth, hyear = Math.floor(((daysSinceJan0101 - 227013) * 30) / 10631) + 1, - absDays = this.daysToYear(hyear), - daysInYear = this.isLeapYear(hyear) ? 355 : 354; - // hyear is just approximate, it may need adjustment up or down by 1. - if (daysSinceJan0101 < absDays) { - hyear--; - absDays -= daysInYear; - } - else if (daysSinceJan0101 === absDays) { - hyear--; - absDays = this.daysToYear(hyear); - } - else { - if (daysSinceJan0101 > (absDays + daysInYear)) { - absDays += daysInYear; - hyear++; - } - } - // determine month by looking at how many days into the hyear we are - // monthDays contains the number of days up to each month. - hmonth = 0; - var daysIntoYear = daysSinceJan0101 - absDays; - while (hmonth <= 11 && daysIntoYear > this.monthDays[hmonth]) { - hmonth++; - } - hmonth--; - hday = daysIntoYear - this.monthDays[hmonth]; - return [hyear, hmonth, hday]; - }, - daysToYear: function(year) { - // calculates how many days since Jan 1, 0001 - var yearsToYear30 = Math.floor((year - 1) / 30) * 30, - yearsInto30 = year - yearsToYear30 - 1, - days = Math.floor((yearsToYear30 * 10631) / 30) + 227013; - while (yearsInto30 > 0) { - days += (this.isLeapYear(yearsInto30) ? 355 : 354); - yearsInto30--; - } - return days; - }, - isLeapYear: function(year) { - return ((((year * 11) + 14) % 30) < 11); - } - } - }, - Gregorian_MiddleEastFrench: { - name: "Gregorian_MiddleEastFrench", - firstDay: 6, - days: { - names: ["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"], - namesAbbr: ["dim.","lun.","mar.","mer.","jeu.","ven.","sam."], - namesShort: ["di","lu","ma","me","je","ve","sa"] - }, - months: { - names: ["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""], - namesAbbr: ["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"ap. J.-C.","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt", - M: "dd MMMM" - } - }, - Gregorian_TransliteratedEnglish: { - name: "Gregorian_TransliteratedEnglish", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["أ","ا","ث","أ","خ","ج","س"] - }, - months: { - names: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["يناير","فبراير","مارس","ابريل","مايو","يونيو","يوليو","اغسطس","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - }, - Gregorian_TransliteratedFrench: { - name: "Gregorian_TransliteratedFrench", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - } - } -}); - -Globalize.addCultureInfo( "zh-CN", "default", { - name: "zh-CN", - englishName: "Chinese (Simplified, PRC)", - nativeName: "中文(中华人民共和国)", - language: "zh-CHS", - numberFormat: { - "NaN": "非数字", - negativeInfinity: "负无穷大", - positiveInfinity: "正无穷大", - percent: { - pattern: ["-n%","n%"] - }, - currency: { - pattern: ["$-n","$n"], - symbol: "¥" - } - }, - calendars: { - standard: { - days: { - names: ["星期日","星期一","星期二","星期三","星期四","星期五","星期六"], - namesAbbr: ["周日","周一","周二","周三","周四","周五","周六"], - namesShort: ["日","一","二","三","四","五","六"] - }, - months: { - names: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""], - namesAbbr: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""] - }, - AM: ["上午","上午","上午"], - PM: ["下午","下午","下午"], - eras: [{"name":"公元","start":null,"offset":0}], - patterns: { - d: "yyyy/M/d", - D: "yyyy'年'M'月'd'日'", - t: "H:mm", - T: "H:mm:ss", - f: "yyyy'年'M'月'd'日' H:mm", - F: "yyyy'年'M'月'd'日' H:mm:ss", - M: "M'月'd'日'", - Y: "yyyy'年'M'月'" - } - } - } -}); - -Globalize.addCultureInfo( "de-CH", "default", { - name: "de-CH", - englishName: "German (Switzerland)", - nativeName: "Deutsch (Schweiz)", - language: "de", - numberFormat: { - ",": "'", - "NaN": "n. def.", - negativeInfinity: "-unendlich", - positiveInfinity: "+unendlich", - percent: { - pattern: ["-n%","n%"], - ",": "'" - }, - currency: { - pattern: ["$-n","$ n"], - ",": "'", - symbol: "Fr." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"], - namesAbbr: ["So","Mo","Di","Mi","Do","Fr","Sa"], - namesShort: ["So","Mo","Di","Mi","Do","Fr","Sa"] - }, - months: { - names: ["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember",""], - namesAbbr: ["Jan","Feb","Mrz","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez",""] - }, - AM: null, - PM: null, - eras: [{"name":"n. Chr.","start":null,"offset":0}], - patterns: { - d: "dd.MM.yyyy", - D: "dddd, d. MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd, d. MMMM yyyy HH:mm", - F: "dddd, d. MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "en-GB", "default", { - name: "en-GB", - englishName: "English (United Kingdom)", - nativeName: "English (United Kingdom)", - numberFormat: { - currency: { - pattern: ["-$n","$n"], - symbol: "£" - } - }, - calendars: { - standard: { - firstDay: 1, - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd MMMM yyyy HH:mm", - F: "dd MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "es-MX", "default", { - name: "es-MX", - englishName: "Spanish (Mexico)", - nativeName: "Español (México)", - language: "es", - numberFormat: { - "NaN": "NeuN", - negativeInfinity: "-Infinito", - positiveInfinity: "Infinito", - currency: { - pattern: ["-$n","$n"] - } - }, - calendars: { - standard: { - days: { - names: ["domingo","lunes","martes","miércoles","jueves","viernes","sábado"], - namesAbbr: ["dom","lun","mar","mié","jue","vie","sáb"], - namesShort: ["do","lu","ma","mi","ju","vi","sá"] - }, - months: { - names: ["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""], - namesAbbr: ["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""] - }, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, dd' de 'MMMM' de 'yyyy hh:mm tt", - F: "dddd, dd' de 'MMMM' de 'yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "fr-BE", "default", { - name: "fr-BE", - englishName: "French (Belgium)", - nativeName: "français (Belgique)", - language: "fr", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "Non Numérique", - negativeInfinity: "-Infini", - positiveInfinity: "+Infini", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["$ -n","$ n"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"], - namesAbbr: ["dim.","lun.","mar.","mer.","jeu.","ven.","sam."], - namesShort: ["di","lu","ma","me","je","ve","sa"] - }, - months: { - names: ["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""], - namesAbbr: ["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""] - }, - AM: null, - PM: null, - eras: [{"name":"ap. J.-C.","start":null,"offset":0}], - patterns: { - d: "d/MM/yyyy", - D: "dddd d MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd d MMMM yyyy HH:mm", - F: "dddd d MMMM yyyy HH:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "it-CH", "default", { - name: "it-CH", - englishName: "Italian (Switzerland)", - nativeName: "italiano (Svizzera)", - language: "it", - numberFormat: { - ",": "'", - "NaN": "Non un numero reale", - negativeInfinity: "-Infinito", - positiveInfinity: "+Infinito", - percent: { - pattern: ["-n%","n%"], - ",": "'" - }, - currency: { - pattern: ["$-n","$ n"], - ",": "'", - symbol: "fr." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"], - namesAbbr: ["dom","lun","mar","mer","gio","ven","sab"], - namesShort: ["do","lu","ma","me","gi","ve","sa"] - }, - months: { - names: ["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre",""], - namesAbbr: ["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic",""] - }, - AM: null, - PM: null, - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd.MM.yyyy", - D: "dddd, d. MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd, d. MMMM yyyy HH:mm", - F: "dddd, d. MMMM yyyy HH:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "nl-BE", "default", { - name: "nl-BE", - englishName: "Dutch (Belgium)", - nativeName: "Nederlands (België)", - language: "nl", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "NaN (Niet-een-getal)", - negativeInfinity: "-oneindig", - positiveInfinity: "oneindig", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["$ -n","$ n"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"], - namesAbbr: ["zo","ma","di","wo","do","vr","za"], - namesShort: ["zo","ma","di","wo","do","vr","za"] - }, - months: { - names: ["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december",""], - namesAbbr: ["jan","feb","mrt","apr","mei","jun","jul","aug","sep","okt","nov","dec",""] - }, - AM: null, - PM: null, - patterns: { - d: "d/MM/yyyy", - D: "dddd d MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dddd d MMMM yyyy H:mm", - F: "dddd d MMMM yyyy H:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "nn-NO", "default", { - name: "nn-NO", - englishName: "Norwegian, Nynorsk (Norway)", - nativeName: "norsk, nynorsk (Noreg)", - language: "nn", - numberFormat: { - ",": " ", - ".": ",", - negativeInfinity: "-INF", - positiveInfinity: "INF", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["$ -n","$ n"], - ",": " ", - ".": ",", - symbol: "kr" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["søndag","måndag","tysdag","onsdag","torsdag","fredag","laurdag"], - namesAbbr: ["sø","må","ty","on","to","fr","la"], - namesShort: ["sø","må","ty","on","to","fr","la"] - }, - months: { - names: ["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember",""], - namesAbbr: ["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "d. MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "d. MMMM yyyy HH:mm", - F: "d. MMMM yyyy HH:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "pt-PT", "default", { - name: "pt-PT", - englishName: "Portuguese (Portugal)", - nativeName: "português (Portugal)", - language: "pt", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "NaN (Não é um número)", - negativeInfinity: "-Infinito", - positiveInfinity: "+Infinito", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"], - namesAbbr: ["dom","seg","ter","qua","qui","sex","sáb"], - namesShort: ["D","S","T","Q","Q","S","S"] - }, - months: { - names: ["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro",""], - namesAbbr: ["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez",""] - }, - AM: null, - PM: null, - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd-MM-yyyy", - D: "dddd, d' de 'MMMM' de 'yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd, d' de 'MMMM' de 'yyyy HH:mm", - F: "dddd, d' de 'MMMM' de 'yyyy HH:mm:ss", - M: "d/M", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "sr-Latn-CS", "default", { - name: "sr-Latn-CS", - englishName: "Serbian (Latin, Serbia and Montenegro (Former))", - nativeName: "srpski (Srbija i Crna Gora (Prethodno))", - language: "sr-Latn", - numberFormat: { - ",": ".", - ".": ",", - negativeInfinity: "-beskonačnost", - positiveInfinity: "+beskonačnost", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "Din." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["nedelja","ponedeljak","utorak","sreda","četvrtak","petak","subota"], - namesAbbr: ["ned","pon","uto","sre","čet","pet","sub"], - namesShort: ["ne","po","ut","sr","če","pe","su"] - }, - months: { - names: ["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar",""], - namesAbbr: ["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec",""] - }, - AM: null, - PM: null, - eras: [{"name":"n.e.","start":null,"offset":0}], - patterns: { - d: "d.M.yyyy", - D: "d. MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM yyyy H:mm", - F: "d. MMMM yyyy H:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "sv-FI", "default", { - name: "sv-FI", - englishName: "Swedish (Finland)", - nativeName: "svenska (Finland)", - language: "sv", - numberFormat: { - ",": " ", - ".": ",", - negativeInfinity: "-INF", - positiveInfinity: "INF", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["söndag","måndag","tisdag","onsdag","torsdag","fredag","lördag"], - namesAbbr: ["sö","må","ti","on","to","fr","lö"], - namesShort: ["sö","må","ti","on","to","fr","lö"] - }, - months: { - names: ["januari","februari","mars","april","maj","juni","juli","augusti","september","oktober","november","december",""], - namesAbbr: ["jan","feb","mar","apr","maj","jun","jul","aug","sep","okt","nov","dec",""] - }, - AM: null, - PM: null, - patterns: { - d: "d.M.yyyy", - D: "'den 'd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "'den 'd MMMM yyyy HH:mm", - F: "'den 'd MMMM yyyy HH:mm:ss", - M: "'den 'd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "az-Cyrl-AZ", "default", { - name: "az-Cyrl-AZ", - englishName: "Azeri (Cyrillic, Azerbaijan)", - nativeName: "Азәрбајҹан (Азәрбајҹан)", - language: "az-Cyrl", - numberFormat: { - ",": " ", - ".": ",", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "ман." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Базар","Базар ертәси","Чәршәнбә ахшамы","Чәршәнбә","Ҹүмә ахшамы","Ҹүмә","Шәнбә"], - namesAbbr: ["Б","Бе","Ча","Ч","Ҹа","Ҹ","Ш"], - namesShort: ["Б","Бе","Ча","Ч","Ҹа","Ҹ","Ш"] - }, - months: { - names: ["Јанвар","Феврал","Март","Апрел","Мај","Ијун","Ијул","Август","Сентјабр","Октјабр","Нојабр","Декабр",""], - namesAbbr: ["Јан","Фев","Мар","Апр","Мај","Ијун","Ијул","Авг","Сен","Окт","Ноя","Дек",""] - }, - monthsGenitive: { - names: ["јанвар","феврал","март","апрел","мај","ијун","ијул","август","сентјабр","октјабр","нојабр","декабр",""], - namesAbbr: ["Јан","Фев","Мар","Апр","мая","ијун","ијул","Авг","Сен","Окт","Ноя","Дек",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "d MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d MMMM yyyy H:mm", - F: "d MMMM yyyy H:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "dsb-DE", "default", { - name: "dsb-DE", - englishName: "Lower Sorbian (Germany)", - nativeName: "dolnoserbšćina (Nimska)", - language: "dsb", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "njedefinowane", - negativeInfinity: "-njekońcne", - positiveInfinity: "+njekońcne", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - "/": ". ", - firstDay: 1, - days: { - names: ["njeźela","ponjeźele","wałtora","srjoda","stwortk","pětk","sobota"], - namesAbbr: ["nje","pon","wał","srj","stw","pět","sob"], - namesShort: ["n","p","w","s","s","p","s"] - }, - months: { - names: ["januar","februar","měrc","apryl","maj","junij","julij","awgust","september","oktober","nowember","december",""], - namesAbbr: ["jan","feb","měr","apr","maj","jun","jul","awg","sep","okt","now","dec",""] - }, - monthsGenitive: { - names: ["januara","februara","měrca","apryla","maja","junija","julija","awgusta","septembra","oktobra","nowembra","decembra",""], - namesAbbr: ["jan","feb","měr","apr","maj","jun","jul","awg","sep","okt","now","dec",""] - }, - AM: null, - PM: null, - eras: [{"name":"po Chr.","start":null,"offset":0}], - patterns: { - d: "d. M. yyyy", - D: "dddd, 'dnja' d. MMMM yyyy", - t: "H.mm 'goź.'", - T: "H:mm:ss", - f: "dddd, 'dnja' d. MMMM yyyy H.mm 'goź.'", - F: "dddd, 'dnja' d. MMMM yyyy H:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "se-SE", "default", { - name: "se-SE", - englishName: "Sami, Northern (Sweden)", - nativeName: "davvisámegiella (Ruoŧŧa)", - language: "se", - numberFormat: { - ",": " ", - ".": ",", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "kr" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["sotnabeaivi","mánnodat","disdat","gaskavahkku","duorastat","bearjadat","lávvardat"], - namesAbbr: ["sotn","mán","dis","gask","duor","bear","láv"], - namesShort: ["s","m","d","g","d","b","l"] - }, - months: { - names: ["ođđajagemánnu","guovvamánnu","njukčamánnu","cuoŋománnu","miessemánnu","geassemánnu","suoidnemánnu","borgemánnu","čakčamánnu","golggotmánnu","skábmamánnu","juovlamánnu",""], - namesAbbr: ["ođđj","guov","njuk","cuo","mies","geas","suoi","borg","čakč","golg","skáb","juov",""] - }, - monthsGenitive: { - names: ["ođđajagimánu","guovvamánu","njukčamánu","cuoŋománu","miessemánu","geassemánu","suoidnemánu","borgemánu","čakčamánu","golggotmánu","skábmamánu","juovlamánu",""], - namesAbbr: ["ođđj","guov","njuk","cuo","mies","geas","suoi","borg","čakč","golg","skáb","juov",""] - }, - AM: null, - PM: null, - patterns: { - d: "yyyy-MM-dd", - D: "MMMM d'. b. 'yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "MMMM d'. b. 'yyyy HH:mm", - F: "MMMM d'. b. 'yyyy HH:mm:ss", - M: "MMMM d'. b. '", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "ga-IE", "default", { - name: "ga-IE", - englishName: "Irish (Ireland)", - nativeName: "Gaeilge (Éire)", - language: "ga", - numberFormat: { - currency: { - pattern: ["-$n","$n"], - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"], - namesAbbr: ["Domh","Luan","Máir","Céad","Déar","Aoi","Sath"], - namesShort: ["Do","Lu","Má","Cé","De","Ao","Sa"] - }, - months: { - names: ["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig",""], - namesAbbr: ["Ean","Feabh","Már","Aib","Bealt","Meith","Iúil","Lún","M.Fómh","D.Fómh","Samh","Noll",""] - }, - AM: ["r.n.","r.n.","R.N."], - PM: ["i.n.","i.n.","I.N."], - patterns: { - d: "dd/MM/yyyy", - D: "d MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "d MMMM yyyy HH:mm", - F: "d MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "ms-BN", "default", { - name: "ms-BN", - englishName: "Malay (Brunei Darussalam)", - nativeName: "Bahasa Melayu (Brunei Darussalam)", - language: "ms", - numberFormat: { - ",": ".", - ".": ",", - percent: { - ",": ".", - ".": "," - }, - currency: { - decimals: 0, - ",": ".", - ".": "," - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["Ahad","Isnin","Selasa","Rabu","Khamis","Jumaat","Sabtu"], - namesAbbr: ["Ahad","Isnin","Sel","Rabu","Khamis","Jumaat","Sabtu"], - namesShort: ["A","I","S","R","K","J","S"] - }, - months: { - names: ["Januari","Februari","Mac","April","Mei","Jun","Julai","Ogos","September","Oktober","November","Disember",""], - namesAbbr: ["Jan","Feb","Mac","Apr","Mei","Jun","Jul","Ogos","Sept","Okt","Nov","Dis",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dd MMMM yyyy H:mm", - F: "dd MMMM yyyy H:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "uz-Cyrl-UZ", "default", { - name: "uz-Cyrl-UZ", - englishName: "Uzbek (Cyrillic, Uzbekistan)", - nativeName: "Ўзбек (Ўзбекистон)", - language: "uz-Cyrl", - numberFormat: { - ",": " ", - ".": ",", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "сўм" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["якшанба","душанба","сешанба","чоршанба","пайшанба","жума","шанба"], - namesAbbr: ["якш","дш","сш","чш","пш","ж","ш"], - namesShort: ["я","д","с","ч","п","ж","ш"] - }, - months: { - names: ["Январ","Феврал","Март","Апрел","Май","Июн","Июл","Август","Сентябр","Октябр","Ноябр","Декабр",""], - namesAbbr: ["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек",""] - }, - monthsGenitive: { - names: ["январ","феврал","март","апрел","май","июн","июл","август","сентябр","октябр","ноябр","декабр",""], - namesAbbr: ["Янв","Фев","Мар","Апр","мая","Июн","Июл","Авг","Сен","Окт","Ноя","Дек",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "yyyy 'йил' d-MMMM", - t: "HH:mm", - T: "HH:mm:ss", - f: "yyyy 'йил' d-MMMM HH:mm", - F: "yyyy 'йил' d-MMMM HH:mm:ss", - M: "d-MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "bn-BD", "default", { - name: "bn-BD", - englishName: "Bengali (Bangladesh)", - nativeName: "বাংলা (বাংলাদেশ)", - language: "bn", - numberFormat: { - groupSizes: [3,2], - percent: { - pattern: ["-%n","%n"], - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,2], - symbol: "৳" - } - }, - calendars: { - standard: { - "/": "-", - ":": ".", - firstDay: 1, - days: { - names: ["রবিবার","সোমবার","মঙ্গলবার","বুধবার","বৃহস্পতিবার","শুক্রবার","শনিবার"], - namesAbbr: ["রবি.","সোম.","মঙ্গল.","বুধ.","বৃহস্পতি.","শুক্র.","শনি."], - namesShort: ["র","স","ম","ব","ব","শ","শ"] - }, - months: { - names: ["জানুয়ারী","ফেব্রুয়ারী","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগস্ট","সেপ্টেম্বর","অক্টোবর","নভেম্বর","ডিসেম্বর",""], - namesAbbr: ["জানু.","ফেব্রু.","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগ.","সেপ্টে.","অক্টো.","নভে.","ডিসে.",""] - }, - AM: ["পুর্বাহ্ন","পুর্বাহ্ন","পুর্বাহ্ন"], - PM: ["অপরাহ্ন","অপরাহ্ন","অপরাহ্ন"], - patterns: { - d: "dd-MM-yy", - D: "dd MMMM yyyy", - t: "HH.mm", - T: "HH.mm.ss", - f: "dd MMMM yyyy HH.mm", - F: "dd MMMM yyyy HH.mm.ss", - M: "dd MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "mn-Mong-CN", "default", { - name: "mn-Mong-CN", - englishName: "Mongolian (Traditional Mongolian, PRC)", - nativeName: "ᠮᠤᠨᠭᠭᠤᠯ ᠬᠡᠯᠡ (ᠪᠦᠭᠦᠳᠡ ᠨᠠᠢᠷᠠᠮᠳᠠᠬᠤ ᠳᠤᠮᠳᠠᠳᠤ ᠠᠷᠠᠳ ᠣᠯᠣᠰ)", - language: "mn-Mong", - numberFormat: { - groupSizes: [3,0], - "NaN": "ᠲᠤᠭᠠᠠ ᠪᠤᠰᠤ", - negativeInfinity: "ᠰᠦᠬᠡᠷᠬᠦ ᠬᠢᠵᠠᠭᠠᠷᠭᠦᠢ ᠶᠡᠬᠡ", - positiveInfinity: "ᠡᠶ᠋ᠡᠷᠬᠦ ᠬᠢᠵᠠᠭᠠᠷᠭᠦᠢ ᠶᠠᠬᠡ", - percent: { - pattern: ["-n%","n%"], - groupSizes: [3,0] - }, - currency: { - pattern: ["$-n","$n"], - groupSizes: [3,0], - symbol: "¥" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠡᠳᠦᠷ","ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠨᠢᠭᠡᠨ","ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠬᠣᠶᠠᠷ","ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠭᠤᠷᠪᠠᠨ","ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠳᠥᠷᠪᠡᠨ","ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠲᠠᠪᠤᠨ","ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠵᠢᠷᠭᠤᠭᠠᠨ"], - namesAbbr: ["ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠡᠳᠦᠷ","ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠨᠢᠭᠡᠨ","ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠬᠣᠶᠠᠷ","ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠭᠤᠷᠪᠠᠨ","ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠳᠥᠷᠪᠡᠨ","ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠲᠠᠪᠤᠨ","ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠵᠢᠷᠭᠤᠭᠠᠨ"], - namesShort: ["ᠡ\u200d","ᠨᠢ\u200d","ᠬᠣ\u200d","ᠭᠤ\u200d","ᠳᠥ\u200d","ᠲᠠ\u200d","ᠵᠢ\u200d"] - }, - months: { - names: ["ᠨᠢᠭᠡᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠬᠤᠶ᠋ᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠭᠤᠷᠪᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠲᠦᠷᠪᠡᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠲᠠᠪᠤᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠵᠢᠷᠭᠤᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠲᠤᠯᠤᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠨᠠᠢᠮᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠶᠢᠰᠦᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠠᠷᠪᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠠᠷᠪᠠᠨ ᠨᠢᠭᠡᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠠᠷᠪᠠᠨ ᠬᠤᠶ᠋ᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ",""], - namesAbbr: ["ᠨᠢᠭᠡᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠬᠤᠶ᠋ᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠭᠤᠷᠪᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠲᠦᠷᠪᠡᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠲᠠᠪᠤᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠵᠢᠷᠭᠤᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠲᠤᠯᠤᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠨᠠᠢᠮᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠶᠢᠰᠦᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠠᠷᠪᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠠᠷᠪᠠᠨ ᠨᠢᠭᠡᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠠᠷᠪᠠᠨ ᠬᠤᠶ᠋ᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ",""] - }, - AM: null, - PM: null, - eras: [{"name":"ᠣᠨ ᠲᠣᠭᠠᠯᠠᠯ ᠤᠨ","start":null,"offset":0}], - patterns: { - d: "yyyy/M/d", - D: "yyyy'ᠣᠨ ᠤ᠋' M'ᠰᠠᠷ᠎ᠠ \u202fᠢᠢᠨ 'd' ᠤ᠋ ᠡᠳᠦᠷ'", - t: "H:mm", - T: "H:mm:ss", - f: "yyyy'ᠣᠨ ᠤ᠋' M'ᠰᠠᠷ᠎ᠠ \u202fᠢᠢᠨ 'd' ᠤ᠋ ᠡᠳᠦᠷ' H:mm", - F: "yyyy'ᠣᠨ ᠤ᠋' M'ᠰᠠᠷ᠎ᠠ \u202fᠢᠢᠨ 'd' ᠤ᠋ ᠡᠳᠦᠷ' H:mm:ss", - M: "M'ᠰᠠᠷ᠎ᠠ' d'ᠡᠳᠦᠷ'", - Y: "yyyy'ᠣᠨ' M'ᠰᠠᠷ᠎ᠠ'" - } - } - } -}); - -Globalize.addCultureInfo( "iu-Latn-CA", "default", { - name: "iu-Latn-CA", - englishName: "Inuktitut (Latin, Canada)", - nativeName: "Inuktitut (Kanatami)", - language: "iu-Latn", - numberFormat: { - groupSizes: [3,0], - percent: { - groupSizes: [3,0] - } - }, - calendars: { - standard: { - days: { - names: ["Naattiinguja","Naggajjau","Aippiq","Pingatsiq","Sitammiq","Tallirmiq","Sivataarvik"], - namesAbbr: ["Nat","Nag","Aip","Pi","Sit","Tal","Siv"], - namesShort: ["N","N","A","P","S","T","S"] - }, - months: { - names: ["Jaannuari","Viivvuari","Maatsi","Iipuri","Mai","Juuni","Julai","Aaggiisi","Sitipiri","Utupiri","Nuvipiri","Tisipiri",""], - namesAbbr: ["Jan","Viv","Mas","Ipu","Mai","Jun","Jul","Agi","Sii","Uut","Nuv","Tis",""] - }, - patterns: { - d: "d/MM/yyyy", - D: "ddd, MMMM dd,yyyy", - f: "ddd, MMMM dd,yyyy h:mm tt", - F: "ddd, MMMM dd,yyyy h:mm:ss tt" - } - } - } -}); - -Globalize.addCultureInfo( "tzm-Latn-DZ", "default", { - name: "tzm-Latn-DZ", - englishName: "Tamazight (Latin, Algeria)", - nativeName: "Tamazight (Djazaïr)", - language: "tzm-Latn", - numberFormat: { - pattern: ["n-"], - ",": ".", - ".": ",", - "NaN": "Non Numérique", - negativeInfinity: "-Infini", - positiveInfinity: "+Infini", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - symbol: "DZD" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 6, - days: { - names: ["Acer","Arime","Aram","Ahad","Amhadh","Sem","Sedh"], - namesAbbr: ["Ace","Ari","Ara","Aha","Amh","Sem","Sed"], - namesShort: ["Ac","Ar","Ar","Ah","Am","Se","Se"] - }, - months: { - names: ["Yenayer","Furar","Maghres","Yebrir","Mayu","Yunyu","Yulyu","Ghuct","Cutenber","Ktuber","Wambir","Dujanbir",""], - namesAbbr: ["Yen","Fur","Mag","Yeb","May","Yun","Yul","Ghu","Cut","Ktu","Wam","Duj",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd-MM-yyyy", - D: "dd MMMM, yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dd MMMM, yyyy H:mm", - F: "dd MMMM, yyyy H:mm:ss", - M: "dd MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "quz-EC", "default", { - name: "quz-EC", - englishName: "Quechua (Ecuador)", - nativeName: "runasimi (Ecuador)", - language: "quz", - numberFormat: { - ",": ".", - ".": ",", - percent: { - pattern: ["-%n","%n"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["($ n)","$ n"], - ",": ".", - ".": "," - } - }, - calendars: { - standard: { - days: { - names: ["intichaw","killachaw","atipachaw","quyllurchaw","Ch' askachaw","Illapachaw","k'uychichaw"], - namesAbbr: ["int","kil","ati","quy","Ch'","Ill","k'u"], - namesShort: ["d","k","a","m","h","b","k"] - }, - months: { - names: ["Qulla puquy","Hatun puquy","Pauqar waray","ayriwa","Aymuray","Inti raymi","Anta Sitwa","Qhapaq Sitwa","Uma raymi","Kantaray","Ayamarq'a","Kapaq Raymi",""], - namesAbbr: ["Qul","Hat","Pau","ayr","Aym","Int","Ant","Qha","Uma","Kan","Aya","Kap",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dddd, dd' de 'MMMM' de 'yyyy H:mm", - F: "dddd, dd' de 'MMMM' de 'yyyy H:mm:ss", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "ar-EG", "default", { - name: "ar-EG", - englishName: "Arabic (Egypt)", - nativeName: "العربية (مصر)", - language: "ar", - isRTL: true, - numberFormat: { - pattern: ["n-"], - decimals: 3, - "NaN": "ليس برقم", - negativeInfinity: "-لا نهاية", - positiveInfinity: "+لا نهاية", - percent: { - decimals: 3 - }, - currency: { - pattern: ["$n-","$ n"], - symbol: "ج.م.\u200f" - } - }, - calendars: { - standard: { - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM, yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd MMMM, yyyy hh:mm tt", - F: "dd MMMM, yyyy hh:mm:ss tt", - M: "dd MMMM" - } - }, - UmAlQura: { - name: "UmAlQura", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MMMM/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd/MMMM/yyyy hh:mm tt", - F: "dd/MMMM/yyyy hh:mm:ss tt", - M: "dd MMMM" - }, - convert: { - _yearInfo: [ - // MonthLengthFlags, Gregorian Date - [746, -2198707200000], - [1769, -2168121600000], - [3794, -2137449600000], - [3748, -2106777600000], - [3402, -2076192000000], - [2710, -2045606400000], - [1334, -2015020800000], - [2741, -1984435200000], - [3498, -1953763200000], - [2980, -1923091200000], - [2889, -1892505600000], - [2707, -1861920000000], - [1323, -1831334400000], - [2647, -1800748800000], - [1206, -1770076800000], - [2741, -1739491200000], - [1450, -1708819200000], - [3413, -1678233600000], - [3370, -1647561600000], - [2646, -1616976000000], - [1198, -1586390400000], - [2397, -1555804800000], - [748, -1525132800000], - [1749, -1494547200000], - [1706, -1463875200000], - [1365, -1433289600000], - [1195, -1402704000000], - [2395, -1372118400000], - [698, -1341446400000], - [1397, -1310860800000], - [2994, -1280188800000], - [1892, -1249516800000], - [1865, -1218931200000], - [1621, -1188345600000], - [683, -1157760000000], - [1371, -1127174400000], - [2778, -1096502400000], - [1748, -1065830400000], - [3785, -1035244800000], - [3474, -1004572800000], - [3365, -973987200000], - [2637, -943401600000], - [685, -912816000000], - [1389, -882230400000], - [2922, -851558400000], - [2898, -820886400000], - [2725, -790300800000], - [2635, -759715200000], - [1175, -729129600000], - [2359, -698544000000], - [694, -667872000000], - [1397, -637286400000], - [3434, -606614400000], - [3410, -575942400000], - [2710, -545356800000], - [2349, -514771200000], - [605, -484185600000], - [1245, -453600000000], - [2778, -422928000000], - [1492, -392256000000], - [3497, -361670400000], - [3410, -330998400000], - [2730, -300412800000], - [1238, -269827200000], - [2486, -239241600000], - [884, -208569600000], - [1897, -177984000000], - [1874, -147312000000], - [1701, -116726400000], - [1355, -86140800000], - [2731, -55555200000], - [1370, -24883200000], - [2773, 5702400000], - [3538, 36374400000], - [3492, 67046400000], - [3401, 97632000000], - [2709, 128217600000], - [1325, 158803200000], - [2653, 189388800000], - [1370, 220060800000], - [2773, 250646400000], - [1706, 281318400000], - [1685, 311904000000], - [1323, 342489600000], - [2647, 373075200000], - [1198, 403747200000], - [2422, 434332800000], - [1388, 465004800000], - [2901, 495590400000], - [2730, 526262400000], - [2645, 556848000000], - [1197, 587433600000], - [2397, 618019200000], - [730, 648691200000], - [1497, 679276800000], - [3506, 709948800000], - [2980, 740620800000], - [2890, 771206400000], - [2645, 801792000000], - [693, 832377600000], - [1397, 862963200000], - [2922, 893635200000], - [3026, 924307200000], - [3012, 954979200000], - [2953, 985564800000], - [2709, 1016150400000], - [1325, 1046736000000], - [1453, 1077321600000], - [2922, 1107993600000], - [1748, 1138665600000], - [3529, 1169251200000], - [3474, 1199923200000], - [2726, 1230508800000], - [2390, 1261094400000], - [686, 1291680000000], - [1389, 1322265600000], - [874, 1352937600000], - [2901, 1383523200000], - [2730, 1414195200000], - [2381, 1444780800000], - [1181, 1475366400000], - [2397, 1505952000000], - [698, 1536624000000], - [1461, 1567209600000], - [1450, 1597881600000], - [3413, 1628467200000], - [2714, 1659139200000], - [2350, 1689724800000], - [622, 1720310400000], - [1373, 1750896000000], - [2778, 1781568000000], - [1748, 1812240000000], - [1701, 1842825600000], - [0, 1873411200000] - ], - minDate: -2198707200000, - maxDate: 1873411199999, - toGregorian: function(hyear, hmonth, hday) { - var days = hday - 1, - gyear = hyear - 1318; - if (gyear < 0 || gyear >= this._yearInfo.length) return null; - var info = this._yearInfo[gyear], - gdate = new Date(info[1]), - monthLength = info[0]; - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the gregorian date in the same timezone, - // not what the gregorian date was at GMT time, so we adjust for the offset. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - for (var i = 0; i < hmonth; i++) { - days += 29 + (monthLength & 1); - monthLength = monthLength >> 1; - } - gdate.setDate(gdate.getDate() + days); - return gdate; - }, - fromGregorian: function(gdate) { - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the hijri date in the same timezone, - // not what the hijri date was at GMT time, so we adjust for the offset. - var ticks = gdate - gdate.getTimezoneOffset() * 60000; - if (ticks < this.minDate || ticks > this.maxDate) return null; - var hyear = 0, - hmonth = 1; - // find the earliest gregorian date in the array that is greater than or equal to the given date - while (ticks > this._yearInfo[++hyear][1]) { } - if (ticks !== this._yearInfo[hyear][1]) { - hyear--; - } - var info = this._yearInfo[hyear], - // how many days has it been since the date we found in the array? - // 86400000 = ticks per day - days = Math.floor((ticks - info[1]) / 86400000), - monthLength = info[0]; - hyear += 1318; // the Nth array entry corresponds to hijri year 1318+N - // now increment day/month based on the total days, considering - // how many days are in each month. We cannot run past the year - // mark since we would have found a different array entry in that case. - var daysInMonth = 29 + (monthLength & 1); - while (days >= daysInMonth) { - days -= daysInMonth; - monthLength = monthLength >> 1; - daysInMonth = 29 + (monthLength & 1); - hmonth++; - } - // remaining days is less than is in one month, thus is the day of the month we landed on - // hmonth-1 because in javascript months are zero based, stay consistent with that. - return [hyear, hmonth - 1, days + 1]; - } - } - }, - Gregorian_TransliteratedEnglish: { - name: "Gregorian_TransliteratedEnglish", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["أ","ا","ث","أ","خ","ج","س"] - }, - months: { - names: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["يناير","فبراير","مارس","ابريل","مايو","يونيو","يوليو","اغسطس","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - }, - Hijri: { - name: "Hijri", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MM/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd/MM/yyyy hh:mm tt", - F: "dd/MM/yyyy hh:mm:ss tt", - M: "dd MMMM" - }, - convert: { - // Adapted to Script from System.Globalization.HijriCalendar - ticks1970: 62135596800000, - // number of days leading up to each month - monthDays: [0, 30, 59, 89, 118, 148, 177, 207, 236, 266, 295, 325, 355], - minDate: -42521673600000, - maxDate: 253402300799999, - // The number of days to add or subtract from the calendar to accommodate the variances - // in the start and the end of Ramadan and to accommodate the date difference between - // countries/regions. May be dynamically adjusted based on user preference, but should - // remain in the range of -2 to 2, inclusive. - hijriAdjustment: 0, - toGregorian: function(hyear, hmonth, hday) { - var daysSinceJan0101 = this.daysToYear(hyear) + this.monthDays[hmonth] + hday - 1 - this.hijriAdjustment; - // 86400000 = ticks per day - var gdate = new Date(daysSinceJan0101 * 86400000 - this.ticks1970); - // adjust for timezone, because we are interested in the gregorian date for the same timezone - // but ticks in javascript is always from GMT, unlike the server were ticks counts from the base - // date in the current timezone. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - return gdate; - }, - fromGregorian: function(gdate) { - if ((gdate < this.minDate) || (gdate > this.maxDate)) return null; - var ticks = this.ticks1970 + (gdate-0) - gdate.getTimezoneOffset() * 60000, - daysSinceJan0101 = Math.floor(ticks / 86400000) + 1 + this.hijriAdjustment; - // very particular formula determined by someone smart, adapted from the server-side implementation. - // it approximates the hijri year. - var hday, hmonth, hyear = Math.floor(((daysSinceJan0101 - 227013) * 30) / 10631) + 1, - absDays = this.daysToYear(hyear), - daysInYear = this.isLeapYear(hyear) ? 355 : 354; - // hyear is just approximate, it may need adjustment up or down by 1. - if (daysSinceJan0101 < absDays) { - hyear--; - absDays -= daysInYear; - } - else if (daysSinceJan0101 === absDays) { - hyear--; - absDays = this.daysToYear(hyear); - } - else { - if (daysSinceJan0101 > (absDays + daysInYear)) { - absDays += daysInYear; - hyear++; - } - } - // determine month by looking at how many days into the hyear we are - // monthDays contains the number of days up to each month. - hmonth = 0; - var daysIntoYear = daysSinceJan0101 - absDays; - while (hmonth <= 11 && daysIntoYear > this.monthDays[hmonth]) { - hmonth++; - } - hmonth--; - hday = daysIntoYear - this.monthDays[hmonth]; - return [hyear, hmonth, hday]; - }, - daysToYear: function(year) { - // calculates how many days since Jan 1, 0001 - var yearsToYear30 = Math.floor((year - 1) / 30) * 30, - yearsInto30 = year - yearsToYear30 - 1, - days = Math.floor((yearsToYear30 * 10631) / 30) + 227013; - while (yearsInto30 > 0) { - days += (this.isLeapYear(yearsInto30) ? 355 : 354); - yearsInto30--; - } - return days; - }, - isLeapYear: function(year) { - return ((((year * 11) + 14) % 30) < 11); - } - } - }, - Gregorian_MiddleEastFrench: { - name: "Gregorian_MiddleEastFrench", - firstDay: 6, - days: { - names: ["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"], - namesAbbr: ["dim.","lun.","mar.","mer.","jeu.","ven.","sam."], - namesShort: ["di","lu","ma","me","je","ve","sa"] - }, - months: { - names: ["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""], - namesAbbr: ["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"ap. J.-C.","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt", - M: "dd MMMM" - } - }, - Gregorian_Arabic: { - name: "Gregorian_Arabic", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""], - namesAbbr: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - }, - Gregorian_TransliteratedFrench: { - name: "Gregorian_TransliteratedFrench", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - } - } -}); - -Globalize.addCultureInfo( "zh-HK", "default", { - name: "zh-HK", - englishName: "Chinese (Traditional, Hong Kong S.A.R.)", - nativeName: "中文(香港特別行政區)", - language: "zh-CHT", - numberFormat: { - "NaN": "非數字", - negativeInfinity: "負無窮大", - positiveInfinity: "正無窮大", - percent: { - pattern: ["-n%","n%"] - }, - currency: { - symbol: "HK$" - } - }, - calendars: { - standard: { - days: { - names: ["星期日","星期一","星期二","星期三","星期四","星期五","星期六"], - namesAbbr: ["週日","週一","週二","週三","週四","週五","週六"], - namesShort: ["日","一","二","三","四","五","六"] - }, - months: { - names: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""], - namesAbbr: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""] - }, - AM: ["上午","上午","上午"], - PM: ["下午","下午","下午"], - eras: [{"name":"公元","start":null,"offset":0}], - patterns: { - d: "d/M/yyyy", - D: "yyyy'年'M'月'd'日'", - t: "H:mm", - T: "H:mm:ss", - f: "yyyy'年'M'月'd'日' H:mm", - F: "yyyy'年'M'月'd'日' H:mm:ss", - M: "M'月'd'日'", - Y: "yyyy'年'M'月'" - } - } - } -}); - -Globalize.addCultureInfo( "de-AT", "default", { - name: "de-AT", - englishName: "German (Austria)", - nativeName: "Deutsch (Österreich)", - language: "de", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "n. def.", - negativeInfinity: "-unendlich", - positiveInfinity: "+unendlich", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-$ n","$ n"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"], - namesAbbr: ["So","Mo","Di","Mi","Do","Fr","Sa"], - namesShort: ["So","Mo","Di","Mi","Do","Fr","Sa"] - }, - months: { - names: ["Jänner","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember",""], - namesAbbr: ["Jän","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez",""] - }, - AM: null, - PM: null, - eras: [{"name":"n. Chr.","start":null,"offset":0}], - patterns: { - d: "dd.MM.yyyy", - D: "dddd, dd. MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd, dd. MMMM yyyy HH:mm", - F: "dddd, dd. MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "en-AU", "default", { - name: "en-AU", - englishName: "English (Australia)", - nativeName: "English (Australia)", - numberFormat: { - currency: { - pattern: ["-$n","$n"] - } - }, - calendars: { - standard: { - firstDay: 1, - patterns: { - d: "d/MM/yyyy", - D: "dddd, d MMMM yyyy", - f: "dddd, d MMMM yyyy h:mm tt", - F: "dddd, d MMMM yyyy h:mm:ss tt", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "es-ES", "default", { - name: "es-ES", - englishName: "Spanish (Spain, International Sort)", - nativeName: "Español (España, alfabetización internacional)", - language: "es", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "NeuN", - negativeInfinity: "-Infinito", - positiveInfinity: "Infinito", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["domingo","lunes","martes","miércoles","jueves","viernes","sábado"], - namesAbbr: ["dom","lun","mar","mié","jue","vie","sáb"], - namesShort: ["do","lu","ma","mi","ju","vi","sá"] - }, - months: { - names: ["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""], - namesAbbr: ["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""] - }, - AM: null, - PM: null, - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dddd, dd' de 'MMMM' de 'yyyy H:mm", - F: "dddd, dd' de 'MMMM' de 'yyyy H:mm:ss", - M: "dd MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "fr-CA", "default", { - name: "fr-CA", - englishName: "French (Canada)", - nativeName: "français (Canada)", - language: "fr", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "Non Numérique", - negativeInfinity: "-Infini", - positiveInfinity: "+Infini", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["(n $)","n $"], - ",": " ", - ".": "," - } - }, - calendars: { - standard: { - "/": "-", - days: { - names: ["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"], - namesAbbr: ["dim.","lun.","mar.","mer.","jeu.","ven.","sam."], - namesShort: ["di","lu","ma","me","je","ve","sa"] - }, - months: { - names: ["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""], - namesAbbr: ["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""] - }, - AM: null, - PM: null, - eras: [{"name":"ap. J.-C.","start":null,"offset":0}], - patterns: { - d: "yyyy-MM-dd", - D: "d MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "d MMMM yyyy HH:mm", - F: "d MMMM yyyy HH:mm:ss", - M: "d MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "sr-Cyrl-CS", "default", { - name: "sr-Cyrl-CS", - englishName: "Serbian (Cyrillic, Serbia and Montenegro (Former))", - nativeName: "српски (Србија и Црна Гора (Претходно))", - language: "sr-Cyrl", - numberFormat: { - ",": ".", - ".": ",", - negativeInfinity: "-бесконачност", - positiveInfinity: "+бесконачност", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "Дин." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["недеља","понедељак","уторак","среда","четвртак","петак","субота"], - namesAbbr: ["нед","пон","уто","сре","чет","пет","суб"], - namesShort: ["не","по","ут","ср","че","пе","су"] - }, - months: { - names: ["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар",""], - namesAbbr: ["јан","феб","мар","апр","мај","јун","јул","авг","сеп","окт","нов","дец",""] - }, - AM: null, - PM: null, - eras: [{"name":"н.е.","start":null,"offset":0}], - patterns: { - d: "d.M.yyyy", - D: "d. MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM yyyy H:mm", - F: "d. MMMM yyyy H:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "se-FI", "default", { - name: "se-FI", - englishName: "Sami, Northern (Finland)", - nativeName: "davvisámegiella (Suopma)", - language: "se", - numberFormat: { - ",": " ", - ".": ",", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["sotnabeaivi","vuossárga","maŋŋebárga","gaskavahkku","duorastat","bearjadat","lávvardat"], - namesAbbr: ["sotn","vuos","maŋ","gask","duor","bear","láv"], - namesShort: ["s","m","d","g","d","b","l"] - }, - months: { - names: ["ođđajagemánnu","guovvamánnu","njukčamánnu","cuoŋománnu","miessemánnu","geassemánnu","suoidnemánnu","borgemánnu","čakčamánnu","golggotmánnu","skábmamánnu","juovlamánnu",""], - namesAbbr: ["ođđj","guov","njuk","cuo","mies","geas","suoi","borg","čakč","golg","skáb","juov",""] - }, - monthsGenitive: { - names: ["ođđajagimánu","guovvamánu","njukčamánu","cuoŋománu","miessemánu","geassemánu","suoidnemánu","borgemánu","čakčamánu","golggotmánu","skábmamánu","juovlamánu",""], - namesAbbr: ["ođđj","guov","njuk","cuo","mies","geas","suoi","borg","čakč","golg","skáb","juov",""] - }, - AM: null, - PM: null, - patterns: { - d: "d.M.yyyy", - D: "MMMM d'. b. 'yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "MMMM d'. b. 'yyyy H:mm", - F: "MMMM d'. b. 'yyyy H:mm:ss", - M: "MMMM d'. b. '", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "quz-PE", "default", { - name: "quz-PE", - englishName: "Quechua (Peru)", - nativeName: "runasimi (Piruw)", - language: "quz", - numberFormat: { - percent: { - pattern: ["-%n","%n"] - }, - currency: { - pattern: ["$ -n","$ n"], - symbol: "S/." - } - }, - calendars: { - standard: { - days: { - names: ["intichaw","killachaw","atipachaw","quyllurchaw","Ch' askachaw","Illapachaw","k'uychichaw"], - namesAbbr: ["int","kil","ati","quy","Ch'","Ill","k'u"], - namesShort: ["d","k","a","m","h","b","k"] - }, - months: { - names: ["Qulla puquy","Hatun puquy","Pauqar waray","ayriwa","Aymuray","Inti raymi","Anta Sitwa","Qhapaq Sitwa","Uma raymi","Kantaray","Ayamarq'a","Kapaq Raymi",""], - namesAbbr: ["Qul","Hat","Pau","ayr","Aym","Int","Ant","Qha","Uma","Kan","Aya","Kap",""] - }, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, dd' de 'MMMM' de 'yyyy hh:mm tt", - F: "dddd, dd' de 'MMMM' de 'yyyy hh:mm:ss tt", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "ar-LY", "default", { - name: "ar-LY", - englishName: "Arabic (Libya)", - nativeName: "العربية (ليبيا)", - language: "ar", - isRTL: true, - numberFormat: { - pattern: ["n-"], - decimals: 3, - "NaN": "ليس برقم", - negativeInfinity: "-لا نهاية", - positiveInfinity: "+لا نهاية", - percent: { - decimals: 3 - }, - currency: { - pattern: ["$n-","$n"], - decimals: 3, - symbol: "د.ل.\u200f" - } - }, - calendars: { - standard: { - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM, yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd MMMM, yyyy hh:mm tt", - F: "dd MMMM, yyyy hh:mm:ss tt", - M: "dd MMMM" - } - }, - Hijri: { - name: "Hijri", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MM/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd/MM/yyyy hh:mm tt", - F: "dd/MM/yyyy hh:mm:ss tt", - M: "dd MMMM" - }, - convert: { - // Adapted to Script from System.Globalization.HijriCalendar - ticks1970: 62135596800000, - // number of days leading up to each month - monthDays: [0, 30, 59, 89, 118, 148, 177, 207, 236, 266, 295, 325, 355], - minDate: -42521673600000, - maxDate: 253402300799999, - // The number of days to add or subtract from the calendar to accommodate the variances - // in the start and the end of Ramadan and to accommodate the date difference between - // countries/regions. May be dynamically adjusted based on user preference, but should - // remain in the range of -2 to 2, inclusive. - hijriAdjustment: 0, - toGregorian: function(hyear, hmonth, hday) { - var daysSinceJan0101 = this.daysToYear(hyear) + this.monthDays[hmonth] + hday - 1 - this.hijriAdjustment; - // 86400000 = ticks per day - var gdate = new Date(daysSinceJan0101 * 86400000 - this.ticks1970); - // adjust for timezone, because we are interested in the gregorian date for the same timezone - // but ticks in javascript is always from GMT, unlike the server were ticks counts from the base - // date in the current timezone. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - return gdate; - }, - fromGregorian: function(gdate) { - if ((gdate < this.minDate) || (gdate > this.maxDate)) return null; - var ticks = this.ticks1970 + (gdate-0) - gdate.getTimezoneOffset() * 60000, - daysSinceJan0101 = Math.floor(ticks / 86400000) + 1 + this.hijriAdjustment; - // very particular formula determined by someone smart, adapted from the server-side implementation. - // it approximates the hijri year. - var hday, hmonth, hyear = Math.floor(((daysSinceJan0101 - 227013) * 30) / 10631) + 1, - absDays = this.daysToYear(hyear), - daysInYear = this.isLeapYear(hyear) ? 355 : 354; - // hyear is just approximate, it may need adjustment up or down by 1. - if (daysSinceJan0101 < absDays) { - hyear--; - absDays -= daysInYear; - } - else if (daysSinceJan0101 === absDays) { - hyear--; - absDays = this.daysToYear(hyear); - } - else { - if (daysSinceJan0101 > (absDays + daysInYear)) { - absDays += daysInYear; - hyear++; - } - } - // determine month by looking at how many days into the hyear we are - // monthDays contains the number of days up to each month. - hmonth = 0; - var daysIntoYear = daysSinceJan0101 - absDays; - while (hmonth <= 11 && daysIntoYear > this.monthDays[hmonth]) { - hmonth++; - } - hmonth--; - hday = daysIntoYear - this.monthDays[hmonth]; - return [hyear, hmonth, hday]; - }, - daysToYear: function(year) { - // calculates how many days since Jan 1, 0001 - var yearsToYear30 = Math.floor((year - 1) / 30) * 30, - yearsInto30 = year - yearsToYear30 - 1, - days = Math.floor((yearsToYear30 * 10631) / 30) + 227013; - while (yearsInto30 > 0) { - days += (this.isLeapYear(yearsInto30) ? 355 : 354); - yearsInto30--; - } - return days; - }, - isLeapYear: function(year) { - return ((((year * 11) + 14) % 30) < 11); - } - } - }, - UmAlQura: { - name: "UmAlQura", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MMMM/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd/MMMM/yyyy hh:mm tt", - F: "dd/MMMM/yyyy hh:mm:ss tt", - M: "dd MMMM" - }, - convert: { - _yearInfo: [ - // MonthLengthFlags, Gregorian Date - [746, -2198707200000], - [1769, -2168121600000], - [3794, -2137449600000], - [3748, -2106777600000], - [3402, -2076192000000], - [2710, -2045606400000], - [1334, -2015020800000], - [2741, -1984435200000], - [3498, -1953763200000], - [2980, -1923091200000], - [2889, -1892505600000], - [2707, -1861920000000], - [1323, -1831334400000], - [2647, -1800748800000], - [1206, -1770076800000], - [2741, -1739491200000], - [1450, -1708819200000], - [3413, -1678233600000], - [3370, -1647561600000], - [2646, -1616976000000], - [1198, -1586390400000], - [2397, -1555804800000], - [748, -1525132800000], - [1749, -1494547200000], - [1706, -1463875200000], - [1365, -1433289600000], - [1195, -1402704000000], - [2395, -1372118400000], - [698, -1341446400000], - [1397, -1310860800000], - [2994, -1280188800000], - [1892, -1249516800000], - [1865, -1218931200000], - [1621, -1188345600000], - [683, -1157760000000], - [1371, -1127174400000], - [2778, -1096502400000], - [1748, -1065830400000], - [3785, -1035244800000], - [3474, -1004572800000], - [3365, -973987200000], - [2637, -943401600000], - [685, -912816000000], - [1389, -882230400000], - [2922, -851558400000], - [2898, -820886400000], - [2725, -790300800000], - [2635, -759715200000], - [1175, -729129600000], - [2359, -698544000000], - [694, -667872000000], - [1397, -637286400000], - [3434, -606614400000], - [3410, -575942400000], - [2710, -545356800000], - [2349, -514771200000], - [605, -484185600000], - [1245, -453600000000], - [2778, -422928000000], - [1492, -392256000000], - [3497, -361670400000], - [3410, -330998400000], - [2730, -300412800000], - [1238, -269827200000], - [2486, -239241600000], - [884, -208569600000], - [1897, -177984000000], - [1874, -147312000000], - [1701, -116726400000], - [1355, -86140800000], - [2731, -55555200000], - [1370, -24883200000], - [2773, 5702400000], - [3538, 36374400000], - [3492, 67046400000], - [3401, 97632000000], - [2709, 128217600000], - [1325, 158803200000], - [2653, 189388800000], - [1370, 220060800000], - [2773, 250646400000], - [1706, 281318400000], - [1685, 311904000000], - [1323, 342489600000], - [2647, 373075200000], - [1198, 403747200000], - [2422, 434332800000], - [1388, 465004800000], - [2901, 495590400000], - [2730, 526262400000], - [2645, 556848000000], - [1197, 587433600000], - [2397, 618019200000], - [730, 648691200000], - [1497, 679276800000], - [3506, 709948800000], - [2980, 740620800000], - [2890, 771206400000], - [2645, 801792000000], - [693, 832377600000], - [1397, 862963200000], - [2922, 893635200000], - [3026, 924307200000], - [3012, 954979200000], - [2953, 985564800000], - [2709, 1016150400000], - [1325, 1046736000000], - [1453, 1077321600000], - [2922, 1107993600000], - [1748, 1138665600000], - [3529, 1169251200000], - [3474, 1199923200000], - [2726, 1230508800000], - [2390, 1261094400000], - [686, 1291680000000], - [1389, 1322265600000], - [874, 1352937600000], - [2901, 1383523200000], - [2730, 1414195200000], - [2381, 1444780800000], - [1181, 1475366400000], - [2397, 1505952000000], - [698, 1536624000000], - [1461, 1567209600000], - [1450, 1597881600000], - [3413, 1628467200000], - [2714, 1659139200000], - [2350, 1689724800000], - [622, 1720310400000], - [1373, 1750896000000], - [2778, 1781568000000], - [1748, 1812240000000], - [1701, 1842825600000], - [0, 1873411200000] - ], - minDate: -2198707200000, - maxDate: 1873411199999, - toGregorian: function(hyear, hmonth, hday) { - var days = hday - 1, - gyear = hyear - 1318; - if (gyear < 0 || gyear >= this._yearInfo.length) return null; - var info = this._yearInfo[gyear], - gdate = new Date(info[1]), - monthLength = info[0]; - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the gregorian date in the same timezone, - // not what the gregorian date was at GMT time, so we adjust for the offset. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - for (var i = 0; i < hmonth; i++) { - days += 29 + (monthLength & 1); - monthLength = monthLength >> 1; - } - gdate.setDate(gdate.getDate() + days); - return gdate; - }, - fromGregorian: function(gdate) { - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the hijri date in the same timezone, - // not what the hijri date was at GMT time, so we adjust for the offset. - var ticks = gdate - gdate.getTimezoneOffset() * 60000; - if (ticks < this.minDate || ticks > this.maxDate) return null; - var hyear = 0, - hmonth = 1; - // find the earliest gregorian date in the array that is greater than or equal to the given date - while (ticks > this._yearInfo[++hyear][1]) { } - if (ticks !== this._yearInfo[hyear][1]) { - hyear--; - } - var info = this._yearInfo[hyear], - // how many days has it been since the date we found in the array? - // 86400000 = ticks per day - days = Math.floor((ticks - info[1]) / 86400000), - monthLength = info[0]; - hyear += 1318; // the Nth array entry corresponds to hijri year 1318+N - // now increment day/month based on the total days, considering - // how many days are in each month. We cannot run past the year - // mark since we would have found a different array entry in that case. - var daysInMonth = 29 + (monthLength & 1); - while (days >= daysInMonth) { - days -= daysInMonth; - monthLength = monthLength >> 1; - daysInMonth = 29 + (monthLength & 1); - hmonth++; - } - // remaining days is less than is in one month, thus is the day of the month we landed on - // hmonth-1 because in javascript months are zero based, stay consistent with that. - return [hyear, hmonth - 1, days + 1]; - } - } - }, - Gregorian_MiddleEastFrench: { - name: "Gregorian_MiddleEastFrench", - firstDay: 6, - days: { - names: ["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"], - namesAbbr: ["dim.","lun.","mar.","mer.","jeu.","ven.","sam."], - namesShort: ["di","lu","ma","me","je","ve","sa"] - }, - months: { - names: ["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""], - namesAbbr: ["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"ap. J.-C.","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt", - M: "dd MMMM" - } - }, - Gregorian_Arabic: { - name: "Gregorian_Arabic", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""], - namesAbbr: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - }, - Gregorian_TransliteratedFrench: { - name: "Gregorian_TransliteratedFrench", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - } - } -}); - -Globalize.addCultureInfo( "zh-SG", "default", { - name: "zh-SG", - englishName: "Chinese (Simplified, Singapore)", - nativeName: "中文(新加坡)", - language: "zh-CHS", - numberFormat: { - percent: { - pattern: ["-n%","n%"] - } - }, - calendars: { - standard: { - days: { - names: ["星期日","星期一","星期二","星期三","星期四","星期五","星期六"], - namesAbbr: ["周日","周一","周二","周三","周四","周五","周六"], - namesShort: ["日","一","二","三","四","五","六"] - }, - months: { - names: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""], - namesAbbr: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""] - }, - patterns: { - d: "d/M/yyyy", - D: "yyyy'年'M'月'd'日'", - t: "tt h:mm", - T: "tt h:mm:ss", - f: "yyyy'年'M'月'd'日' tt h:mm", - F: "yyyy'年'M'月'd'日' tt h:mm:ss", - M: "M'月'd'日'", - Y: "yyyy'年'M'月'" - } - } - } -}); - -Globalize.addCultureInfo( "de-LU", "default", { - name: "de-LU", - englishName: "German (Luxembourg)", - nativeName: "Deutsch (Luxemburg)", - language: "de", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "n. def.", - negativeInfinity: "-unendlich", - positiveInfinity: "+unendlich", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"], - namesAbbr: ["So","Mo","Di","Mi","Do","Fr","Sa"], - namesShort: ["So","Mo","Di","Mi","Do","Fr","Sa"] - }, - months: { - names: ["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember",""], - namesAbbr: ["Jan","Feb","Mrz","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez",""] - }, - AM: null, - PM: null, - eras: [{"name":"n. Chr.","start":null,"offset":0}], - patterns: { - d: "dd.MM.yyyy", - D: "dddd, d. MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd, d. MMMM yyyy HH:mm", - F: "dddd, d. MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "en-CA", "default", { - name: "en-CA", - englishName: "English (Canada)", - nativeName: "English (Canada)", - numberFormat: { - currency: { - pattern: ["-$n","$n"] - } - }, - calendars: { - standard: { - patterns: { - d: "dd/MM/yyyy", - D: "MMMM-dd-yy", - f: "MMMM-dd-yy h:mm tt", - F: "MMMM-dd-yy h:mm:ss tt" - } - } - } -}); - -Globalize.addCultureInfo( "es-GT", "default", { - name: "es-GT", - englishName: "Spanish (Guatemala)", - nativeName: "Español (Guatemala)", - language: "es", - numberFormat: { - "NaN": "NeuN", - negativeInfinity: "-Infinito", - positiveInfinity: "Infinito", - currency: { - symbol: "Q" - } - }, - calendars: { - standard: { - days: { - names: ["domingo","lunes","martes","miércoles","jueves","viernes","sábado"], - namesAbbr: ["dom","lun","mar","mié","jue","vie","sáb"], - namesShort: ["do","lu","ma","mi","ju","vi","sá"] - }, - months: { - names: ["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""], - namesAbbr: ["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""] - }, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, dd' de 'MMMM' de 'yyyy hh:mm tt", - F: "dddd, dd' de 'MMMM' de 'yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "fr-CH", "default", { - name: "fr-CH", - englishName: "French (Switzerland)", - nativeName: "français (Suisse)", - language: "fr", - numberFormat: { - ",": "'", - "NaN": "Non Numérique", - negativeInfinity: "-Infini", - positiveInfinity: "+Infini", - percent: { - ",": "'" - }, - currency: { - pattern: ["$-n","$ n"], - ",": "'", - symbol: "fr." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"], - namesAbbr: ["dim.","lun.","mar.","mer.","jeu.","ven.","sam."], - namesShort: ["di","lu","ma","me","je","ve","sa"] - }, - months: { - names: ["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""], - namesAbbr: ["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""] - }, - AM: null, - PM: null, - eras: [{"name":"ap. J.-C.","start":null,"offset":0}], - patterns: { - d: "dd.MM.yyyy", - D: "dddd d MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd d MMMM yyyy HH:mm", - F: "dddd d MMMM yyyy HH:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "hr-BA", "default", { - name: "hr-BA", - englishName: "Croatian (Latin, Bosnia and Herzegovina)", - nativeName: "hrvatski (Bosna i Hercegovina)", - language: "hr", - numberFormat: { - pattern: ["- n"], - ",": ".", - ".": ",", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "KM" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["nedjelja","ponedjeljak","utorak","srijeda","četvrtak","petak","subota"], - namesAbbr: ["ned","pon","uto","sri","čet","pet","sub"], - namesShort: ["ne","po","ut","sr","če","pe","su"] - }, - months: { - names: ["siječanj","veljača","ožujak","travanj","svibanj","lipanj","srpanj","kolovoz","rujan","listopad","studeni","prosinac",""], - namesAbbr: ["sij","vlj","ožu","tra","svi","lip","srp","kol","ruj","lis","stu","pro",""] - }, - monthsGenitive: { - names: ["siječnja","veljače","ožujka","travnja","svibnja","lipnja","srpnja","kolovoza","rujna","listopada","studenog","prosinca",""], - namesAbbr: ["sij","vlj","ožu","tra","svi","lip","srp","kol","ruj","lis","stu","pro",""] - }, - AM: null, - PM: null, - patterns: { - d: "d.M.yyyy.", - D: "d. MMMM yyyy.", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM yyyy. H:mm", - F: "d. MMMM yyyy. H:mm:ss", - M: "d. MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "smj-NO", "default", { - name: "smj-NO", - englishName: "Sami, Lule (Norway)", - nativeName: "julevusámegiella (Vuodna)", - language: "smj", - numberFormat: { - ",": " ", - ".": ",", - percent: { - pattern: ["-%n","%n"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["$ -n","$ n"], - ",": " ", - ".": ",", - symbol: "kr" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["sådnåbiejvve","mánnodahka","dijstahka","gasskavahkko","duorastahka","bierjjedahka","lávvodahka"], - namesAbbr: ["såd","mán","dis","gas","duor","bier","láv"], - namesShort: ["s","m","d","g","d","b","l"] - }, - months: { - names: ["ådåjakmánno","guovvamánno","sjnjuktjamánno","vuoratjismánno","moarmesmánno","biehtsemánno","sjnjilltjamánno","bårggemánno","ragátmánno","gålgådismánno","basádismánno","javllamánno",""], - namesAbbr: ["ådåj","guov","snju","vuor","moar","bieh","snji","bårg","ragá","gålg","basá","javl",""] - }, - monthsGenitive: { - names: ["ådåjakmáno","guovvamáno","sjnjuktjamáno","vuoratjismáno","moarmesmáno","biehtsemáno","sjnjilltjamáno","bårggemáno","ragátmáno","gålgådismáno","basádismáno","javllamáno",""], - namesAbbr: ["ådåj","guov","snju","vuor","moar","bieh","snji","bårg","ragá","gålg","basá","javl",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "MMMM d'. b. 'yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "MMMM d'. b. 'yyyy HH:mm", - F: "MMMM d'. b. 'yyyy HH:mm:ss", - M: "MMMM d'. b. '", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "ar-DZ", "default", { - name: "ar-DZ", - englishName: "Arabic (Algeria)", - nativeName: "العربية (الجزائر)", - language: "ar", - isRTL: true, - numberFormat: { - pattern: ["n-"], - "NaN": "ليس برقم", - negativeInfinity: "-لا نهاية", - positiveInfinity: "+لا نهاية", - currency: { - pattern: ["$n-","$ n"], - symbol: "د.ج.\u200f" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - patterns: { - d: "dd-MM-yyyy", - D: "dd MMMM, yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dd MMMM, yyyy H:mm", - F: "dd MMMM, yyyy H:mm:ss", - M: "dd MMMM" - } - }, - Hijri: { - name: "Hijri", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MM/yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dd/MM/yyyy H:mm", - F: "dd/MM/yyyy H:mm:ss", - M: "dd MMMM" - }, - convert: { - // Adapted to Script from System.Globalization.HijriCalendar - ticks1970: 62135596800000, - // number of days leading up to each month - monthDays: [0, 30, 59, 89, 118, 148, 177, 207, 236, 266, 295, 325, 355], - minDate: -42521673600000, - maxDate: 253402300799999, - // The number of days to add or subtract from the calendar to accommodate the variances - // in the start and the end of Ramadan and to accommodate the date difference between - // countries/regions. May be dynamically adjusted based on user preference, but should - // remain in the range of -2 to 2, inclusive. - hijriAdjustment: 0, - toGregorian: function(hyear, hmonth, hday) { - var daysSinceJan0101 = this.daysToYear(hyear) + this.monthDays[hmonth] + hday - 1 - this.hijriAdjustment; - // 86400000 = ticks per day - var gdate = new Date(daysSinceJan0101 * 86400000 - this.ticks1970); - // adjust for timezone, because we are interested in the gregorian date for the same timezone - // but ticks in javascript is always from GMT, unlike the server were ticks counts from the base - // date in the current timezone. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - return gdate; - }, - fromGregorian: function(gdate) { - if ((gdate < this.minDate) || (gdate > this.maxDate)) return null; - var ticks = this.ticks1970 + (gdate-0) - gdate.getTimezoneOffset() * 60000, - daysSinceJan0101 = Math.floor(ticks / 86400000) + 1 + this.hijriAdjustment; - // very particular formula determined by someone smart, adapted from the server-side implementation. - // it approximates the hijri year. - var hday, hmonth, hyear = Math.floor(((daysSinceJan0101 - 227013) * 30) / 10631) + 1, - absDays = this.daysToYear(hyear), - daysInYear = this.isLeapYear(hyear) ? 355 : 354; - // hyear is just approximate, it may need adjustment up or down by 1. - if (daysSinceJan0101 < absDays) { - hyear--; - absDays -= daysInYear; - } - else if (daysSinceJan0101 === absDays) { - hyear--; - absDays = this.daysToYear(hyear); - } - else { - if (daysSinceJan0101 > (absDays + daysInYear)) { - absDays += daysInYear; - hyear++; - } - } - // determine month by looking at how many days into the hyear we are - // monthDays contains the number of days up to each month. - hmonth = 0; - var daysIntoYear = daysSinceJan0101 - absDays; - while (hmonth <= 11 && daysIntoYear > this.monthDays[hmonth]) { - hmonth++; - } - hmonth--; - hday = daysIntoYear - this.monthDays[hmonth]; - return [hyear, hmonth, hday]; - }, - daysToYear: function(year) { - // calculates how many days since Jan 1, 0001 - var yearsToYear30 = Math.floor((year - 1) / 30) * 30, - yearsInto30 = year - yearsToYear30 - 1, - days = Math.floor((yearsToYear30 * 10631) / 30) + 227013; - while (yearsInto30 > 0) { - days += (this.isLeapYear(yearsInto30) ? 355 : 354); - yearsInto30--; - } - return days; - }, - isLeapYear: function(year) { - return ((((year * 11) + 14) % 30) < 11); - } - } - }, - UmAlQura: { - name: "UmAlQura", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MMMM/yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dd/MMMM/yyyy H:mm", - F: "dd/MMMM/yyyy H:mm:ss", - M: "dd MMMM" - }, - convert: { - _yearInfo: [ - // MonthLengthFlags, Gregorian Date - [746, -2198707200000], - [1769, -2168121600000], - [3794, -2137449600000], - [3748, -2106777600000], - [3402, -2076192000000], - [2710, -2045606400000], - [1334, -2015020800000], - [2741, -1984435200000], - [3498, -1953763200000], - [2980, -1923091200000], - [2889, -1892505600000], - [2707, -1861920000000], - [1323, -1831334400000], - [2647, -1800748800000], - [1206, -1770076800000], - [2741, -1739491200000], - [1450, -1708819200000], - [3413, -1678233600000], - [3370, -1647561600000], - [2646, -1616976000000], - [1198, -1586390400000], - [2397, -1555804800000], - [748, -1525132800000], - [1749, -1494547200000], - [1706, -1463875200000], - [1365, -1433289600000], - [1195, -1402704000000], - [2395, -1372118400000], - [698, -1341446400000], - [1397, -1310860800000], - [2994, -1280188800000], - [1892, -1249516800000], - [1865, -1218931200000], - [1621, -1188345600000], - [683, -1157760000000], - [1371, -1127174400000], - [2778, -1096502400000], - [1748, -1065830400000], - [3785, -1035244800000], - [3474, -1004572800000], - [3365, -973987200000], - [2637, -943401600000], - [685, -912816000000], - [1389, -882230400000], - [2922, -851558400000], - [2898, -820886400000], - [2725, -790300800000], - [2635, -759715200000], - [1175, -729129600000], - [2359, -698544000000], - [694, -667872000000], - [1397, -637286400000], - [3434, -606614400000], - [3410, -575942400000], - [2710, -545356800000], - [2349, -514771200000], - [605, -484185600000], - [1245, -453600000000], - [2778, -422928000000], - [1492, -392256000000], - [3497, -361670400000], - [3410, -330998400000], - [2730, -300412800000], - [1238, -269827200000], - [2486, -239241600000], - [884, -208569600000], - [1897, -177984000000], - [1874, -147312000000], - [1701, -116726400000], - [1355, -86140800000], - [2731, -55555200000], - [1370, -24883200000], - [2773, 5702400000], - [3538, 36374400000], - [3492, 67046400000], - [3401, 97632000000], - [2709, 128217600000], - [1325, 158803200000], - [2653, 189388800000], - [1370, 220060800000], - [2773, 250646400000], - [1706, 281318400000], - [1685, 311904000000], - [1323, 342489600000], - [2647, 373075200000], - [1198, 403747200000], - [2422, 434332800000], - [1388, 465004800000], - [2901, 495590400000], - [2730, 526262400000], - [2645, 556848000000], - [1197, 587433600000], - [2397, 618019200000], - [730, 648691200000], - [1497, 679276800000], - [3506, 709948800000], - [2980, 740620800000], - [2890, 771206400000], - [2645, 801792000000], - [693, 832377600000], - [1397, 862963200000], - [2922, 893635200000], - [3026, 924307200000], - [3012, 954979200000], - [2953, 985564800000], - [2709, 1016150400000], - [1325, 1046736000000], - [1453, 1077321600000], - [2922, 1107993600000], - [1748, 1138665600000], - [3529, 1169251200000], - [3474, 1199923200000], - [2726, 1230508800000], - [2390, 1261094400000], - [686, 1291680000000], - [1389, 1322265600000], - [874, 1352937600000], - [2901, 1383523200000], - [2730, 1414195200000], - [2381, 1444780800000], - [1181, 1475366400000], - [2397, 1505952000000], - [698, 1536624000000], - [1461, 1567209600000], - [1450, 1597881600000], - [3413, 1628467200000], - [2714, 1659139200000], - [2350, 1689724800000], - [622, 1720310400000], - [1373, 1750896000000], - [2778, 1781568000000], - [1748, 1812240000000], - [1701, 1842825600000], - [0, 1873411200000] - ], - minDate: -2198707200000, - maxDate: 1873411199999, - toGregorian: function(hyear, hmonth, hday) { - var days = hday - 1, - gyear = hyear - 1318; - if (gyear < 0 || gyear >= this._yearInfo.length) return null; - var info = this._yearInfo[gyear], - gdate = new Date(info[1]), - monthLength = info[0]; - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the gregorian date in the same timezone, - // not what the gregorian date was at GMT time, so we adjust for the offset. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - for (var i = 0; i < hmonth; i++) { - days += 29 + (monthLength & 1); - monthLength = monthLength >> 1; - } - gdate.setDate(gdate.getDate() + days); - return gdate; - }, - fromGregorian: function(gdate) { - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the hijri date in the same timezone, - // not what the hijri date was at GMT time, so we adjust for the offset. - var ticks = gdate - gdate.getTimezoneOffset() * 60000; - if (ticks < this.minDate || ticks > this.maxDate) return null; - var hyear = 0, - hmonth = 1; - // find the earliest gregorian date in the array that is greater than or equal to the given date - while (ticks > this._yearInfo[++hyear][1]) { } - if (ticks !== this._yearInfo[hyear][1]) { - hyear--; - } - var info = this._yearInfo[hyear], - // how many days has it been since the date we found in the array? - // 86400000 = ticks per day - days = Math.floor((ticks - info[1]) / 86400000), - monthLength = info[0]; - hyear += 1318; // the Nth array entry corresponds to hijri year 1318+N - // now increment day/month based on the total days, considering - // how many days are in each month. We cannot run past the year - // mark since we would have found a different array entry in that case. - var daysInMonth = 29 + (monthLength & 1); - while (days >= daysInMonth) { - days -= daysInMonth; - monthLength = monthLength >> 1; - daysInMonth = 29 + (monthLength & 1); - hmonth++; - } - // remaining days is less than is in one month, thus is the day of the month we landed on - // hmonth-1 because in javascript months are zero based, stay consistent with that. - return [hyear, hmonth - 1, days + 1]; - } - } - }, - Gregorian_MiddleEastFrench: { - name: "Gregorian_MiddleEastFrench", - firstDay: 6, - days: { - names: ["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"], - namesAbbr: ["dim.","lun.","mar.","mer.","jeu.","ven.","sam."], - namesShort: ["di","lu","ma","me","je","ve","sa"] - }, - months: { - names: ["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""], - namesAbbr: ["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"ap. J.-C.","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dddd, MMMM dd, yyyy H:mm", - F: "dddd, MMMM dd, yyyy H:mm:ss", - M: "dd MMMM" - } - }, - Gregorian_Arabic: { - name: "Gregorian_Arabic", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""], - namesAbbr: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dddd, MMMM dd, yyyy H:mm", - F: "dddd, MMMM dd, yyyy H:mm:ss" - } - }, - Gregorian_TransliteratedEnglish: { - name: "Gregorian_TransliteratedEnglish", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["أ","ا","ث","أ","خ","ج","س"] - }, - months: { - names: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["يناير","فبراير","مارس","ابريل","مايو","يونيو","يوليو","اغسطس","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dddd, MMMM dd, yyyy H:mm", - F: "dddd, MMMM dd, yyyy H:mm:ss" - } - } - } -}); - -Globalize.addCultureInfo( "zh-MO", "default", { - name: "zh-MO", - englishName: "Chinese (Traditional, Macao S.A.R.)", - nativeName: "中文(澳門特別行政區)", - language: "zh-CHT", - numberFormat: { - "NaN": "非數字", - negativeInfinity: "負無窮大", - positiveInfinity: "正無窮大", - percent: { - pattern: ["-n%","n%"] - }, - currency: { - symbol: "MOP" - } - }, - calendars: { - standard: { - days: { - names: ["星期日","星期一","星期二","星期三","星期四","星期五","星期六"], - namesAbbr: ["週日","週一","週二","週三","週四","週五","週六"], - namesShort: ["日","一","二","三","四","五","六"] - }, - months: { - names: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""], - namesAbbr: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""] - }, - AM: ["上午","上午","上午"], - PM: ["下午","下午","下午"], - eras: [{"name":"公元","start":null,"offset":0}], - patterns: { - d: "d/M/yyyy", - D: "yyyy'年'M'月'd'日'", - t: "H:mm", - T: "H:mm:ss", - f: "yyyy'年'M'月'd'日' H:mm", - F: "yyyy'年'M'月'd'日' H:mm:ss", - M: "M'月'd'日'", - Y: "yyyy'年'M'月'" - } - } - } -}); - -Globalize.addCultureInfo( "de-LI", "default", { - name: "de-LI", - englishName: "German (Liechtenstein)", - nativeName: "Deutsch (Liechtenstein)", - language: "de", - numberFormat: { - ",": "'", - "NaN": "n. def.", - negativeInfinity: "-unendlich", - positiveInfinity: "+unendlich", - percent: { - pattern: ["-n%","n%"], - ",": "'" - }, - currency: { - pattern: ["$-n","$ n"], - ",": "'", - symbol: "CHF" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"], - namesAbbr: ["So","Mo","Di","Mi","Do","Fr","Sa"], - namesShort: ["So","Mo","Di","Mi","Do","Fr","Sa"] - }, - months: { - names: ["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember",""], - namesAbbr: ["Jan","Feb","Mrz","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez",""] - }, - AM: null, - PM: null, - eras: [{"name":"n. Chr.","start":null,"offset":0}], - patterns: { - d: "dd.MM.yyyy", - D: "dddd, d. MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd, d. MMMM yyyy HH:mm", - F: "dddd, d. MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "en-NZ", "default", { - name: "en-NZ", - englishName: "English (New Zealand)", - nativeName: "English (New Zealand)", - numberFormat: { - currency: { - pattern: ["-$n","$n"] - } - }, - calendars: { - standard: { - firstDay: 1, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - patterns: { - d: "d/MM/yyyy", - D: "dddd, d MMMM yyyy", - f: "dddd, d MMMM yyyy h:mm tt", - F: "dddd, d MMMM yyyy h:mm:ss tt", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "es-CR", "default", { - name: "es-CR", - englishName: "Spanish (Costa Rica)", - nativeName: "Español (Costa Rica)", - language: "es", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "NeuN", - negativeInfinity: "-Infinito", - positiveInfinity: "Infinito", - percent: { - ",": ".", - ".": "," - }, - currency: { - ",": ".", - ".": ",", - symbol: "₡" - } - }, - calendars: { - standard: { - days: { - names: ["domingo","lunes","martes","miércoles","jueves","viernes","sábado"], - namesAbbr: ["dom","lun","mar","mié","jue","vie","sáb"], - namesShort: ["do","lu","ma","mi","ju","vi","sá"] - }, - months: { - names: ["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""], - namesAbbr: ["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""] - }, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, dd' de 'MMMM' de 'yyyy hh:mm tt", - F: "dddd, dd' de 'MMMM' de 'yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "fr-LU", "default", { - name: "fr-LU", - englishName: "French (Luxembourg)", - nativeName: "français (Luxembourg)", - language: "fr", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "Non Numérique", - negativeInfinity: "-Infini", - positiveInfinity: "+Infini", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"], - namesAbbr: ["dim.","lun.","mar.","mer.","jeu.","ven.","sam."], - namesShort: ["di","lu","ma","me","je","ve","sa"] - }, - months: { - names: ["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""], - namesAbbr: ["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""] - }, - AM: null, - PM: null, - eras: [{"name":"ap. J.-C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd d MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd d MMMM yyyy HH:mm", - F: "dddd d MMMM yyyy HH:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "bs-Latn-BA", "default", { - name: "bs-Latn-BA", - englishName: "Bosnian (Latin, Bosnia and Herzegovina)", - nativeName: "bosanski (Bosna i Hercegovina)", - language: "bs-Latn", - numberFormat: { - ",": ".", - ".": ",", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "KM" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["nedjelja","ponedjeljak","utorak","srijeda","četvrtak","petak","subota"], - namesAbbr: ["ned","pon","uto","sri","čet","pet","sub"], - namesShort: ["ne","po","ut","sr","če","pe","su"] - }, - months: { - names: ["januar","februar","mart","april","maj","juni","juli","avgust","septembar","oktobar","novembar","decembar",""], - namesAbbr: ["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec",""] - }, - AM: null, - PM: null, - patterns: { - d: "d.M.yyyy", - D: "d. MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM yyyy H:mm", - F: "d. MMMM yyyy H:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "smj-SE", "default", { - name: "smj-SE", - englishName: "Sami, Lule (Sweden)", - nativeName: "julevusámegiella (Svierik)", - language: "smj", - numberFormat: { - ",": " ", - ".": ",", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "kr" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["ájllek","mánnodahka","dijstahka","gasskavahkko","duorastahka","bierjjedahka","lávvodahka"], - namesAbbr: ["ájl","mán","dis","gas","duor","bier","láv"], - namesShort: ["á","m","d","g","d","b","l"] - }, - months: { - names: ["ådåjakmánno","guovvamánno","sjnjuktjamánno","vuoratjismánno","moarmesmánno","biehtsemánno","sjnjilltjamánno","bårggemánno","ragátmánno","gålgådismánno","basádismánno","javllamánno",""], - namesAbbr: ["ådåj","guov","snju","vuor","moar","bieh","snji","bårg","ragá","gålg","basá","javl",""] - }, - monthsGenitive: { - names: ["ådåjakmáno","guovvamáno","sjnjuktjamáno","vuoratjismáno","moarmesmáno","biehtsemáno","sjnjilltjamáno","bårggemáno","ragátmáno","gålgådismáno","basádismáno","javllamáno",""], - namesAbbr: ["ådåj","guov","snju","vuor","moar","bieh","snji","bårg","ragá","gålg","basá","javl",""] - }, - AM: null, - PM: null, - patterns: { - d: "yyyy-MM-dd", - D: "MMMM d'. b. 'yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "MMMM d'. b. 'yyyy HH:mm", - F: "MMMM d'. b. 'yyyy HH:mm:ss", - M: "MMMM d'. b. '", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "ar-MA", "default", { - name: "ar-MA", - englishName: "Arabic (Morocco)", - nativeName: "العربية (المملكة المغربية)", - language: "ar", - isRTL: true, - numberFormat: { - pattern: ["n-"], - "NaN": "ليس برقم", - negativeInfinity: "-لا نهاية", - positiveInfinity: "+لا نهاية", - currency: { - pattern: ["$n-","$ n"], - symbol: "د.م.\u200f" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["يناير","فبراير","مارس","أبريل","ماي","يونيو","يوليوز","غشت","شتنبر","أكتوبر","نونبر","دجنبر",""], - namesAbbr: ["يناير","فبراير","مارس","أبريل","ماي","يونيو","يوليوز","غشت","شتنبر","أكتوبر","نونبر","دجنبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - patterns: { - d: "dd-MM-yyyy", - D: "dd MMMM, yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dd MMMM, yyyy H:mm", - F: "dd MMMM, yyyy H:mm:ss", - M: "dd MMMM" - } - }, - Hijri: { - name: "Hijri", - firstDay: 1, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MM/yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dd/MM/yyyy H:mm", - F: "dd/MM/yyyy H:mm:ss", - M: "dd MMMM" - }, - convert: { - // Adapted to Script from System.Globalization.HijriCalendar - ticks1970: 62135596800000, - // number of days leading up to each month - monthDays: [0, 30, 59, 89, 118, 148, 177, 207, 236, 266, 295, 325, 355], - minDate: -42521673600000, - maxDate: 253402300799999, - // The number of days to add or subtract from the calendar to accommodate the variances - // in the start and the end of Ramadan and to accommodate the date difference between - // countries/regions. May be dynamically adjusted based on user preference, but should - // remain in the range of -2 to 2, inclusive. - hijriAdjustment: 0, - toGregorian: function(hyear, hmonth, hday) { - var daysSinceJan0101 = this.daysToYear(hyear) + this.monthDays[hmonth] + hday - 1 - this.hijriAdjustment; - // 86400000 = ticks per day - var gdate = new Date(daysSinceJan0101 * 86400000 - this.ticks1970); - // adjust for timezone, because we are interested in the gregorian date for the same timezone - // but ticks in javascript is always from GMT, unlike the server were ticks counts from the base - // date in the current timezone. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - return gdate; - }, - fromGregorian: function(gdate) { - if ((gdate < this.minDate) || (gdate > this.maxDate)) return null; - var ticks = this.ticks1970 + (gdate-0) - gdate.getTimezoneOffset() * 60000, - daysSinceJan0101 = Math.floor(ticks / 86400000) + 1 + this.hijriAdjustment; - // very particular formula determined by someone smart, adapted from the server-side implementation. - // it approximates the hijri year. - var hday, hmonth, hyear = Math.floor(((daysSinceJan0101 - 227013) * 30) / 10631) + 1, - absDays = this.daysToYear(hyear), - daysInYear = this.isLeapYear(hyear) ? 355 : 354; - // hyear is just approximate, it may need adjustment up or down by 1. - if (daysSinceJan0101 < absDays) { - hyear--; - absDays -= daysInYear; - } - else if (daysSinceJan0101 === absDays) { - hyear--; - absDays = this.daysToYear(hyear); - } - else { - if (daysSinceJan0101 > (absDays + daysInYear)) { - absDays += daysInYear; - hyear++; - } - } - // determine month by looking at how many days into the hyear we are - // monthDays contains the number of days up to each month. - hmonth = 0; - var daysIntoYear = daysSinceJan0101 - absDays; - while (hmonth <= 11 && daysIntoYear > this.monthDays[hmonth]) { - hmonth++; - } - hmonth--; - hday = daysIntoYear - this.monthDays[hmonth]; - return [hyear, hmonth, hday]; - }, - daysToYear: function(year) { - // calculates how many days since Jan 1, 0001 - var yearsToYear30 = Math.floor((year - 1) / 30) * 30, - yearsInto30 = year - yearsToYear30 - 1, - days = Math.floor((yearsToYear30 * 10631) / 30) + 227013; - while (yearsInto30 > 0) { - days += (this.isLeapYear(yearsInto30) ? 355 : 354); - yearsInto30--; - } - return days; - }, - isLeapYear: function(year) { - return ((((year * 11) + 14) % 30) < 11); - } - } - }, - UmAlQura: { - name: "UmAlQura", - firstDay: 1, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MMMM/yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dd/MMMM/yyyy H:mm", - F: "dd/MMMM/yyyy H:mm:ss", - M: "dd MMMM" - }, - convert: { - _yearInfo: [ - // MonthLengthFlags, Gregorian Date - [746, -2198707200000], - [1769, -2168121600000], - [3794, -2137449600000], - [3748, -2106777600000], - [3402, -2076192000000], - [2710, -2045606400000], - [1334, -2015020800000], - [2741, -1984435200000], - [3498, -1953763200000], - [2980, -1923091200000], - [2889, -1892505600000], - [2707, -1861920000000], - [1323, -1831334400000], - [2647, -1800748800000], - [1206, -1770076800000], - [2741, -1739491200000], - [1450, -1708819200000], - [3413, -1678233600000], - [3370, -1647561600000], - [2646, -1616976000000], - [1198, -1586390400000], - [2397, -1555804800000], - [748, -1525132800000], - [1749, -1494547200000], - [1706, -1463875200000], - [1365, -1433289600000], - [1195, -1402704000000], - [2395, -1372118400000], - [698, -1341446400000], - [1397, -1310860800000], - [2994, -1280188800000], - [1892, -1249516800000], - [1865, -1218931200000], - [1621, -1188345600000], - [683, -1157760000000], - [1371, -1127174400000], - [2778, -1096502400000], - [1748, -1065830400000], - [3785, -1035244800000], - [3474, -1004572800000], - [3365, -973987200000], - [2637, -943401600000], - [685, -912816000000], - [1389, -882230400000], - [2922, -851558400000], - [2898, -820886400000], - [2725, -790300800000], - [2635, -759715200000], - [1175, -729129600000], - [2359, -698544000000], - [694, -667872000000], - [1397, -637286400000], - [3434, -606614400000], - [3410, -575942400000], - [2710, -545356800000], - [2349, -514771200000], - [605, -484185600000], - [1245, -453600000000], - [2778, -422928000000], - [1492, -392256000000], - [3497, -361670400000], - [3410, -330998400000], - [2730, -300412800000], - [1238, -269827200000], - [2486, -239241600000], - [884, -208569600000], - [1897, -177984000000], - [1874, -147312000000], - [1701, -116726400000], - [1355, -86140800000], - [2731, -55555200000], - [1370, -24883200000], - [2773, 5702400000], - [3538, 36374400000], - [3492, 67046400000], - [3401, 97632000000], - [2709, 128217600000], - [1325, 158803200000], - [2653, 189388800000], - [1370, 220060800000], - [2773, 250646400000], - [1706, 281318400000], - [1685, 311904000000], - [1323, 342489600000], - [2647, 373075200000], - [1198, 403747200000], - [2422, 434332800000], - [1388, 465004800000], - [2901, 495590400000], - [2730, 526262400000], - [2645, 556848000000], - [1197, 587433600000], - [2397, 618019200000], - [730, 648691200000], - [1497, 679276800000], - [3506, 709948800000], - [2980, 740620800000], - [2890, 771206400000], - [2645, 801792000000], - [693, 832377600000], - [1397, 862963200000], - [2922, 893635200000], - [3026, 924307200000], - [3012, 954979200000], - [2953, 985564800000], - [2709, 1016150400000], - [1325, 1046736000000], - [1453, 1077321600000], - [2922, 1107993600000], - [1748, 1138665600000], - [3529, 1169251200000], - [3474, 1199923200000], - [2726, 1230508800000], - [2390, 1261094400000], - [686, 1291680000000], - [1389, 1322265600000], - [874, 1352937600000], - [2901, 1383523200000], - [2730, 1414195200000], - [2381, 1444780800000], - [1181, 1475366400000], - [2397, 1505952000000], - [698, 1536624000000], - [1461, 1567209600000], - [1450, 1597881600000], - [3413, 1628467200000], - [2714, 1659139200000], - [2350, 1689724800000], - [622, 1720310400000], - [1373, 1750896000000], - [2778, 1781568000000], - [1748, 1812240000000], - [1701, 1842825600000], - [0, 1873411200000] - ], - minDate: -2198707200000, - maxDate: 1873411199999, - toGregorian: function(hyear, hmonth, hday) { - var days = hday - 1, - gyear = hyear - 1318; - if (gyear < 0 || gyear >= this._yearInfo.length) return null; - var info = this._yearInfo[gyear], - gdate = new Date(info[1]), - monthLength = info[0]; - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the gregorian date in the same timezone, - // not what the gregorian date was at GMT time, so we adjust for the offset. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - for (var i = 0; i < hmonth; i++) { - days += 29 + (monthLength & 1); - monthLength = monthLength >> 1; - } - gdate.setDate(gdate.getDate() + days); - return gdate; - }, - fromGregorian: function(gdate) { - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the hijri date in the same timezone, - // not what the hijri date was at GMT time, so we adjust for the offset. - var ticks = gdate - gdate.getTimezoneOffset() * 60000; - if (ticks < this.minDate || ticks > this.maxDate) return null; - var hyear = 0, - hmonth = 1; - // find the earliest gregorian date in the array that is greater than or equal to the given date - while (ticks > this._yearInfo[++hyear][1]) { } - if (ticks !== this._yearInfo[hyear][1]) { - hyear--; - } - var info = this._yearInfo[hyear], - // how many days has it been since the date we found in the array? - // 86400000 = ticks per day - days = Math.floor((ticks - info[1]) / 86400000), - monthLength = info[0]; - hyear += 1318; // the Nth array entry corresponds to hijri year 1318+N - // now increment day/month based on the total days, considering - // how many days are in each month. We cannot run past the year - // mark since we would have found a different array entry in that case. - var daysInMonth = 29 + (monthLength & 1); - while (days >= daysInMonth) { - days -= daysInMonth; - monthLength = monthLength >> 1; - daysInMonth = 29 + (monthLength & 1); - hmonth++; - } - // remaining days is less than is in one month, thus is the day of the month we landed on - // hmonth-1 because in javascript months are zero based, stay consistent with that. - return [hyear, hmonth - 1, days + 1]; - } - } - }, - Gregorian_MiddleEastFrench: { - name: "Gregorian_MiddleEastFrench", - firstDay: 1, - days: { - names: ["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"], - namesAbbr: ["dim.","lun.","mar.","mer.","jeu.","ven.","sam."], - namesShort: ["di","lu","ma","me","je","ve","sa"] - }, - months: { - names: ["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""], - namesAbbr: ["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"ap. J.-C.","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dddd, MMMM dd, yyyy H:mm", - F: "dddd, MMMM dd, yyyy H:mm:ss", - M: "dd MMMM" - } - }, - Gregorian_Arabic: { - name: "Gregorian_Arabic", - firstDay: 1, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""], - namesAbbr: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dddd, MMMM dd, yyyy H:mm", - F: "dddd, MMMM dd, yyyy H:mm:ss" - } - }, - Gregorian_TransliteratedEnglish: { - name: "Gregorian_TransliteratedEnglish", - firstDay: 1, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["أ","ا","ث","أ","خ","ج","س"] - }, - months: { - names: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["يناير","فبراير","مارس","ابريل","مايو","يونيو","يوليو","اغسطس","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dddd, MMMM dd, yyyy H:mm", - F: "dddd, MMMM dd, yyyy H:mm:ss" - } - } - } -}); - -Globalize.addCultureInfo( "en-IE", "default", { - name: "en-IE", - englishName: "English (Ireland)", - nativeName: "English (Ireland)", - numberFormat: { - currency: { - pattern: ["-$n","$n"], - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - AM: null, - PM: null, - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd MMMM yyyy HH:mm", - F: "dd MMMM yyyy HH:mm:ss", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "es-PA", "default", { - name: "es-PA", - englishName: "Spanish (Panama)", - nativeName: "Español (Panamá)", - language: "es", - numberFormat: { - "NaN": "NeuN", - negativeInfinity: "-Infinito", - positiveInfinity: "Infinito", - currency: { - pattern: ["($ n)","$ n"], - symbol: "B/." - } - }, - calendars: { - standard: { - days: { - names: ["domingo","lunes","martes","miércoles","jueves","viernes","sábado"], - namesAbbr: ["dom","lun","mar","mié","jue","vie","sáb"], - namesShort: ["do","lu","ma","mi","ju","vi","sá"] - }, - months: { - names: ["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""], - namesAbbr: ["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""] - }, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, dd' de 'MMMM' de 'yyyy hh:mm tt", - F: "dddd, dd' de 'MMMM' de 'yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "fr-MC", "default", { - name: "fr-MC", - englishName: "French (Monaco)", - nativeName: "français (Principauté de Monaco)", - language: "fr", - numberFormat: { - ",": " ", - ".": ",", - "NaN": "Non Numérique", - negativeInfinity: "-Infini", - positiveInfinity: "+Infini", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"], - namesAbbr: ["dim.","lun.","mar.","mer.","jeu.","ven.","sam."], - namesShort: ["di","lu","ma","me","je","ve","sa"] - }, - months: { - names: ["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""], - namesAbbr: ["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""] - }, - AM: null, - PM: null, - eras: [{"name":"ap. J.-C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd d MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dddd d MMMM yyyy HH:mm", - F: "dddd d MMMM yyyy HH:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "sr-Latn-BA", "default", { - name: "sr-Latn-BA", - englishName: "Serbian (Latin, Bosnia and Herzegovina)", - nativeName: "srpski (Bosna i Hercegovina)", - language: "sr-Latn", - numberFormat: { - ",": ".", - ".": ",", - negativeInfinity: "-beskonačnost", - positiveInfinity: "+beskonačnost", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "KM" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["nedelja","ponedeljak","utorak","sreda","četvrtak","petak","subota"], - namesAbbr: ["ned","pon","uto","sre","čet","pet","sub"], - namesShort: ["ne","po","ut","sr","če","pe","su"] - }, - months: { - names: ["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar",""], - namesAbbr: ["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec",""] - }, - AM: null, - PM: null, - eras: [{"name":"n.e.","start":null,"offset":0}], - patterns: { - d: "d.M.yyyy", - D: "d. MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM yyyy H:mm", - F: "d. MMMM yyyy H:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "sma-NO", "default", { - name: "sma-NO", - englishName: "Sami, Southern (Norway)", - nativeName: "åarjelsaemiengiele (Nöörje)", - language: "sma", - numberFormat: { - ",": " ", - ".": ",", - percent: { - pattern: ["-%n","%n"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["$ -n","$ n"], - ",": " ", - ".": ",", - symbol: "kr" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["aejlege","måanta","dæjsta","gaskevåhkoe","duarsta","bearjadahke","laavvardahke"], - namesAbbr: ["aej","måa","dæj","gask","duar","bearj","laav"], - namesShort: ["a","m","d","g","d","b","l"] - }, - months: { - names: ["tsïengele","goevte","njoktje","voerhtje","suehpede","ruffie","snjaltje","mïetske","skïerede","golke","rahka","goeve",""], - namesAbbr: ["tsïen","goevt","njok","voer","sueh","ruff","snja","mïet","skïer","golk","rahk","goev",""] - }, - monthsGenitive: { - names: ["tsïengelen","goevten","njoktjen","voerhtjen","suehpeden","ruffien","snjaltjen","mïetsken","skïereden","golken","rahkan","goeven",""], - namesAbbr: ["tsïen","goevt","njok","voer","sueh","ruff","snja","mïet","skïer","golk","rahk","goev",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "MMMM d'. b. 'yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "MMMM d'. b. 'yyyy HH:mm", - F: "MMMM d'. b. 'yyyy HH:mm:ss", - M: "MMMM d'. b. '", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "ar-TN", "default", { - name: "ar-TN", - englishName: "Arabic (Tunisia)", - nativeName: "العربية (تونس)", - language: "ar", - isRTL: true, - numberFormat: { - pattern: ["n-"], - decimals: 3, - "NaN": "ليس برقم", - negativeInfinity: "-لا نهاية", - positiveInfinity: "+لا نهاية", - percent: { - decimals: 3 - }, - currency: { - pattern: ["$n-","$ n"], - decimals: 3, - symbol: "د.ت.\u200f" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - patterns: { - d: "dd-MM-yyyy", - D: "dd MMMM, yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dd MMMM, yyyy H:mm", - F: "dd MMMM, yyyy H:mm:ss", - M: "dd MMMM" - } - }, - Hijri: { - name: "Hijri", - firstDay: 1, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MM/yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dd/MM/yyyy H:mm", - F: "dd/MM/yyyy H:mm:ss", - M: "dd MMMM" - }, - convert: { - // Adapted to Script from System.Globalization.HijriCalendar - ticks1970: 62135596800000, - // number of days leading up to each month - monthDays: [0, 30, 59, 89, 118, 148, 177, 207, 236, 266, 295, 325, 355], - minDate: -42521673600000, - maxDate: 253402300799999, - // The number of days to add or subtract from the calendar to accommodate the variances - // in the start and the end of Ramadan and to accommodate the date difference between - // countries/regions. May be dynamically adjusted based on user preference, but should - // remain in the range of -2 to 2, inclusive. - hijriAdjustment: 0, - toGregorian: function(hyear, hmonth, hday) { - var daysSinceJan0101 = this.daysToYear(hyear) + this.monthDays[hmonth] + hday - 1 - this.hijriAdjustment; - // 86400000 = ticks per day - var gdate = new Date(daysSinceJan0101 * 86400000 - this.ticks1970); - // adjust for timezone, because we are interested in the gregorian date for the same timezone - // but ticks in javascript is always from GMT, unlike the server were ticks counts from the base - // date in the current timezone. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - return gdate; - }, - fromGregorian: function(gdate) { - if ((gdate < this.minDate) || (gdate > this.maxDate)) return null; - var ticks = this.ticks1970 + (gdate-0) - gdate.getTimezoneOffset() * 60000, - daysSinceJan0101 = Math.floor(ticks / 86400000) + 1 + this.hijriAdjustment; - // very particular formula determined by someone smart, adapted from the server-side implementation. - // it approximates the hijri year. - var hday, hmonth, hyear = Math.floor(((daysSinceJan0101 - 227013) * 30) / 10631) + 1, - absDays = this.daysToYear(hyear), - daysInYear = this.isLeapYear(hyear) ? 355 : 354; - // hyear is just approximate, it may need adjustment up or down by 1. - if (daysSinceJan0101 < absDays) { - hyear--; - absDays -= daysInYear; - } - else if (daysSinceJan0101 === absDays) { - hyear--; - absDays = this.daysToYear(hyear); - } - else { - if (daysSinceJan0101 > (absDays + daysInYear)) { - absDays += daysInYear; - hyear++; - } - } - // determine month by looking at how many days into the hyear we are - // monthDays contains the number of days up to each month. - hmonth = 0; - var daysIntoYear = daysSinceJan0101 - absDays; - while (hmonth <= 11 && daysIntoYear > this.monthDays[hmonth]) { - hmonth++; - } - hmonth--; - hday = daysIntoYear - this.monthDays[hmonth]; - return [hyear, hmonth, hday]; - }, - daysToYear: function(year) { - // calculates how many days since Jan 1, 0001 - var yearsToYear30 = Math.floor((year - 1) / 30) * 30, - yearsInto30 = year - yearsToYear30 - 1, - days = Math.floor((yearsToYear30 * 10631) / 30) + 227013; - while (yearsInto30 > 0) { - days += (this.isLeapYear(yearsInto30) ? 355 : 354); - yearsInto30--; - } - return days; - }, - isLeapYear: function(year) { - return ((((year * 11) + 14) % 30) < 11); - } - } - }, - UmAlQura: { - name: "UmAlQura", - firstDay: 1, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MMMM/yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dd/MMMM/yyyy H:mm", - F: "dd/MMMM/yyyy H:mm:ss", - M: "dd MMMM" - }, - convert: { - _yearInfo: [ - // MonthLengthFlags, Gregorian Date - [746, -2198707200000], - [1769, -2168121600000], - [3794, -2137449600000], - [3748, -2106777600000], - [3402, -2076192000000], - [2710, -2045606400000], - [1334, -2015020800000], - [2741, -1984435200000], - [3498, -1953763200000], - [2980, -1923091200000], - [2889, -1892505600000], - [2707, -1861920000000], - [1323, -1831334400000], - [2647, -1800748800000], - [1206, -1770076800000], - [2741, -1739491200000], - [1450, -1708819200000], - [3413, -1678233600000], - [3370, -1647561600000], - [2646, -1616976000000], - [1198, -1586390400000], - [2397, -1555804800000], - [748, -1525132800000], - [1749, -1494547200000], - [1706, -1463875200000], - [1365, -1433289600000], - [1195, -1402704000000], - [2395, -1372118400000], - [698, -1341446400000], - [1397, -1310860800000], - [2994, -1280188800000], - [1892, -1249516800000], - [1865, -1218931200000], - [1621, -1188345600000], - [683, -1157760000000], - [1371, -1127174400000], - [2778, -1096502400000], - [1748, -1065830400000], - [3785, -1035244800000], - [3474, -1004572800000], - [3365, -973987200000], - [2637, -943401600000], - [685, -912816000000], - [1389, -882230400000], - [2922, -851558400000], - [2898, -820886400000], - [2725, -790300800000], - [2635, -759715200000], - [1175, -729129600000], - [2359, -698544000000], - [694, -667872000000], - [1397, -637286400000], - [3434, -606614400000], - [3410, -575942400000], - [2710, -545356800000], - [2349, -514771200000], - [605, -484185600000], - [1245, -453600000000], - [2778, -422928000000], - [1492, -392256000000], - [3497, -361670400000], - [3410, -330998400000], - [2730, -300412800000], - [1238, -269827200000], - [2486, -239241600000], - [884, -208569600000], - [1897, -177984000000], - [1874, -147312000000], - [1701, -116726400000], - [1355, -86140800000], - [2731, -55555200000], - [1370, -24883200000], - [2773, 5702400000], - [3538, 36374400000], - [3492, 67046400000], - [3401, 97632000000], - [2709, 128217600000], - [1325, 158803200000], - [2653, 189388800000], - [1370, 220060800000], - [2773, 250646400000], - [1706, 281318400000], - [1685, 311904000000], - [1323, 342489600000], - [2647, 373075200000], - [1198, 403747200000], - [2422, 434332800000], - [1388, 465004800000], - [2901, 495590400000], - [2730, 526262400000], - [2645, 556848000000], - [1197, 587433600000], - [2397, 618019200000], - [730, 648691200000], - [1497, 679276800000], - [3506, 709948800000], - [2980, 740620800000], - [2890, 771206400000], - [2645, 801792000000], - [693, 832377600000], - [1397, 862963200000], - [2922, 893635200000], - [3026, 924307200000], - [3012, 954979200000], - [2953, 985564800000], - [2709, 1016150400000], - [1325, 1046736000000], - [1453, 1077321600000], - [2922, 1107993600000], - [1748, 1138665600000], - [3529, 1169251200000], - [3474, 1199923200000], - [2726, 1230508800000], - [2390, 1261094400000], - [686, 1291680000000], - [1389, 1322265600000], - [874, 1352937600000], - [2901, 1383523200000], - [2730, 1414195200000], - [2381, 1444780800000], - [1181, 1475366400000], - [2397, 1505952000000], - [698, 1536624000000], - [1461, 1567209600000], - [1450, 1597881600000], - [3413, 1628467200000], - [2714, 1659139200000], - [2350, 1689724800000], - [622, 1720310400000], - [1373, 1750896000000], - [2778, 1781568000000], - [1748, 1812240000000], - [1701, 1842825600000], - [0, 1873411200000] - ], - minDate: -2198707200000, - maxDate: 1873411199999, - toGregorian: function(hyear, hmonth, hday) { - var days = hday - 1, - gyear = hyear - 1318; - if (gyear < 0 || gyear >= this._yearInfo.length) return null; - var info = this._yearInfo[gyear], - gdate = new Date(info[1]), - monthLength = info[0]; - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the gregorian date in the same timezone, - // not what the gregorian date was at GMT time, so we adjust for the offset. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - for (var i = 0; i < hmonth; i++) { - days += 29 + (monthLength & 1); - monthLength = monthLength >> 1; - } - gdate.setDate(gdate.getDate() + days); - return gdate; - }, - fromGregorian: function(gdate) { - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the hijri date in the same timezone, - // not what the hijri date was at GMT time, so we adjust for the offset. - var ticks = gdate - gdate.getTimezoneOffset() * 60000; - if (ticks < this.minDate || ticks > this.maxDate) return null; - var hyear = 0, - hmonth = 1; - // find the earliest gregorian date in the array that is greater than or equal to the given date - while (ticks > this._yearInfo[++hyear][1]) { } - if (ticks !== this._yearInfo[hyear][1]) { - hyear--; - } - var info = this._yearInfo[hyear], - // how many days has it been since the date we found in the array? - // 86400000 = ticks per day - days = Math.floor((ticks - info[1]) / 86400000), - monthLength = info[0]; - hyear += 1318; // the Nth array entry corresponds to hijri year 1318+N - // now increment day/month based on the total days, considering - // how many days are in each month. We cannot run past the year - // mark since we would have found a different array entry in that case. - var daysInMonth = 29 + (monthLength & 1); - while (days >= daysInMonth) { - days -= daysInMonth; - monthLength = monthLength >> 1; - daysInMonth = 29 + (monthLength & 1); - hmonth++; - } - // remaining days is less than is in one month, thus is the day of the month we landed on - // hmonth-1 because in javascript months are zero based, stay consistent with that. - return [hyear, hmonth - 1, days + 1]; - } - } - }, - Gregorian_MiddleEastFrench: { - name: "Gregorian_MiddleEastFrench", - firstDay: 1, - days: { - names: ["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"], - namesAbbr: ["dim.","lun.","mar.","mer.","jeu.","ven.","sam."], - namesShort: ["di","lu","ma","me","je","ve","sa"] - }, - months: { - names: ["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""], - namesAbbr: ["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"ap. J.-C.","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dddd, MMMM dd, yyyy H:mm", - F: "dddd, MMMM dd, yyyy H:mm:ss", - M: "dd MMMM" - } - }, - Gregorian_Arabic: { - name: "Gregorian_Arabic", - firstDay: 1, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""], - namesAbbr: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dddd, MMMM dd, yyyy H:mm", - F: "dddd, MMMM dd, yyyy H:mm:ss" - } - }, - Gregorian_TransliteratedEnglish: { - name: "Gregorian_TransliteratedEnglish", - firstDay: 1, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["أ","ا","ث","أ","خ","ج","س"] - }, - months: { - names: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["يناير","فبراير","مارس","ابريل","مايو","يونيو","يوليو","اغسطس","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dddd, MMMM dd, yyyy H:mm", - F: "dddd, MMMM dd, yyyy H:mm:ss" - } - } - } -}); - -Globalize.addCultureInfo( "en-ZA", "default", { - name: "en-ZA", - englishName: "English (South Africa)", - nativeName: "English (South Africa)", - numberFormat: { - ",": " ", - percent: { - pattern: ["-n%","n%"], - ",": " " - }, - currency: { - pattern: ["$-n","$ n"], - ",": " ", - ".": ",", - symbol: "R" - } - }, - calendars: { - standard: { - patterns: { - d: "yyyy/MM/dd", - D: "dd MMMM yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd MMMM yyyy hh:mm tt", - F: "dd MMMM yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "es-DO", "default", { - name: "es-DO", - englishName: "Spanish (Dominican Republic)", - nativeName: "Español (República Dominicana)", - language: "es", - numberFormat: { - "NaN": "NeuN", - negativeInfinity: "-Infinito", - positiveInfinity: "Infinito", - currency: { - symbol: "RD$" - } - }, - calendars: { - standard: { - days: { - names: ["domingo","lunes","martes","miércoles","jueves","viernes","sábado"], - namesAbbr: ["dom","lun","mar","mié","jue","vie","sáb"], - namesShort: ["do","lu","ma","mi","ju","vi","sá"] - }, - months: { - names: ["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""], - namesAbbr: ["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""] - }, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, dd' de 'MMMM' de 'yyyy hh:mm tt", - F: "dddd, dd' de 'MMMM' de 'yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "sr-Cyrl-BA", "default", { - name: "sr-Cyrl-BA", - englishName: "Serbian (Cyrillic, Bosnia and Herzegovina)", - nativeName: "српски (Босна и Херцеговина)", - language: "sr-Cyrl", - numberFormat: { - ",": ".", - ".": ",", - negativeInfinity: "-бесконачност", - positiveInfinity: "+бесконачност", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "КМ" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["недеља","понедељак","уторак","среда","четвртак","петак","субота"], - namesAbbr: ["нед","пон","уто","сре","чет","пет","суб"], - namesShort: ["н","п","у","с","ч","п","с"] - }, - months: { - names: ["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар",""], - namesAbbr: ["јан","феб","мар","апр","мај","јун","јул","авг","сеп","окт","нов","дец",""] - }, - AM: null, - PM: null, - eras: [{"name":"н.е.","start":null,"offset":0}], - patterns: { - d: "d.M.yyyy", - D: "d. MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM yyyy H:mm", - F: "d. MMMM yyyy H:mm:ss", - M: "d. MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "sma-SE", "default", { - name: "sma-SE", - englishName: "Sami, Southern (Sweden)", - nativeName: "åarjelsaemiengiele (Sveerje)", - language: "sma", - numberFormat: { - ",": " ", - ".": ",", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "kr" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["aejlege","måanta","dæjsta","gaskevåhkoe","duarsta","bearjadahke","laavvardahke"], - namesAbbr: ["aej","måa","dæj","gask","duar","bearj","laav"], - namesShort: ["a","m","d","g","d","b","l"] - }, - months: { - names: ["tsïengele","goevte","njoktje","voerhtje","suehpede","ruffie","snjaltje","mïetske","skïerede","golke","rahka","goeve",""], - namesAbbr: ["tsïen","goevt","njok","voer","sueh","ruff","snja","mïet","skïer","golk","rahk","goev",""] - }, - monthsGenitive: { - names: ["tsïengelen","goevten","njoktjen","voerhtjen","suehpeden","ruffien","snjaltjen","mïetsken","skïereden","golken","rahkan","goeven",""], - namesAbbr: ["tsïen","goevt","njok","voer","sueh","ruff","snja","mïet","skïer","golk","rahk","goev",""] - }, - AM: null, - PM: null, - patterns: { - d: "yyyy-MM-dd", - D: "MMMM d'. b. 'yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "MMMM d'. b. 'yyyy HH:mm", - F: "MMMM d'. b. 'yyyy HH:mm:ss", - M: "MMMM d'. b. '", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "ar-OM", "default", { - name: "ar-OM", - englishName: "Arabic (Oman)", - nativeName: "العربية (عمان)", - language: "ar", - isRTL: true, - numberFormat: { - pattern: ["n-"], - "NaN": "ليس برقم", - negativeInfinity: "-لا نهاية", - positiveInfinity: "+لا نهاية", - currency: { - pattern: ["$n-","$ n"], - decimals: 3, - symbol: "ر.ع.\u200f" - } - }, - calendars: { - standard: { - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM, yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd MMMM, yyyy hh:mm tt", - F: "dd MMMM, yyyy hh:mm:ss tt", - M: "dd MMMM" - } - }, - Hijri: { - name: "Hijri", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MM/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd/MM/yyyy hh:mm tt", - F: "dd/MM/yyyy hh:mm:ss tt", - M: "dd MMMM" - }, - convert: { - // Adapted to Script from System.Globalization.HijriCalendar - ticks1970: 62135596800000, - // number of days leading up to each month - monthDays: [0, 30, 59, 89, 118, 148, 177, 207, 236, 266, 295, 325, 355], - minDate: -42521673600000, - maxDate: 253402300799999, - // The number of days to add or subtract from the calendar to accommodate the variances - // in the start and the end of Ramadan and to accommodate the date difference between - // countries/regions. May be dynamically adjusted based on user preference, but should - // remain in the range of -2 to 2, inclusive. - hijriAdjustment: 0, - toGregorian: function(hyear, hmonth, hday) { - var daysSinceJan0101 = this.daysToYear(hyear) + this.monthDays[hmonth] + hday - 1 - this.hijriAdjustment; - // 86400000 = ticks per day - var gdate = new Date(daysSinceJan0101 * 86400000 - this.ticks1970); - // adjust for timezone, because we are interested in the gregorian date for the same timezone - // but ticks in javascript is always from GMT, unlike the server were ticks counts from the base - // date in the current timezone. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - return gdate; - }, - fromGregorian: function(gdate) { - if ((gdate < this.minDate) || (gdate > this.maxDate)) return null; - var ticks = this.ticks1970 + (gdate-0) - gdate.getTimezoneOffset() * 60000, - daysSinceJan0101 = Math.floor(ticks / 86400000) + 1 + this.hijriAdjustment; - // very particular formula determined by someone smart, adapted from the server-side implementation. - // it approximates the hijri year. - var hday, hmonth, hyear = Math.floor(((daysSinceJan0101 - 227013) * 30) / 10631) + 1, - absDays = this.daysToYear(hyear), - daysInYear = this.isLeapYear(hyear) ? 355 : 354; - // hyear is just approximate, it may need adjustment up or down by 1. - if (daysSinceJan0101 < absDays) { - hyear--; - absDays -= daysInYear; - } - else if (daysSinceJan0101 === absDays) { - hyear--; - absDays = this.daysToYear(hyear); - } - else { - if (daysSinceJan0101 > (absDays + daysInYear)) { - absDays += daysInYear; - hyear++; - } - } - // determine month by looking at how many days into the hyear we are - // monthDays contains the number of days up to each month. - hmonth = 0; - var daysIntoYear = daysSinceJan0101 - absDays; - while (hmonth <= 11 && daysIntoYear > this.monthDays[hmonth]) { - hmonth++; - } - hmonth--; - hday = daysIntoYear - this.monthDays[hmonth]; - return [hyear, hmonth, hday]; - }, - daysToYear: function(year) { - // calculates how many days since Jan 1, 0001 - var yearsToYear30 = Math.floor((year - 1) / 30) * 30, - yearsInto30 = year - yearsToYear30 - 1, - days = Math.floor((yearsToYear30 * 10631) / 30) + 227013; - while (yearsInto30 > 0) { - days += (this.isLeapYear(yearsInto30) ? 355 : 354); - yearsInto30--; - } - return days; - }, - isLeapYear: function(year) { - return ((((year * 11) + 14) % 30) < 11); - } - } - }, - UmAlQura: { - name: "UmAlQura", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MMMM/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd/MMMM/yyyy hh:mm tt", - F: "dd/MMMM/yyyy hh:mm:ss tt", - M: "dd MMMM" - }, - convert: { - _yearInfo: [ - // MonthLengthFlags, Gregorian Date - [746, -2198707200000], - [1769, -2168121600000], - [3794, -2137449600000], - [3748, -2106777600000], - [3402, -2076192000000], - [2710, -2045606400000], - [1334, -2015020800000], - [2741, -1984435200000], - [3498, -1953763200000], - [2980, -1923091200000], - [2889, -1892505600000], - [2707, -1861920000000], - [1323, -1831334400000], - [2647, -1800748800000], - [1206, -1770076800000], - [2741, -1739491200000], - [1450, -1708819200000], - [3413, -1678233600000], - [3370, -1647561600000], - [2646, -1616976000000], - [1198, -1586390400000], - [2397, -1555804800000], - [748, -1525132800000], - [1749, -1494547200000], - [1706, -1463875200000], - [1365, -1433289600000], - [1195, -1402704000000], - [2395, -1372118400000], - [698, -1341446400000], - [1397, -1310860800000], - [2994, -1280188800000], - [1892, -1249516800000], - [1865, -1218931200000], - [1621, -1188345600000], - [683, -1157760000000], - [1371, -1127174400000], - [2778, -1096502400000], - [1748, -1065830400000], - [3785, -1035244800000], - [3474, -1004572800000], - [3365, -973987200000], - [2637, -943401600000], - [685, -912816000000], - [1389, -882230400000], - [2922, -851558400000], - [2898, -820886400000], - [2725, -790300800000], - [2635, -759715200000], - [1175, -729129600000], - [2359, -698544000000], - [694, -667872000000], - [1397, -637286400000], - [3434, -606614400000], - [3410, -575942400000], - [2710, -545356800000], - [2349, -514771200000], - [605, -484185600000], - [1245, -453600000000], - [2778, -422928000000], - [1492, -392256000000], - [3497, -361670400000], - [3410, -330998400000], - [2730, -300412800000], - [1238, -269827200000], - [2486, -239241600000], - [884, -208569600000], - [1897, -177984000000], - [1874, -147312000000], - [1701, -116726400000], - [1355, -86140800000], - [2731, -55555200000], - [1370, -24883200000], - [2773, 5702400000], - [3538, 36374400000], - [3492, 67046400000], - [3401, 97632000000], - [2709, 128217600000], - [1325, 158803200000], - [2653, 189388800000], - [1370, 220060800000], - [2773, 250646400000], - [1706, 281318400000], - [1685, 311904000000], - [1323, 342489600000], - [2647, 373075200000], - [1198, 403747200000], - [2422, 434332800000], - [1388, 465004800000], - [2901, 495590400000], - [2730, 526262400000], - [2645, 556848000000], - [1197, 587433600000], - [2397, 618019200000], - [730, 648691200000], - [1497, 679276800000], - [3506, 709948800000], - [2980, 740620800000], - [2890, 771206400000], - [2645, 801792000000], - [693, 832377600000], - [1397, 862963200000], - [2922, 893635200000], - [3026, 924307200000], - [3012, 954979200000], - [2953, 985564800000], - [2709, 1016150400000], - [1325, 1046736000000], - [1453, 1077321600000], - [2922, 1107993600000], - [1748, 1138665600000], - [3529, 1169251200000], - [3474, 1199923200000], - [2726, 1230508800000], - [2390, 1261094400000], - [686, 1291680000000], - [1389, 1322265600000], - [874, 1352937600000], - [2901, 1383523200000], - [2730, 1414195200000], - [2381, 1444780800000], - [1181, 1475366400000], - [2397, 1505952000000], - [698, 1536624000000], - [1461, 1567209600000], - [1450, 1597881600000], - [3413, 1628467200000], - [2714, 1659139200000], - [2350, 1689724800000], - [622, 1720310400000], - [1373, 1750896000000], - [2778, 1781568000000], - [1748, 1812240000000], - [1701, 1842825600000], - [0, 1873411200000] - ], - minDate: -2198707200000, - maxDate: 1873411199999, - toGregorian: function(hyear, hmonth, hday) { - var days = hday - 1, - gyear = hyear - 1318; - if (gyear < 0 || gyear >= this._yearInfo.length) return null; - var info = this._yearInfo[gyear], - gdate = new Date(info[1]), - monthLength = info[0]; - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the gregorian date in the same timezone, - // not what the gregorian date was at GMT time, so we adjust for the offset. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - for (var i = 0; i < hmonth; i++) { - days += 29 + (monthLength & 1); - monthLength = monthLength >> 1; - } - gdate.setDate(gdate.getDate() + days); - return gdate; - }, - fromGregorian: function(gdate) { - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the hijri date in the same timezone, - // not what the hijri date was at GMT time, so we adjust for the offset. - var ticks = gdate - gdate.getTimezoneOffset() * 60000; - if (ticks < this.minDate || ticks > this.maxDate) return null; - var hyear = 0, - hmonth = 1; - // find the earliest gregorian date in the array that is greater than or equal to the given date - while (ticks > this._yearInfo[++hyear][1]) { } - if (ticks !== this._yearInfo[hyear][1]) { - hyear--; - } - var info = this._yearInfo[hyear], - // how many days has it been since the date we found in the array? - // 86400000 = ticks per day - days = Math.floor((ticks - info[1]) / 86400000), - monthLength = info[0]; - hyear += 1318; // the Nth array entry corresponds to hijri year 1318+N - // now increment day/month based on the total days, considering - // how many days are in each month. We cannot run past the year - // mark since we would have found a different array entry in that case. - var daysInMonth = 29 + (monthLength & 1); - while (days >= daysInMonth) { - days -= daysInMonth; - monthLength = monthLength >> 1; - daysInMonth = 29 + (monthLength & 1); - hmonth++; - } - // remaining days is less than is in one month, thus is the day of the month we landed on - // hmonth-1 because in javascript months are zero based, stay consistent with that. - return [hyear, hmonth - 1, days + 1]; - } - } - }, - Gregorian_MiddleEastFrench: { - name: "Gregorian_MiddleEastFrench", - firstDay: 6, - days: { - names: ["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"], - namesAbbr: ["dim.","lun.","mar.","mer.","jeu.","ven.","sam."], - namesShort: ["di","lu","ma","me","je","ve","sa"] - }, - months: { - names: ["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""], - namesAbbr: ["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"ap. J.-C.","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt", - M: "dd MMMM" - } - }, - Gregorian_Arabic: { - name: "Gregorian_Arabic", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""], - namesAbbr: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - }, - Gregorian_TransliteratedFrench: { - name: "Gregorian_TransliteratedFrench", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - } - } -}); - -Globalize.addCultureInfo( "en-JM", "default", { - name: "en-JM", - englishName: "English (Jamaica)", - nativeName: "English (Jamaica)", - numberFormat: { - currency: { - pattern: ["-$n","$n"], - symbol: "J$" - } - }, - calendars: { - standard: { - patterns: { - d: "dd/MM/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - } - } -}); - -Globalize.addCultureInfo( "es-VE", "default", { - name: "es-VE", - englishName: "Spanish (Bolivarian Republic of Venezuela)", - nativeName: "Español (Republica Bolivariana de Venezuela)", - language: "es", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "NeuN", - negativeInfinity: "-Infinito", - positiveInfinity: "Infinito", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["$ -n","$ n"], - ",": ".", - ".": ",", - symbol: "Bs. F." - } - }, - calendars: { - standard: { - days: { - names: ["domingo","lunes","martes","miércoles","jueves","viernes","sábado"], - namesAbbr: ["dom","lun","mar","mié","jue","vie","sáb"], - namesShort: ["do","lu","ma","mi","ju","vi","sá"] - }, - months: { - names: ["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""], - namesAbbr: ["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""] - }, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, dd' de 'MMMM' de 'yyyy hh:mm tt", - F: "dddd, dd' de 'MMMM' de 'yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "bs-Cyrl-BA", "default", { - name: "bs-Cyrl-BA", - englishName: "Bosnian (Cyrillic, Bosnia and Herzegovina)", - nativeName: "босански (Босна и Херцеговина)", - language: "bs-Cyrl", - numberFormat: { - ",": ".", - ".": ",", - negativeInfinity: "-бесконачност", - positiveInfinity: "+бесконачност", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "КМ" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["недјеља","понедјељак","уторак","сриједа","четвртак","петак","субота"], - namesAbbr: ["нед","пон","уто","сре","чет","пет","суб"], - namesShort: ["н","п","у","с","ч","п","с"] - }, - months: { - names: ["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар",""], - namesAbbr: ["јан","феб","мар","апр","мај","јун","јул","авг","сеп","окт","нов","дец",""] - }, - AM: null, - PM: null, - eras: [{"name":"н.е.","start":null,"offset":0}], - patterns: { - d: "d.M.yyyy", - D: "d. MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM yyyy H:mm", - F: "d. MMMM yyyy H:mm:ss", - M: "d. MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "sms-FI", "default", { - name: "sms-FI", - englishName: "Sami, Skolt (Finland)", - nativeName: "sääm´ǩiõll (Lää´ddjânnam)", - language: "sms", - numberFormat: { - ",": " ", - ".": ",", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["pâ´sspei´vv","vuõssargg","mââibargg","seärad","nelljdpei´vv","piâtnâc","sue´vet"], - namesAbbr: ["pâ","vu","mâ","se","ne","pi","su"], - namesShort: ["p","v","m","s","n","p","s"] - }, - months: { - names: ["ođđee´jjmään","tä´lvvmään","pâ´zzlâšttammään","njuhččmään","vue´ssmään","ǩie´ssmään","suei´nnmään","på´rǧǧmään","čõhččmään","kålggmään","skamm´mään","rosttovmään",""], - namesAbbr: ["ođjm","tä´lvv","pâzl","njuh","vue","ǩie","suei","på´r","čõh","kålg","ska","rost",""] - }, - monthsGenitive: { - names: ["ođđee´jjmannu","tä´lvvmannu","pâ´zzlâšttammannu","njuhččmannu","vue´ssmannu","ǩie´ssmannu","suei´nnmannu","på´rǧǧmannu","čõhččmannu","kålggmannu","skamm´mannu","rosttovmannu",""], - namesAbbr: ["ođjm","tä´lvv","pâzl","njuh","vue","ǩie","suei","på´r","čõh","kålg","ska","rost",""] - }, - AM: null, - PM: null, - patterns: { - d: "d.M.yyyy", - D: "MMMM d'. p. 'yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "MMMM d'. p. 'yyyy H:mm", - F: "MMMM d'. p. 'yyyy H:mm:ss", - M: "MMMM d'. p. '", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "ar-YE", "default", { - name: "ar-YE", - englishName: "Arabic (Yemen)", - nativeName: "العربية (اليمن)", - language: "ar", - isRTL: true, - numberFormat: { - pattern: ["n-"], - "NaN": "ليس برقم", - negativeInfinity: "-لا نهاية", - positiveInfinity: "+لا نهاية", - currency: { - pattern: ["$n-","$ n"], - symbol: "ر.ي.\u200f" - } - }, - calendars: { - standard: { - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM, yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd MMMM, yyyy hh:mm tt", - F: "dd MMMM, yyyy hh:mm:ss tt", - M: "dd MMMM" - } - }, - UmAlQura: { - name: "UmAlQura", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MMMM/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd/MMMM/yyyy hh:mm tt", - F: "dd/MMMM/yyyy hh:mm:ss tt", - M: "dd MMMM" - }, - convert: { - _yearInfo: [ - // MonthLengthFlags, Gregorian Date - [746, -2198707200000], - [1769, -2168121600000], - [3794, -2137449600000], - [3748, -2106777600000], - [3402, -2076192000000], - [2710, -2045606400000], - [1334, -2015020800000], - [2741, -1984435200000], - [3498, -1953763200000], - [2980, -1923091200000], - [2889, -1892505600000], - [2707, -1861920000000], - [1323, -1831334400000], - [2647, -1800748800000], - [1206, -1770076800000], - [2741, -1739491200000], - [1450, -1708819200000], - [3413, -1678233600000], - [3370, -1647561600000], - [2646, -1616976000000], - [1198, -1586390400000], - [2397, -1555804800000], - [748, -1525132800000], - [1749, -1494547200000], - [1706, -1463875200000], - [1365, -1433289600000], - [1195, -1402704000000], - [2395, -1372118400000], - [698, -1341446400000], - [1397, -1310860800000], - [2994, -1280188800000], - [1892, -1249516800000], - [1865, -1218931200000], - [1621, -1188345600000], - [683, -1157760000000], - [1371, -1127174400000], - [2778, -1096502400000], - [1748, -1065830400000], - [3785, -1035244800000], - [3474, -1004572800000], - [3365, -973987200000], - [2637, -943401600000], - [685, -912816000000], - [1389, -882230400000], - [2922, -851558400000], - [2898, -820886400000], - [2725, -790300800000], - [2635, -759715200000], - [1175, -729129600000], - [2359, -698544000000], - [694, -667872000000], - [1397, -637286400000], - [3434, -606614400000], - [3410, -575942400000], - [2710, -545356800000], - [2349, -514771200000], - [605, -484185600000], - [1245, -453600000000], - [2778, -422928000000], - [1492, -392256000000], - [3497, -361670400000], - [3410, -330998400000], - [2730, -300412800000], - [1238, -269827200000], - [2486, -239241600000], - [884, -208569600000], - [1897, -177984000000], - [1874, -147312000000], - [1701, -116726400000], - [1355, -86140800000], - [2731, -55555200000], - [1370, -24883200000], - [2773, 5702400000], - [3538, 36374400000], - [3492, 67046400000], - [3401, 97632000000], - [2709, 128217600000], - [1325, 158803200000], - [2653, 189388800000], - [1370, 220060800000], - [2773, 250646400000], - [1706, 281318400000], - [1685, 311904000000], - [1323, 342489600000], - [2647, 373075200000], - [1198, 403747200000], - [2422, 434332800000], - [1388, 465004800000], - [2901, 495590400000], - [2730, 526262400000], - [2645, 556848000000], - [1197, 587433600000], - [2397, 618019200000], - [730, 648691200000], - [1497, 679276800000], - [3506, 709948800000], - [2980, 740620800000], - [2890, 771206400000], - [2645, 801792000000], - [693, 832377600000], - [1397, 862963200000], - [2922, 893635200000], - [3026, 924307200000], - [3012, 954979200000], - [2953, 985564800000], - [2709, 1016150400000], - [1325, 1046736000000], - [1453, 1077321600000], - [2922, 1107993600000], - [1748, 1138665600000], - [3529, 1169251200000], - [3474, 1199923200000], - [2726, 1230508800000], - [2390, 1261094400000], - [686, 1291680000000], - [1389, 1322265600000], - [874, 1352937600000], - [2901, 1383523200000], - [2730, 1414195200000], - [2381, 1444780800000], - [1181, 1475366400000], - [2397, 1505952000000], - [698, 1536624000000], - [1461, 1567209600000], - [1450, 1597881600000], - [3413, 1628467200000], - [2714, 1659139200000], - [2350, 1689724800000], - [622, 1720310400000], - [1373, 1750896000000], - [2778, 1781568000000], - [1748, 1812240000000], - [1701, 1842825600000], - [0, 1873411200000] - ], - minDate: -2198707200000, - maxDate: 1873411199999, - toGregorian: function(hyear, hmonth, hday) { - var days = hday - 1, - gyear = hyear - 1318; - if (gyear < 0 || gyear >= this._yearInfo.length) return null; - var info = this._yearInfo[gyear], - gdate = new Date(info[1]), - monthLength = info[0]; - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the gregorian date in the same timezone, - // not what the gregorian date was at GMT time, so we adjust for the offset. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - for (var i = 0; i < hmonth; i++) { - days += 29 + (monthLength & 1); - monthLength = monthLength >> 1; - } - gdate.setDate(gdate.getDate() + days); - return gdate; - }, - fromGregorian: function(gdate) { - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the hijri date in the same timezone, - // not what the hijri date was at GMT time, so we adjust for the offset. - var ticks = gdate - gdate.getTimezoneOffset() * 60000; - if (ticks < this.minDate || ticks > this.maxDate) return null; - var hyear = 0, - hmonth = 1; - // find the earliest gregorian date in the array that is greater than or equal to the given date - while (ticks > this._yearInfo[++hyear][1]) { } - if (ticks !== this._yearInfo[hyear][1]) { - hyear--; - } - var info = this._yearInfo[hyear], - // how many days has it been since the date we found in the array? - // 86400000 = ticks per day - days = Math.floor((ticks - info[1]) / 86400000), - monthLength = info[0]; - hyear += 1318; // the Nth array entry corresponds to hijri year 1318+N - // now increment day/month based on the total days, considering - // how many days are in each month. We cannot run past the year - // mark since we would have found a different array entry in that case. - var daysInMonth = 29 + (monthLength & 1); - while (days >= daysInMonth) { - days -= daysInMonth; - monthLength = monthLength >> 1; - daysInMonth = 29 + (monthLength & 1); - hmonth++; - } - // remaining days is less than is in one month, thus is the day of the month we landed on - // hmonth-1 because in javascript months are zero based, stay consistent with that. - return [hyear, hmonth - 1, days + 1]; - } - } - }, - Hijri: { - name: "Hijri", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MM/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd/MM/yyyy hh:mm tt", - F: "dd/MM/yyyy hh:mm:ss tt", - M: "dd MMMM" - }, - convert: { - // Adapted to Script from System.Globalization.HijriCalendar - ticks1970: 62135596800000, - // number of days leading up to each month - monthDays: [0, 30, 59, 89, 118, 148, 177, 207, 236, 266, 295, 325, 355], - minDate: -42521673600000, - maxDate: 253402300799999, - // The number of days to add or subtract from the calendar to accommodate the variances - // in the start and the end of Ramadan and to accommodate the date difference between - // countries/regions. May be dynamically adjusted based on user preference, but should - // remain in the range of -2 to 2, inclusive. - hijriAdjustment: 0, - toGregorian: function(hyear, hmonth, hday) { - var daysSinceJan0101 = this.daysToYear(hyear) + this.monthDays[hmonth] + hday - 1 - this.hijriAdjustment; - // 86400000 = ticks per day - var gdate = new Date(daysSinceJan0101 * 86400000 - this.ticks1970); - // adjust for timezone, because we are interested in the gregorian date for the same timezone - // but ticks in javascript is always from GMT, unlike the server were ticks counts from the base - // date in the current timezone. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - return gdate; - }, - fromGregorian: function(gdate) { - if ((gdate < this.minDate) || (gdate > this.maxDate)) return null; - var ticks = this.ticks1970 + (gdate-0) - gdate.getTimezoneOffset() * 60000, - daysSinceJan0101 = Math.floor(ticks / 86400000) + 1 + this.hijriAdjustment; - // very particular formula determined by someone smart, adapted from the server-side implementation. - // it approximates the hijri year. - var hday, hmonth, hyear = Math.floor(((daysSinceJan0101 - 227013) * 30) / 10631) + 1, - absDays = this.daysToYear(hyear), - daysInYear = this.isLeapYear(hyear) ? 355 : 354; - // hyear is just approximate, it may need adjustment up or down by 1. - if (daysSinceJan0101 < absDays) { - hyear--; - absDays -= daysInYear; - } - else if (daysSinceJan0101 === absDays) { - hyear--; - absDays = this.daysToYear(hyear); - } - else { - if (daysSinceJan0101 > (absDays + daysInYear)) { - absDays += daysInYear; - hyear++; - } - } - // determine month by looking at how many days into the hyear we are - // monthDays contains the number of days up to each month. - hmonth = 0; - var daysIntoYear = daysSinceJan0101 - absDays; - while (hmonth <= 11 && daysIntoYear > this.monthDays[hmonth]) { - hmonth++; - } - hmonth--; - hday = daysIntoYear - this.monthDays[hmonth]; - return [hyear, hmonth, hday]; - }, - daysToYear: function(year) { - // calculates how many days since Jan 1, 0001 - var yearsToYear30 = Math.floor((year - 1) / 30) * 30, - yearsInto30 = year - yearsToYear30 - 1, - days = Math.floor((yearsToYear30 * 10631) / 30) + 227013; - while (yearsInto30 > 0) { - days += (this.isLeapYear(yearsInto30) ? 355 : 354); - yearsInto30--; - } - return days; - }, - isLeapYear: function(year) { - return ((((year * 11) + 14) % 30) < 11); - } - } - }, - Gregorian_MiddleEastFrench: { - name: "Gregorian_MiddleEastFrench", - firstDay: 6, - days: { - names: ["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"], - namesAbbr: ["dim.","lun.","mar.","mer.","jeu.","ven.","sam."], - namesShort: ["di","lu","ma","me","je","ve","sa"] - }, - months: { - names: ["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""], - namesAbbr: ["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"ap. J.-C.","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt", - M: "dd MMMM" - } - }, - Gregorian_Arabic: { - name: "Gregorian_Arabic", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""], - namesAbbr: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - }, - Gregorian_TransliteratedFrench: { - name: "Gregorian_TransliteratedFrench", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - } - } -}); - -Globalize.addCultureInfo( "en-029", "default", { - name: "en-029", - englishName: "English (Caribbean)", - nativeName: "English (Caribbean)", - numberFormat: { - currency: { - pattern: ["-$n","$n"] - } - }, - calendars: { - standard: { - firstDay: 1, - patterns: { - d: "MM/dd/yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "es-CO", "default", { - name: "es-CO", - englishName: "Spanish (Colombia)", - nativeName: "Español (Colombia)", - language: "es", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "NeuN", - negativeInfinity: "-Infinito", - positiveInfinity: "Infinito", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["($ n)","$ n"], - ",": ".", - ".": "," - } - }, - calendars: { - standard: { - days: { - names: ["domingo","lunes","martes","miércoles","jueves","viernes","sábado"], - namesAbbr: ["dom","lun","mar","mié","jue","vie","sáb"], - namesShort: ["do","lu","ma","mi","ju","vi","sá"] - }, - months: { - names: ["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""], - namesAbbr: ["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""] - }, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, dd' de 'MMMM' de 'yyyy hh:mm tt", - F: "dddd, dd' de 'MMMM' de 'yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "sr-Latn-RS", "default", { - name: "sr-Latn-RS", - englishName: "Serbian (Latin, Serbia)", - nativeName: "srpski (Srbija)", - language: "sr-Latn", - numberFormat: { - ",": ".", - ".": ",", - negativeInfinity: "-beskonačnost", - positiveInfinity: "+beskonačnost", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "Din." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["nedelja","ponedeljak","utorak","sreda","četvrtak","petak","subota"], - namesAbbr: ["ned","pon","uto","sre","čet","pet","sub"], - namesShort: ["ne","po","ut","sr","če","pe","su"] - }, - months: { - names: ["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar",""], - namesAbbr: ["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec",""] - }, - AM: null, - PM: null, - eras: [{"name":"n.e.","start":null,"offset":0}], - patterns: { - d: "d.M.yyyy", - D: "d. MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM yyyy H:mm", - F: "d. MMMM yyyy H:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "smn-FI", "default", { - name: "smn-FI", - englishName: "Sami, Inari (Finland)", - nativeName: "sämikielâ (Suomâ)", - language: "smn", - numberFormat: { - ",": " ", - ".": ",", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["pasepeivi","vuossargâ","majebargâ","koskokko","tuorâstâh","vástuppeivi","lávárdâh"], - namesAbbr: ["pa","vu","ma","ko","tu","vá","lá"], - namesShort: ["p","v","m","k","t","v","l"] - }, - months: { - names: ["uđđâivemáánu","kuovâmáánu","njuhčâmáánu","cuáŋuimáánu","vyesimáánu","kesimáánu","syeinimáánu","porgemáánu","čohčâmáánu","roovvâdmáánu","skammâmáánu","juovlâmáánu",""], - namesAbbr: ["uđiv","kuov","njuh","cuoŋ","vyes","kesi","syei","porg","čoh","roov","ska","juov",""] - }, - AM: null, - PM: null, - patterns: { - d: "d.M.yyyy", - D: "MMMM d'. p. 'yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "MMMM d'. p. 'yyyy H:mm", - F: "MMMM d'. p. 'yyyy H:mm:ss", - M: "MMMM d'. p. '", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "ar-SY", "default", { - name: "ar-SY", - englishName: "Arabic (Syria)", - nativeName: "العربية (سوريا)", - language: "ar", - isRTL: true, - numberFormat: { - pattern: ["n-"], - "NaN": "ليس برقم", - negativeInfinity: "-لا نهاية", - positiveInfinity: "+لا نهاية", - currency: { - pattern: ["$n-","$ n"], - symbol: "ل.س.\u200f" - } - }, - calendars: { - standard: { - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""], - namesAbbr: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM, yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd MMMM, yyyy hh:mm tt", - F: "dd MMMM, yyyy hh:mm:ss tt", - M: "dd MMMM" - } - }, - UmAlQura: { - name: "UmAlQura", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MMMM/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd/MMMM/yyyy hh:mm tt", - F: "dd/MMMM/yyyy hh:mm:ss tt", - M: "dd MMMM" - }, - convert: { - _yearInfo: [ - // MonthLengthFlags, Gregorian Date - [746, -2198707200000], - [1769, -2168121600000], - [3794, -2137449600000], - [3748, -2106777600000], - [3402, -2076192000000], - [2710, -2045606400000], - [1334, -2015020800000], - [2741, -1984435200000], - [3498, -1953763200000], - [2980, -1923091200000], - [2889, -1892505600000], - [2707, -1861920000000], - [1323, -1831334400000], - [2647, -1800748800000], - [1206, -1770076800000], - [2741, -1739491200000], - [1450, -1708819200000], - [3413, -1678233600000], - [3370, -1647561600000], - [2646, -1616976000000], - [1198, -1586390400000], - [2397, -1555804800000], - [748, -1525132800000], - [1749, -1494547200000], - [1706, -1463875200000], - [1365, -1433289600000], - [1195, -1402704000000], - [2395, -1372118400000], - [698, -1341446400000], - [1397, -1310860800000], - [2994, -1280188800000], - [1892, -1249516800000], - [1865, -1218931200000], - [1621, -1188345600000], - [683, -1157760000000], - [1371, -1127174400000], - [2778, -1096502400000], - [1748, -1065830400000], - [3785, -1035244800000], - [3474, -1004572800000], - [3365, -973987200000], - [2637, -943401600000], - [685, -912816000000], - [1389, -882230400000], - [2922, -851558400000], - [2898, -820886400000], - [2725, -790300800000], - [2635, -759715200000], - [1175, -729129600000], - [2359, -698544000000], - [694, -667872000000], - [1397, -637286400000], - [3434, -606614400000], - [3410, -575942400000], - [2710, -545356800000], - [2349, -514771200000], - [605, -484185600000], - [1245, -453600000000], - [2778, -422928000000], - [1492, -392256000000], - [3497, -361670400000], - [3410, -330998400000], - [2730, -300412800000], - [1238, -269827200000], - [2486, -239241600000], - [884, -208569600000], - [1897, -177984000000], - [1874, -147312000000], - [1701, -116726400000], - [1355, -86140800000], - [2731, -55555200000], - [1370, -24883200000], - [2773, 5702400000], - [3538, 36374400000], - [3492, 67046400000], - [3401, 97632000000], - [2709, 128217600000], - [1325, 158803200000], - [2653, 189388800000], - [1370, 220060800000], - [2773, 250646400000], - [1706, 281318400000], - [1685, 311904000000], - [1323, 342489600000], - [2647, 373075200000], - [1198, 403747200000], - [2422, 434332800000], - [1388, 465004800000], - [2901, 495590400000], - [2730, 526262400000], - [2645, 556848000000], - [1197, 587433600000], - [2397, 618019200000], - [730, 648691200000], - [1497, 679276800000], - [3506, 709948800000], - [2980, 740620800000], - [2890, 771206400000], - [2645, 801792000000], - [693, 832377600000], - [1397, 862963200000], - [2922, 893635200000], - [3026, 924307200000], - [3012, 954979200000], - [2953, 985564800000], - [2709, 1016150400000], - [1325, 1046736000000], - [1453, 1077321600000], - [2922, 1107993600000], - [1748, 1138665600000], - [3529, 1169251200000], - [3474, 1199923200000], - [2726, 1230508800000], - [2390, 1261094400000], - [686, 1291680000000], - [1389, 1322265600000], - [874, 1352937600000], - [2901, 1383523200000], - [2730, 1414195200000], - [2381, 1444780800000], - [1181, 1475366400000], - [2397, 1505952000000], - [698, 1536624000000], - [1461, 1567209600000], - [1450, 1597881600000], - [3413, 1628467200000], - [2714, 1659139200000], - [2350, 1689724800000], - [622, 1720310400000], - [1373, 1750896000000], - [2778, 1781568000000], - [1748, 1812240000000], - [1701, 1842825600000], - [0, 1873411200000] - ], - minDate: -2198707200000, - maxDate: 1873411199999, - toGregorian: function(hyear, hmonth, hday) { - var days = hday - 1, - gyear = hyear - 1318; - if (gyear < 0 || gyear >= this._yearInfo.length) return null; - var info = this._yearInfo[gyear], - gdate = new Date(info[1]), - monthLength = info[0]; - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the gregorian date in the same timezone, - // not what the gregorian date was at GMT time, so we adjust for the offset. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - for (var i = 0; i < hmonth; i++) { - days += 29 + (monthLength & 1); - monthLength = monthLength >> 1; - } - gdate.setDate(gdate.getDate() + days); - return gdate; - }, - fromGregorian: function(gdate) { - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the hijri date in the same timezone, - // not what the hijri date was at GMT time, so we adjust for the offset. - var ticks = gdate - gdate.getTimezoneOffset() * 60000; - if (ticks < this.minDate || ticks > this.maxDate) return null; - var hyear = 0, - hmonth = 1; - // find the earliest gregorian date in the array that is greater than or equal to the given date - while (ticks > this._yearInfo[++hyear][1]) { } - if (ticks !== this._yearInfo[hyear][1]) { - hyear--; - } - var info = this._yearInfo[hyear], - // how many days has it been since the date we found in the array? - // 86400000 = ticks per day - days = Math.floor((ticks - info[1]) / 86400000), - monthLength = info[0]; - hyear += 1318; // the Nth array entry corresponds to hijri year 1318+N - // now increment day/month based on the total days, considering - // how many days are in each month. We cannot run past the year - // mark since we would have found a different array entry in that case. - var daysInMonth = 29 + (monthLength & 1); - while (days >= daysInMonth) { - days -= daysInMonth; - monthLength = monthLength >> 1; - daysInMonth = 29 + (monthLength & 1); - hmonth++; - } - // remaining days is less than is in one month, thus is the day of the month we landed on - // hmonth-1 because in javascript months are zero based, stay consistent with that. - return [hyear, hmonth - 1, days + 1]; - } - } - }, - Hijri: { - name: "Hijri", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MM/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd/MM/yyyy hh:mm tt", - F: "dd/MM/yyyy hh:mm:ss tt", - M: "dd MMMM" - }, - convert: { - // Adapted to Script from System.Globalization.HijriCalendar - ticks1970: 62135596800000, - // number of days leading up to each month - monthDays: [0, 30, 59, 89, 118, 148, 177, 207, 236, 266, 295, 325, 355], - minDate: -42521673600000, - maxDate: 253402300799999, - // The number of days to add or subtract from the calendar to accommodate the variances - // in the start and the end of Ramadan and to accommodate the date difference between - // countries/regions. May be dynamically adjusted based on user preference, but should - // remain in the range of -2 to 2, inclusive. - hijriAdjustment: 0, - toGregorian: function(hyear, hmonth, hday) { - var daysSinceJan0101 = this.daysToYear(hyear) + this.monthDays[hmonth] + hday - 1 - this.hijriAdjustment; - // 86400000 = ticks per day - var gdate = new Date(daysSinceJan0101 * 86400000 - this.ticks1970); - // adjust for timezone, because we are interested in the gregorian date for the same timezone - // but ticks in javascript is always from GMT, unlike the server were ticks counts from the base - // date in the current timezone. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - return gdate; - }, - fromGregorian: function(gdate) { - if ((gdate < this.minDate) || (gdate > this.maxDate)) return null; - var ticks = this.ticks1970 + (gdate-0) - gdate.getTimezoneOffset() * 60000, - daysSinceJan0101 = Math.floor(ticks / 86400000) + 1 + this.hijriAdjustment; - // very particular formula determined by someone smart, adapted from the server-side implementation. - // it approximates the hijri year. - var hday, hmonth, hyear = Math.floor(((daysSinceJan0101 - 227013) * 30) / 10631) + 1, - absDays = this.daysToYear(hyear), - daysInYear = this.isLeapYear(hyear) ? 355 : 354; - // hyear is just approximate, it may need adjustment up or down by 1. - if (daysSinceJan0101 < absDays) { - hyear--; - absDays -= daysInYear; - } - else if (daysSinceJan0101 === absDays) { - hyear--; - absDays = this.daysToYear(hyear); - } - else { - if (daysSinceJan0101 > (absDays + daysInYear)) { - absDays += daysInYear; - hyear++; - } - } - // determine month by looking at how many days into the hyear we are - // monthDays contains the number of days up to each month. - hmonth = 0; - var daysIntoYear = daysSinceJan0101 - absDays; - while (hmonth <= 11 && daysIntoYear > this.monthDays[hmonth]) { - hmonth++; - } - hmonth--; - hday = daysIntoYear - this.monthDays[hmonth]; - return [hyear, hmonth, hday]; - }, - daysToYear: function(year) { - // calculates how many days since Jan 1, 0001 - var yearsToYear30 = Math.floor((year - 1) / 30) * 30, - yearsInto30 = year - yearsToYear30 - 1, - days = Math.floor((yearsToYear30 * 10631) / 30) + 227013; - while (yearsInto30 > 0) { - days += (this.isLeapYear(yearsInto30) ? 355 : 354); - yearsInto30--; - } - return days; - }, - isLeapYear: function(year) { - return ((((year * 11) + 14) % 30) < 11); - } - } - }, - Gregorian_MiddleEastFrench: { - name: "Gregorian_MiddleEastFrench", - firstDay: 6, - days: { - names: ["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"], - namesAbbr: ["dim.","lun.","mar.","mer.","jeu.","ven.","sam."], - namesShort: ["di","lu","ma","me","je","ve","sa"] - }, - months: { - names: ["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""], - namesAbbr: ["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"ap. J.-C.","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt", - M: "dd MMMM" - } - }, - Gregorian_TransliteratedEnglish: { - name: "Gregorian_TransliteratedEnglish", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["أ","ا","ث","أ","خ","ج","س"] - }, - months: { - names: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["يناير","فبراير","مارس","ابريل","مايو","يونيو","يوليو","اغسطس","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - }, - Gregorian_TransliteratedFrench: { - name: "Gregorian_TransliteratedFrench", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - } - } -}); - -Globalize.addCultureInfo( "en-BZ", "default", { - name: "en-BZ", - englishName: "English (Belize)", - nativeName: "English (Belize)", - numberFormat: { - currency: { - groupSizes: [3,0], - symbol: "BZ$" - } - }, - calendars: { - standard: { - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd MMMM yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, dd MMMM yyyy hh:mm tt", - F: "dddd, dd MMMM yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "es-PE", "default", { - name: "es-PE", - englishName: "Spanish (Peru)", - nativeName: "Español (Perú)", - language: "es", - numberFormat: { - "NaN": "NeuN", - negativeInfinity: "-Infinito", - positiveInfinity: "Infinito", - currency: { - pattern: ["$ -n","$ n"], - symbol: "S/." - } - }, - calendars: { - standard: { - days: { - names: ["domingo","lunes","martes","miércoles","jueves","viernes","sábado"], - namesAbbr: ["dom","lun","mar","mié","jue","vie","sáb"], - namesShort: ["do","lu","ma","mi","ju","vi","sá"] - }, - months: { - names: ["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""], - namesAbbr: ["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""] - }, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, dd' de 'MMMM' de 'yyyy hh:mm tt", - F: "dddd, dd' de 'MMMM' de 'yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "sr-Cyrl-RS", "default", { - name: "sr-Cyrl-RS", - englishName: "Serbian (Cyrillic, Serbia)", - nativeName: "српски (Србија)", - language: "sr-Cyrl", - numberFormat: { - ",": ".", - ".": ",", - negativeInfinity: "-бесконачност", - positiveInfinity: "+бесконачност", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "Дин." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["недеља","понедељак","уторак","среда","четвртак","петак","субота"], - namesAbbr: ["нед","пон","уто","сре","чет","пет","суб"], - namesShort: ["не","по","ут","ср","че","пе","су"] - }, - months: { - names: ["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар",""], - namesAbbr: ["јан","феб","мар","апр","мај","јун","јул","авг","сеп","окт","нов","дец",""] - }, - AM: null, - PM: null, - eras: [{"name":"н.е.","start":null,"offset":0}], - patterns: { - d: "d.M.yyyy", - D: "d. MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM yyyy H:mm", - F: "d. MMMM yyyy H:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "ar-JO", "default", { - name: "ar-JO", - englishName: "Arabic (Jordan)", - nativeName: "العربية (الأردن)", - language: "ar", - isRTL: true, - numberFormat: { - pattern: ["n-"], - decimals: 3, - "NaN": "ليس برقم", - negativeInfinity: "-لا نهاية", - positiveInfinity: "+لا نهاية", - percent: { - decimals: 3 - }, - currency: { - pattern: ["$n-","$ n"], - decimals: 3, - symbol: "د.ا.\u200f" - } - }, - calendars: { - standard: { - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""], - namesAbbr: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM, yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd MMMM, yyyy hh:mm tt", - F: "dd MMMM, yyyy hh:mm:ss tt", - M: "dd MMMM" - } - }, - UmAlQura: { - name: "UmAlQura", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MMMM/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd/MMMM/yyyy hh:mm tt", - F: "dd/MMMM/yyyy hh:mm:ss tt", - M: "dd MMMM" - }, - convert: { - _yearInfo: [ - // MonthLengthFlags, Gregorian Date - [746, -2198707200000], - [1769, -2168121600000], - [3794, -2137449600000], - [3748, -2106777600000], - [3402, -2076192000000], - [2710, -2045606400000], - [1334, -2015020800000], - [2741, -1984435200000], - [3498, -1953763200000], - [2980, -1923091200000], - [2889, -1892505600000], - [2707, -1861920000000], - [1323, -1831334400000], - [2647, -1800748800000], - [1206, -1770076800000], - [2741, -1739491200000], - [1450, -1708819200000], - [3413, -1678233600000], - [3370, -1647561600000], - [2646, -1616976000000], - [1198, -1586390400000], - [2397, -1555804800000], - [748, -1525132800000], - [1749, -1494547200000], - [1706, -1463875200000], - [1365, -1433289600000], - [1195, -1402704000000], - [2395, -1372118400000], - [698, -1341446400000], - [1397, -1310860800000], - [2994, -1280188800000], - [1892, -1249516800000], - [1865, -1218931200000], - [1621, -1188345600000], - [683, -1157760000000], - [1371, -1127174400000], - [2778, -1096502400000], - [1748, -1065830400000], - [3785, -1035244800000], - [3474, -1004572800000], - [3365, -973987200000], - [2637, -943401600000], - [685, -912816000000], - [1389, -882230400000], - [2922, -851558400000], - [2898, -820886400000], - [2725, -790300800000], - [2635, -759715200000], - [1175, -729129600000], - [2359, -698544000000], - [694, -667872000000], - [1397, -637286400000], - [3434, -606614400000], - [3410, -575942400000], - [2710, -545356800000], - [2349, -514771200000], - [605, -484185600000], - [1245, -453600000000], - [2778, -422928000000], - [1492, -392256000000], - [3497, -361670400000], - [3410, -330998400000], - [2730, -300412800000], - [1238, -269827200000], - [2486, -239241600000], - [884, -208569600000], - [1897, -177984000000], - [1874, -147312000000], - [1701, -116726400000], - [1355, -86140800000], - [2731, -55555200000], - [1370, -24883200000], - [2773, 5702400000], - [3538, 36374400000], - [3492, 67046400000], - [3401, 97632000000], - [2709, 128217600000], - [1325, 158803200000], - [2653, 189388800000], - [1370, 220060800000], - [2773, 250646400000], - [1706, 281318400000], - [1685, 311904000000], - [1323, 342489600000], - [2647, 373075200000], - [1198, 403747200000], - [2422, 434332800000], - [1388, 465004800000], - [2901, 495590400000], - [2730, 526262400000], - [2645, 556848000000], - [1197, 587433600000], - [2397, 618019200000], - [730, 648691200000], - [1497, 679276800000], - [3506, 709948800000], - [2980, 740620800000], - [2890, 771206400000], - [2645, 801792000000], - [693, 832377600000], - [1397, 862963200000], - [2922, 893635200000], - [3026, 924307200000], - [3012, 954979200000], - [2953, 985564800000], - [2709, 1016150400000], - [1325, 1046736000000], - [1453, 1077321600000], - [2922, 1107993600000], - [1748, 1138665600000], - [3529, 1169251200000], - [3474, 1199923200000], - [2726, 1230508800000], - [2390, 1261094400000], - [686, 1291680000000], - [1389, 1322265600000], - [874, 1352937600000], - [2901, 1383523200000], - [2730, 1414195200000], - [2381, 1444780800000], - [1181, 1475366400000], - [2397, 1505952000000], - [698, 1536624000000], - [1461, 1567209600000], - [1450, 1597881600000], - [3413, 1628467200000], - [2714, 1659139200000], - [2350, 1689724800000], - [622, 1720310400000], - [1373, 1750896000000], - [2778, 1781568000000], - [1748, 1812240000000], - [1701, 1842825600000], - [0, 1873411200000] - ], - minDate: -2198707200000, - maxDate: 1873411199999, - toGregorian: function(hyear, hmonth, hday) { - var days = hday - 1, - gyear = hyear - 1318; - if (gyear < 0 || gyear >= this._yearInfo.length) return null; - var info = this._yearInfo[gyear], - gdate = new Date(info[1]), - monthLength = info[0]; - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the gregorian date in the same timezone, - // not what the gregorian date was at GMT time, so we adjust for the offset. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - for (var i = 0; i < hmonth; i++) { - days += 29 + (monthLength & 1); - monthLength = monthLength >> 1; - } - gdate.setDate(gdate.getDate() + days); - return gdate; - }, - fromGregorian: function(gdate) { - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the hijri date in the same timezone, - // not what the hijri date was at GMT time, so we adjust for the offset. - var ticks = gdate - gdate.getTimezoneOffset() * 60000; - if (ticks < this.minDate || ticks > this.maxDate) return null; - var hyear = 0, - hmonth = 1; - // find the earliest gregorian date in the array that is greater than or equal to the given date - while (ticks > this._yearInfo[++hyear][1]) { } - if (ticks !== this._yearInfo[hyear][1]) { - hyear--; - } - var info = this._yearInfo[hyear], - // how many days has it been since the date we found in the array? - // 86400000 = ticks per day - days = Math.floor((ticks - info[1]) / 86400000), - monthLength = info[0]; - hyear += 1318; // the Nth array entry corresponds to hijri year 1318+N - // now increment day/month based on the total days, considering - // how many days are in each month. We cannot run past the year - // mark since we would have found a different array entry in that case. - var daysInMonth = 29 + (monthLength & 1); - while (days >= daysInMonth) { - days -= daysInMonth; - monthLength = monthLength >> 1; - daysInMonth = 29 + (monthLength & 1); - hmonth++; - } - // remaining days is less than is in one month, thus is the day of the month we landed on - // hmonth-1 because in javascript months are zero based, stay consistent with that. - return [hyear, hmonth - 1, days + 1]; - } - } - }, - Hijri: { - name: "Hijri", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MM/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd/MM/yyyy hh:mm tt", - F: "dd/MM/yyyy hh:mm:ss tt", - M: "dd MMMM" - }, - convert: { - // Adapted to Script from System.Globalization.HijriCalendar - ticks1970: 62135596800000, - // number of days leading up to each month - monthDays: [0, 30, 59, 89, 118, 148, 177, 207, 236, 266, 295, 325, 355], - minDate: -42521673600000, - maxDate: 253402300799999, - // The number of days to add or subtract from the calendar to accommodate the variances - // in the start and the end of Ramadan and to accommodate the date difference between - // countries/regions. May be dynamically adjusted based on user preference, but should - // remain in the range of -2 to 2, inclusive. - hijriAdjustment: 0, - toGregorian: function(hyear, hmonth, hday) { - var daysSinceJan0101 = this.daysToYear(hyear) + this.monthDays[hmonth] + hday - 1 - this.hijriAdjustment; - // 86400000 = ticks per day - var gdate = new Date(daysSinceJan0101 * 86400000 - this.ticks1970); - // adjust for timezone, because we are interested in the gregorian date for the same timezone - // but ticks in javascript is always from GMT, unlike the server were ticks counts from the base - // date in the current timezone. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - return gdate; - }, - fromGregorian: function(gdate) { - if ((gdate < this.minDate) || (gdate > this.maxDate)) return null; - var ticks = this.ticks1970 + (gdate-0) - gdate.getTimezoneOffset() * 60000, - daysSinceJan0101 = Math.floor(ticks / 86400000) + 1 + this.hijriAdjustment; - // very particular formula determined by someone smart, adapted from the server-side implementation. - // it approximates the hijri year. - var hday, hmonth, hyear = Math.floor(((daysSinceJan0101 - 227013) * 30) / 10631) + 1, - absDays = this.daysToYear(hyear), - daysInYear = this.isLeapYear(hyear) ? 355 : 354; - // hyear is just approximate, it may need adjustment up or down by 1. - if (daysSinceJan0101 < absDays) { - hyear--; - absDays -= daysInYear; - } - else if (daysSinceJan0101 === absDays) { - hyear--; - absDays = this.daysToYear(hyear); - } - else { - if (daysSinceJan0101 > (absDays + daysInYear)) { - absDays += daysInYear; - hyear++; - } - } - // determine month by looking at how many days into the hyear we are - // monthDays contains the number of days up to each month. - hmonth = 0; - var daysIntoYear = daysSinceJan0101 - absDays; - while (hmonth <= 11 && daysIntoYear > this.monthDays[hmonth]) { - hmonth++; - } - hmonth--; - hday = daysIntoYear - this.monthDays[hmonth]; - return [hyear, hmonth, hday]; - }, - daysToYear: function(year) { - // calculates how many days since Jan 1, 0001 - var yearsToYear30 = Math.floor((year - 1) / 30) * 30, - yearsInto30 = year - yearsToYear30 - 1, - days = Math.floor((yearsToYear30 * 10631) / 30) + 227013; - while (yearsInto30 > 0) { - days += (this.isLeapYear(yearsInto30) ? 355 : 354); - yearsInto30--; - } - return days; - }, - isLeapYear: function(year) { - return ((((year * 11) + 14) % 30) < 11); - } - } - }, - Gregorian_MiddleEastFrench: { - name: "Gregorian_MiddleEastFrench", - firstDay: 6, - days: { - names: ["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"], - namesAbbr: ["dim.","lun.","mar.","mer.","jeu.","ven.","sam."], - namesShort: ["di","lu","ma","me","je","ve","sa"] - }, - months: { - names: ["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""], - namesAbbr: ["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"ap. J.-C.","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt", - M: "dd MMMM" - } - }, - Gregorian_TransliteratedEnglish: { - name: "Gregorian_TransliteratedEnglish", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["أ","ا","ث","أ","خ","ج","س"] - }, - months: { - names: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["يناير","فبراير","مارس","ابريل","مايو","يونيو","يوليو","اغسطس","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - }, - Gregorian_TransliteratedFrench: { - name: "Gregorian_TransliteratedFrench", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - } - } -}); - -Globalize.addCultureInfo( "en-TT", "default", { - name: "en-TT", - englishName: "English (Trinidad and Tobago)", - nativeName: "English (Trinidad y Tobago)", - numberFormat: { - currency: { - groupSizes: [3,0], - symbol: "TT$" - } - }, - calendars: { - standard: { - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd MMMM yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, dd MMMM yyyy hh:mm tt", - F: "dddd, dd MMMM yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "es-AR", "default", { - name: "es-AR", - englishName: "Spanish (Argentina)", - nativeName: "Español (Argentina)", - language: "es", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "NeuN", - negativeInfinity: "-Infinito", - positiveInfinity: "Infinito", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["$-n","$ n"], - ",": ".", - ".": "," - } - }, - calendars: { - standard: { - days: { - names: ["domingo","lunes","martes","miércoles","jueves","viernes","sábado"], - namesAbbr: ["dom","lun","mar","mié","jue","vie","sáb"], - namesShort: ["do","lu","ma","mi","ju","vi","sá"] - }, - months: { - names: ["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""], - namesAbbr: ["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""] - }, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, dd' de 'MMMM' de 'yyyy hh:mm tt", - F: "dddd, dd' de 'MMMM' de 'yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "sr-Latn-ME", "default", { - name: "sr-Latn-ME", - englishName: "Serbian (Latin, Montenegro)", - nativeName: "srpski (Crna Gora)", - language: "sr-Latn", - numberFormat: { - ",": ".", - ".": ",", - negativeInfinity: "-beskonačnost", - positiveInfinity: "+beskonačnost", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["nedelja","ponedeljak","utorak","sreda","četvrtak","petak","subota"], - namesAbbr: ["ned","pon","uto","sre","čet","pet","sub"], - namesShort: ["ne","po","ut","sr","če","pe","su"] - }, - months: { - names: ["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar",""], - namesAbbr: ["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec",""] - }, - AM: null, - PM: null, - eras: [{"name":"n.e.","start":null,"offset":0}], - patterns: { - d: "d.M.yyyy", - D: "d. MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM yyyy H:mm", - F: "d. MMMM yyyy H:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "ar-LB", "default", { - name: "ar-LB", - englishName: "Arabic (Lebanon)", - nativeName: "العربية (لبنان)", - language: "ar", - isRTL: true, - numberFormat: { - pattern: ["n-"], - "NaN": "ليس برقم", - negativeInfinity: "-لا نهاية", - positiveInfinity: "+لا نهاية", - currency: { - pattern: ["$n-","$ n"], - symbol: "ل.ل.\u200f" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""], - namesAbbr: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM, yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd MMMM, yyyy hh:mm tt", - F: "dd MMMM, yyyy hh:mm:ss tt", - M: "dd MMMM" - } - }, - UmAlQura: { - name: "UmAlQura", - firstDay: 1, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MMMM/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd/MMMM/yyyy hh:mm tt", - F: "dd/MMMM/yyyy hh:mm:ss tt", - M: "dd MMMM" - }, - convert: { - _yearInfo: [ - // MonthLengthFlags, Gregorian Date - [746, -2198707200000], - [1769, -2168121600000], - [3794, -2137449600000], - [3748, -2106777600000], - [3402, -2076192000000], - [2710, -2045606400000], - [1334, -2015020800000], - [2741, -1984435200000], - [3498, -1953763200000], - [2980, -1923091200000], - [2889, -1892505600000], - [2707, -1861920000000], - [1323, -1831334400000], - [2647, -1800748800000], - [1206, -1770076800000], - [2741, -1739491200000], - [1450, -1708819200000], - [3413, -1678233600000], - [3370, -1647561600000], - [2646, -1616976000000], - [1198, -1586390400000], - [2397, -1555804800000], - [748, -1525132800000], - [1749, -1494547200000], - [1706, -1463875200000], - [1365, -1433289600000], - [1195, -1402704000000], - [2395, -1372118400000], - [698, -1341446400000], - [1397, -1310860800000], - [2994, -1280188800000], - [1892, -1249516800000], - [1865, -1218931200000], - [1621, -1188345600000], - [683, -1157760000000], - [1371, -1127174400000], - [2778, -1096502400000], - [1748, -1065830400000], - [3785, -1035244800000], - [3474, -1004572800000], - [3365, -973987200000], - [2637, -943401600000], - [685, -912816000000], - [1389, -882230400000], - [2922, -851558400000], - [2898, -820886400000], - [2725, -790300800000], - [2635, -759715200000], - [1175, -729129600000], - [2359, -698544000000], - [694, -667872000000], - [1397, -637286400000], - [3434, -606614400000], - [3410, -575942400000], - [2710, -545356800000], - [2349, -514771200000], - [605, -484185600000], - [1245, -453600000000], - [2778, -422928000000], - [1492, -392256000000], - [3497, -361670400000], - [3410, -330998400000], - [2730, -300412800000], - [1238, -269827200000], - [2486, -239241600000], - [884, -208569600000], - [1897, -177984000000], - [1874, -147312000000], - [1701, -116726400000], - [1355, -86140800000], - [2731, -55555200000], - [1370, -24883200000], - [2773, 5702400000], - [3538, 36374400000], - [3492, 67046400000], - [3401, 97632000000], - [2709, 128217600000], - [1325, 158803200000], - [2653, 189388800000], - [1370, 220060800000], - [2773, 250646400000], - [1706, 281318400000], - [1685, 311904000000], - [1323, 342489600000], - [2647, 373075200000], - [1198, 403747200000], - [2422, 434332800000], - [1388, 465004800000], - [2901, 495590400000], - [2730, 526262400000], - [2645, 556848000000], - [1197, 587433600000], - [2397, 618019200000], - [730, 648691200000], - [1497, 679276800000], - [3506, 709948800000], - [2980, 740620800000], - [2890, 771206400000], - [2645, 801792000000], - [693, 832377600000], - [1397, 862963200000], - [2922, 893635200000], - [3026, 924307200000], - [3012, 954979200000], - [2953, 985564800000], - [2709, 1016150400000], - [1325, 1046736000000], - [1453, 1077321600000], - [2922, 1107993600000], - [1748, 1138665600000], - [3529, 1169251200000], - [3474, 1199923200000], - [2726, 1230508800000], - [2390, 1261094400000], - [686, 1291680000000], - [1389, 1322265600000], - [874, 1352937600000], - [2901, 1383523200000], - [2730, 1414195200000], - [2381, 1444780800000], - [1181, 1475366400000], - [2397, 1505952000000], - [698, 1536624000000], - [1461, 1567209600000], - [1450, 1597881600000], - [3413, 1628467200000], - [2714, 1659139200000], - [2350, 1689724800000], - [622, 1720310400000], - [1373, 1750896000000], - [2778, 1781568000000], - [1748, 1812240000000], - [1701, 1842825600000], - [0, 1873411200000] - ], - minDate: -2198707200000, - maxDate: 1873411199999, - toGregorian: function(hyear, hmonth, hday) { - var days = hday - 1, - gyear = hyear - 1318; - if (gyear < 0 || gyear >= this._yearInfo.length) return null; - var info = this._yearInfo[gyear], - gdate = new Date(info[1]), - monthLength = info[0]; - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the gregorian date in the same timezone, - // not what the gregorian date was at GMT time, so we adjust for the offset. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - for (var i = 0; i < hmonth; i++) { - days += 29 + (monthLength & 1); - monthLength = monthLength >> 1; - } - gdate.setDate(gdate.getDate() + days); - return gdate; - }, - fromGregorian: function(gdate) { - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the hijri date in the same timezone, - // not what the hijri date was at GMT time, so we adjust for the offset. - var ticks = gdate - gdate.getTimezoneOffset() * 60000; - if (ticks < this.minDate || ticks > this.maxDate) return null; - var hyear = 0, - hmonth = 1; - // find the earliest gregorian date in the array that is greater than or equal to the given date - while (ticks > this._yearInfo[++hyear][1]) { } - if (ticks !== this._yearInfo[hyear][1]) { - hyear--; - } - var info = this._yearInfo[hyear], - // how many days has it been since the date we found in the array? - // 86400000 = ticks per day - days = Math.floor((ticks - info[1]) / 86400000), - monthLength = info[0]; - hyear += 1318; // the Nth array entry corresponds to hijri year 1318+N - // now increment day/month based on the total days, considering - // how many days are in each month. We cannot run past the year - // mark since we would have found a different array entry in that case. - var daysInMonth = 29 + (monthLength & 1); - while (days >= daysInMonth) { - days -= daysInMonth; - monthLength = monthLength >> 1; - daysInMonth = 29 + (monthLength & 1); - hmonth++; - } - // remaining days is less than is in one month, thus is the day of the month we landed on - // hmonth-1 because in javascript months are zero based, stay consistent with that. - return [hyear, hmonth - 1, days + 1]; - } - } - }, - Hijri: { - name: "Hijri", - firstDay: 1, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MM/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd/MM/yyyy hh:mm tt", - F: "dd/MM/yyyy hh:mm:ss tt", - M: "dd MMMM" - }, - convert: { - // Adapted to Script from System.Globalization.HijriCalendar - ticks1970: 62135596800000, - // number of days leading up to each month - monthDays: [0, 30, 59, 89, 118, 148, 177, 207, 236, 266, 295, 325, 355], - minDate: -42521673600000, - maxDate: 253402300799999, - // The number of days to add or subtract from the calendar to accommodate the variances - // in the start and the end of Ramadan and to accommodate the date difference between - // countries/regions. May be dynamically adjusted based on user preference, but should - // remain in the range of -2 to 2, inclusive. - hijriAdjustment: 0, - toGregorian: function(hyear, hmonth, hday) { - var daysSinceJan0101 = this.daysToYear(hyear) + this.monthDays[hmonth] + hday - 1 - this.hijriAdjustment; - // 86400000 = ticks per day - var gdate = new Date(daysSinceJan0101 * 86400000 - this.ticks1970); - // adjust for timezone, because we are interested in the gregorian date for the same timezone - // but ticks in javascript is always from GMT, unlike the server were ticks counts from the base - // date in the current timezone. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - return gdate; - }, - fromGregorian: function(gdate) { - if ((gdate < this.minDate) || (gdate > this.maxDate)) return null; - var ticks = this.ticks1970 + (gdate-0) - gdate.getTimezoneOffset() * 60000, - daysSinceJan0101 = Math.floor(ticks / 86400000) + 1 + this.hijriAdjustment; - // very particular formula determined by someone smart, adapted from the server-side implementation. - // it approximates the hijri year. - var hday, hmonth, hyear = Math.floor(((daysSinceJan0101 - 227013) * 30) / 10631) + 1, - absDays = this.daysToYear(hyear), - daysInYear = this.isLeapYear(hyear) ? 355 : 354; - // hyear is just approximate, it may need adjustment up or down by 1. - if (daysSinceJan0101 < absDays) { - hyear--; - absDays -= daysInYear; - } - else if (daysSinceJan0101 === absDays) { - hyear--; - absDays = this.daysToYear(hyear); - } - else { - if (daysSinceJan0101 > (absDays + daysInYear)) { - absDays += daysInYear; - hyear++; - } - } - // determine month by looking at how many days into the hyear we are - // monthDays contains the number of days up to each month. - hmonth = 0; - var daysIntoYear = daysSinceJan0101 - absDays; - while (hmonth <= 11 && daysIntoYear > this.monthDays[hmonth]) { - hmonth++; - } - hmonth--; - hday = daysIntoYear - this.monthDays[hmonth]; - return [hyear, hmonth, hday]; - }, - daysToYear: function(year) { - // calculates how many days since Jan 1, 0001 - var yearsToYear30 = Math.floor((year - 1) / 30) * 30, - yearsInto30 = year - yearsToYear30 - 1, - days = Math.floor((yearsToYear30 * 10631) / 30) + 227013; - while (yearsInto30 > 0) { - days += (this.isLeapYear(yearsInto30) ? 355 : 354); - yearsInto30--; - } - return days; - }, - isLeapYear: function(year) { - return ((((year * 11) + 14) % 30) < 11); - } - } - }, - Gregorian_MiddleEastFrench: { - name: "Gregorian_MiddleEastFrench", - firstDay: 1, - days: { - names: ["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"], - namesAbbr: ["dim.","lun.","mar.","mer.","jeu.","ven.","sam."], - namesShort: ["di","lu","ma","me","je","ve","sa"] - }, - months: { - names: ["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""], - namesAbbr: ["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"ap. J.-C.","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt", - M: "dd MMMM" - } - }, - Gregorian_TransliteratedEnglish: { - name: "Gregorian_TransliteratedEnglish", - firstDay: 1, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["أ","ا","ث","أ","خ","ج","س"] - }, - months: { - names: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["يناير","فبراير","مارس","ابريل","مايو","يونيو","يوليو","اغسطس","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - }, - Gregorian_TransliteratedFrench: { - name: "Gregorian_TransliteratedFrench", - firstDay: 1, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - } - } -}); - -Globalize.addCultureInfo( "en-ZW", "default", { - name: "en-ZW", - englishName: "English (Zimbabwe)", - nativeName: "English (Zimbabwe)", - numberFormat: { - currency: { - symbol: "Z$" - } - } -}); - -Globalize.addCultureInfo( "es-EC", "default", { - name: "es-EC", - englishName: "Spanish (Ecuador)", - nativeName: "Español (Ecuador)", - language: "es", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "NeuN", - negativeInfinity: "-Infinito", - positiveInfinity: "Infinito", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["($ n)","$ n"], - ",": ".", - ".": "," - } - }, - calendars: { - standard: { - days: { - names: ["domingo","lunes","martes","miércoles","jueves","viernes","sábado"], - namesAbbr: ["dom","lun","mar","mié","jue","vie","sáb"], - namesShort: ["do","lu","ma","mi","ju","vi","sá"] - }, - months: { - names: ["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""], - namesAbbr: ["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""] - }, - AM: null, - PM: null, - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dddd, dd' de 'MMMM' de 'yyyy H:mm", - F: "dddd, dd' de 'MMMM' de 'yyyy H:mm:ss", - M: "dd MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "sr-Cyrl-ME", "default", { - name: "sr-Cyrl-ME", - englishName: "Serbian (Cyrillic, Montenegro)", - nativeName: "српски (Црна Гора)", - language: "sr-Cyrl", - numberFormat: { - ",": ".", - ".": ",", - negativeInfinity: "-бесконачност", - positiveInfinity: "+бесконачност", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["недеља","понедељак","уторак","среда","четвртак","петак","субота"], - namesAbbr: ["нед","пон","уто","сре","чет","пет","суб"], - namesShort: ["не","по","ут","ср","че","пе","су"] - }, - months: { - names: ["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар",""], - namesAbbr: ["јан","феб","мар","апр","мај","јун","јул","авг","сеп","окт","нов","дец",""] - }, - AM: null, - PM: null, - eras: [{"name":"н.е.","start":null,"offset":0}], - patterns: { - d: "d.M.yyyy", - D: "d. MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM yyyy H:mm", - F: "d. MMMM yyyy H:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "ar-KW", "default", { - name: "ar-KW", - englishName: "Arabic (Kuwait)", - nativeName: "العربية (الكويت)", - language: "ar", - isRTL: true, - numberFormat: { - pattern: ["n-"], - decimals: 3, - "NaN": "ليس برقم", - negativeInfinity: "-لا نهاية", - positiveInfinity: "+لا نهاية", - percent: { - decimals: 3 - }, - currency: { - pattern: ["$n-","$ n"], - decimals: 3, - symbol: "د.ك.\u200f" - } - }, - calendars: { - standard: { - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM, yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd MMMM, yyyy hh:mm tt", - F: "dd MMMM, yyyy hh:mm:ss tt", - M: "dd MMMM" - } - }, - Hijri: { - name: "Hijri", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MM/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd/MM/yyyy hh:mm tt", - F: "dd/MM/yyyy hh:mm:ss tt", - M: "dd MMMM" - }, - convert: { - // Adapted to Script from System.Globalization.HijriCalendar - ticks1970: 62135596800000, - // number of days leading up to each month - monthDays: [0, 30, 59, 89, 118, 148, 177, 207, 236, 266, 295, 325, 355], - minDate: -42521673600000, - maxDate: 253402300799999, - // The number of days to add or subtract from the calendar to accommodate the variances - // in the start and the end of Ramadan and to accommodate the date difference between - // countries/regions. May be dynamically adjusted based on user preference, but should - // remain in the range of -2 to 2, inclusive. - hijriAdjustment: 0, - toGregorian: function(hyear, hmonth, hday) { - var daysSinceJan0101 = this.daysToYear(hyear) + this.monthDays[hmonth] + hday - 1 - this.hijriAdjustment; - // 86400000 = ticks per day - var gdate = new Date(daysSinceJan0101 * 86400000 - this.ticks1970); - // adjust for timezone, because we are interested in the gregorian date for the same timezone - // but ticks in javascript is always from GMT, unlike the server were ticks counts from the base - // date in the current timezone. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - return gdate; - }, - fromGregorian: function(gdate) { - if ((gdate < this.minDate) || (gdate > this.maxDate)) return null; - var ticks = this.ticks1970 + (gdate-0) - gdate.getTimezoneOffset() * 60000, - daysSinceJan0101 = Math.floor(ticks / 86400000) + 1 + this.hijriAdjustment; - // very particular formula determined by someone smart, adapted from the server-side implementation. - // it approximates the hijri year. - var hday, hmonth, hyear = Math.floor(((daysSinceJan0101 - 227013) * 30) / 10631) + 1, - absDays = this.daysToYear(hyear), - daysInYear = this.isLeapYear(hyear) ? 355 : 354; - // hyear is just approximate, it may need adjustment up or down by 1. - if (daysSinceJan0101 < absDays) { - hyear--; - absDays -= daysInYear; - } - else if (daysSinceJan0101 === absDays) { - hyear--; - absDays = this.daysToYear(hyear); - } - else { - if (daysSinceJan0101 > (absDays + daysInYear)) { - absDays += daysInYear; - hyear++; - } - } - // determine month by looking at how many days into the hyear we are - // monthDays contains the number of days up to each month. - hmonth = 0; - var daysIntoYear = daysSinceJan0101 - absDays; - while (hmonth <= 11 && daysIntoYear > this.monthDays[hmonth]) { - hmonth++; - } - hmonth--; - hday = daysIntoYear - this.monthDays[hmonth]; - return [hyear, hmonth, hday]; - }, - daysToYear: function(year) { - // calculates how many days since Jan 1, 0001 - var yearsToYear30 = Math.floor((year - 1) / 30) * 30, - yearsInto30 = year - yearsToYear30 - 1, - days = Math.floor((yearsToYear30 * 10631) / 30) + 227013; - while (yearsInto30 > 0) { - days += (this.isLeapYear(yearsInto30) ? 355 : 354); - yearsInto30--; - } - return days; - }, - isLeapYear: function(year) { - return ((((year * 11) + 14) % 30) < 11); - } - } - }, - UmAlQura: { - name: "UmAlQura", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MMMM/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd/MMMM/yyyy hh:mm tt", - F: "dd/MMMM/yyyy hh:mm:ss tt", - M: "dd MMMM" - }, - convert: { - _yearInfo: [ - // MonthLengthFlags, Gregorian Date - [746, -2198707200000], - [1769, -2168121600000], - [3794, -2137449600000], - [3748, -2106777600000], - [3402, -2076192000000], - [2710, -2045606400000], - [1334, -2015020800000], - [2741, -1984435200000], - [3498, -1953763200000], - [2980, -1923091200000], - [2889, -1892505600000], - [2707, -1861920000000], - [1323, -1831334400000], - [2647, -1800748800000], - [1206, -1770076800000], - [2741, -1739491200000], - [1450, -1708819200000], - [3413, -1678233600000], - [3370, -1647561600000], - [2646, -1616976000000], - [1198, -1586390400000], - [2397, -1555804800000], - [748, -1525132800000], - [1749, -1494547200000], - [1706, -1463875200000], - [1365, -1433289600000], - [1195, -1402704000000], - [2395, -1372118400000], - [698, -1341446400000], - [1397, -1310860800000], - [2994, -1280188800000], - [1892, -1249516800000], - [1865, -1218931200000], - [1621, -1188345600000], - [683, -1157760000000], - [1371, -1127174400000], - [2778, -1096502400000], - [1748, -1065830400000], - [3785, -1035244800000], - [3474, -1004572800000], - [3365, -973987200000], - [2637, -943401600000], - [685, -912816000000], - [1389, -882230400000], - [2922, -851558400000], - [2898, -820886400000], - [2725, -790300800000], - [2635, -759715200000], - [1175, -729129600000], - [2359, -698544000000], - [694, -667872000000], - [1397, -637286400000], - [3434, -606614400000], - [3410, -575942400000], - [2710, -545356800000], - [2349, -514771200000], - [605, -484185600000], - [1245, -453600000000], - [2778, -422928000000], - [1492, -392256000000], - [3497, -361670400000], - [3410, -330998400000], - [2730, -300412800000], - [1238, -269827200000], - [2486, -239241600000], - [884, -208569600000], - [1897, -177984000000], - [1874, -147312000000], - [1701, -116726400000], - [1355, -86140800000], - [2731, -55555200000], - [1370, -24883200000], - [2773, 5702400000], - [3538, 36374400000], - [3492, 67046400000], - [3401, 97632000000], - [2709, 128217600000], - [1325, 158803200000], - [2653, 189388800000], - [1370, 220060800000], - [2773, 250646400000], - [1706, 281318400000], - [1685, 311904000000], - [1323, 342489600000], - [2647, 373075200000], - [1198, 403747200000], - [2422, 434332800000], - [1388, 465004800000], - [2901, 495590400000], - [2730, 526262400000], - [2645, 556848000000], - [1197, 587433600000], - [2397, 618019200000], - [730, 648691200000], - [1497, 679276800000], - [3506, 709948800000], - [2980, 740620800000], - [2890, 771206400000], - [2645, 801792000000], - [693, 832377600000], - [1397, 862963200000], - [2922, 893635200000], - [3026, 924307200000], - [3012, 954979200000], - [2953, 985564800000], - [2709, 1016150400000], - [1325, 1046736000000], - [1453, 1077321600000], - [2922, 1107993600000], - [1748, 1138665600000], - [3529, 1169251200000], - [3474, 1199923200000], - [2726, 1230508800000], - [2390, 1261094400000], - [686, 1291680000000], - [1389, 1322265600000], - [874, 1352937600000], - [2901, 1383523200000], - [2730, 1414195200000], - [2381, 1444780800000], - [1181, 1475366400000], - [2397, 1505952000000], - [698, 1536624000000], - [1461, 1567209600000], - [1450, 1597881600000], - [3413, 1628467200000], - [2714, 1659139200000], - [2350, 1689724800000], - [622, 1720310400000], - [1373, 1750896000000], - [2778, 1781568000000], - [1748, 1812240000000], - [1701, 1842825600000], - [0, 1873411200000] - ], - minDate: -2198707200000, - maxDate: 1873411199999, - toGregorian: function(hyear, hmonth, hday) { - var days = hday - 1, - gyear = hyear - 1318; - if (gyear < 0 || gyear >= this._yearInfo.length) return null; - var info = this._yearInfo[gyear], - gdate = new Date(info[1]), - monthLength = info[0]; - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the gregorian date in the same timezone, - // not what the gregorian date was at GMT time, so we adjust for the offset. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - for (var i = 0; i < hmonth; i++) { - days += 29 + (monthLength & 1); - monthLength = monthLength >> 1; - } - gdate.setDate(gdate.getDate() + days); - return gdate; - }, - fromGregorian: function(gdate) { - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the hijri date in the same timezone, - // not what the hijri date was at GMT time, so we adjust for the offset. - var ticks = gdate - gdate.getTimezoneOffset() * 60000; - if (ticks < this.minDate || ticks > this.maxDate) return null; - var hyear = 0, - hmonth = 1; - // find the earliest gregorian date in the array that is greater than or equal to the given date - while (ticks > this._yearInfo[++hyear][1]) { } - if (ticks !== this._yearInfo[hyear][1]) { - hyear--; - } - var info = this._yearInfo[hyear], - // how many days has it been since the date we found in the array? - // 86400000 = ticks per day - days = Math.floor((ticks - info[1]) / 86400000), - monthLength = info[0]; - hyear += 1318; // the Nth array entry corresponds to hijri year 1318+N - // now increment day/month based on the total days, considering - // how many days are in each month. We cannot run past the year - // mark since we would have found a different array entry in that case. - var daysInMonth = 29 + (monthLength & 1); - while (days >= daysInMonth) { - days -= daysInMonth; - monthLength = monthLength >> 1; - daysInMonth = 29 + (monthLength & 1); - hmonth++; - } - // remaining days is less than is in one month, thus is the day of the month we landed on - // hmonth-1 because in javascript months are zero based, stay consistent with that. - return [hyear, hmonth - 1, days + 1]; - } - } - }, - Gregorian_MiddleEastFrench: { - name: "Gregorian_MiddleEastFrench", - firstDay: 6, - days: { - names: ["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"], - namesAbbr: ["dim.","lun.","mar.","mer.","jeu.","ven.","sam."], - namesShort: ["di","lu","ma","me","je","ve","sa"] - }, - months: { - names: ["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""], - namesAbbr: ["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"ap. J.-C.","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt", - M: "dd MMMM" - } - }, - Gregorian_Arabic: { - name: "Gregorian_Arabic", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""], - namesAbbr: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - }, - Gregorian_TransliteratedFrench: { - name: "Gregorian_TransliteratedFrench", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - } - } -}); - -Globalize.addCultureInfo( "en-PH", "default", { - name: "en-PH", - englishName: "English (Republic of the Philippines)", - nativeName: "English (Philippines)", - numberFormat: { - currency: { - symbol: "Php" - } - } -}); - -Globalize.addCultureInfo( "es-CL", "default", { - name: "es-CL", - englishName: "Spanish (Chile)", - nativeName: "Español (Chile)", - language: "es", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "NeuN", - negativeInfinity: "-Infinito", - positiveInfinity: "Infinito", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-$ n","$ n"], - ",": ".", - ".": "," - } - }, - calendars: { - standard: { - "/": "-", - days: { - names: ["domingo","lunes","martes","miércoles","jueves","viernes","sábado"], - namesAbbr: ["dom","lun","mar","mié","jue","vie","sáb"], - namesShort: ["do","lu","ma","mi","ju","vi","sá"] - }, - months: { - names: ["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""], - namesAbbr: ["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""] - }, - AM: null, - PM: null, - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd-MM-yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dddd, dd' de 'MMMM' de 'yyyy H:mm", - F: "dddd, dd' de 'MMMM' de 'yyyy H:mm:ss", - M: "dd MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "ar-AE", "default", { - name: "ar-AE", - englishName: "Arabic (U.A.E.)", - nativeName: "العربية (الإمارات العربية المتحدة)", - language: "ar", - isRTL: true, - numberFormat: { - pattern: ["n-"], - "NaN": "ليس برقم", - negativeInfinity: "-لا نهاية", - positiveInfinity: "+لا نهاية", - currency: { - pattern: ["$n-","$ n"], - symbol: "د.إ.\u200f" - } - }, - calendars: { - standard: { - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM, yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd MMMM, yyyy hh:mm tt", - F: "dd MMMM, yyyy hh:mm:ss tt", - M: "dd MMMM" - } - }, - UmAlQura: { - name: "UmAlQura", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MMMM/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd/MMMM/yyyy hh:mm tt", - F: "dd/MMMM/yyyy hh:mm:ss tt", - M: "dd MMMM" - }, - convert: { - _yearInfo: [ - // MonthLengthFlags, Gregorian Date - [746, -2198707200000], - [1769, -2168121600000], - [3794, -2137449600000], - [3748, -2106777600000], - [3402, -2076192000000], - [2710, -2045606400000], - [1334, -2015020800000], - [2741, -1984435200000], - [3498, -1953763200000], - [2980, -1923091200000], - [2889, -1892505600000], - [2707, -1861920000000], - [1323, -1831334400000], - [2647, -1800748800000], - [1206, -1770076800000], - [2741, -1739491200000], - [1450, -1708819200000], - [3413, -1678233600000], - [3370, -1647561600000], - [2646, -1616976000000], - [1198, -1586390400000], - [2397, -1555804800000], - [748, -1525132800000], - [1749, -1494547200000], - [1706, -1463875200000], - [1365, -1433289600000], - [1195, -1402704000000], - [2395, -1372118400000], - [698, -1341446400000], - [1397, -1310860800000], - [2994, -1280188800000], - [1892, -1249516800000], - [1865, -1218931200000], - [1621, -1188345600000], - [683, -1157760000000], - [1371, -1127174400000], - [2778, -1096502400000], - [1748, -1065830400000], - [3785, -1035244800000], - [3474, -1004572800000], - [3365, -973987200000], - [2637, -943401600000], - [685, -912816000000], - [1389, -882230400000], - [2922, -851558400000], - [2898, -820886400000], - [2725, -790300800000], - [2635, -759715200000], - [1175, -729129600000], - [2359, -698544000000], - [694, -667872000000], - [1397, -637286400000], - [3434, -606614400000], - [3410, -575942400000], - [2710, -545356800000], - [2349, -514771200000], - [605, -484185600000], - [1245, -453600000000], - [2778, -422928000000], - [1492, -392256000000], - [3497, -361670400000], - [3410, -330998400000], - [2730, -300412800000], - [1238, -269827200000], - [2486, -239241600000], - [884, -208569600000], - [1897, -177984000000], - [1874, -147312000000], - [1701, -116726400000], - [1355, -86140800000], - [2731, -55555200000], - [1370, -24883200000], - [2773, 5702400000], - [3538, 36374400000], - [3492, 67046400000], - [3401, 97632000000], - [2709, 128217600000], - [1325, 158803200000], - [2653, 189388800000], - [1370, 220060800000], - [2773, 250646400000], - [1706, 281318400000], - [1685, 311904000000], - [1323, 342489600000], - [2647, 373075200000], - [1198, 403747200000], - [2422, 434332800000], - [1388, 465004800000], - [2901, 495590400000], - [2730, 526262400000], - [2645, 556848000000], - [1197, 587433600000], - [2397, 618019200000], - [730, 648691200000], - [1497, 679276800000], - [3506, 709948800000], - [2980, 740620800000], - [2890, 771206400000], - [2645, 801792000000], - [693, 832377600000], - [1397, 862963200000], - [2922, 893635200000], - [3026, 924307200000], - [3012, 954979200000], - [2953, 985564800000], - [2709, 1016150400000], - [1325, 1046736000000], - [1453, 1077321600000], - [2922, 1107993600000], - [1748, 1138665600000], - [3529, 1169251200000], - [3474, 1199923200000], - [2726, 1230508800000], - [2390, 1261094400000], - [686, 1291680000000], - [1389, 1322265600000], - [874, 1352937600000], - [2901, 1383523200000], - [2730, 1414195200000], - [2381, 1444780800000], - [1181, 1475366400000], - [2397, 1505952000000], - [698, 1536624000000], - [1461, 1567209600000], - [1450, 1597881600000], - [3413, 1628467200000], - [2714, 1659139200000], - [2350, 1689724800000], - [622, 1720310400000], - [1373, 1750896000000], - [2778, 1781568000000], - [1748, 1812240000000], - [1701, 1842825600000], - [0, 1873411200000] - ], - minDate: -2198707200000, - maxDate: 1873411199999, - toGregorian: function(hyear, hmonth, hday) { - var days = hday - 1, - gyear = hyear - 1318; - if (gyear < 0 || gyear >= this._yearInfo.length) return null; - var info = this._yearInfo[gyear], - gdate = new Date(info[1]), - monthLength = info[0]; - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the gregorian date in the same timezone, - // not what the gregorian date was at GMT time, so we adjust for the offset. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - for (var i = 0; i < hmonth; i++) { - days += 29 + (monthLength & 1); - monthLength = monthLength >> 1; - } - gdate.setDate(gdate.getDate() + days); - return gdate; - }, - fromGregorian: function(gdate) { - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the hijri date in the same timezone, - // not what the hijri date was at GMT time, so we adjust for the offset. - var ticks = gdate - gdate.getTimezoneOffset() * 60000; - if (ticks < this.minDate || ticks > this.maxDate) return null; - var hyear = 0, - hmonth = 1; - // find the earliest gregorian date in the array that is greater than or equal to the given date - while (ticks > this._yearInfo[++hyear][1]) { } - if (ticks !== this._yearInfo[hyear][1]) { - hyear--; - } - var info = this._yearInfo[hyear], - // how many days has it been since the date we found in the array? - // 86400000 = ticks per day - days = Math.floor((ticks - info[1]) / 86400000), - monthLength = info[0]; - hyear += 1318; // the Nth array entry corresponds to hijri year 1318+N - // now increment day/month based on the total days, considering - // how many days are in each month. We cannot run past the year - // mark since we would have found a different array entry in that case. - var daysInMonth = 29 + (monthLength & 1); - while (days >= daysInMonth) { - days -= daysInMonth; - monthLength = monthLength >> 1; - daysInMonth = 29 + (monthLength & 1); - hmonth++; - } - // remaining days is less than is in one month, thus is the day of the month we landed on - // hmonth-1 because in javascript months are zero based, stay consistent with that. - return [hyear, hmonth - 1, days + 1]; - } - } - }, - Hijri: { - name: "Hijri", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MM/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd/MM/yyyy hh:mm tt", - F: "dd/MM/yyyy hh:mm:ss tt", - M: "dd MMMM" - }, - convert: { - // Adapted to Script from System.Globalization.HijriCalendar - ticks1970: 62135596800000, - // number of days leading up to each month - monthDays: [0, 30, 59, 89, 118, 148, 177, 207, 236, 266, 295, 325, 355], - minDate: -42521673600000, - maxDate: 253402300799999, - // The number of days to add or subtract from the calendar to accommodate the variances - // in the start and the end of Ramadan and to accommodate the date difference between - // countries/regions. May be dynamically adjusted based on user preference, but should - // remain in the range of -2 to 2, inclusive. - hijriAdjustment: 0, - toGregorian: function(hyear, hmonth, hday) { - var daysSinceJan0101 = this.daysToYear(hyear) + this.monthDays[hmonth] + hday - 1 - this.hijriAdjustment; - // 86400000 = ticks per day - var gdate = new Date(daysSinceJan0101 * 86400000 - this.ticks1970); - // adjust for timezone, because we are interested in the gregorian date for the same timezone - // but ticks in javascript is always from GMT, unlike the server were ticks counts from the base - // date in the current timezone. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - return gdate; - }, - fromGregorian: function(gdate) { - if ((gdate < this.minDate) || (gdate > this.maxDate)) return null; - var ticks = this.ticks1970 + (gdate-0) - gdate.getTimezoneOffset() * 60000, - daysSinceJan0101 = Math.floor(ticks / 86400000) + 1 + this.hijriAdjustment; - // very particular formula determined by someone smart, adapted from the server-side implementation. - // it approximates the hijri year. - var hday, hmonth, hyear = Math.floor(((daysSinceJan0101 - 227013) * 30) / 10631) + 1, - absDays = this.daysToYear(hyear), - daysInYear = this.isLeapYear(hyear) ? 355 : 354; - // hyear is just approximate, it may need adjustment up or down by 1. - if (daysSinceJan0101 < absDays) { - hyear--; - absDays -= daysInYear; - } - else if (daysSinceJan0101 === absDays) { - hyear--; - absDays = this.daysToYear(hyear); - } - else { - if (daysSinceJan0101 > (absDays + daysInYear)) { - absDays += daysInYear; - hyear++; - } - } - // determine month by looking at how many days into the hyear we are - // monthDays contains the number of days up to each month. - hmonth = 0; - var daysIntoYear = daysSinceJan0101 - absDays; - while (hmonth <= 11 && daysIntoYear > this.monthDays[hmonth]) { - hmonth++; - } - hmonth--; - hday = daysIntoYear - this.monthDays[hmonth]; - return [hyear, hmonth, hday]; - }, - daysToYear: function(year) { - // calculates how many days since Jan 1, 0001 - var yearsToYear30 = Math.floor((year - 1) / 30) * 30, - yearsInto30 = year - yearsToYear30 - 1, - days = Math.floor((yearsToYear30 * 10631) / 30) + 227013; - while (yearsInto30 > 0) { - days += (this.isLeapYear(yearsInto30) ? 355 : 354); - yearsInto30--; - } - return days; - }, - isLeapYear: function(year) { - return ((((year * 11) + 14) % 30) < 11); - } - } - }, - Gregorian_MiddleEastFrench: { - name: "Gregorian_MiddleEastFrench", - firstDay: 6, - days: { - names: ["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"], - namesAbbr: ["dim.","lun.","mar.","mer.","jeu.","ven.","sam."], - namesShort: ["di","lu","ma","me","je","ve","sa"] - }, - months: { - names: ["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""], - namesAbbr: ["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"ap. J.-C.","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt", - M: "dd MMMM" - } - }, - Gregorian_Arabic: { - name: "Gregorian_Arabic", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""], - namesAbbr: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - }, - Gregorian_TransliteratedFrench: { - name: "Gregorian_TransliteratedFrench", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - } - } -}); - -Globalize.addCultureInfo( "es-UY", "default", { - name: "es-UY", - englishName: "Spanish (Uruguay)", - nativeName: "Español (Uruguay)", - language: "es", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "NeuN", - negativeInfinity: "-Infinito", - positiveInfinity: "Infinito", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["($ n)","$ n"], - ",": ".", - ".": ",", - symbol: "$U" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["domingo","lunes","martes","miércoles","jueves","viernes","sábado"], - namesAbbr: ["dom","lun","mar","mié","jue","vie","sáb"], - namesShort: ["do","lu","ma","mi","ju","vi","sá"] - }, - months: { - names: ["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""], - namesAbbr: ["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""] - }, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, dd' de 'MMMM' de 'yyyy hh:mm tt", - F: "dddd, dd' de 'MMMM' de 'yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "ar-BH", "default", { - name: "ar-BH", - englishName: "Arabic (Bahrain)", - nativeName: "العربية (البحرين)", - language: "ar", - isRTL: true, - numberFormat: { - pattern: ["n-"], - decimals: 3, - "NaN": "ليس برقم", - negativeInfinity: "-لا نهاية", - positiveInfinity: "+لا نهاية", - percent: { - decimals: 3 - }, - currency: { - pattern: ["$n-","$ n"], - decimals: 3, - symbol: "د.ب.\u200f" - } - }, - calendars: { - standard: { - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["يناير","فبراير","مارس","ابريل","مايو","يونيو","يوليو","اغسطس","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM, yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd MMMM, yyyy hh:mm tt", - F: "dd MMMM, yyyy hh:mm:ss tt", - M: "dd MMMM" - } - }, - UmAlQura: { - name: "UmAlQura", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MMMM/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd/MMMM/yyyy hh:mm tt", - F: "dd/MMMM/yyyy hh:mm:ss tt", - M: "dd MMMM" - }, - convert: { - _yearInfo: [ - // MonthLengthFlags, Gregorian Date - [746, -2198707200000], - [1769, -2168121600000], - [3794, -2137449600000], - [3748, -2106777600000], - [3402, -2076192000000], - [2710, -2045606400000], - [1334, -2015020800000], - [2741, -1984435200000], - [3498, -1953763200000], - [2980, -1923091200000], - [2889, -1892505600000], - [2707, -1861920000000], - [1323, -1831334400000], - [2647, -1800748800000], - [1206, -1770076800000], - [2741, -1739491200000], - [1450, -1708819200000], - [3413, -1678233600000], - [3370, -1647561600000], - [2646, -1616976000000], - [1198, -1586390400000], - [2397, -1555804800000], - [748, -1525132800000], - [1749, -1494547200000], - [1706, -1463875200000], - [1365, -1433289600000], - [1195, -1402704000000], - [2395, -1372118400000], - [698, -1341446400000], - [1397, -1310860800000], - [2994, -1280188800000], - [1892, -1249516800000], - [1865, -1218931200000], - [1621, -1188345600000], - [683, -1157760000000], - [1371, -1127174400000], - [2778, -1096502400000], - [1748, -1065830400000], - [3785, -1035244800000], - [3474, -1004572800000], - [3365, -973987200000], - [2637, -943401600000], - [685, -912816000000], - [1389, -882230400000], - [2922, -851558400000], - [2898, -820886400000], - [2725, -790300800000], - [2635, -759715200000], - [1175, -729129600000], - [2359, -698544000000], - [694, -667872000000], - [1397, -637286400000], - [3434, -606614400000], - [3410, -575942400000], - [2710, -545356800000], - [2349, -514771200000], - [605, -484185600000], - [1245, -453600000000], - [2778, -422928000000], - [1492, -392256000000], - [3497, -361670400000], - [3410, -330998400000], - [2730, -300412800000], - [1238, -269827200000], - [2486, -239241600000], - [884, -208569600000], - [1897, -177984000000], - [1874, -147312000000], - [1701, -116726400000], - [1355, -86140800000], - [2731, -55555200000], - [1370, -24883200000], - [2773, 5702400000], - [3538, 36374400000], - [3492, 67046400000], - [3401, 97632000000], - [2709, 128217600000], - [1325, 158803200000], - [2653, 189388800000], - [1370, 220060800000], - [2773, 250646400000], - [1706, 281318400000], - [1685, 311904000000], - [1323, 342489600000], - [2647, 373075200000], - [1198, 403747200000], - [2422, 434332800000], - [1388, 465004800000], - [2901, 495590400000], - [2730, 526262400000], - [2645, 556848000000], - [1197, 587433600000], - [2397, 618019200000], - [730, 648691200000], - [1497, 679276800000], - [3506, 709948800000], - [2980, 740620800000], - [2890, 771206400000], - [2645, 801792000000], - [693, 832377600000], - [1397, 862963200000], - [2922, 893635200000], - [3026, 924307200000], - [3012, 954979200000], - [2953, 985564800000], - [2709, 1016150400000], - [1325, 1046736000000], - [1453, 1077321600000], - [2922, 1107993600000], - [1748, 1138665600000], - [3529, 1169251200000], - [3474, 1199923200000], - [2726, 1230508800000], - [2390, 1261094400000], - [686, 1291680000000], - [1389, 1322265600000], - [874, 1352937600000], - [2901, 1383523200000], - [2730, 1414195200000], - [2381, 1444780800000], - [1181, 1475366400000], - [2397, 1505952000000], - [698, 1536624000000], - [1461, 1567209600000], - [1450, 1597881600000], - [3413, 1628467200000], - [2714, 1659139200000], - [2350, 1689724800000], - [622, 1720310400000], - [1373, 1750896000000], - [2778, 1781568000000], - [1748, 1812240000000], - [1701, 1842825600000], - [0, 1873411200000] - ], - minDate: -2198707200000, - maxDate: 1873411199999, - toGregorian: function(hyear, hmonth, hday) { - var days = hday - 1, - gyear = hyear - 1318; - if (gyear < 0 || gyear >= this._yearInfo.length) return null; - var info = this._yearInfo[gyear], - gdate = new Date(info[1]), - monthLength = info[0]; - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the gregorian date in the same timezone, - // not what the gregorian date was at GMT time, so we adjust for the offset. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - for (var i = 0; i < hmonth; i++) { - days += 29 + (monthLength & 1); - monthLength = monthLength >> 1; - } - gdate.setDate(gdate.getDate() + days); - return gdate; - }, - fromGregorian: function(gdate) { - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the hijri date in the same timezone, - // not what the hijri date was at GMT time, so we adjust for the offset. - var ticks = gdate - gdate.getTimezoneOffset() * 60000; - if (ticks < this.minDate || ticks > this.maxDate) return null; - var hyear = 0, - hmonth = 1; - // find the earliest gregorian date in the array that is greater than or equal to the given date - while (ticks > this._yearInfo[++hyear][1]) { } - if (ticks !== this._yearInfo[hyear][1]) { - hyear--; - } - var info = this._yearInfo[hyear], - // how many days has it been since the date we found in the array? - // 86400000 = ticks per day - days = Math.floor((ticks - info[1]) / 86400000), - monthLength = info[0]; - hyear += 1318; // the Nth array entry corresponds to hijri year 1318+N - // now increment day/month based on the total days, considering - // how many days are in each month. We cannot run past the year - // mark since we would have found a different array entry in that case. - var daysInMonth = 29 + (monthLength & 1); - while (days >= daysInMonth) { - days -= daysInMonth; - monthLength = monthLength >> 1; - daysInMonth = 29 + (monthLength & 1); - hmonth++; - } - // remaining days is less than is in one month, thus is the day of the month we landed on - // hmonth-1 because in javascript months are zero based, stay consistent with that. - return [hyear, hmonth - 1, days + 1]; - } - } - }, - Hijri: { - name: "Hijri", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MM/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd/MM/yyyy hh:mm tt", - F: "dd/MM/yyyy hh:mm:ss tt", - M: "dd MMMM" - }, - convert: { - // Adapted to Script from System.Globalization.HijriCalendar - ticks1970: 62135596800000, - // number of days leading up to each month - monthDays: [0, 30, 59, 89, 118, 148, 177, 207, 236, 266, 295, 325, 355], - minDate: -42521673600000, - maxDate: 253402300799999, - // The number of days to add or subtract from the calendar to accommodate the variances - // in the start and the end of Ramadan and to accommodate the date difference between - // countries/regions. May be dynamically adjusted based on user preference, but should - // remain in the range of -2 to 2, inclusive. - hijriAdjustment: 0, - toGregorian: function(hyear, hmonth, hday) { - var daysSinceJan0101 = this.daysToYear(hyear) + this.monthDays[hmonth] + hday - 1 - this.hijriAdjustment; - // 86400000 = ticks per day - var gdate = new Date(daysSinceJan0101 * 86400000 - this.ticks1970); - // adjust for timezone, because we are interested in the gregorian date for the same timezone - // but ticks in javascript is always from GMT, unlike the server were ticks counts from the base - // date in the current timezone. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - return gdate; - }, - fromGregorian: function(gdate) { - if ((gdate < this.minDate) || (gdate > this.maxDate)) return null; - var ticks = this.ticks1970 + (gdate-0) - gdate.getTimezoneOffset() * 60000, - daysSinceJan0101 = Math.floor(ticks / 86400000) + 1 + this.hijriAdjustment; - // very particular formula determined by someone smart, adapted from the server-side implementation. - // it approximates the hijri year. - var hday, hmonth, hyear = Math.floor(((daysSinceJan0101 - 227013) * 30) / 10631) + 1, - absDays = this.daysToYear(hyear), - daysInYear = this.isLeapYear(hyear) ? 355 : 354; - // hyear is just approximate, it may need adjustment up or down by 1. - if (daysSinceJan0101 < absDays) { - hyear--; - absDays -= daysInYear; - } - else if (daysSinceJan0101 === absDays) { - hyear--; - absDays = this.daysToYear(hyear); - } - else { - if (daysSinceJan0101 > (absDays + daysInYear)) { - absDays += daysInYear; - hyear++; - } - } - // determine month by looking at how many days into the hyear we are - // monthDays contains the number of days up to each month. - hmonth = 0; - var daysIntoYear = daysSinceJan0101 - absDays; - while (hmonth <= 11 && daysIntoYear > this.monthDays[hmonth]) { - hmonth++; - } - hmonth--; - hday = daysIntoYear - this.monthDays[hmonth]; - return [hyear, hmonth, hday]; - }, - daysToYear: function(year) { - // calculates how many days since Jan 1, 0001 - var yearsToYear30 = Math.floor((year - 1) / 30) * 30, - yearsInto30 = year - yearsToYear30 - 1, - days = Math.floor((yearsToYear30 * 10631) / 30) + 227013; - while (yearsInto30 > 0) { - days += (this.isLeapYear(yearsInto30) ? 355 : 354); - yearsInto30--; - } - return days; - }, - isLeapYear: function(year) { - return ((((year * 11) + 14) % 30) < 11); - } - } - }, - Gregorian_MiddleEastFrench: { - name: "Gregorian_MiddleEastFrench", - firstDay: 6, - days: { - names: ["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"], - namesAbbr: ["dim.","lun.","mar.","mer.","jeu.","ven.","sam."], - namesShort: ["di","lu","ma","me","je","ve","sa"] - }, - months: { - names: ["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""], - namesAbbr: ["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"ap. J.-C.","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt", - M: "dd MMMM" - } - }, - Gregorian_Arabic: { - name: "Gregorian_Arabic", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""], - namesAbbr: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - }, - Gregorian_TransliteratedFrench: { - name: "Gregorian_TransliteratedFrench", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - } - } -}); - -Globalize.addCultureInfo( "es-PY", "default", { - name: "es-PY", - englishName: "Spanish (Paraguay)", - nativeName: "Español (Paraguay)", - language: "es", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "NeuN", - negativeInfinity: "-Infinito", - positiveInfinity: "Infinito", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["($ n)","$ n"], - ",": ".", - ".": ",", - symbol: "Gs" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["domingo","lunes","martes","miércoles","jueves","viernes","sábado"], - namesAbbr: ["dom","lun","mar","mié","jue","vie","sáb"], - namesShort: ["do","lu","ma","mi","ju","vi","sá"] - }, - months: { - names: ["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""], - namesAbbr: ["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""] - }, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, dd' de 'MMMM' de 'yyyy hh:mm tt", - F: "dddd, dd' de 'MMMM' de 'yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "ar-QA", "default", { - name: "ar-QA", - englishName: "Arabic (Qatar)", - nativeName: "العربية (قطر)", - language: "ar", - isRTL: true, - numberFormat: { - pattern: ["n-"], - "NaN": "ليس برقم", - negativeInfinity: "-لا نهاية", - positiveInfinity: "+لا نهاية", - currency: { - pattern: ["$n-","$ n"], - symbol: "ر.ق.\u200f" - } - }, - calendars: { - standard: { - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - patterns: { - d: "dd/MM/yyyy", - D: "dd MMMM, yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd MMMM, yyyy hh:mm tt", - F: "dd MMMM, yyyy hh:mm:ss tt", - M: "dd MMMM" - } - }, - UmAlQura: { - name: "UmAlQura", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MMMM/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd/MMMM/yyyy hh:mm tt", - F: "dd/MMMM/yyyy hh:mm:ss tt", - M: "dd MMMM" - }, - convert: { - _yearInfo: [ - // MonthLengthFlags, Gregorian Date - [746, -2198707200000], - [1769, -2168121600000], - [3794, -2137449600000], - [3748, -2106777600000], - [3402, -2076192000000], - [2710, -2045606400000], - [1334, -2015020800000], - [2741, -1984435200000], - [3498, -1953763200000], - [2980, -1923091200000], - [2889, -1892505600000], - [2707, -1861920000000], - [1323, -1831334400000], - [2647, -1800748800000], - [1206, -1770076800000], - [2741, -1739491200000], - [1450, -1708819200000], - [3413, -1678233600000], - [3370, -1647561600000], - [2646, -1616976000000], - [1198, -1586390400000], - [2397, -1555804800000], - [748, -1525132800000], - [1749, -1494547200000], - [1706, -1463875200000], - [1365, -1433289600000], - [1195, -1402704000000], - [2395, -1372118400000], - [698, -1341446400000], - [1397, -1310860800000], - [2994, -1280188800000], - [1892, -1249516800000], - [1865, -1218931200000], - [1621, -1188345600000], - [683, -1157760000000], - [1371, -1127174400000], - [2778, -1096502400000], - [1748, -1065830400000], - [3785, -1035244800000], - [3474, -1004572800000], - [3365, -973987200000], - [2637, -943401600000], - [685, -912816000000], - [1389, -882230400000], - [2922, -851558400000], - [2898, -820886400000], - [2725, -790300800000], - [2635, -759715200000], - [1175, -729129600000], - [2359, -698544000000], - [694, -667872000000], - [1397, -637286400000], - [3434, -606614400000], - [3410, -575942400000], - [2710, -545356800000], - [2349, -514771200000], - [605, -484185600000], - [1245, -453600000000], - [2778, -422928000000], - [1492, -392256000000], - [3497, -361670400000], - [3410, -330998400000], - [2730, -300412800000], - [1238, -269827200000], - [2486, -239241600000], - [884, -208569600000], - [1897, -177984000000], - [1874, -147312000000], - [1701, -116726400000], - [1355, -86140800000], - [2731, -55555200000], - [1370, -24883200000], - [2773, 5702400000], - [3538, 36374400000], - [3492, 67046400000], - [3401, 97632000000], - [2709, 128217600000], - [1325, 158803200000], - [2653, 189388800000], - [1370, 220060800000], - [2773, 250646400000], - [1706, 281318400000], - [1685, 311904000000], - [1323, 342489600000], - [2647, 373075200000], - [1198, 403747200000], - [2422, 434332800000], - [1388, 465004800000], - [2901, 495590400000], - [2730, 526262400000], - [2645, 556848000000], - [1197, 587433600000], - [2397, 618019200000], - [730, 648691200000], - [1497, 679276800000], - [3506, 709948800000], - [2980, 740620800000], - [2890, 771206400000], - [2645, 801792000000], - [693, 832377600000], - [1397, 862963200000], - [2922, 893635200000], - [3026, 924307200000], - [3012, 954979200000], - [2953, 985564800000], - [2709, 1016150400000], - [1325, 1046736000000], - [1453, 1077321600000], - [2922, 1107993600000], - [1748, 1138665600000], - [3529, 1169251200000], - [3474, 1199923200000], - [2726, 1230508800000], - [2390, 1261094400000], - [686, 1291680000000], - [1389, 1322265600000], - [874, 1352937600000], - [2901, 1383523200000], - [2730, 1414195200000], - [2381, 1444780800000], - [1181, 1475366400000], - [2397, 1505952000000], - [698, 1536624000000], - [1461, 1567209600000], - [1450, 1597881600000], - [3413, 1628467200000], - [2714, 1659139200000], - [2350, 1689724800000], - [622, 1720310400000], - [1373, 1750896000000], - [2778, 1781568000000], - [1748, 1812240000000], - [1701, 1842825600000], - [0, 1873411200000] - ], - minDate: -2198707200000, - maxDate: 1873411199999, - toGregorian: function(hyear, hmonth, hday) { - var days = hday - 1, - gyear = hyear - 1318; - if (gyear < 0 || gyear >= this._yearInfo.length) return null; - var info = this._yearInfo[gyear], - gdate = new Date(info[1]), - monthLength = info[0]; - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the gregorian date in the same timezone, - // not what the gregorian date was at GMT time, so we adjust for the offset. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - for (var i = 0; i < hmonth; i++) { - days += 29 + (monthLength & 1); - monthLength = monthLength >> 1; - } - gdate.setDate(gdate.getDate() + days); - return gdate; - }, - fromGregorian: function(gdate) { - // Date's ticks in javascript are always from the GMT time, - // but we are interested in the hijri date in the same timezone, - // not what the hijri date was at GMT time, so we adjust for the offset. - var ticks = gdate - gdate.getTimezoneOffset() * 60000; - if (ticks < this.minDate || ticks > this.maxDate) return null; - var hyear = 0, - hmonth = 1; - // find the earliest gregorian date in the array that is greater than or equal to the given date - while (ticks > this._yearInfo[++hyear][1]) { } - if (ticks !== this._yearInfo[hyear][1]) { - hyear--; - } - var info = this._yearInfo[hyear], - // how many days has it been since the date we found in the array? - // 86400000 = ticks per day - days = Math.floor((ticks - info[1]) / 86400000), - monthLength = info[0]; - hyear += 1318; // the Nth array entry corresponds to hijri year 1318+N - // now increment day/month based on the total days, considering - // how many days are in each month. We cannot run past the year - // mark since we would have found a different array entry in that case. - var daysInMonth = 29 + (monthLength & 1); - while (days >= daysInMonth) { - days -= daysInMonth; - monthLength = monthLength >> 1; - daysInMonth = 29 + (monthLength & 1); - hmonth++; - } - // remaining days is less than is in one month, thus is the day of the month we landed on - // hmonth-1 because in javascript months are zero based, stay consistent with that. - return [hyear, hmonth - 1, days + 1]; - } - } - }, - Hijri: { - name: "Hijri", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""], - namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"بعد الهجرة","start":null,"offset":0}], - twoDigitYearMax: 1451, - patterns: { - d: "dd/MM/yy", - D: "dd/MM/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dd/MM/yyyy hh:mm tt", - F: "dd/MM/yyyy hh:mm:ss tt", - M: "dd MMMM" - }, - convert: { - // Adapted to Script from System.Globalization.HijriCalendar - ticks1970: 62135596800000, - // number of days leading up to each month - monthDays: [0, 30, 59, 89, 118, 148, 177, 207, 236, 266, 295, 325, 355], - minDate: -42521673600000, - maxDate: 253402300799999, - // The number of days to add or subtract from the calendar to accommodate the variances - // in the start and the end of Ramadan and to accommodate the date difference between - // countries/regions. May be dynamically adjusted based on user preference, but should - // remain in the range of -2 to 2, inclusive. - hijriAdjustment: 0, - toGregorian: function(hyear, hmonth, hday) { - var daysSinceJan0101 = this.daysToYear(hyear) + this.monthDays[hmonth] + hday - 1 - this.hijriAdjustment; - // 86400000 = ticks per day - var gdate = new Date(daysSinceJan0101 * 86400000 - this.ticks1970); - // adjust for timezone, because we are interested in the gregorian date for the same timezone - // but ticks in javascript is always from GMT, unlike the server were ticks counts from the base - // date in the current timezone. - gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset()); - return gdate; - }, - fromGregorian: function(gdate) { - if ((gdate < this.minDate) || (gdate > this.maxDate)) return null; - var ticks = this.ticks1970 + (gdate-0) - gdate.getTimezoneOffset() * 60000, - daysSinceJan0101 = Math.floor(ticks / 86400000) + 1 + this.hijriAdjustment; - // very particular formula determined by someone smart, adapted from the server-side implementation. - // it approximates the hijri year. - var hday, hmonth, hyear = Math.floor(((daysSinceJan0101 - 227013) * 30) / 10631) + 1, - absDays = this.daysToYear(hyear), - daysInYear = this.isLeapYear(hyear) ? 355 : 354; - // hyear is just approximate, it may need adjustment up or down by 1. - if (daysSinceJan0101 < absDays) { - hyear--; - absDays -= daysInYear; - } - else if (daysSinceJan0101 === absDays) { - hyear--; - absDays = this.daysToYear(hyear); - } - else { - if (daysSinceJan0101 > (absDays + daysInYear)) { - absDays += daysInYear; - hyear++; - } - } - // determine month by looking at how many days into the hyear we are - // monthDays contains the number of days up to each month. - hmonth = 0; - var daysIntoYear = daysSinceJan0101 - absDays; - while (hmonth <= 11 && daysIntoYear > this.monthDays[hmonth]) { - hmonth++; - } - hmonth--; - hday = daysIntoYear - this.monthDays[hmonth]; - return [hyear, hmonth, hday]; - }, - daysToYear: function(year) { - // calculates how many days since Jan 1, 0001 - var yearsToYear30 = Math.floor((year - 1) / 30) * 30, - yearsInto30 = year - yearsToYear30 - 1, - days = Math.floor((yearsToYear30 * 10631) / 30) + 227013; - while (yearsInto30 > 0) { - days += (this.isLeapYear(yearsInto30) ? 355 : 354); - yearsInto30--; - } - return days; - }, - isLeapYear: function(year) { - return ((((year * 11) + 14) % 30) < 11); - } - } - }, - Gregorian_MiddleEastFrench: { - name: "Gregorian_MiddleEastFrench", - firstDay: 6, - days: { - names: ["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"], - namesAbbr: ["dim.","lun.","mar.","mer.","jeu.","ven.","sam."], - namesShort: ["di","lu","ma","me","je","ve","sa"] - }, - months: { - names: ["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""], - namesAbbr: ["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"ap. J.-C.","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt", - M: "dd MMMM" - } - }, - Gregorian_Arabic: { - name: "Gregorian_Arabic", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""], - namesAbbr: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - }, - Gregorian_TransliteratedFrench: { - name: "Gregorian_TransliteratedFrench", - firstDay: 6, - days: { - names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"], - namesShort: ["ح","ن","ث","ر","خ","ج","س"] - }, - months: { - names: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""], - namesAbbr: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""] - }, - AM: ["ص","ص","ص"], - PM: ["م","م","م"], - eras: [{"name":"م","start":null,"offset":0}], - patterns: { - d: "MM/dd/yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, MMMM dd, yyyy hh:mm tt", - F: "dddd, MMMM dd, yyyy hh:mm:ss tt" - } - } - } -}); - -Globalize.addCultureInfo( "en-IN", "default", { - name: "en-IN", - englishName: "English (India)", - nativeName: "English (India)", - numberFormat: { - groupSizes: [3,2], - percent: { - groupSizes: [3,2] - }, - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,2], - symbol: "Rs." - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - patterns: { - d: "dd-MM-yyyy", - D: "dd MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "dd MMMM yyyy HH:mm", - F: "dd MMMM yyyy HH:mm:ss", - M: "dd MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "es-BO", "default", { - name: "es-BO", - englishName: "Spanish (Bolivia)", - nativeName: "Español (Bolivia)", - language: "es", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "NeuN", - negativeInfinity: "-Infinito", - positiveInfinity: "Infinito", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["($ n)","$ n"], - ",": ".", - ".": ",", - symbol: "$b" - } - }, - calendars: { - standard: { - days: { - names: ["domingo","lunes","martes","miércoles","jueves","viernes","sábado"], - namesAbbr: ["dom","lun","mar","mié","jue","vie","sáb"], - namesShort: ["do","lu","ma","mi","ju","vi","sá"] - }, - months: { - names: ["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""], - namesAbbr: ["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""] - }, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, dd' de 'MMMM' de 'yyyy hh:mm tt", - F: "dddd, dd' de 'MMMM' de 'yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "en-MY", "default", { - name: "en-MY", - englishName: "English (Malaysia)", - nativeName: "English (Malaysia)", - numberFormat: { - percent: { - pattern: ["-n%","n%"] - }, - currency: { - symbol: "RM" - } - }, - calendars: { - standard: { - days: { - namesShort: ["S","M","T","W","T","F","S"] - }, - patterns: { - d: "d/M/yyyy", - D: "dddd, d MMMM, yyyy", - f: "dddd, d MMMM, yyyy h:mm tt", - F: "dddd, d MMMM, yyyy h:mm:ss tt", - M: "d MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "es-SV", "default", { - name: "es-SV", - englishName: "Spanish (El Salvador)", - nativeName: "Español (El Salvador)", - language: "es", - numberFormat: { - "NaN": "NeuN", - negativeInfinity: "-Infinito", - positiveInfinity: "Infinito", - currency: { - groupSizes: [3,0] - } - }, - calendars: { - standard: { - days: { - names: ["domingo","lunes","martes","miércoles","jueves","viernes","sábado"], - namesAbbr: ["dom","lun","mar","mié","jue","vie","sáb"], - namesShort: ["do","lu","ma","mi","ju","vi","sá"] - }, - months: { - names: ["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""], - namesAbbr: ["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""] - }, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, dd' de 'MMMM' de 'yyyy hh:mm tt", - F: "dddd, dd' de 'MMMM' de 'yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "en-SG", "default", { - name: "en-SG", - englishName: "English (Singapore)", - nativeName: "English (Singapore)", - numberFormat: { - percent: { - pattern: ["-n%","n%"] - } - }, - calendars: { - standard: { - days: { - namesShort: ["S","M","T","W","T","F","S"] - }, - patterns: { - d: "d/M/yyyy", - D: "dddd, d MMMM, yyyy", - f: "dddd, d MMMM, yyyy h:mm tt", - F: "dddd, d MMMM, yyyy h:mm:ss tt", - M: "d MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "es-HN", "default", { - name: "es-HN", - englishName: "Spanish (Honduras)", - nativeName: "Español (Honduras)", - language: "es", - numberFormat: { - "NaN": "NeuN", - negativeInfinity: "-Infinito", - positiveInfinity: "Infinito", - currency: { - pattern: ["$ -n","$ n"], - groupSizes: [3,0], - symbol: "L." - } - }, - calendars: { - standard: { - days: { - names: ["domingo","lunes","martes","miércoles","jueves","viernes","sábado"], - namesAbbr: ["dom","lun","mar","mié","jue","vie","sáb"], - namesShort: ["do","lu","ma","mi","ju","vi","sá"] - }, - months: { - names: ["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""], - namesAbbr: ["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""] - }, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, dd' de 'MMMM' de 'yyyy hh:mm tt", - F: "dddd, dd' de 'MMMM' de 'yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "es-NI", "default", { - name: "es-NI", - englishName: "Spanish (Nicaragua)", - nativeName: "Español (Nicaragua)", - language: "es", - numberFormat: { - "NaN": "NeuN", - negativeInfinity: "-Infinito", - positiveInfinity: "Infinito", - currency: { - pattern: ["($ n)","$ n"], - groupSizes: [3,0], - symbol: "C$" - } - }, - calendars: { - standard: { - days: { - names: ["domingo","lunes","martes","miércoles","jueves","viernes","sábado"], - namesAbbr: ["dom","lun","mar","mié","jue","vie","sáb"], - namesShort: ["do","lu","ma","mi","ju","vi","sá"] - }, - months: { - names: ["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""], - namesAbbr: ["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""] - }, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, dd' de 'MMMM' de 'yyyy hh:mm tt", - F: "dddd, dd' de 'MMMM' de 'yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "es-PR", "default", { - name: "es-PR", - englishName: "Spanish (Puerto Rico)", - nativeName: "Español (Puerto Rico)", - language: "es", - numberFormat: { - "NaN": "NeuN", - negativeInfinity: "-Infinito", - positiveInfinity: "Infinito", - currency: { - pattern: ["($ n)","$ n"], - groupSizes: [3,0] - } - }, - calendars: { - standard: { - days: { - names: ["domingo","lunes","martes","miércoles","jueves","viernes","sábado"], - namesAbbr: ["dom","lun","mar","mié","jue","vie","sáb"], - namesShort: ["do","lu","ma","mi","ju","vi","sá"] - }, - months: { - names: ["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""], - namesAbbr: ["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""] - }, - AM: ["a.m.","a.m.","A.M."], - PM: ["p.m.","p.m.","P.M."], - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - d: "dd/MM/yyyy", - D: "dddd, dd' de 'MMMM' de 'yyyy", - t: "hh:mm tt", - T: "hh:mm:ss tt", - f: "dddd, dd' de 'MMMM' de 'yyyy hh:mm tt", - F: "dddd, dd' de 'MMMM' de 'yyyy hh:mm:ss tt", - M: "dd MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "es-US", "default", { - name: "es-US", - englishName: "Spanish (United States)", - nativeName: "Español (Estados Unidos)", - language: "es", - numberFormat: { - groupSizes: [3,0], - "NaN": "NeuN", - negativeInfinity: "-Infinito", - positiveInfinity: "Infinito", - percent: { - groupSizes: [3,0] - } - }, - calendars: { - standard: { - days: { - names: ["domingo","lunes","martes","miércoles","jueves","viernes","sábado"], - namesAbbr: ["dom","lun","mar","mié","jue","vie","sáb"], - namesShort: ["do","lu","ma","mi","ju","vi","sa"] - }, - months: { - names: ["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""], - namesAbbr: ["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""] - }, - eras: [{"name":"d.C.","start":null,"offset":0}], - patterns: { - M: "dd' de 'MMMM", - Y: "MMMM' de 'yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "bs-Cyrl", "default", { - name: "bs-Cyrl", - englishName: "Bosnian (Cyrillic)", - nativeName: "босански", - language: "bs-Cyrl", - numberFormat: { - ",": ".", - ".": ",", - negativeInfinity: "-бесконачност", - positiveInfinity: "+бесконачност", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "КМ" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["недјеља","понедјељак","уторак","сриједа","четвртак","петак","субота"], - namesAbbr: ["нед","пон","уто","сре","чет","пет","суб"], - namesShort: ["н","п","у","с","ч","п","с"] - }, - months: { - names: ["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар",""], - namesAbbr: ["јан","феб","мар","апр","мај","јун","јул","авг","сеп","окт","нов","дец",""] - }, - AM: null, - PM: null, - eras: [{"name":"н.е.","start":null,"offset":0}], - patterns: { - d: "d.M.yyyy", - D: "d. MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM yyyy H:mm", - F: "d. MMMM yyyy H:mm:ss", - M: "d. MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "bs-Latn", "default", { - name: "bs-Latn", - englishName: "Bosnian (Latin)", - nativeName: "bosanski", - language: "bs-Latn", - numberFormat: { - ",": ".", - ".": ",", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "KM" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["nedjelja","ponedjeljak","utorak","srijeda","četvrtak","petak","subota"], - namesAbbr: ["ned","pon","uto","sri","čet","pet","sub"], - namesShort: ["ne","po","ut","sr","če","pe","su"] - }, - months: { - names: ["januar","februar","mart","april","maj","juni","juli","avgust","septembar","oktobar","novembar","decembar",""], - namesAbbr: ["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec",""] - }, - AM: null, - PM: null, - patterns: { - d: "d.M.yyyy", - D: "d. MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM yyyy H:mm", - F: "d. MMMM yyyy H:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "sr-Cyrl", "default", { - name: "sr-Cyrl", - englishName: "Serbian (Cyrillic)", - nativeName: "српски", - language: "sr-Cyrl", - numberFormat: { - ",": ".", - ".": ",", - negativeInfinity: "-бесконачност", - positiveInfinity: "+бесконачност", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "Дин." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["недеља","понедељак","уторак","среда","четвртак","петак","субота"], - namesAbbr: ["нед","пон","уто","сре","чет","пет","суб"], - namesShort: ["не","по","ут","ср","че","пе","су"] - }, - months: { - names: ["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар",""], - namesAbbr: ["јан","феб","мар","апр","мај","јун","јул","авг","сеп","окт","нов","дец",""] - }, - AM: null, - PM: null, - eras: [{"name":"н.е.","start":null,"offset":0}], - patterns: { - d: "d.M.yyyy", - D: "d. MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM yyyy H:mm", - F: "d. MMMM yyyy H:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "sr-Latn", "default", { - name: "sr-Latn", - englishName: "Serbian (Latin)", - nativeName: "srpski", - language: "sr-Latn", - numberFormat: { - ",": ".", - ".": ",", - negativeInfinity: "-beskonačnost", - positiveInfinity: "+beskonačnost", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "Din." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["nedelja","ponedeljak","utorak","sreda","četvrtak","petak","subota"], - namesAbbr: ["ned","pon","uto","sre","čet","pet","sub"], - namesShort: ["ne","po","ut","sr","če","pe","su"] - }, - months: { - names: ["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar",""], - namesAbbr: ["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec",""] - }, - AM: null, - PM: null, - eras: [{"name":"n.e.","start":null,"offset":0}], - patterns: { - d: "d.M.yyyy", - D: "d. MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM yyyy H:mm", - F: "d. MMMM yyyy H:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "smn", "default", { - name: "smn", - englishName: "Sami (Inari)", - nativeName: "sämikielâ", - language: "smn", - numberFormat: { - ",": " ", - ".": ",", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["pasepeivi","vuossargâ","majebargâ","koskokko","tuorâstâh","vástuppeivi","lávárdâh"], - namesAbbr: ["pa","vu","ma","ko","tu","vá","lá"], - namesShort: ["p","v","m","k","t","v","l"] - }, - months: { - names: ["uđđâivemáánu","kuovâmáánu","njuhčâmáánu","cuáŋuimáánu","vyesimáánu","kesimáánu","syeinimáánu","porgemáánu","čohčâmáánu","roovvâdmáánu","skammâmáánu","juovlâmáánu",""], - namesAbbr: ["uđiv","kuov","njuh","cuoŋ","vyes","kesi","syei","porg","čoh","roov","ska","juov",""] - }, - AM: null, - PM: null, - patterns: { - d: "d.M.yyyy", - D: "MMMM d'. p. 'yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "MMMM d'. p. 'yyyy H:mm", - F: "MMMM d'. p. 'yyyy H:mm:ss", - M: "MMMM d'. p. '", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "az-Cyrl", "default", { - name: "az-Cyrl", - englishName: "Azeri (Cyrillic)", - nativeName: "Азәрбајҹан дили", - language: "az-Cyrl", - numberFormat: { - ",": " ", - ".": ",", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "ман." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Базар","Базар ертәси","Чәршәнбә ахшамы","Чәршәнбә","Ҹүмә ахшамы","Ҹүмә","Шәнбә"], - namesAbbr: ["Б","Бе","Ча","Ч","Ҹа","Ҹ","Ш"], - namesShort: ["Б","Бе","Ча","Ч","Ҹа","Ҹ","Ш"] - }, - months: { - names: ["Јанвар","Феврал","Март","Апрел","Мај","Ијун","Ијул","Август","Сентјабр","Октјабр","Нојабр","Декабр",""], - namesAbbr: ["Јан","Фев","Мар","Апр","Мај","Ијун","Ијул","Авг","Сен","Окт","Ноя","Дек",""] - }, - monthsGenitive: { - names: ["јанвар","феврал","март","апрел","мај","ијун","ијул","август","сентјабр","октјабр","нојабр","декабр",""], - namesAbbr: ["Јан","Фев","Мар","Апр","мая","ијун","ијул","Авг","Сен","Окт","Ноя","Дек",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "d MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d MMMM yyyy H:mm", - F: "d MMMM yyyy H:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "sms", "default", { - name: "sms", - englishName: "Sami (Skolt)", - nativeName: "sääm´ǩiõll", - language: "sms", - numberFormat: { - ",": " ", - ".": ",", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["pâ´sspei´vv","vuõssargg","mââibargg","seärad","nelljdpei´vv","piâtnâc","sue´vet"], - namesAbbr: ["pâ","vu","mâ","se","ne","pi","su"], - namesShort: ["p","v","m","s","n","p","s"] - }, - months: { - names: ["ođđee´jjmään","tä´lvvmään","pâ´zzlâšttammään","njuhččmään","vue´ssmään","ǩie´ssmään","suei´nnmään","på´rǧǧmään","čõhččmään","kålggmään","skamm´mään","rosttovmään",""], - namesAbbr: ["ođjm","tä´lvv","pâzl","njuh","vue","ǩie","suei","på´r","čõh","kålg","ska","rost",""] - }, - monthsGenitive: { - names: ["ođđee´jjmannu","tä´lvvmannu","pâ´zzlâšttammannu","njuhččmannu","vue´ssmannu","ǩie´ssmannu","suei´nnmannu","på´rǧǧmannu","čõhččmannu","kålggmannu","skamm´mannu","rosttovmannu",""], - namesAbbr: ["ođjm","tä´lvv","pâzl","njuh","vue","ǩie","suei","på´r","čõh","kålg","ska","rost",""] - }, - AM: null, - PM: null, - patterns: { - d: "d.M.yyyy", - D: "MMMM d'. p. 'yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "MMMM d'. p. 'yyyy H:mm", - F: "MMMM d'. p. 'yyyy H:mm:ss", - M: "MMMM d'. p. '", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "zh", "default", { - name: "zh", - englishName: "Chinese", - nativeName: "中文", - language: "zh", - numberFormat: { - "NaN": "非数字", - negativeInfinity: "负无穷大", - positiveInfinity: "正无穷大", - percent: { - pattern: ["-n%","n%"] - }, - currency: { - pattern: ["$-n","$n"], - symbol: "¥" - } - }, - calendars: { - standard: { - days: { - names: ["星期日","星期一","星期二","星期三","星期四","星期五","星期六"], - namesAbbr: ["周日","周一","周二","周三","周四","周五","周六"], - namesShort: ["日","一","二","三","四","五","六"] - }, - months: { - names: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""], - namesAbbr: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""] - }, - AM: ["上午","上午","上午"], - PM: ["下午","下午","下午"], - eras: [{"name":"公元","start":null,"offset":0}], - patterns: { - d: "yyyy/M/d", - D: "yyyy'年'M'月'd'日'", - t: "H:mm", - T: "H:mm:ss", - f: "yyyy'年'M'月'd'日' H:mm", - F: "yyyy'年'M'月'd'日' H:mm:ss", - M: "M'月'd'日'", - Y: "yyyy'年'M'月'" - } - } - } -}); - -Globalize.addCultureInfo( "nn", "default", { - name: "nn", - englishName: "Norwegian (Nynorsk)", - nativeName: "norsk (nynorsk)", - language: "nn", - numberFormat: { - ",": " ", - ".": ",", - negativeInfinity: "-INF", - positiveInfinity: "INF", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["$ -n","$ n"], - ",": " ", - ".": ",", - symbol: "kr" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["søndag","måndag","tysdag","onsdag","torsdag","fredag","laurdag"], - namesAbbr: ["sø","må","ty","on","to","fr","la"], - namesShort: ["sø","må","ty","on","to","fr","la"] - }, - months: { - names: ["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember",""], - namesAbbr: ["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "d. MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "d. MMMM yyyy HH:mm", - F: "d. MMMM yyyy HH:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "bs", "default", { - name: "bs", - englishName: "Bosnian", - nativeName: "bosanski", - language: "bs", - numberFormat: { - ",": ".", - ".": ",", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "KM" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["nedjelja","ponedjeljak","utorak","srijeda","četvrtak","petak","subota"], - namesAbbr: ["ned","pon","uto","sri","čet","pet","sub"], - namesShort: ["ne","po","ut","sr","če","pe","su"] - }, - months: { - names: ["januar","februar","mart","april","maj","juni","juli","avgust","septembar","oktobar","novembar","decembar",""], - namesAbbr: ["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec",""] - }, - AM: null, - PM: null, - patterns: { - d: "d.M.yyyy", - D: "d. MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM yyyy H:mm", - F: "d. MMMM yyyy H:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "az-Latn", "default", { - name: "az-Latn", - englishName: "Azeri (Latin)", - nativeName: "Azərbaycan\xadılı", - language: "az-Latn", - numberFormat: { - ",": " ", - ".": ",", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "man." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Bazar","Bazar ertəsi","Çərşənbə axşamı","Çərşənbə","Cümə axşamı","Cümə","Şənbə"], - namesAbbr: ["B","Be","Ça","Ç","Ca","C","Ş"], - namesShort: ["B","Be","Ça","Ç","Ca","C","Ş"] - }, - months: { - names: ["Yanvar","Fevral","Mart","Aprel","May","İyun","İyul","Avgust","Sentyabr","Oktyabr","Noyabr","Dekabr",""], - namesAbbr: ["Yan","Fev","Mar","Apr","May","İyun","İyul","Avg","Sen","Okt","Noy","Dek",""] - }, - monthsGenitive: { - names: ["yanvar","fevral","mart","aprel","may","iyun","iyul","avgust","sentyabr","oktyabr","noyabr","dekabr",""], - namesAbbr: ["Yan","Fev","Mar","Apr","May","İyun","İyul","Avg","Sen","Okt","Noy","Dek",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "d MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d MMMM yyyy H:mm", - F: "d MMMM yyyy H:mm:ss", - M: "d MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "sma", "default", { - name: "sma", - englishName: "Sami (Southern)", - nativeName: "åarjelsaemiengiele", - language: "sma", - numberFormat: { - ",": " ", - ".": ",", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "kr" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["aejlege","måanta","dæjsta","gaskevåhkoe","duarsta","bearjadahke","laavvardahke"], - namesAbbr: ["aej","måa","dæj","gask","duar","bearj","laav"], - namesShort: ["a","m","d","g","d","b","l"] - }, - months: { - names: ["tsïengele","goevte","njoktje","voerhtje","suehpede","ruffie","snjaltje","mïetske","skïerede","golke","rahka","goeve",""], - namesAbbr: ["tsïen","goevt","njok","voer","sueh","ruff","snja","mïet","skïer","golk","rahk","goev",""] - }, - monthsGenitive: { - names: ["tsïengelen","goevten","njoktjen","voerhtjen","suehpeden","ruffien","snjaltjen","mïetsken","skïereden","golken","rahkan","goeven",""], - namesAbbr: ["tsïen","goevt","njok","voer","sueh","ruff","snja","mïet","skïer","golk","rahk","goev",""] - }, - AM: null, - PM: null, - patterns: { - d: "yyyy-MM-dd", - D: "MMMM d'. b. 'yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "MMMM d'. b. 'yyyy HH:mm", - F: "MMMM d'. b. 'yyyy HH:mm:ss", - M: "MMMM d'. b. '", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "uz-Cyrl", "default", { - name: "uz-Cyrl", - englishName: "Uzbek (Cyrillic)", - nativeName: "Ўзбек", - language: "uz-Cyrl", - numberFormat: { - ",": " ", - ".": ",", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": " ", - ".": ",", - symbol: "сўм" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["якшанба","душанба","сешанба","чоршанба","пайшанба","жума","шанба"], - namesAbbr: ["якш","дш","сш","чш","пш","ж","ш"], - namesShort: ["я","д","с","ч","п","ж","ш"] - }, - months: { - names: ["Январ","Феврал","Март","Апрел","Май","Июн","Июл","Август","Сентябр","Октябр","Ноябр","Декабр",""], - namesAbbr: ["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек",""] - }, - monthsGenitive: { - names: ["январ","феврал","март","апрел","май","июн","июл","август","сентябр","октябр","ноябр","декабр",""], - namesAbbr: ["Янв","Фев","Мар","Апр","мая","Июн","Июл","Авг","Сен","Окт","Ноя","Дек",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "yyyy 'йил' d-MMMM", - t: "HH:mm", - T: "HH:mm:ss", - f: "yyyy 'йил' d-MMMM HH:mm", - F: "yyyy 'йил' d-MMMM HH:mm:ss", - M: "d-MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "mn-Cyrl", "default", { - name: "mn-Cyrl", - englishName: "Mongolian (Cyrillic)", - nativeName: "Монгол хэл", - language: "mn-Cyrl", - numberFormat: { - ",": " ", - ".": ",", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n$","n$"], - ",": " ", - ".": ",", - symbol: "₮" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["Ням","Даваа","Мягмар","Лхагва","Пүрэв","Баасан","Бямба"], - namesAbbr: ["Ня","Да","Мя","Лх","Пү","Ба","Бя"], - namesShort: ["Ня","Да","Мя","Лх","Пү","Ба","Бя"] - }, - months: { - names: ["1 дүгээр сар","2 дугаар сар","3 дугаар сар","4 дүгээр сар","5 дугаар сар","6 дугаар сар","7 дугаар сар","8 дугаар сар","9 дүгээр сар","10 дугаар сар","11 дүгээр сар","12 дугаар сар",""], - namesAbbr: ["I","II","III","IV","V","VI","VII","VIII","IX","X","XI","XII",""] - }, - monthsGenitive: { - names: ["1 дүгээр сарын","2 дугаар сарын","3 дугаар сарын","4 дүгээр сарын","5 дугаар сарын","6 дугаар сарын","7 дугаар сарын","8 дугаар сарын","9 дүгээр сарын","10 дугаар сарын","11 дүгээр сарын","12 дугаар сарын",""], - namesAbbr: ["I","II","III","IV","V","VI","VII","VIII","IX","X","XI","XII",""] - }, - AM: null, - PM: null, - patterns: { - d: "yy.MM.dd", - D: "yyyy 'оны' MMMM d", - t: "H:mm", - T: "H:mm:ss", - f: "yyyy 'оны' MMMM d H:mm", - F: "yyyy 'оны' MMMM d H:mm:ss", - M: "d MMMM", - Y: "yyyy 'он' MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "iu-Cans", "default", { - name: "iu-Cans", - englishName: "Inuktitut (Syllabics)", - nativeName: "ᐃᓄᒃᑎᑐᑦ", - language: "iu-Cans", - numberFormat: { - groupSizes: [3,0], - percent: { - pattern: ["-n%","n%"], - groupSizes: [3,0] - }, - currency: { - groupSizes: [3,0] - } - }, - calendars: { - standard: { - days: { - names: ["ᓈᑦᑏᖑᔭ","ᓇᒡᒐᔾᔭᐅ","ᐊᐃᑉᐱᖅ","ᐱᖓᑦᓯᖅ","ᓯᑕᒻᒥᖅ","ᑕᓪᓕᕐᒥᖅ","ᓯᕙᑖᕐᕕᒃ"], - namesAbbr: ["ᓈᑦᑏ","ᓇᒡᒐ","ᐊᐃᑉᐱ","ᐱᖓᑦᓯ","ᓯᑕ","ᑕᓪᓕ","ᓯᕙᑖᕐᕕᒃ"], - namesShort: ["ᓈ","ᓇ","ᐊ","ᐱ","ᓯ","ᑕ","ᓯ"] - }, - months: { - names: ["ᔮᓐᓄᐊᕆ","ᕖᕝᕗᐊᕆ","ᒫᑦᓯ","ᐄᐳᕆ","ᒪᐃ","ᔫᓂ","ᔪᓚᐃ","ᐋᒡᒌᓯ","ᓯᑎᐱᕆ","ᐅᑐᐱᕆ","ᓄᕕᐱᕆ","ᑎᓯᐱᕆ",""], - namesAbbr: ["ᔮᓐᓄ","ᕖᕝᕗ","ᒫᑦᓯ","ᐄᐳᕆ","ᒪᐃ","ᔫᓂ","ᔪᓚᐃ","ᐋᒡᒌ","ᓯᑎᐱ","ᐅᑐᐱ","ᓄᕕᐱ","ᑎᓯᐱ",""] - }, - patterns: { - d: "d/M/yyyy", - D: "dddd,MMMM dd,yyyy", - f: "dddd,MMMM dd,yyyy h:mm tt", - F: "dddd,MMMM dd,yyyy h:mm:ss tt", - Y: "MMMM,yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "zh-Hant", "default", { - name: "zh-Hant", - englishName: "Chinese (Traditional)", - nativeName: "中文(繁體)", - language: "zh-Hant", - numberFormat: { - "NaN": "非數字", - negativeInfinity: "負無窮大", - positiveInfinity: "正無窮大", - percent: { - pattern: ["-n%","n%"] - }, - currency: { - symbol: "HK$" - } - }, - calendars: { - standard: { - days: { - names: ["星期日","星期一","星期二","星期三","星期四","星期五","星期六"], - namesAbbr: ["週日","週一","週二","週三","週四","週五","週六"], - namesShort: ["日","一","二","三","四","五","六"] - }, - months: { - names: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""], - namesAbbr: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""] - }, - AM: ["上午","上午","上午"], - PM: ["下午","下午","下午"], - eras: [{"name":"公元","start":null,"offset":0}], - patterns: { - d: "d/M/yyyy", - D: "yyyy'年'M'月'd'日'", - t: "H:mm", - T: "H:mm:ss", - f: "yyyy'年'M'月'd'日' H:mm", - F: "yyyy'年'M'月'd'日' H:mm:ss", - M: "M'月'd'日'", - Y: "yyyy'年'M'月'" - } - } - } -}); - -Globalize.addCultureInfo( "nb", "default", { - name: "nb", - englishName: "Norwegian (Bokmål)", - nativeName: "norsk (bokmål)", - language: "nb", - numberFormat: { - ",": " ", - ".": ",", - negativeInfinity: "-INF", - positiveInfinity: "INF", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["$ -n","$ n"], - ",": " ", - ".": ",", - symbol: "kr" - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"], - namesAbbr: ["sø","ma","ti","on","to","fr","lø"], - namesShort: ["sø","ma","ti","on","to","fr","lø"] - }, - months: { - names: ["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember",""], - namesAbbr: ["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yyyy", - D: "d. MMMM yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "d. MMMM yyyy HH:mm", - F: "d. MMMM yyyy HH:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "sr", "default", { - name: "sr", - englishName: "Serbian", - nativeName: "srpski", - language: "sr", - numberFormat: { - ",": ".", - ".": ",", - negativeInfinity: "-beskonačnost", - positiveInfinity: "+beskonačnost", - percent: { - pattern: ["-n%","n%"], - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "Din." - } - }, - calendars: { - standard: { - "/": ".", - firstDay: 1, - days: { - names: ["nedelja","ponedeljak","utorak","sreda","četvrtak","petak","subota"], - namesAbbr: ["ned","pon","uto","sre","čet","pet","sub"], - namesShort: ["ne","po","ut","sr","če","pe","su"] - }, - months: { - names: ["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar",""], - namesAbbr: ["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec",""] - }, - AM: null, - PM: null, - eras: [{"name":"n.e.","start":null,"offset":0}], - patterns: { - d: "d.M.yyyy", - D: "d. MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d. MMMM yyyy H:mm", - F: "d. MMMM yyyy H:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "tg-Cyrl", "default", { - name: "tg-Cyrl", - englishName: "Tajik (Cyrillic)", - nativeName: "Тоҷикӣ", - language: "tg-Cyrl", - numberFormat: { - ",": " ", - ".": ",", - groupSizes: [3,0], - negativeInfinity: "-бесконечность", - positiveInfinity: "бесконечность", - percent: { - pattern: ["-n%","n%"], - groupSizes: [3,0], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - groupSizes: [3,0], - ",": " ", - ".": ";", - symbol: "т.р." - } - }, - calendars: { - standard: { - "/": ".", - days: { - names: ["Яш","Душанбе","Сешанбе","Чоршанбе","Панҷшанбе","Ҷумъа","Шанбе"], - namesAbbr: ["Яш","Дш","Сш","Чш","Пш","Ҷм","Шн"], - namesShort: ["Яш","Дш","Сш","Чш","Пш","Ҷм","Шн"] - }, - months: { - names: ["Январ","Феврал","Март","Апрел","Май","Июн","Июл","Август","Сентябр","Октябр","Ноябр","Декабр",""], - namesAbbr: ["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек",""] - }, - monthsGenitive: { - names: ["январи","феврали","марти","апрели","маи","июни","июли","августи","сентябри","октябри","ноябри","декабри",""], - namesAbbr: ["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd.MM.yy", - D: "d MMMM yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "d MMMM yyyy H:mm", - F: "d MMMM yyyy H:mm:ss", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "dsb", "default", { - name: "dsb", - englishName: "Lower Sorbian", - nativeName: "dolnoserbšćina", - language: "dsb", - numberFormat: { - ",": ".", - ".": ",", - "NaN": "njedefinowane", - negativeInfinity: "-njekońcne", - positiveInfinity: "+njekońcne", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "€" - } - }, - calendars: { - standard: { - "/": ". ", - firstDay: 1, - days: { - names: ["njeźela","ponjeźele","wałtora","srjoda","stwortk","pětk","sobota"], - namesAbbr: ["nje","pon","wał","srj","stw","pět","sob"], - namesShort: ["n","p","w","s","s","p","s"] - }, - months: { - names: ["januar","februar","měrc","apryl","maj","junij","julij","awgust","september","oktober","nowember","december",""], - namesAbbr: ["jan","feb","měr","apr","maj","jun","jul","awg","sep","okt","now","dec",""] - }, - monthsGenitive: { - names: ["januara","februara","měrca","apryla","maja","junija","julija","awgusta","septembra","oktobra","nowembra","decembra",""], - namesAbbr: ["jan","feb","měr","apr","maj","jun","jul","awg","sep","okt","now","dec",""] - }, - AM: null, - PM: null, - eras: [{"name":"po Chr.","start":null,"offset":0}], - patterns: { - d: "d. M. yyyy", - D: "dddd, 'dnja' d. MMMM yyyy", - t: "H.mm 'goź.'", - T: "H:mm:ss", - f: "dddd, 'dnja' d. MMMM yyyy H.mm 'goź.'", - F: "dddd, 'dnja' d. MMMM yyyy H:mm:ss", - M: "d. MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "smj", "default", { - name: "smj", - englishName: "Sami (Lule)", - nativeName: "julevusámegiella", - language: "smj", - numberFormat: { - ",": " ", - ".": ",", - percent: { - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - ",": ".", - ".": ",", - symbol: "kr" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 1, - days: { - names: ["ájllek","mánnodahka","dijstahka","gasskavahkko","duorastahka","bierjjedahka","lávvodahka"], - namesAbbr: ["ájl","mán","dis","gas","duor","bier","láv"], - namesShort: ["á","m","d","g","d","b","l"] - }, - months: { - names: ["ådåjakmánno","guovvamánno","sjnjuktjamánno","vuoratjismánno","moarmesmánno","biehtsemánno","sjnjilltjamánno","bårggemánno","ragátmánno","gålgådismánno","basádismánno","javllamánno",""], - namesAbbr: ["ådåj","guov","snju","vuor","moar","bieh","snji","bårg","ragá","gålg","basá","javl",""] - }, - monthsGenitive: { - names: ["ådåjakmáno","guovvamáno","sjnjuktjamáno","vuoratjismáno","moarmesmáno","biehtsemáno","sjnjilltjamáno","bårggemáno","ragátmáno","gålgådismáno","basádismáno","javllamáno",""], - namesAbbr: ["ådåj","guov","snju","vuor","moar","bieh","snji","bårg","ragá","gålg","basá","javl",""] - }, - AM: null, - PM: null, - patterns: { - d: "yyyy-MM-dd", - D: "MMMM d'. b. 'yyyy", - t: "HH:mm", - T: "HH:mm:ss", - f: "MMMM d'. b. 'yyyy HH:mm", - F: "MMMM d'. b. 'yyyy HH:mm:ss", - M: "MMMM d'. b. '", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "uz-Latn", "default", { - name: "uz-Latn", - englishName: "Uzbek (Latin)", - nativeName: "U'zbek", - language: "uz-Latn", - numberFormat: { - ",": " ", - ".": ",", - percent: { - pattern: ["-n%","n%"], - ",": " ", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - decimals: 0, - ",": " ", - ".": ",", - symbol: "so'm" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["yakshanba","dushanba","seshanba","chorshanba","payshanba","juma","shanba"], - namesAbbr: ["yak.","dsh.","sesh.","chr.","psh.","jm.","sh."], - namesShort: ["ya","d","s","ch","p","j","sh"] - }, - months: { - names: ["yanvar","fevral","mart","aprel","may","iyun","iyul","avgust","sentyabr","oktyabr","noyabr","dekabr",""], - namesAbbr: ["yanvar","fevral","mart","aprel","may","iyun","iyul","avgust","sentyabr","oktyabr","noyabr","dekabr",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd/MM yyyy", - D: "yyyy 'yil' d-MMMM", - t: "HH:mm", - T: "HH:mm:ss", - f: "yyyy 'yil' d-MMMM HH:mm", - F: "yyyy 'yil' d-MMMM HH:mm:ss", - M: "d-MMMM", - Y: "MMMM yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "mn-Mong", "default", { - name: "mn-Mong", - englishName: "Mongolian (Traditional Mongolian)", - nativeName: "ᠮᠤᠨᠭᠭᠤᠯ ᠬᠡᠯᠡ", - language: "mn-Mong", - numberFormat: { - groupSizes: [3,0], - "NaN": "ᠲᠤᠭᠠᠠ ᠪᠤᠰᠤ", - negativeInfinity: "ᠰᠦᠬᠡᠷᠬᠦ ᠬᠢᠵᠠᠭᠠᠷᠭᠦᠢ ᠶᠡᠬᠡ", - positiveInfinity: "ᠡᠶ᠋ᠡᠷᠬᠦ ᠬᠢᠵᠠᠭᠠᠷᠭᠦᠢ ᠶᠠᠬᠡ", - percent: { - pattern: ["-n%","n%"], - groupSizes: [3,0] - }, - currency: { - pattern: ["$-n","$n"], - groupSizes: [3,0], - symbol: "¥" - } - }, - calendars: { - standard: { - firstDay: 1, - days: { - names: ["ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠡᠳᠦᠷ","ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠨᠢᠭᠡᠨ","ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠬᠣᠶᠠᠷ","ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠭᠤᠷᠪᠠᠨ","ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠳᠥᠷᠪᠡᠨ","ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠲᠠᠪᠤᠨ","ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠵᠢᠷᠭᠤᠭᠠᠨ"], - namesAbbr: ["ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠡᠳᠦᠷ","ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠨᠢᠭᠡᠨ","ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠬᠣᠶᠠᠷ","ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠭᠤᠷᠪᠠᠨ","ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠳᠥᠷᠪᠡᠨ","ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠲᠠᠪᠤᠨ","ᠭᠠᠷᠠᠭ\u202fᠤᠨ ᠵᠢᠷᠭᠤᠭᠠᠨ"], - namesShort: ["ᠡ\u200d","ᠨᠢ\u200d","ᠬᠣ\u200d","ᠭᠤ\u200d","ᠳᠥ\u200d","ᠲᠠ\u200d","ᠵᠢ\u200d"] - }, - months: { - names: ["ᠨᠢᠭᠡᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠬᠤᠶ᠋ᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠭᠤᠷᠪᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠲᠦᠷᠪᠡᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠲᠠᠪᠤᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠵᠢᠷᠭᠤᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠲᠤᠯᠤᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠨᠠᠢᠮᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠶᠢᠰᠦᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠠᠷᠪᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠠᠷᠪᠠᠨ ᠨᠢᠭᠡᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠠᠷᠪᠠᠨ ᠬᠤᠶ᠋ᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ",""], - namesAbbr: ["ᠨᠢᠭᠡᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠬᠤᠶ᠋ᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠭᠤᠷᠪᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠲᠦᠷᠪᠡᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠲᠠᠪᠤᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠵᠢᠷᠭᠤᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠲᠤᠯᠤᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠨᠠᠢᠮᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠶᠢᠰᠦᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠠᠷᠪᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ","ᠠᠷᠪᠠᠨ ᠨᠢᠭᠡᠳᠦᠭᠡᠷ ᠰᠠᠷ᠎ᠠ","ᠠᠷᠪᠠᠨ ᠬᠤᠶ᠋ᠠᠳᠤᠭᠠᠷ ᠰᠠᠷ᠎ᠠ",""] - }, - AM: null, - PM: null, - eras: [{"name":"ᠣᠨ ᠲᠣᠭᠠᠯᠠᠯ ᠤᠨ","start":null,"offset":0}], - patterns: { - d: "yyyy/M/d", - D: "yyyy'ᠣᠨ ᠤ᠋' M'ᠰᠠᠷ᠎ᠠ \u202fᠢᠢᠨ 'd' ᠤ᠋ ᠡᠳᠦᠷ'", - t: "H:mm", - T: "H:mm:ss", - f: "yyyy'ᠣᠨ ᠤ᠋' M'ᠰᠠᠷ᠎ᠠ \u202fᠢᠢᠨ 'd' ᠤ᠋ ᠡᠳᠦᠷ' H:mm", - F: "yyyy'ᠣᠨ ᠤ᠋' M'ᠰᠠᠷ᠎ᠠ \u202fᠢᠢᠨ 'd' ᠤ᠋ ᠡᠳᠦᠷ' H:mm:ss", - M: "M'ᠰᠠᠷ᠎ᠠ' d'ᠡᠳᠦᠷ'", - Y: "yyyy'ᠣᠨ' M'ᠰᠠᠷ᠎ᠠ'" - } - } - } -}); - -Globalize.addCultureInfo( "iu-Latn", "default", { - name: "iu-Latn", - englishName: "Inuktitut (Latin)", - nativeName: "Inuktitut", - language: "iu-Latn", - numberFormat: { - groupSizes: [3,0], - percent: { - groupSizes: [3,0] - } - }, - calendars: { - standard: { - days: { - names: ["Naattiinguja","Naggajjau","Aippiq","Pingatsiq","Sitammiq","Tallirmiq","Sivataarvik"], - namesAbbr: ["Nat","Nag","Aip","Pi","Sit","Tal","Siv"], - namesShort: ["N","N","A","P","S","T","S"] - }, - months: { - names: ["Jaannuari","Viivvuari","Maatsi","Iipuri","Mai","Juuni","Julai","Aaggiisi","Sitipiri","Utupiri","Nuvipiri","Tisipiri",""], - namesAbbr: ["Jan","Viv","Mas","Ipu","Mai","Jun","Jul","Agi","Sii","Uut","Nuv","Tis",""] - }, - patterns: { - d: "d/MM/yyyy", - D: "ddd, MMMM dd,yyyy", - f: "ddd, MMMM dd,yyyy h:mm tt", - F: "ddd, MMMM dd,yyyy h:mm:ss tt" - } - } - } -}); - -Globalize.addCultureInfo( "tzm-Latn", "default", { - name: "tzm-Latn", - englishName: "Tamazight (Latin)", - nativeName: "Tamazight", - language: "tzm-Latn", - numberFormat: { - pattern: ["n-"], - ",": ".", - ".": ",", - "NaN": "Non Numérique", - negativeInfinity: "-Infini", - positiveInfinity: "+Infini", - percent: { - ",": ".", - ".": "," - }, - currency: { - pattern: ["-n $","n $"], - symbol: "DZD" - } - }, - calendars: { - standard: { - "/": "-", - firstDay: 6, - days: { - names: ["Acer","Arime","Aram","Ahad","Amhadh","Sem","Sedh"], - namesAbbr: ["Ace","Ari","Ara","Aha","Amh","Sem","Sed"], - namesShort: ["Ac","Ar","Ar","Ah","Am","Se","Se"] - }, - months: { - names: ["Yenayer","Furar","Maghres","Yebrir","Mayu","Yunyu","Yulyu","Ghuct","Cutenber","Ktuber","Wambir","Dujanbir",""], - namesAbbr: ["Yen","Fur","Mag","Yeb","May","Yun","Yul","Ghu","Cut","Ktu","Wam","Duj",""] - }, - AM: null, - PM: null, - patterns: { - d: "dd-MM-yyyy", - D: "dd MMMM, yyyy", - t: "H:mm", - T: "H:mm:ss", - f: "dd MMMM, yyyy H:mm", - F: "dd MMMM, yyyy H:mm:ss", - M: "dd MMMM" - } - } - } -}); - -Globalize.addCultureInfo( "ha-Latn", "default", { - name: "ha-Latn", - englishName: "Hausa (Latin)", - nativeName: "Hausa", - language: "ha-Latn", - numberFormat: { - currency: { - pattern: ["$-n","$ n"], - symbol: "N" - } - }, - calendars: { - standard: { - days: { - names: ["Lahadi","Litinin","Talata","Laraba","Alhamis","Juma'a","Asabar"], - namesAbbr: ["Lah","Lit","Tal","Lar","Alh","Jum","Asa"], - namesShort: ["L","L","T","L","A","J","A"] - }, - months: { - names: ["Januwaru","Febreru","Maris","Afrilu","Mayu","Yuni","Yuli","Agusta","Satumba","Oktocba","Nuwamba","Disamba",""], - namesAbbr: ["Jan","Feb","Mar","Afr","May","Yun","Yul","Agu","Sat","Okt","Nuw","Dis",""] - }, - AM: ["Safe","safe","SAFE"], - PM: ["Yamma","yamma","YAMMA"], - eras: [{"name":"AD","start":null,"offset":0}], - patterns: { - d: "d/M/yyyy" - } - } - } -}); - -Globalize.addCultureInfo( "zh-CHS", "default", { - name: "zh-CHS", - englishName: "Chinese (Simplified) Legacy", - nativeName: "中文(简体) 旧版", - language: "zh-CHS", - numberFormat: { - "NaN": "非数字", - negativeInfinity: "负无穷大", - positiveInfinity: "正无穷大", - percent: { - pattern: ["-n%","n%"] - }, - currency: { - pattern: ["$-n","$n"], - symbol: "¥" - } - }, - calendars: { - standard: { - days: { - names: ["星期日","星期一","星期二","星期三","星期四","星期五","星期六"], - namesAbbr: ["周日","周一","周二","周三","周四","周五","周六"], - namesShort: ["日","一","二","三","四","五","六"] - }, - months: { - names: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""], - namesAbbr: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""] - }, - AM: ["上午","上午","上午"], - PM: ["下午","下午","下午"], - eras: [{"name":"公元","start":null,"offset":0}], - patterns: { - d: "yyyy/M/d", - D: "yyyy'年'M'月'd'日'", - t: "H:mm", - T: "H:mm:ss", - f: "yyyy'年'M'月'd'日' H:mm", - F: "yyyy'年'M'月'd'日' H:mm:ss", - M: "M'月'd'日'", - Y: "yyyy'年'M'月'" - } - } - } -}); - -Globalize.addCultureInfo( "zh-CHT", "default", { - name: "zh-CHT", - englishName: "Chinese (Traditional) Legacy", - nativeName: "中文(繁體) 舊版", - language: "zh-CHT", - numberFormat: { - "NaN": "非數字", - negativeInfinity: "負無窮大", - positiveInfinity: "正無窮大", - percent: { - pattern: ["-n%","n%"] - }, - currency: { - symbol: "HK$" - } - }, - calendars: { - standard: { - days: { - names: ["星期日","星期一","星期二","星期三","星期四","星期五","星期六"], - namesAbbr: ["週日","週一","週二","週三","週四","週五","週六"], - namesShort: ["日","一","二","三","四","五","六"] - }, - months: { - names: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""], - namesAbbr: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""] - }, - AM: ["上午","上午","上午"], - PM: ["下午","下午","下午"], - eras: [{"name":"公元","start":null,"offset":0}], - patterns: { - d: "d/M/yyyy", - D: "yyyy'年'M'月'd'日'", - t: "H:mm", - T: "H:mm:ss", - f: "yyyy'年'M'月'd'日' H:mm", - F: "yyyy'年'M'月'd'日' H:mm:ss", - M: "M'月'd'日'", - Y: "yyyy'年'M'月'" - } - } - } -}); - -}( this )); diff --git a/web/Scripts/globalize/currency.js b/web/Scripts/globalize/currency.js new file mode 100644 index 00000000..5c8f1fe1 --- /dev/null +++ b/web/Scripts/globalize/currency.js @@ -0,0 +1,413 @@ +/*! + * Globalize v1.0.0 + * + * http://github.com/jquery/globalize + * + * Copyright jQuery Foundation and other contributors + * Released under the MIT license + * http://jquery.org/license + * + * Date: 2015-04-23T12:02Z + */ +(function( root, factory ) { + + // UMD returnExports + if ( typeof define === "function" && define.amd ) { + + // AMD + define([ + "cldr", + "../globalize", + "./number", + "cldr/event", + "cldr/supplemental" + ], factory ); + } else if ( typeof exports === "object" ) { + + // Node, CommonJS + module.exports = factory( require( "cldrjs" ), require( "globalize" ) ); + } else { + + // Global + factory( root.Cldr, root.Globalize ); + } +}(this, function( Cldr, Globalize ) { + +var alwaysArray = Globalize._alwaysArray, + formatMessage = Globalize._formatMessage, + numberNumberingSystem = Globalize._numberNumberingSystem, + numberPattern = Globalize._numberPattern, + stringPad = Globalize._stringPad, + validate = Globalize._validate, + validateCldr = Globalize._validateCldr, + validateDefaultLocale = Globalize._validateDefaultLocale, + validateParameterPresence = Globalize._validateParameterPresence, + validateParameterType = Globalize._validateParameterType, + validateParameterTypeNumber = Globalize._validateParameterTypeNumber, + validateParameterTypePlainObject = Globalize._validateParameterTypePlainObject; + + +var validateParameterTypeCurrency = function( value, name ) { + validateParameterType( + value, + name, + value === undefined || typeof value === "string" && ( /^[A-Za-z]{3}$/ ).test( value ), + "3-letter currency code string as defined by ISO 4217" + ); +}; + + + + +var validatePluralModulePresence = function() { + validate( "E_MISSING_PLURAL_MODULE", "Plural module not loaded.", + Globalize.plural !== undefined, {} ); +}; + + + + +/** + * supplementalOverride( currency, pattern, cldr ) + * + * Return pattern with fraction digits overriden by supplemental currency data. + */ +var currencySupplementalOverride = function( currency, pattern, cldr ) { + var digits, + fraction = cldr.supplemental([ "currencyData/fractions", currency ]) || + cldr.supplemental( "currencyData/fractions/DEFAULT" ); + + digits = +fraction._digits; + + if ( digits ) { + fraction = "." + stringPad( "0", digits ).slice( 0, -1 ) + fraction._rounding; + } else { + fraction = ""; + } + + return pattern.replace( /\.(#+|0*[0-9]|0+[0-9]?)/g, fraction ); +}; + + + + +var objectFilter = function( object, testRe ) { + var key, + copy = {}; + + for ( key in object ) { + if ( testRe.test( key ) ) { + copy[ key ] = object[ key ]; + } + } + + return copy; +}; + + + + +var currencyUnitPatterns = function( cldr ) { + return objectFilter( cldr.main([ + "numbers", + "currencyFormats-numberSystem-" + numberNumberingSystem( cldr ) + ]), /^unitPattern/ ); +}; + + + + +/** + * codeProperties( currency, cldr ) + * + * Return number pattern with the appropriate currency code in as literal. + */ +var currencyCodeProperties = function( currency, cldr ) { + var pattern = numberPattern( "decimal", cldr ); + + // The number of decimal places and the rounding for each currency is not locale-specific. Those + // values overridden by Supplemental Currency Data. + pattern = currencySupplementalOverride( currency, pattern, cldr ); + + return { + currency: currency, + pattern: pattern, + unitPatterns: currencyUnitPatterns( cldr ) + }; +}; + + + + +/** + * nameFormat( formattedNumber, pluralForm, properties ) + * + * Return the appropriate name form currency format. + */ +var currencyNameFormat = function( formattedNumber, pluralForm, properties ) { + var displayName, unitPattern, + displayNames = properties.displayNames || {}, + unitPatterns = properties.unitPatterns; + + displayName = displayNames[ "displayName-count-" + pluralForm ] || + displayNames[ "displayName-count-other" ] || + displayNames.displayName || + properties.currency; + unitPattern = unitPatterns[ "unitPattern-count-" + pluralForm ] || + unitPatterns[ "unitPattern-count-other" ]; + + return formatMessage( unitPattern, [ formattedNumber, displayName ]); +}; + + + + +/** + * nameProperties( currency, cldr ) + * + * Return number pattern with the appropriate currency code in as literal. + */ +var currencyNameProperties = function( currency, cldr ) { + var properties = currencyCodeProperties( currency, cldr ); + + properties.displayNames = objectFilter( cldr.main([ + "numbers/currencies", + currency + ]), /^displayName/ ); + + return properties; +}; + + + + +/** + * Unicode regular expression for: everything except math symbols, currency signs, dingbats, and + * box-drawing characters. + * + * Generated by: + * + * regenerate() + * .addRange( 0x0, 0x10FFFF ) + * .remove( require( "unicode-7.0.0/categories/S/symbols" ) ).toString(); + * + * https://github.com/mathiasbynens/regenerate + * https://github.com/mathiasbynens/unicode-7.0.0 + */ +var regexpNotS = /[\0-#%-\*,-;\?-\]_a-\{\}\x7F-\xA1\xA7\xAA\xAB\xAD\xB2\xB3\xB5-\xB7\xB9-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376-\u0383\u0386-\u03F5\u03F7-\u0481\u0483-\u058C\u0590-\u0605\u0609\u060A\u060C\u060D\u0610-\u06DD\u06DF-\u06E8\u06EA-\u06FC\u06FF-\u07F5\u07F7-\u09F1\u09F4-\u09F9\u09FC-\u0AF0\u0AF2-\u0B6F\u0B71-\u0BF2\u0BFB-\u0C7E\u0C80-\u0D78\u0D7A-\u0E3E\u0E40-\u0F00\u0F04-\u0F12\u0F14\u0F18\u0F19\u0F20-\u0F33\u0F35\u0F37\u0F39-\u0FBD\u0FC6\u0FCD\u0FD0-\u0FD4\u0FD9-\u109D\u10A0-\u138F\u139A-\u17DA\u17DC-\u193F\u1941-\u19DD\u1A00-\u1B60\u1B6B-\u1B73\u1B7D-\u1FBC\u1FBE\u1FC2-\u1FCC\u1FD0-\u1FDC\u1FE0-\u1FEC\u1FF0-\u1FFC\u1FFF-\u2043\u2045-\u2051\u2053-\u2079\u207D-\u2089\u208D-\u209F\u20BE-\u20FF\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u218F\u2308-\u230B\u2329\u232A\u23FB-\u23FF\u2427-\u243F\u244B-\u249B\u24EA-\u24FF\u2768-\u2793\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2B74\u2B75\u2B96\u2B97\u2BBA-\u2BBC\u2BC9\u2BD2-\u2CE4\u2CEB-\u2E7F\u2E9A\u2EF4-\u2EFF\u2FD6-\u2FEF\u2FFC-\u3003\u3005-\u3011\u3014-\u301F\u3021-\u3035\u3038-\u303D\u3040-\u309A\u309D-\u318F\u3192-\u3195\u31A0-\u31BF\u31E4-\u31FF\u321F-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u32FF\u3400-\u4DBF\u4E00-\uA48F\uA4C7-\uA6FF\uA717-\uA71F\uA722-\uA788\uA78B-\uA827\uA82C-\uA835\uA83A-\uAA76\uAA7A-\uAB5A\uAB5C-\uD7FF\uDC00-\uFB28\uFB2A-\uFBB1\uFBC2-\uFDFB\uFDFE-\uFE61\uFE63\uFE67\uFE68\uFE6A-\uFF03\uFF05-\uFF0A\uFF0C-\uFF1B\uFF1F-\uFF3D\uFF3F\uFF41-\uFF5B\uFF5D\uFF5F-\uFFDF\uFFE7\uFFEF-\uFFFB\uFFFE\uFFFF]|\uD800[\uDC00-\uDD36\uDD40-\uDD78\uDD8A\uDD8B\uDD8D-\uDD8F\uDD9C-\uDD9F\uDDA1-\uDDCF\uDDFD-\uDFFF]|[\uD801\uD803-\uD819\uD81B-\uD82E\uD830-\uD833\uD836-\uD83A\uD83F-\uDBFF][\uDC00-\uDFFF]|\uD802[\uDC00-\uDC76\uDC79-\uDEC7\uDEC9-\uDFFF]|\uD81A[\uDC00-\uDF3B\uDF40-\uDF44\uDF46-\uDFFF]|\uD82F[\uDC00-\uDC9B\uDC9D-\uDFFF]|\uD834[\uDCF6-\uDCFF\uDD27\uDD28\uDD65-\uDD69\uDD6D-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDDDE-\uDDFF\uDE42-\uDE44\uDE46-\uDEFF\uDF57-\uDFFF]|\uD835[\uDC00-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFFF]|\uD83B[\uDC00-\uDEEF\uDEF2-\uDFFF]|\uD83C[\uDC2C-\uDC2F\uDC94-\uDC9F\uDCAF\uDCB0\uDCC0\uDCD0\uDCF6-\uDD0F\uDD2F\uDD6C-\uDD6F\uDD9B-\uDDE5\uDE03-\uDE0F\uDE3B-\uDE3F\uDE49-\uDE4F\uDE52-\uDEFF\uDF2D-\uDF2F\uDF7E\uDF7F\uDFCF-\uDFD3\uDFF8-\uDFFF]|\uD83D[\uDCFF\uDD4B-\uDD4F\uDD7A\uDDA4\uDE43\uDE44\uDED0-\uDEDF\uDEED-\uDEEF\uDEF4-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDFFF]|[\uD800-\uDBFF]/; + + + + +/** + * symbolProperties( currency, cldr ) + * + * Return pattern replacing `¤` with the appropriate currency symbol literal. + */ +var currencySymbolProperties = function( currency, cldr, options ) { + var currencySpacing, pattern, + regexp = { + "[:digit:]": /\d/, + "[:^S:]": regexpNotS + }, + symbol = cldr.main([ + "numbers/currencies", + currency, + "symbol" + ]); + + currencySpacing = [ "beforeCurrency", "afterCurrency" ].map(function( position ) { + return cldr.main([ + "numbers", + "currencyFormats-numberSystem-" + numberNumberingSystem( cldr ), + "currencySpacing", + position + ]); + }); + + pattern = cldr.main([ + "numbers", + "currencyFormats-numberSystem-" + numberNumberingSystem( cldr ), + options.style === "accounting" ? "accounting" : "standard" + ]); + + pattern = + + // The number of decimal places and the rounding for each currency is not locale-specific. + // Those values are overridden by Supplemental Currency Data. + currencySupplementalOverride( currency, pattern, cldr ) + + // Replace "¤" (\u00A4) with the appropriate symbol literal. + .split( ";" ).map(function( pattern ) { + + return pattern.split( "\u00A4" ).map(function( part, i ) { + var currencyMatch = regexp[ currencySpacing[ i ].currencyMatch ], + surroundingMatch = regexp[ currencySpacing[ i ].surroundingMatch ], + insertBetween = ""; + + // For currencyMatch and surroundingMatch definitions, read [1]. + // When i === 0, beforeCurrency is being handled. Otherwise, afterCurrency. + // 1: http://www.unicode.org/reports/tr35/tr35-numbers.html#Currencies + currencyMatch = currencyMatch.test( symbol.charAt( i ? symbol.length - 1 : 0 ) ); + surroundingMatch = surroundingMatch.test( + part.charAt( i ? 0 : part.length - 1 ).replace( /[#@,.]/g, "0" ) + ); + + if ( currencyMatch && part && surroundingMatch ) { + insertBetween = currencySpacing[ i ].insertBetween; + } + + return ( i ? insertBetween : "" ) + part + ( i ? "" : insertBetween ); + }).join( "'" + symbol + "'" ); + }).join( ";" ); + + return { + pattern: pattern + }; +}; + + + + +/** + * objectOmit( object, keys ) + * + * Return a copy of the object, filtered to omit the blacklisted key or array of keys. + */ +var objectOmit = function( object, keys ) { + var key, + copy = {}; + + keys = alwaysArray( keys ); + + for ( key in object ) { + if ( keys.indexOf( key ) === -1 ) { + copy[ key ] = object[ key ]; + } + } + + return copy; +}; + + + + +function validateRequiredCldr( path, value ) { + validateCldr( path, value, { + skip: [ /supplemental\/currencyData\/fractions\/[A-Za-z]{3}$/ ] + }); +} + +/** + * .currencyFormatter( currency [, options] ) + * + * @currency [String] 3-letter currency code as defined by ISO 4217. + * + * @options [Object]: + * - style: [String] "symbol" (default), "accounting", "code" or "name". + * - see also number/format options. + * + * Return a function that formats a currency according to the given options and default/instance + * locale. + */ +Globalize.currencyFormatter = +Globalize.prototype.currencyFormatter = function( currency, options ) { + var cldr, numberFormatter, plural, properties, style; + + validateParameterPresence( currency, "currency" ); + validateParameterTypeCurrency( currency, "currency" ); + + validateParameterTypePlainObject( options, "options" ); + + options = options || {}; + style = options.style || "symbol"; + cldr = this.cldr; + + validateDefaultLocale( cldr ); + + // Get properties given style ("symbol" default, "code" or "name"). + cldr.on( "get", validateRequiredCldr ); + properties = ({ + accounting: currencySymbolProperties, + code: currencyCodeProperties, + name: currencyNameProperties, + symbol: currencySymbolProperties + }[ style ] )( currency, cldr, options ); + cldr.off( "get", validateRequiredCldr ); + + // options = options minus style, plus raw pattern. + options = objectOmit( options, "style" ); + options.raw = properties.pattern; + + // Return formatter when style is "symbol" or "accounting". + if ( style === "symbol" || style === "accounting" ) { + return this.numberFormatter( options ); + } + + // Return formatter when style is "code" or "name". + validatePluralModulePresence(); + numberFormatter = this.numberFormatter( options ); + plural = this.pluralGenerator(); + return function( value ) { + validateParameterPresence( value, "value" ); + validateParameterTypeNumber( value, "value" ); + return currencyNameFormat( numberFormatter( value ), plural( value ), properties ); + }; +}; + +/** + * .currencyParser( currency [, options] ) + * + * @currency [String] 3-letter currency code as defined by ISO 4217. + * + * @options [Object] see currencyFormatter. + * + * Return the currency parser according to the given options and the default/instance locale. + */ +Globalize.currencyParser = +Globalize.prototype.currencyParser = function( /* currency, options */ ) { + + // TODO implement parser. + +}; + +/** + * .formatCurrency( value, currency [, options] ) + * + * @value [Number] number to be formatted. + * + * @currency [String] 3-letter currency code as defined by ISO 4217. + * + * @options [Object] see currencyFormatter. + * + * Format a currency according to the given options and the default/instance locale. + */ +Globalize.formatCurrency = +Globalize.prototype.formatCurrency = function( value, currency, options ) { + validateParameterPresence( value, "value" ); + validateParameterTypeNumber( value, "value" ); + + return this.currencyFormatter( currency, options )( value ); +}; + +/** + * .parseCurrency( value, currency [, options] ) + * + * @value [String] + * + * @currency [String] 3-letter currency code as defined by ISO 4217. + * + * @options [Object]: See currencyFormatter. + * + * Return the parsed currency or NaN when value is invalid. + */ +Globalize.parseCurrency = +Globalize.prototype.parseCurrency = function( /* value, currency, options */ ) { +}; + +return Globalize; + + + + +})); diff --git a/web/Scripts/globalize/date.js b/web/Scripts/globalize/date.js new file mode 100644 index 00000000..9f26a105 --- /dev/null +++ b/web/Scripts/globalize/date.js @@ -0,0 +1,1845 @@ +/** + * Globalize v1.0.0 + * + * http://github.com/jquery/globalize + * + * Copyright jQuery Foundation and other contributors + * Released under the MIT license + * http://jquery.org/license + * + * Date: 2015-04-23T12:02Z + */ +/*! + * Globalize v1.0.0 2015-04-23T12:02Z Released under the MIT license + * http://git.io/TrdQbw + */ +(function( root, factory ) { + + // UMD returnExports + if ( typeof define === "function" && define.amd ) { + + // AMD + define([ + "cldr", + "../globalize", + "./number", + "cldr/event", + "cldr/supplemental" + ], factory ); + } else if ( typeof exports === "object" ) { + + // Node, CommonJS + module.exports = factory( require( "cldrjs" ), require( "globalize" ) ); + } else { + + // Extend global + factory( root.Cldr, root.Globalize ); + } +}(this, function( Cldr, Globalize ) { + +var createError = Globalize._createError, + createErrorUnsupportedFeature = Globalize._createErrorUnsupportedFeature, + formatMessage = Globalize._formatMessage, + numberSymbol = Globalize._numberSymbol, + regexpEscape = Globalize._regexpEscape, + stringPad = Globalize._stringPad, + validateCldr = Globalize._validateCldr, + validateDefaultLocale = Globalize._validateDefaultLocale, + validateParameterPresence = Globalize._validateParameterPresence, + validateParameterType = Globalize._validateParameterType, + validateParameterTypePlainObject = Globalize._validateParameterTypePlainObject, + validateParameterTypeString = Globalize._validateParameterTypeString; + + +var validateParameterTypeDate = function( value, name ) { + validateParameterType( value, name, value === undefined || value instanceof Date, "Date" ); +}; + + + + +var createErrorInvalidParameterValue = function( name, value ) { + return createError( "E_INVALID_PAR_VALUE", "Invalid `{name}` value ({value}).", { + name: name, + value: value + }); +}; + + + + +/** + * expandPattern( options, cldr ) + * + * @options [Object] if String, it's considered a skeleton. Object accepts: + * - skeleton: [String] lookup availableFormat; + * - date: [String] ( "full" | "long" | "medium" | "short" ); + * - time: [String] ( "full" | "long" | "medium" | "short" ); + * - datetime: [String] ( "full" | "long" | "medium" | "short" ); + * - raw: [String] For more info see datetime/format.js. + * + * @cldr [Cldr instance]. + * + * Return the corresponding pattern. + * Eg for "en": + * - "GyMMMd" returns "MMM d, y G"; + * - { skeleton: "GyMMMd" } returns "MMM d, y G"; + * - { date: "full" } returns "EEEE, MMMM d, y"; + * - { time: "full" } returns "h:mm:ss a zzzz"; + * - { datetime: "full" } returns "EEEE, MMMM d, y 'at' h:mm:ss a zzzz"; + * - { raw: "dd/mm" } returns "dd/mm"; + */ + +var dateExpandPattern = function( options, cldr ) { + var dateSkeleton, result, skeleton, timeSkeleton, type; + + function combineDateTime( type, datePattern, timePattern ) { + return formatMessage( + cldr.main([ + "dates/calendars/gregorian/dateTimeFormats", + type + ]), + [ timePattern, datePattern ] + ); + } + + switch ( true ) { + case "skeleton" in options: + skeleton = options.skeleton; + result = cldr.main([ + "dates/calendars/gregorian/dateTimeFormats/availableFormats", + skeleton + ]); + if ( !result ) { + timeSkeleton = skeleton.split( /[^hHKkmsSAzZOvVXx]/ ).slice( -1 )[ 0 ]; + dateSkeleton = skeleton.split( /[^GyYuUrQqMLlwWdDFgEec]/ )[ 0 ]; + if ( /(MMMM|LLLL).*[Ec]/.test( dateSkeleton ) ) { + type = "full"; + } else if ( /MMMM/g.test( dateSkeleton ) ) { + type = "long"; + } else if ( /MMM/g.test( dateSkeleton ) || /LLL/g.test( dateSkeleton ) ) { + type = "medium"; + } else { + type = "short"; + } + result = combineDateTime( type, + cldr.main([ + "dates/calendars/gregorian/dateTimeFormats/availableFormats", + dateSkeleton + ]), + cldr.main([ + "dates/calendars/gregorian/dateTimeFormats/availableFormats", + timeSkeleton + ]) + ); + } + break; + + case "date" in options: + case "time" in options: + result = cldr.main([ + "dates/calendars/gregorian", + "date" in options ? "dateFormats" : "timeFormats", + ( options.date || options.time ) + ]); + break; + + case "datetime" in options: + result = combineDateTime( options.datetime, + cldr.main([ "dates/calendars/gregorian/dateFormats", options.datetime ]), + cldr.main([ "dates/calendars/gregorian/timeFormats", options.datetime ]) + ); + break; + + case "raw" in options: + result = options.raw; + break; + + default: + throw createErrorInvalidParameterValue({ + name: "options", + value: options + }); + } + + return result; +}; + + + + +/** + * dayOfWeek( date, firstDay ) + * + * @date + * + * @firstDay the result of `dateFirstDayOfWeek( cldr )` + * + * Return the day of the week normalized by the territory's firstDay [0-6]. + * Eg for "mon": + * - return 0 if territory is GB, or BR, or DE, or FR (week starts on "mon"); + * - return 1 if territory is US (week starts on "sun"); + * - return 2 if territory is EG (week starts on "sat"); + */ +var dateDayOfWeek = function( date, firstDay ) { + return ( date.getDay() - firstDay + 7 ) % 7; +}; + + + + +/** + * distanceInDays( from, to ) + * + * Return the distance in days between from and to Dates. + */ +var dateDistanceInDays = function( from, to ) { + var inDays = 864e5; + return ( to.getTime() - from.getTime() ) / inDays; +}; + + + + +/** + * startOf changes the input to the beginning of the given unit. + * + * For example, starting at the start of a day, resets hours, minutes + * seconds and milliseconds to 0. Starting at the month does the same, but + * also sets the date to 1. + * + * Returns the modified date + */ +var dateStartOf = function( date, unit ) { + date = new Date( date.getTime() ); + switch ( unit ) { + case "year": + date.setMonth( 0 ); + /* falls through */ + case "month": + date.setDate( 1 ); + /* falls through */ + case "day": + date.setHours( 0 ); + /* falls through */ + case "hour": + date.setMinutes( 0 ); + /* falls through */ + case "minute": + date.setSeconds( 0 ); + /* falls through */ + case "second": + date.setMilliseconds( 0 ); + } + return date; +}; + + + + +/** + * dayOfYear + * + * Return the distance in days of the date to the begin of the year [0-d]. + */ +var dateDayOfYear = function( date ) { + return Math.floor( dateDistanceInDays( dateStartOf( date, "year" ), date ) ); +}; + + + + +var dateWeekDays = [ "sun", "mon", "tue", "wed", "thu", "fri", "sat" ]; + + + + +/** + * firstDayOfWeek + */ +var dateFirstDayOfWeek = function( cldr ) { + return dateWeekDays.indexOf( cldr.supplemental.weekData.firstDay() ); +}; + + + + +/** + * millisecondsInDay + */ +var dateMillisecondsInDay = function( date ) { + // TODO Handle daylight savings discontinuities + return date - dateStartOf( date, "day" ); +}; + + + + +var datePatternRe = (/([a-z])\1*|'([^']|'')+'|''|./ig); + + + + +/** + * hourFormat( date, format, timeSeparator, formatNumber ) + * + * Return date's timezone offset according to the format passed. + * Eg for format when timezone offset is 180: + * - "+H;-H": -3 + * - "+HHmm;-HHmm": -0300 + * - "+HH:mm;-HH:mm": -03:00 + */ +var dateTimezoneHourFormat = function( date, format, timeSeparator, formatNumber ) { + var absOffset, + offset = date.getTimezoneOffset(); + + absOffset = Math.abs( offset ); + formatNumber = formatNumber || { + 1: function( value ) { + return stringPad( value, 1 ); + }, + 2: function( value ) { + return stringPad( value, 2 ); + } + }; + + return format + + // Pick the correct sign side (+ or -). + .split( ";" )[ offset > 0 ? 1 : 0 ] + + // Localize time separator + .replace( ":", timeSeparator ) + + // Update hours offset. + .replace( /HH?/, function( match ) { + return formatNumber[ match.length ]( Math.floor( absOffset / 60 ) ); + }) + + // Update minutes offset and return. + .replace( /mm/, function() { + return formatNumber[ 2 ]( absOffset % 60 ); + }); +}; + + + + +/** + * format( date, properties ) + * + * @date [Date instance]. + * + * @properties + * + * TODO Support other calendar types. + * + * Disclosure: this function borrows excerpts of dojo/date/locale. + */ +var dateFormat = function( date, numberFormatters, properties ) { + var timeSeparator = properties.timeSeparator; + + return properties.pattern.replace( datePatternRe, function( current ) { + var ret, + chr = current.charAt( 0 ), + length = current.length; + + if ( chr === "j" ) { + // Locale preferred hHKk. + // http://www.unicode.org/reports/tr35/tr35-dates.html#Time_Data + chr = properties.preferredTime; + } + + if ( chr === "Z" ) { + // Z..ZZZ: same as "xxxx". + if ( length < 4 ) { + chr = "x"; + length = 4; + + // ZZZZ: same as "OOOO". + } else if ( length < 5 ) { + chr = "O"; + length = 4; + + // ZZZZZ: same as "XXXXX" + } else { + chr = "X"; + length = 5; + } + } + + switch ( chr ) { + + // Era + case "G": + ret = properties.eras[ date.getFullYear() < 0 ? 0 : 1 ]; + break; + + // Year + case "y": + // Plain year. + // The length specifies the padding, but for two letters it also specifies the + // maximum length. + ret = date.getFullYear(); + if ( length === 2 ) { + ret = String( ret ); + ret = +ret.substr( ret.length - 2 ); + } + break; + + case "Y": + // Year in "Week of Year" + // The length specifies the padding, but for two letters it also specifies the + // maximum length. + // yearInWeekofYear = date + DaysInAWeek - (dayOfWeek - firstDay) - minDays + ret = new Date( date.getTime() ); + ret.setDate( + ret.getDate() + 7 - + dateDayOfWeek( date, properties.firstDay ) - + properties.firstDay - + properties.minDays + ); + ret = ret.getFullYear(); + if ( length === 2 ) { + ret = String( ret ); + ret = +ret.substr( ret.length - 2 ); + } + break; + + // Quarter + case "Q": + case "q": + ret = Math.ceil( ( date.getMonth() + 1 ) / 3 ); + if ( length > 2 ) { + ret = properties.quarters[ chr ][ length ][ ret ]; + } + break; + + // Month + case "M": + case "L": + ret = date.getMonth() + 1; + if ( length > 2 ) { + ret = properties.months[ chr ][ length ][ ret ]; + } + break; + + // Week + case "w": + // Week of Year. + // woy = ceil( ( doy + dow of 1/1 ) / 7 ) - minDaysStuff ? 1 : 0. + // TODO should pad on ww? Not documented, but I guess so. + ret = dateDayOfWeek( dateStartOf( date, "year" ), properties.firstDay ); + ret = Math.ceil( ( dateDayOfYear( date ) + ret ) / 7 ) - + ( 7 - ret >= properties.minDays ? 0 : 1 ); + break; + + case "W": + // Week of Month. + // wom = ceil( ( dom + dow of `1/month` ) / 7 ) - minDaysStuff ? 1 : 0. + ret = dateDayOfWeek( dateStartOf( date, "month" ), properties.firstDay ); + ret = Math.ceil( ( date.getDate() + ret ) / 7 ) - + ( 7 - ret >= properties.minDays ? 0 : 1 ); + break; + + // Day + case "d": + ret = date.getDate(); + break; + + case "D": + ret = dateDayOfYear( date ) + 1; + break; + + case "F": + // Day of Week in month. eg. 2nd Wed in July. + ret = Math.floor( date.getDate() / 7 ) + 1; + break; + + // Week day + case "e": + case "c": + if ( length <= 2 ) { + // Range is [1-7] (deduced by example provided on documentation) + // TODO Should pad with zeros (not specified in the docs)? + ret = dateDayOfWeek( date, properties.firstDay ) + 1; + break; + } + + /* falls through */ + case "E": + ret = dateWeekDays[ date.getDay() ]; + ret = properties.days[ chr ][ length ][ ret ]; + break; + + // Period (AM or PM) + case "a": + ret = properties.dayPeriods[ date.getHours() < 12 ? "am" : "pm" ]; + break; + + // Hour + case "h": // 1-12 + ret = ( date.getHours() % 12 ) || 12; + break; + + case "H": // 0-23 + ret = date.getHours(); + break; + + case "K": // 0-11 + ret = date.getHours() % 12; + break; + + case "k": // 1-24 + ret = date.getHours() || 24; + break; + + // Minute + case "m": + ret = date.getMinutes(); + break; + + // Second + case "s": + ret = date.getSeconds(); + break; + + case "S": + ret = Math.round( date.getMilliseconds() * Math.pow( 10, length - 3 ) ); + break; + + case "A": + ret = Math.round( dateMillisecondsInDay( date ) * Math.pow( 10, length - 3 ) ); + break; + + // Zone + case "z": + case "O": + // O: "{gmtFormat}+H;{gmtFormat}-H" or "{gmtZeroFormat}", eg. "GMT-8" or "GMT". + // OOOO: "{gmtFormat}{hourFormat}" or "{gmtZeroFormat}", eg. "GMT-08:00" or "GMT". + if ( date.getTimezoneOffset() === 0 ) { + ret = properties.gmtZeroFormat; + } else { + ret = dateTimezoneHourFormat( + date, + length < 4 ? "+H;-H" : properties.tzLongHourFormat, + timeSeparator, + numberFormatters + ); + ret = properties.gmtFormat.replace( /\{0\}/, ret ); + } + break; + + case "X": + // Same as x*, except it uses "Z" for zero offset. + if ( date.getTimezoneOffset() === 0 ) { + ret = "Z"; + break; + } + + /* falls through */ + case "x": + // x: hourFormat("+HH;-HH") + // xx or xxxx: hourFormat("+HHmm;-HHmm") + // xxx or xxxxx: hourFormat("+HH:mm;-HH:mm") + ret = length === 1 ? "+HH;-HH" : ( length % 2 ? "+HH:mm;-HH:mm" : "+HHmm;-HHmm" ); + ret = dateTimezoneHourFormat( date, ret, ":" ); + break; + + // timeSeparator + case ":": + ret = timeSeparator; + break; + + // ' literals. + case "'": + current = current.replace( /''/, "'" ); + if ( length > 2 ) { + current = current.slice( 1, -1 ); + } + ret = current; + break; + + // Anything else is considered a literal, including [ ,:/.@#], chinese, japonese, and + // arabic characters. + default: + ret = current; + } + if ( typeof ret === "number" ) { + ret = numberFormatters[ length ]( ret ); + } + return ret; + }); +}; + + + + +/** + * properties( pattern, cldr ) + * + * @pattern [String] raw pattern. + * ref: http://www.unicode.org/reports/tr35/tr35-dates.html#Date_Format_Patterns + * + * @cldr [Cldr instance]. + * + * Return the properties given the pattern and cldr. + * + * TODO Support other calendar types. + */ +var dateFormatProperties = function( pattern, cldr ) { + var properties = { + pattern: pattern, + timeSeparator: numberSymbol( "timeSeparator", cldr ) + }, + widths = [ "abbreviated", "wide", "narrow" ]; + + function setNumberFormatterPattern( pad ) { + if ( !properties.numberFormatters ) { + properties.numberFormatters = {}; + } + properties.numberFormatters[ pad ] = stringPad( "", pad ); + } + + pattern.replace( datePatternRe, function( current ) { + var formatNumber, + chr = current.charAt( 0 ), + length = current.length; + + if ( chr === "j" ) { + // Locale preferred hHKk. + // http://www.unicode.org/reports/tr35/tr35-dates.html#Time_Data + properties.preferredTime = chr = cldr.supplemental.timeData.preferred(); + } + + // ZZZZ: same as "OOOO". + if ( chr === "Z" && length === 4 ) { + chr = "O"; + length = 4; + } + + switch ( chr ) { + + // Era + case "G": + properties.eras = cldr.main([ + "dates/calendars/gregorian/eras", + length <= 3 ? "eraAbbr" : ( length === 4 ? "eraNames" : "eraNarrow" ) + ]); + break; + + // Year + case "y": + // Plain year. + formatNumber = true; + break; + + case "Y": + // Year in "Week of Year" + properties.firstDay = dateFirstDayOfWeek( cldr ); + properties.minDays = cldr.supplemental.weekData.minDays(); + formatNumber = true; + break; + + case "u": // Extended year. Need to be implemented. + case "U": // Cyclic year name. Need to be implemented. + throw createErrorUnsupportedFeature({ + feature: "year pattern `" + chr + "`" + }); + + // Quarter + case "Q": + case "q": + if ( length > 2 ) { + if ( !properties.quarters ) { + properties.quarters = {}; + } + if ( !properties.quarters[ chr ] ) { + properties.quarters[ chr ] = {}; + } + properties.quarters[ chr ][ length ] = cldr.main([ + "dates/calendars/gregorian/quarters", + chr === "Q" ? "format" : "stand-alone", + widths[ length - 3 ] + ]); + } else { + formatNumber = true; + } + break; + + // Month + case "M": + case "L": + if ( length > 2 ) { + if ( !properties.months ) { + properties.months = {}; + } + if ( !properties.months[ chr ] ) { + properties.months[ chr ] = {}; + } + properties.months[ chr ][ length ] = cldr.main([ + "dates/calendars/gregorian/months", + chr === "M" ? "format" : "stand-alone", + widths[ length - 3 ] + ]); + } else { + formatNumber = true; + } + break; + + // Week - Week of Year (w) or Week of Month (W). + case "w": + case "W": + properties.firstDay = dateFirstDayOfWeek( cldr ); + properties.minDays = cldr.supplemental.weekData.minDays(); + formatNumber = true; + break; + + // Day + case "d": + case "D": + case "F": + formatNumber = true; + break; + + case "g": + // Modified Julian day. Need to be implemented. + throw createErrorUnsupportedFeature({ + feature: "Julian day pattern `g`" + }); + + // Week day + case "e": + case "c": + if ( length <= 2 ) { + properties.firstDay = dateFirstDayOfWeek( cldr ); + formatNumber = true; + break; + } + + /* falls through */ + case "E": + if ( !properties.days ) { + properties.days = {}; + } + if ( !properties.days[ chr ] ) { + properties.days[ chr ] = {}; + } + if ( length === 6 ) { + + // If short day names are not explicitly specified, abbreviated day names are + // used instead. + // http://www.unicode.org/reports/tr35/tr35-dates.html#months_days_quarters_eras + // http://unicode.org/cldr/trac/ticket/6790 + properties.days[ chr ][ length ] = cldr.main([ + "dates/calendars/gregorian/days", + chr === "c" ? "stand-alone" : "format", + "short" + ]) || cldr.main([ + "dates/calendars/gregorian/days", + chr === "c" ? "stand-alone" : "format", + "abbreviated" + ]); + } else { + properties.days[ chr ][ length ] = cldr.main([ + "dates/calendars/gregorian/days", + chr === "c" ? "stand-alone" : "format", + widths[ length < 3 ? 0 : length - 3 ] + ]); + } + break; + + // Period (AM or PM) + case "a": + properties.dayPeriods = cldr.main( + "dates/calendars/gregorian/dayPeriods/format/wide" + ); + break; + + // Hour + case "h": // 1-12 + case "H": // 0-23 + case "K": // 0-11 + case "k": // 1-24 + + // Minute + case "m": + + // Second + case "s": + case "S": + case "A": + formatNumber = true; + break; + + // Zone + case "z": + case "O": + // O: "{gmtFormat}+H;{gmtFormat}-H" or "{gmtZeroFormat}", eg. "GMT-8" or "GMT". + // OOOO: "{gmtFormat}{hourFormat}" or "{gmtZeroFormat}", eg. "GMT-08:00" or "GMT". + properties.gmtFormat = cldr.main( "dates/timeZoneNames/gmtFormat" ); + properties.gmtZeroFormat = cldr.main( "dates/timeZoneNames/gmtZeroFormat" ); + properties.tzLongHourFormat = cldr.main( "dates/timeZoneNames/hourFormat" ); + + /* falls through */ + case "Z": + case "X": + case "x": + setNumberFormatterPattern( 1 ); + setNumberFormatterPattern( 2 ); + break; + + case "v": + case "V": + throw createErrorUnsupportedFeature({ + feature: "timezone pattern `" + chr + "`" + }); + } + + if ( formatNumber ) { + setNumberFormatterPattern( length ); + } + }); + + return properties; +}; + + + + +/** + * isLeapYear( year ) + * + * @year [Number] + * + * Returns an indication whether the specified year is a leap year. + */ +var dateIsLeapYear = function( year ) { + return new Date(year, 1, 29).getMonth() === 1; +}; + + + + +/** + * lastDayOfMonth( date ) + * + * @date [Date] + * + * Return the last day of the given date's month + */ +var dateLastDayOfMonth = function( date ) { + return new Date( date.getFullYear(), date.getMonth() + 1, 0).getDate(); +}; + + + + +/** + * Differently from native date.setDate(), this function returns a date whose + * day remains inside the month boundaries. For example: + * + * setDate( FebDate, 31 ): a "Feb 28" date. + * setDate( SepDate, 31 ): a "Sep 30" date. + */ +var dateSetDate = function( date, day ) { + var lastDay = new Date( date.getFullYear(), date.getMonth() + 1, 0 ).getDate(); + + date.setDate( day < 1 ? 1 : day < lastDay ? day : lastDay ); +}; + + + + +/** + * Differently from native date.setMonth(), this function adjusts date if + * needed, so final month is always the one set. + * + * setMonth( Jan31Date, 1 ): a "Feb 28" date. + * setDate( Jan31Date, 8 ): a "Sep 30" date. + */ +var dateSetMonth = function( date, month ) { + var originalDate = date.getDate(); + + date.setDate( 1 ); + date.setMonth( month ); + dateSetDate( date, originalDate ); +}; + + + + +var outOfRange = function( value, low, high ) { + return value < low || value > high; +}; + + + + +/** + * parse( value, tokens, properties ) + * + * @value [String] string date. + * + * @tokens [Object] tokens returned by date/tokenizer. + * + * @properties [Object] output returned by date/tokenizer-properties. + * + * ref: http://www.unicode.org/reports/tr35/tr35-dates.html#Date_Format_Patterns + */ +var dateParse = function( value, tokens, properties ) { + var amPm, day, daysOfYear, era, hour, hour12, timezoneOffset, valid, + YEAR = 0, + MONTH = 1, + DAY = 2, + HOUR = 3, + MINUTE = 4, + SECOND = 5, + MILLISECONDS = 6, + date = new Date(), + truncateAt = [], + units = [ "year", "month", "day", "hour", "minute", "second", "milliseconds" ]; + + if ( !tokens.length ) { + return null; + } + + valid = tokens.every(function( token ) { + var century, chr, value, length; + + if ( token.type === "literal" ) { + // continue + return true; + } + + chr = token.type.charAt( 0 ); + length = token.type.length; + + if ( chr === "j" ) { + // Locale preferred hHKk. + // http://www.unicode.org/reports/tr35/tr35-dates.html#Time_Data + chr = properties.preferredTimeData; + } + + switch ( chr ) { + + // Era + case "G": + truncateAt.push( YEAR ); + era = +token.value; + break; + + // Year + case "y": + value = token.value; + if ( length === 2 ) { + if ( outOfRange( value, 0, 99 ) ) { + return false; + } + // mimic dojo/date/locale: choose century to apply, according to a sliding + // window of 80 years before and 20 years after present year. + century = Math.floor( date.getFullYear() / 100 ) * 100; + value += century; + if ( value > date.getFullYear() + 20 ) { + value -= 100; + } + } + date.setFullYear( value ); + truncateAt.push( YEAR ); + break; + + case "Y": // Year in "Week of Year" + throw createErrorUnsupportedFeature({ + feature: "year pattern `" + chr + "`" + }); + + // Quarter (skip) + case "Q": + case "q": + break; + + // Month + case "M": + case "L": + if ( length <= 2 ) { + value = token.value; + } else { + value = +token.value; + } + if ( outOfRange( value, 1, 12 ) ) { + return false; + } + dateSetMonth( date, value - 1 ); + truncateAt.push( MONTH ); + break; + + // Week (skip) + case "w": // Week of Year. + case "W": // Week of Month. + break; + + // Day + case "d": + day = token.value; + truncateAt.push( DAY ); + break; + + case "D": + daysOfYear = token.value; + truncateAt.push( DAY ); + break; + + case "F": + // Day of Week in month. eg. 2nd Wed in July. + // Skip + break; + + // Week day + case "e": + case "c": + case "E": + // Skip. + // value = arrayIndexOf( dateWeekDays, token.value ); + break; + + // Period (AM or PM) + case "a": + amPm = token.value; + break; + + // Hour + case "h": // 1-12 + value = token.value; + if ( outOfRange( value, 1, 12 ) ) { + return false; + } + hour = hour12 = true; + date.setHours( value === 12 ? 0 : value ); + truncateAt.push( HOUR ); + break; + + case "K": // 0-11 + value = token.value; + if ( outOfRange( value, 0, 11 ) ) { + return false; + } + hour = hour12 = true; + date.setHours( value ); + truncateAt.push( HOUR ); + break; + + case "k": // 1-24 + value = token.value; + if ( outOfRange( value, 1, 24 ) ) { + return false; + } + hour = true; + date.setHours( value === 24 ? 0 : value ); + truncateAt.push( HOUR ); + break; + + case "H": // 0-23 + value = token.value; + if ( outOfRange( value, 0, 23 ) ) { + return false; + } + hour = true; + date.setHours( value ); + truncateAt.push( HOUR ); + break; + + // Minute + case "m": + value = token.value; + if ( outOfRange( value, 0, 59 ) ) { + return false; + } + date.setMinutes( value ); + truncateAt.push( MINUTE ); + break; + + // Second + case "s": + value = token.value; + if ( outOfRange( value, 0, 59 ) ) { + return false; + } + date.setSeconds( value ); + truncateAt.push( SECOND ); + break; + + case "A": + date.setHours( 0 ); + date.setMinutes( 0 ); + date.setSeconds( 0 ); + + /* falls through */ + case "S": + value = Math.round( token.value * Math.pow( 10, 3 - length ) ); + date.setMilliseconds( value ); + truncateAt.push( MILLISECONDS ); + break; + + // Zone + case "Z": + case "z": + case "O": + case "X": + case "x": + timezoneOffset = token.value - date.getTimezoneOffset(); + break; + } + + return true; + }); + + if ( !valid ) { + return null; + } + + // 12-hour format needs AM or PM, 24-hour format doesn't, ie. return null + // if amPm && !hour12 || !amPm && hour12. + if ( hour && !( !amPm ^ hour12 ) ) { + return null; + } + + if ( era === 0 ) { + // 1 BC = year 0 + date.setFullYear( date.getFullYear() * -1 + 1 ); + } + + if ( day !== undefined ) { + if ( outOfRange( day, 1, dateLastDayOfMonth( date ) ) ) { + return null; + } + date.setDate( day ); + } else if ( daysOfYear !== undefined ) { + if ( outOfRange( daysOfYear, 1, dateIsLeapYear( date.getFullYear() ) ? 366 : 365 ) ) { + return null; + } + date.setMonth(0); + date.setDate( daysOfYear ); + } + + if ( hour12 && amPm === "pm" ) { + date.setHours( date.getHours() + 12 ); + } + + if ( timezoneOffset ) { + date.setMinutes( date.getMinutes() + timezoneOffset ); + } + + // Truncate date at the most precise unit defined. Eg. + // If value is "12/31", and pattern is "MM/dd": + // => new Date( , 12, 31, 0, 0, 0, 0 ); + truncateAt = Math.max.apply( null, truncateAt ); + date = dateStartOf( date, units[ truncateAt ] ); + + return date; +}; + + + + +/** + * parseProperties( cldr ) + * + * @cldr [Cldr instance]. + * + * Return parser properties. + */ +var dateParseProperties = function( cldr ) { + return { + preferredTimeData: cldr.supplemental.timeData.preferred() + }; +}; + + + + +/** + * Generated by: + * + * regenerate().add( require( "unicode-7.0.0/categories/N/symbols" ) ).toString(); + * + * https://github.com/mathiasbynens/regenerate + * https://github.com/mathiasbynens/unicode-7.0.0 + */ +var regexpN = /[0-9\xB2\xB3\xB9\xBC-\xBE\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u09F4-\u09F9\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0B72-\u0B77\u0BE6-\u0BF2\u0C66-\u0C6F\u0C78-\u0C7E\u0CE6-\u0CEF\u0D66-\u0D75\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F33\u1040-\u1049\u1090-\u1099\u1369-\u137C\u16EE-\u16F0\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1946-\u194F\u19D0-\u19DA\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\u2070\u2074-\u2079\u2080-\u2089\u2150-\u2182\u2185-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2CFD\u3007\u3021-\u3029\u3038-\u303A\u3192-\u3195\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\uA620-\uA629\uA6E6-\uA6EF\uA830-\uA835\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19]|\uD800[\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDEE1-\uDEFB\uDF20-\uDF23\uDF41\uDF4A\uDFD1-\uDFD5]|\uD801[\uDCA0-\uDCA9]|\uD802[\uDC58-\uDC5F\uDC79-\uDC7F\uDCA7-\uDCAF\uDD16-\uDD1B\uDE40-\uDE47\uDE7D\uDE7E\uDE9D-\uDE9F\uDEEB-\uDEEF\uDF58-\uDF5F\uDF78-\uDF7F\uDFA9-\uDFAF]|\uD803[\uDE60-\uDE7E]|\uD804[\uDC52-\uDC6F\uDCF0-\uDCF9\uDD36-\uDD3F\uDDD0-\uDDD9\uDDE1-\uDDF4\uDEF0-\uDEF9]|\uD805[\uDCD0-\uDCD9\uDE50-\uDE59\uDEC0-\uDEC9]|\uD806[\uDCE0-\uDCF2]|\uD809[\uDC00-\uDC6E]|\uD81A[\uDE60-\uDE69\uDF50-\uDF59\uDF5B-\uDF61]|\uD834[\uDF60-\uDF71]|\uD835[\uDFCE-\uDFFF]|\uD83A[\uDCC7-\uDCCF]|\uD83C[\uDD00-\uDD0C]/; + + + + +/** + * tokenizer( value, pattern, properties ) + * + * @value [String] string date. + * + * @properties [Object] output returned by date/tokenizer-properties. + * + * Returns an Array of tokens, eg. value "5 o'clock PM", pattern "h 'o''clock' a": + * [{ + * type: "h", + * lexeme: "5" + * }, { + * type: "literal", + * lexeme: " " + * }, { + * type: "literal", + * lexeme: "o'clock" + * }, { + * type: "literal", + * lexeme: " " + * }, { + * type: "a", + * lexeme: "PM", + * value: "pm" + * }] + * + * OBS: lexeme's are always String and may return invalid ranges depending of the token type. + * Eg. "99" for month number. + * + * Return an empty Array when not successfully parsed. + */ +var dateTokenizer = function( value, numberParser, properties ) { + var valid, + timeSeparator = properties.timeSeparator, + tokens = [], + widths = [ "abbreviated", "wide", "narrow" ]; + + valid = properties.pattern.match( datePatternRe ).every(function( current ) { + var chr, length, numeric, tokenRe, + token = {}; + + function hourFormatParse( tokenRe, numberParser ) { + var aux = value.match( tokenRe ); + numberParser = numberParser || function( value ) { + return +value; + }; + + if ( !aux ) { + return false; + } + + // hourFormat containing H only, e.g., `+H;-H` + if ( aux.length < 8 ) { + token.value = + ( aux[ 1 ] ? -numberParser( aux[ 1 ] ) : numberParser( aux[ 4 ] ) ) * 60; + + // hourFormat containing H and m, e.g., `+HHmm;-HHmm` + } else { + token.value = + ( aux[ 1 ] ? -numberParser( aux[ 1 ] ) : numberParser( aux[ 7 ] ) ) * 60 + + ( aux[ 1 ] ? -numberParser( aux[ 4 ] ) : numberParser( aux[ 10 ] ) ); + } + + return true; + } + + // Transform: + // - "+H;-H" -> /\+(\d\d?)|-(\d\d?)/ + // - "+HH;-HH" -> /\+(\d\d)|-(\d\d)/ + // - "+HHmm;-HHmm" -> /\+(\d\d)(\d\d)|-(\d\d)(\d\d)/ + // - "+HH:mm;-HH:mm" -> /\+(\d\d):(\d\d)|-(\d\d):(\d\d)/ + // + // If gmtFormat is GMT{0}, the regexp must fill {0} in each side, e.g.: + // - "+H;-H" -> /GMT\+(\d\d?)|GMT-(\d\d?)/ + function hourFormatRe( hourFormat, gmtFormat, timeSeparator ) { + var re; + + if ( !gmtFormat ) { + gmtFormat = "{0}"; + } + + re = hourFormat + .replace( "+", "\\+" ) + + // Unicode equivalent to (\\d\\d) + .replace( /HH|mm/g, "((" + regexpN.source + ")(" + regexpN.source + "))" ) + + // Unicode equivalent to (\\d\\d?) + .replace( /H|m/g, "((" + regexpN.source + ")(" + regexpN.source + ")?)" ); + + if ( timeSeparator ) { + re = re.replace( /:/g, timeSeparator ); + } + + re = re.split( ";" ).map(function( part ) { + return gmtFormat.replace( "{0}", part ); + }).join( "|" ); + + return new RegExp( re ); + } + + function oneDigitIfLengthOne() { + if ( length === 1 ) { + + // Unicode equivalent to /\d/ + numeric = true; + return tokenRe = regexpN; + } + } + + function oneOrTwoDigitsIfLengthOne() { + if ( length === 1 ) { + + // Unicode equivalent to /\d\d?/ + numeric = true; + return tokenRe = new RegExp( "(" + regexpN.source + ")(" + regexpN.source + ")?" ); + } + } + + function twoDigitsIfLengthTwo() { + if ( length === 2 ) { + + // Unicode equivalent to /\d\d/ + numeric = true; + return tokenRe = new RegExp( "(" + regexpN.source + ")(" + regexpN.source + ")" ); + } + } + + // Brute-force test every locale entry in an attempt to match the given value. + // Return the first found one (and set token accordingly), or null. + function lookup( path ) { + var i, re, + data = properties[ path.join( "/" ) ]; + + for ( i in data ) { + re = new RegExp( "^" + data[ i ] ); + if ( re.test( value ) ) { + token.value = i; + return tokenRe = new RegExp( data[ i ] ); + } + } + return null; + } + + token.type = current; + chr = current.charAt( 0 ), + length = current.length; + + if ( chr === "Z" ) { + // Z..ZZZ: same as "xxxx". + if ( length < 4 ) { + chr = "x"; + length = 4; + + // ZZZZ: same as "OOOO". + } else if ( length < 5 ) { + chr = "O"; + length = 4; + + // ZZZZZ: same as "XXXXX" + } else { + chr = "X"; + length = 5; + } + } + + switch ( chr ) { + + // Era + case "G": + lookup([ + "gregorian/eras", + length <= 3 ? "eraAbbr" : ( length === 4 ? "eraNames" : "eraNarrow" ) + ]); + break; + + // Year + case "y": + case "Y": + numeric = true; + + // number l=1:+, l=2:{2}, l=3:{3,}, l=4:{4,}, ... + if ( length === 1 ) { + + // Unicode equivalent to /\d+/. + tokenRe = new RegExp( "(" + regexpN.source + ")+" ); + } else if ( length === 2 ) { + + // Unicode equivalent to /\d\d/ + tokenRe = new RegExp( "(" + regexpN.source + ")(" + regexpN.source + ")" ); + } else { + + // Unicode equivalent to /\d{length,}/ + tokenRe = new RegExp( "(" + regexpN.source + "){" + length + ",}" ); + } + break; + + // Quarter + case "Q": + case "q": + // number l=1:{1}, l=2:{2}. + // lookup l=3... + oneDigitIfLengthOne() || twoDigitsIfLengthTwo() || lookup([ + "gregorian/quarters", + chr === "Q" ? "format" : "stand-alone", + widths[ length - 3 ] + ]); + break; + + // Month + case "M": + case "L": + // number l=1:{1,2}, l=2:{2}. + // lookup l=3... + oneOrTwoDigitsIfLengthOne() || twoDigitsIfLengthTwo() || lookup([ + "gregorian/months", + chr === "M" ? "format" : "stand-alone", + widths[ length - 3 ] + ]); + break; + + // Day + case "D": + // number {l,3}. + if ( length <= 3 ) { + + // Unicode equivalent to /\d{length,3}/ + numeric = true; + tokenRe = new RegExp( "(" + regexpN.source + "){" + length + ",3}" ); + } + break; + + case "W": + case "F": + // number l=1:{1}. + oneDigitIfLengthOne(); + break; + + // Week day + case "e": + case "c": + // number l=1:{1}, l=2:{2}. + // lookup for length >=3. + if ( length <= 2 ) { + oneDigitIfLengthOne() || twoDigitsIfLengthTwo(); + break; + } + + /* falls through */ + case "E": + if ( length === 6 ) { + // Note: if short day names are not explicitly specified, abbreviated day + // names are used instead http://www.unicode.org/reports/tr35/tr35-dates.html#months_days_quarters_eras + lookup([ + "gregorian/days", + [ chr === "c" ? "stand-alone" : "format" ], + "short" + ]) || lookup([ + "gregorian/days", + [ chr === "c" ? "stand-alone" : "format" ], + "abbreviated" + ]); + } else { + lookup([ + "gregorian/days", + [ chr === "c" ? "stand-alone" : "format" ], + widths[ length < 3 ? 0 : length - 3 ] + ]); + } + break; + + // Period (AM or PM) + case "a": + lookup([ + "gregorian/dayPeriods/format/wide" + ]); + break; + + // Week, Day, Hour, Minute, or Second + case "w": + case "d": + case "h": + case "H": + case "K": + case "k": + case "j": + case "m": + case "s": + // number l1:{1,2}, l2:{2}. + oneOrTwoDigitsIfLengthOne() || twoDigitsIfLengthTwo(); + break; + + case "S": + // number {l}. + + // Unicode equivalent to /\d{length}/ + numeric = true; + tokenRe = new RegExp( "(" + regexpN.source + "){" + length + "}" ); + break; + + case "A": + // number {l+5}. + + // Unicode equivalent to /\d{length+5}/ + numeric = true; + tokenRe = new RegExp( "(" + regexpN.source + "){" + ( length + 5 ) + "}" ); + break; + + // Zone + case "z": + case "O": + // O: "{gmtFormat}+H;{gmtFormat}-H" or "{gmtZeroFormat}", eg. "GMT-8" or "GMT". + // OOOO: "{gmtFormat}{hourFormat}" or "{gmtZeroFormat}", eg. "GMT-08:00" or "GMT". + if ( value === properties[ "timeZoneNames/gmtZeroFormat" ] ) { + token.value = 0; + tokenRe = new RegExp( properties[ "timeZoneNames/gmtZeroFormat" ] ); + } else { + tokenRe = hourFormatRe( + length < 4 ? "+H;-H" : properties[ "timeZoneNames/hourFormat" ], + properties[ "timeZoneNames/gmtFormat" ], + timeSeparator + ); + if ( !hourFormatParse( tokenRe, numberParser ) ) { + return null; + } + } + break; + + case "X": + // Same as x*, except it uses "Z" for zero offset. + if ( value === "Z" ) { + token.value = 0; + tokenRe = /Z/; + break; + } + + /* falls through */ + case "x": + // x: hourFormat("+HH;-HH") + // xx or xxxx: hourFormat("+HHmm;-HHmm") + // xxx or xxxxx: hourFormat("+HH:mm;-HH:mm") + tokenRe = hourFormatRe( + length === 1 ? "+HH;-HH" : ( length % 2 ? "+HH:mm;-HH:mm" : "+HHmm;-HHmm" ) + ); + if ( !hourFormatParse( tokenRe ) ) { + return null; + } + break; + + case "'": + token.type = "literal"; + current = current.replace( /''/, "'" ); + if ( length > 2 ) { + current = current.slice( 1, -1 ); + } + tokenRe = new RegExp( regexpEscape( current ) ); + break; + + default: + token.type = "literal"; + tokenRe = /./; + } + + if ( !tokenRe ) { + return false; + } + + // Get lexeme and consume it. + value = value.replace( new RegExp( "^" + tokenRe.source ), function( lexeme ) { + token.lexeme = lexeme; + if ( numeric ) { + token.value = numberParser( lexeme ); + } + return ""; + }); + + if ( !token.lexeme ) { + return false; + } + + tokens.push( token ); + return true; + }); + + return valid ? tokens : []; +}; + + + + +/** + * tokenizerProperties( pattern, cldr ) + * + * @pattern [String] raw pattern. + * + * @cldr [Cldr instance]. + * + * Return Object with data that will be used by tokenizer. + */ +var dateTokenizerProperties = function( pattern, cldr ) { + var properties = { + pattern: pattern, + timeSeparator: numberSymbol( "timeSeparator", cldr ) + }, + widths = [ "abbreviated", "wide", "narrow" ]; + + function populateProperties( path, value ) { + + // The `dates` and `calendars` trim's purpose is to reduce properties' key size only. + properties[ path.replace( /^.*\/dates\//, "" ).replace( /calendars\//, "" ) ] = value; + } + + cldr.on( "get", populateProperties ); + + pattern.match( datePatternRe ).forEach(function( current ) { + var chr, length; + + chr = current.charAt( 0 ), + length = current.length; + + if ( chr === "Z" && length < 5 ) { + chr = "O"; + length = 4; + } + + switch ( chr ) { + + // Era + case "G": + cldr.main([ + "dates/calendars/gregorian/eras", + length <= 3 ? "eraAbbr" : ( length === 4 ? "eraNames" : "eraNarrow" ) + ]); + break; + + // Year + case "u": // Extended year. Need to be implemented. + case "U": // Cyclic year name. Need to be implemented. + throw createErrorUnsupportedFeature({ + feature: "year pattern `" + chr + "`" + }); + + // Quarter + case "Q": + case "q": + if ( length > 2 ) { + cldr.main([ + "dates/calendars/gregorian/quarters", + chr === "Q" ? "format" : "stand-alone", + widths[ length - 3 ] + ]); + } + break; + + // Month + case "M": + case "L": + // number l=1:{1,2}, l=2:{2}. + // lookup l=3... + if ( length > 2 ) { + cldr.main([ + "dates/calendars/gregorian/months", + chr === "M" ? "format" : "stand-alone", + widths[ length - 3 ] + ]); + } + break; + + // Day + case "g": + // Modified Julian day. Need to be implemented. + throw createErrorUnsupportedFeature({ + feature: "Julian day pattern `g`" + }); + + // Week day + case "e": + case "c": + // lookup for length >=3. + if ( length <= 2 ) { + break; + } + + /* falls through */ + case "E": + if ( length === 6 ) { + // Note: if short day names are not explicitly specified, abbreviated day + // names are used instead http://www.unicode.org/reports/tr35/tr35-dates.html#months_days_quarters_eras + cldr.main([ + "dates/calendars/gregorian/days", + [ chr === "c" ? "stand-alone" : "format" ], + "short" + ]) || cldr.main([ + "dates/calendars/gregorian/days", + [ chr === "c" ? "stand-alone" : "format" ], + "abbreviated" + ]); + } else { + cldr.main([ + "dates/calendars/gregorian/days", + [ chr === "c" ? "stand-alone" : "format" ], + widths[ length < 3 ? 0 : length - 3 ] + ]); + } + break; + + // Period (AM or PM) + case "a": + cldr.main([ + "dates/calendars/gregorian/dayPeriods/format/wide" + ]); + break; + + // Zone + case "z": + case "O": + cldr.main( "dates/timeZoneNames/gmtFormat" ); + cldr.main( "dates/timeZoneNames/gmtZeroFormat" ); + cldr.main( "dates/timeZoneNames/hourFormat" ); + break; + + case "v": + case "V": + throw createErrorUnsupportedFeature({ + feature: "timezone pattern `" + chr + "`" + }); + } + }); + + cldr.off( "get", populateProperties ); + + return properties; +}; + + + + +function validateRequiredCldr( path, value ) { + validateCldr( path, value, { + skip: [ + /dates\/calendars\/gregorian\/dateTimeFormats\/availableFormats/, + /dates\/calendars\/gregorian\/days\/.*\/short/, + /supplemental\/timeData\/(?!001)/, + /supplemental\/weekData\/(?!001)/ + ] + }); +} + +/** + * .dateFormatter( options ) + * + * @options [Object] see date/expand_pattern for more info. + * + * Return a date formatter function (of the form below) according to the given options and the + * default/instance locale. + * + * fn( value ) + * + * @value [Date] + * + * Return a function that formats a date according to the given `format` and the default/instance + * locale. + */ +Globalize.dateFormatter = +Globalize.prototype.dateFormatter = function( options ) { + var cldr, numberFormatters, pad, pattern, properties; + + validateParameterTypePlainObject( options, "options" ); + + cldr = this.cldr; + options = options || { skeleton: "yMd" }; + + validateDefaultLocale( cldr ); + + cldr.on( "get", validateRequiredCldr ); + pattern = dateExpandPattern( options, cldr ); + properties = dateFormatProperties( pattern, cldr ); + cldr.off( "get", validateRequiredCldr ); + + // Create needed number formatters. + numberFormatters = properties.numberFormatters; + delete properties.numberFormatters; + for ( pad in numberFormatters ) { + numberFormatters[ pad ] = this.numberFormatter({ + raw: numberFormatters[ pad ] + }); + } + + return function( value ) { + validateParameterPresence( value, "value" ); + validateParameterTypeDate( value, "value" ); + return dateFormat( value, numberFormatters, properties ); + }; +}; + +/** + * .dateParser( options ) + * + * @options [Object] see date/expand_pattern for more info. + * + * Return a function that parses a string date according to the given `formats` and the + * default/instance locale. + */ +Globalize.dateParser = +Globalize.prototype.dateParser = function( options ) { + var cldr, numberParser, parseProperties, pattern, tokenizerProperties; + + validateParameterTypePlainObject( options, "options" ); + + cldr = this.cldr; + options = options || { skeleton: "yMd" }; + + validateDefaultLocale( cldr ); + + cldr.on( "get", validateRequiredCldr ); + pattern = dateExpandPattern( options, cldr ); + tokenizerProperties = dateTokenizerProperties( pattern, cldr ); + parseProperties = dateParseProperties( cldr ); + cldr.off( "get", validateRequiredCldr ); + + numberParser = this.numberParser({ raw: "0" }); + + return function( value ) { + var tokens; + + validateParameterPresence( value, "value" ); + validateParameterTypeString( value, "value" ); + + tokens = dateTokenizer( value, numberParser, tokenizerProperties ); + return dateParse( value, tokens, parseProperties ) || null; + }; +}; + +/** + * .formatDate( value, options ) + * + * @value [Date] + * + * @options [Object] see date/expand_pattern for more info. + * + * Formats a date or number according to the given options string and the default/instance locale. + */ +Globalize.formatDate = +Globalize.prototype.formatDate = function( value, options ) { + validateParameterPresence( value, "value" ); + validateParameterTypeDate( value, "value" ); + + return this.dateFormatter( options )( value ); +}; + +/** + * .parseDate( value, options ) + * + * @value [String] + * + * @options [Object] see date/expand_pattern for more info. + * + * Return a Date instance or null. + */ +Globalize.parseDate = +Globalize.prototype.parseDate = function( value, options ) { + validateParameterPresence( value, "value" ); + validateParameterTypeString( value, "value" ); + + return this.dateParser( options )( value ); +}; + +return Globalize; + + + + +})); diff --git a/web/Scripts/globalize/globalize.js b/web/Scripts/globalize/globalize.js deleted file mode 100644 index 80c28e18..00000000 --- a/web/Scripts/globalize/globalize.js +++ /dev/null @@ -1,1585 +0,0 @@ -/*! - * Globalize - * - * http://github.com/jquery/globalize - * - * Copyright Software Freedom Conservancy, Inc. - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - */ - -(function( window, undefined ) { - -var Globalize, - // private variables - regexHex, - regexInfinity, - regexParseFloat, - regexTrim, - // private JavaScript utility functions - arrayIndexOf, - endsWith, - extend, - isArray, - isFunction, - isObject, - startsWith, - trim, - truncate, - zeroPad, - // private Globalization utility functions - appendPreOrPostMatch, - expandFormat, - formatDate, - formatNumber, - getTokenRegExp, - getEra, - getEraYear, - parseExact, - parseNegativePattern; - -// Global variable (Globalize) or CommonJS module (globalize) -Globalize = function( cultureSelector ) { - return new Globalize.prototype.init( cultureSelector ); -}; - -if ( typeof require !== "undefined" && - typeof exports !== "undefined" && - typeof module !== "undefined" ) { - // Assume CommonJS - module.exports = Globalize; -} else { - // Export as global variable - window.Globalize = Globalize; -} - -Globalize.cultures = {}; - -Globalize.prototype = { - constructor: Globalize, - init: function( cultureSelector ) { - this.cultures = Globalize.cultures; - this.cultureSelector = cultureSelector; - - return this; - } -}; -Globalize.prototype.init.prototype = Globalize.prototype; - -// 1. When defining a culture, all fields are required except the ones stated as optional. -// 2. Each culture should have a ".calendars" object with at least one calendar named "standard" -// which serves as the default calendar in use by that culture. -// 3. Each culture should have a ".calendar" object which is the current calendar being used, -// it may be dynamically changed at any time to one of the calendars in ".calendars". -Globalize.cultures[ "default" ] = { - // A unique name for the culture in the form - - name: "en", - // the name of the culture in the english language - englishName: "English", - // the name of the culture in its own language - nativeName: "English", - // whether the culture uses right-to-left text - isRTL: false, - // "language" is used for so-called "specific" cultures. - // For example, the culture "es-CL" means "Spanish, in Chili". - // It represents the Spanish-speaking culture as it is in Chili, - // which might have different formatting rules or even translations - // than Spanish in Spain. A "neutral" culture is one that is not - // specific to a region. For example, the culture "es" is the generic - // Spanish culture, which may be a more generalized version of the language - // that may or may not be what a specific culture expects. - // For a specific culture like "es-CL", the "language" field refers to the - // neutral, generic culture information for the language it is using. - // This is not always a simple matter of the string before the dash. - // For example, the "zh-Hans" culture is netural (Simplified Chinese). - // And the "zh-SG" culture is Simplified Chinese in Singapore, whose lanugage - // field is "zh-CHS", not "zh". - // This field should be used to navigate from a specific culture to it's - // more general, neutral culture. If a culture is already as general as it - // can get, the language may refer to itself. - language: "en", - // numberFormat defines general number formatting rules, like the digits in - // each grouping, the group separator, and how negative numbers are displayed. - numberFormat: { - // [negativePattern] - // Note, numberFormat.pattern has no "positivePattern" unlike percent and currency, - // but is still defined as an array for consistency with them. - // negativePattern: one of "(n)|-n|- n|n-|n -" - pattern: [ "-n" ], - // number of decimal places normally shown - decimals: 2, - // string that separates number groups, as in 1,000,000 - ",": ",", - // string that separates a number from the fractional portion, as in 1.99 - ".": ".", - // array of numbers indicating the size of each number group. - // TODO: more detailed description and example - groupSizes: [ 3 ], - // symbol used for positive numbers - "+": "+", - // symbol used for negative numbers - "-": "-", - // symbol used for NaN (Not-A-Number) - "NaN": "NaN", - // symbol used for Negative Infinity - negativeInfinity: "-Infinity", - // symbol used for Positive Infinity - positiveInfinity: "Infinity", - percent: { - // [negativePattern, positivePattern] - // negativePattern: one of "-n %|-n%|-%n|%-n|%n-|n-%|n%-|-% n|n %-|% n-|% -n|n- %" - // positivePattern: one of "n %|n%|%n|% n" - pattern: [ "-n %", "n %" ], - // number of decimal places normally shown - decimals: 2, - // array of numbers indicating the size of each number group. - // TODO: more detailed description and example - groupSizes: [ 3 ], - // string that separates number groups, as in 1,000,000 - ",": ",", - // string that separates a number from the fractional portion, as in 1.99 - ".": ".", - // symbol used to represent a percentage - symbol: "%" - }, - currency: { - // [negativePattern, positivePattern] - // negativePattern: one of "($n)|-$n|$-n|$n-|(n$)|-n$|n-$|n$-|-n $|-$ n|n $-|$ n-|$ -n|n- $|($ n)|(n $)" - // positivePattern: one of "$n|n$|$ n|n $" - pattern: [ "($n)", "$n" ], - // number of decimal places normally shown - decimals: 2, - // array of numbers indicating the size of each number group. - // TODO: more detailed description and example - groupSizes: [ 3 ], - // string that separates number groups, as in 1,000,000 - ",": ",", - // string that separates a number from the fractional portion, as in 1.99 - ".": ".", - // symbol used to represent currency - symbol: "$" - } - }, - // calendars defines all the possible calendars used by this culture. - // There should be at least one defined with name "standard", and is the default - // calendar used by the culture. - // A calendar contains information about how dates are formatted, information about - // the calendar's eras, a standard set of the date formats, - // translations for day and month names, and if the calendar is not based on the Gregorian - // calendar, conversion functions to and from the Gregorian calendar. - calendars: { - standard: { - // name that identifies the type of calendar this is - name: "Gregorian_USEnglish", - // separator of parts of a date (e.g. "/" in 11/05/1955) - "/": "/", - // separator of parts of a time (e.g. ":" in 05:44 PM) - ":": ":", - // the first day of the week (0 = Sunday, 1 = Monday, etc) - firstDay: 0, - days: { - // full day names - names: [ "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" ], - // abbreviated day names - namesAbbr: [ "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" ], - // shortest day names - namesShort: [ "Su", "Mo", "Tu", "We", "Th", "Fr", "Sa" ] - }, - months: { - // full month names (13 months for lunar calendards -- 13th month should be "" if not lunar) - names: [ "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", "" ], - // abbreviated month names - namesAbbr: [ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", "" ] - }, - // AM and PM designators in one of these forms: - // The usual view, and the upper and lower case versions - // [ standard, lowercase, uppercase ] - // The culture does not use AM or PM (likely all standard date formats use 24 hour time) - // null - AM: [ "AM", "am", "AM" ], - PM: [ "PM", "pm", "PM" ], - eras: [ - // eras in reverse chronological order. - // name: the name of the era in this culture (e.g. A.D., C.E.) - // start: when the era starts in ticks (gregorian, gmt), null if it is the earliest supported era. - // offset: offset in years from gregorian calendar - { - "name": "A.D.", - "start": null, - "offset": 0 - } - ], - // when a two digit year is given, it will never be parsed as a four digit - // year greater than this year (in the appropriate era for the culture) - // Set it as a full year (e.g. 2029) or use an offset format starting from - // the current year: "+19" would correspond to 2029 if the current year 2010. - twoDigitYearMax: 2029, - // set of predefined date and time patterns used by the culture - // these represent the format someone in this culture would expect - // to see given the portions of the date that are shown. - patterns: { - // short date pattern - d: "M/d/yyyy", - // long date pattern - D: "dddd, MMMM dd, yyyy", - // short time pattern - t: "h:mm tt", - // long time pattern - T: "h:mm:ss tt", - // long date, short time pattern - f: "dddd, MMMM dd, yyyy h:mm tt", - // long date, long time pattern - F: "dddd, MMMM dd, yyyy h:mm:ss tt", - // month/day pattern - M: "MMMM dd", - // month/year pattern - Y: "yyyy MMMM", - // S is a sortable format that does not vary by culture - S: "yyyy\u0027-\u0027MM\u0027-\u0027dd\u0027T\u0027HH\u0027:\u0027mm\u0027:\u0027ss" - } - // optional fields for each calendar: - /* - monthsGenitive: - Same as months but used when the day preceeds the month. - Omit if the culture has no genitive distinction in month names. - For an explaination of genitive months, see http://blogs.msdn.com/michkap/archive/2004/12/25/332259.aspx - convert: - Allows for the support of non-gregorian based calendars. This convert object is used to - to convert a date to and from a gregorian calendar date to handle parsing and formatting. - The two functions: - fromGregorian( date ) - Given the date as a parameter, return an array with parts [ year, month, day ] - corresponding to the non-gregorian based year, month, and day for the calendar. - toGregorian( year, month, day ) - Given the non-gregorian year, month, and day, return a new Date() object - set to the corresponding date in the gregorian calendar. - */ - } - }, - // For localized strings - messages: {} -}; - -Globalize.cultures[ "default" ].calendar = Globalize.cultures[ "default" ].calendars.standard; - -Globalize.cultures.en = Globalize.cultures[ "default" ]; - -Globalize.cultureSelector = "en"; - -// -// private variables -// - -regexHex = /^0x[a-f0-9]+$/i; -regexInfinity = /^[+\-]?infinity$/i; -regexParseFloat = /^[+\-]?\d*\.?\d*(e[+\-]?\d+)?$/; -regexTrim = /^\s+|\s+$/g; - -// -// private JavaScript utility functions -// - -arrayIndexOf = function( array, item ) { - if ( array.indexOf ) { - return array.indexOf( item ); - } - for ( var i = 0, length = array.length; i < length; i++ ) { - if ( array[i] === item ) { - return i; - } - } - return -1; -}; - -endsWith = function( value, pattern ) { - return value.substr( value.length - pattern.length ) === pattern; -}; - -extend = function() { - var options, name, src, copy, copyIsArray, clone, - target = arguments[0] || {}, - i = 1, - length = arguments.length, - deep = false; - - // Handle a deep copy situation - if ( typeof target === "boolean" ) { - deep = target; - target = arguments[1] || {}; - // skip the boolean and the target - i = 2; - } - - // Handle case when target is a string or something (possible in deep copy) - if ( typeof target !== "object" && !isFunction(target) ) { - target = {}; - } - - for ( ; i < length; i++ ) { - // Only deal with non-null/undefined values - if ( (options = arguments[ i ]) != null ) { - // Extend the base object - for ( name in options ) { - src = target[ name ]; - copy = options[ name ]; - - // Prevent never-ending loop - if ( target === copy ) { - continue; - } - - // Recurse if we're merging plain objects or arrays - if ( deep && copy && ( isObject(copy) || (copyIsArray = isArray(copy)) ) ) { - if ( copyIsArray ) { - copyIsArray = false; - clone = src && isArray(src) ? src : []; - - } else { - clone = src && isObject(src) ? src : {}; - } - - // Never move original objects, clone them - target[ name ] = extend( deep, clone, copy ); - - // Don't bring in undefined values - } else if ( copy !== undefined ) { - target[ name ] = copy; - } - } - } - } - - // Return the modified object - return target; -}; - -isArray = Array.isArray || function( obj ) { - return Object.prototype.toString.call( obj ) === "[object Array]"; -}; - -isFunction = function( obj ) { - return Object.prototype.toString.call( obj ) === "[object Function]"; -}; - -isObject = function( obj ) { - return Object.prototype.toString.call( obj ) === "[object Object]"; -}; - -startsWith = function( value, pattern ) { - return value.indexOf( pattern ) === 0; -}; - -trim = function( value ) { - return ( value + "" ).replace( regexTrim, "" ); -}; - -truncate = function( value ) { - if ( isNaN( value ) ) { - return NaN; - } - return Math[ value < 0 ? "ceil" : "floor" ]( value ); -}; - -zeroPad = function( str, count, left ) { - var l; - for ( l = str.length; l < count; l += 1 ) { - str = ( left ? ("0" + str) : (str + "0") ); - } - return str; -}; - -// -// private Globalization utility functions -// - -appendPreOrPostMatch = function( preMatch, strings ) { - // appends pre- and post- token match strings while removing escaped characters. - // Returns a single quote count which is used to determine if the token occurs - // in a string literal. - var quoteCount = 0, - escaped = false; - for ( var i = 0, il = preMatch.length; i < il; i++ ) { - var c = preMatch.charAt( i ); - switch ( c ) { - case "\'": - if ( escaped ) { - strings.push( "\'" ); - } - else { - quoteCount++; - } - escaped = false; - break; - case "\\": - if ( escaped ) { - strings.push( "\\" ); - } - escaped = !escaped; - break; - default: - strings.push( c ); - escaped = false; - break; - } - } - return quoteCount; -}; - -expandFormat = function( cal, format ) { - // expands unspecified or single character date formats into the full pattern. - format = format || "F"; - var pattern, - patterns = cal.patterns, - len = format.length; - if ( len === 1 ) { - pattern = patterns[ format ]; - if ( !pattern ) { - throw "Invalid date format string \'" + format + "\'."; - } - format = pattern; - } - else if ( len === 2 && format.charAt(0) === "%" ) { - // %X escape format -- intended as a custom format string that is only one character, not a built-in format. - format = format.charAt( 1 ); - } - return format; -}; - -formatDate = function( value, format, culture ) { - var cal = culture.calendar, - convert = cal.convert, - ret; - - if ( !format || !format.length || format === "i" ) { - if ( culture && culture.name.length ) { - if ( convert ) { - // non-gregorian calendar, so we cannot use built-in toLocaleString() - ret = formatDate( value, cal.patterns.F, culture ); - } - else { - var eraDate = new Date( value.getTime() ), - era = getEra( value, cal.eras ); - eraDate.setFullYear( getEraYear(value, cal, era) ); - ret = eraDate.toLocaleString(); - } - } - else { - ret = value.toString(); - } - return ret; - } - - var eras = cal.eras, - sortable = format === "s"; - format = expandFormat( cal, format ); - - // Start with an empty string - ret = []; - var hour, - zeros = [ "0", "00", "000" ], - foundDay, - checkedDay, - dayPartRegExp = /([^d]|^)(d|dd)([^d]|$)/g, - quoteCount = 0, - tokenRegExp = getTokenRegExp(), - converted; - - function padZeros( num, c ) { - var r, s = num + ""; - if ( c > 1 && s.length < c ) { - r = ( zeros[c - 2] + s); - return r.substr( r.length - c, c ); - } - else { - r = s; - } - return r; - } - - function hasDay() { - if ( foundDay || checkedDay ) { - return foundDay; - } - foundDay = dayPartRegExp.test( format ); - checkedDay = true; - return foundDay; - } - - function getPart( date, part ) { - if ( converted ) { - return converted[ part ]; - } - switch ( part ) { - case 0: - return date.getFullYear(); - case 1: - return date.getMonth(); - case 2: - return date.getDate(); - default: - throw "Invalid part value " + part; - } - } - - if ( !sortable && convert ) { - converted = convert.fromGregorian( value ); - } - - for ( ; ; ) { - // Save the current index - var index = tokenRegExp.lastIndex, - // Look for the next pattern - ar = tokenRegExp.exec( format ); - - // Append the text before the pattern (or the end of the string if not found) - var preMatch = format.slice( index, ar ? ar.index : format.length ); - quoteCount += appendPreOrPostMatch( preMatch, ret ); - - if ( !ar ) { - break; - } - - // do not replace any matches that occur inside a string literal. - if ( quoteCount % 2 ) { - ret.push( ar[0] ); - continue; - } - - var current = ar[ 0 ], - clength = current.length; - - switch ( current ) { - case "ddd": - //Day of the week, as a three-letter abbreviation - case "dddd": - // Day of the week, using the full name - var names = ( clength === 3 ) ? cal.days.namesAbbr : cal.days.names; - ret.push( names[value.getDay()] ); - break; - case "d": - // Day of month, without leading zero for single-digit days - case "dd": - // Day of month, with leading zero for single-digit days - foundDay = true; - ret.push( - padZeros( getPart(value, 2), clength ) - ); - break; - case "MMM": - // Month, as a three-letter abbreviation - case "MMMM": - // Month, using the full name - var part = getPart( value, 1 ); - ret.push( - ( cal.monthsGenitive && hasDay() ) ? - ( cal.monthsGenitive[ clength === 3 ? "namesAbbr" : "names" ][ part ] ) : - ( cal.months[ clength === 3 ? "namesAbbr" : "names" ][ part ] ) - ); - break; - case "M": - // Month, as digits, with no leading zero for single-digit months - case "MM": - // Month, as digits, with leading zero for single-digit months - ret.push( - padZeros( getPart(value, 1) + 1, clength ) - ); - break; - case "y": - // Year, as two digits, but with no leading zero for years less than 10 - case "yy": - // Year, as two digits, with leading zero for years less than 10 - case "yyyy": - // Year represented by four full digits - part = converted ? converted[ 0 ] : getEraYear( value, cal, getEra(value, eras), sortable ); - if ( clength < 4 ) { - part = part % 100; - } - ret.push( - padZeros( part, clength ) - ); - break; - case "h": - // Hours with no leading zero for single-digit hours, using 12-hour clock - case "hh": - // Hours with leading zero for single-digit hours, using 12-hour clock - hour = value.getHours() % 12; - if ( hour === 0 ) hour = 12; - ret.push( - padZeros( hour, clength ) - ); - break; - case "H": - // Hours with no leading zero for single-digit hours, using 24-hour clock - case "HH": - // Hours with leading zero for single-digit hours, using 24-hour clock - ret.push( - padZeros( value.getHours(), clength ) - ); - break; - case "m": - // Minutes with no leading zero for single-digit minutes - case "mm": - // Minutes with leading zero for single-digit minutes - ret.push( - padZeros( value.getMinutes(), clength ) - ); - break; - case "s": - // Seconds with no leading zero for single-digit seconds - case "ss": - // Seconds with leading zero for single-digit seconds - ret.push( - padZeros( value.getSeconds(), clength ) - ); - break; - case "t": - // One character am/pm indicator ("a" or "p") - case "tt": - // Multicharacter am/pm indicator - part = value.getHours() < 12 ? ( cal.AM ? cal.AM[0] : " " ) : ( cal.PM ? cal.PM[0] : " " ); - ret.push( clength === 1 ? part.charAt(0) : part ); - break; - case "f": - // Deciseconds - case "ff": - // Centiseconds - case "fff": - // Milliseconds - ret.push( - padZeros( value.getMilliseconds(), 3 ).substr( 0, clength ) - ); - break; - case "z": - // Time zone offset, no leading zero - case "zz": - // Time zone offset with leading zero - hour = value.getTimezoneOffset() / 60; - ret.push( - ( hour <= 0 ? "+" : "-" ) + padZeros( Math.floor(Math.abs(hour)), clength ) - ); - break; - case "zzz": - // Time zone offset with leading zero - hour = value.getTimezoneOffset() / 60; - ret.push( - ( hour <= 0 ? "+" : "-" ) + padZeros( Math.floor(Math.abs(hour)), 2 ) + - // Hard coded ":" separator, rather than using cal.TimeSeparator - // Repeated here for consistency, plus ":" was already assumed in date parsing. - ":" + padZeros( Math.abs(value.getTimezoneOffset() % 60), 2 ) - ); - break; - case "g": - case "gg": - if ( cal.eras ) { - ret.push( - cal.eras[ getEra(value, eras) ].name - ); - } - break; - case "/": - ret.push( cal["/"] ); - break; - default: - throw "Invalid date format pattern \'" + current + "\'."; - } - } - return ret.join( "" ); -}; - -// formatNumber -(function() { - var expandNumber; - - expandNumber = function( number, precision, formatInfo ) { - var groupSizes = formatInfo.groupSizes, - curSize = groupSizes[ 0 ], - curGroupIndex = 1, - factor = Math.pow( 10, precision ), - rounded = Math.round( number * factor ) / factor; - - if ( !isFinite(rounded) ) { - rounded = number; - } - number = rounded; - - var numberString = number+"", - right = "", - split = numberString.split( /e/i ), - exponent = split.length > 1 ? parseInt( split[1], 10 ) : 0; - numberString = split[ 0 ]; - split = numberString.split( "." ); - numberString = split[ 0 ]; - right = split.length > 1 ? split[ 1 ] : ""; - - if ( exponent > 0 ) { - right = zeroPad( right, exponent, false ); - numberString += right.slice( 0, exponent ); - right = right.substr( exponent ); - } - else if ( exponent < 0 ) { - exponent = -exponent; - numberString = zeroPad( numberString, exponent + 1, true ); - right = numberString.slice( -exponent, numberString.length ) + right; - numberString = numberString.slice( 0, -exponent ); - } - - if ( precision > 0 ) { - right = formatInfo[ "." ] + - ( (right.length > precision) ? right.slice(0, precision) : zeroPad(right, precision) ); - } - else { - right = ""; - } - - var stringIndex = numberString.length - 1, - sep = formatInfo[ "," ], - ret = ""; - - while ( stringIndex >= 0 ) { - if ( curSize === 0 || curSize > stringIndex ) { - return numberString.slice( 0, stringIndex + 1 ) + ( ret.length ? (sep + ret + right) : right ); - } - ret = numberString.slice( stringIndex - curSize + 1, stringIndex + 1 ) + ( ret.length ? (sep + ret) : "" ); - - stringIndex -= curSize; - - if ( curGroupIndex < groupSizes.length ) { - curSize = groupSizes[ curGroupIndex ]; - curGroupIndex++; - } - } - - return numberString.slice( 0, stringIndex + 1 ) + sep + ret + right; - }; - - formatNumber = function( value, format, culture ) { - if ( !isFinite(value) ) { - if ( value === Infinity ) { - return culture.numberFormat.positiveInfinity; - } - if ( value === -Infinity ) { - return culture.numberFormat.negativeInfinity; - } - return culture.numberFormat.NaN; - } - if ( !format || format === "i" ) { - return culture.name.length ? value.toLocaleString() : value.toString(); - } - format = format || "D"; - - var nf = culture.numberFormat, - number = Math.abs( value ), - precision = -1, - pattern; - if ( format.length > 1 ) precision = parseInt( format.slice(1), 10 ); - - var current = format.charAt( 0 ).toUpperCase(), - formatInfo; - - switch ( current ) { - case "D": - pattern = "n"; - number = truncate( number ); - if ( precision !== -1 ) { - number = zeroPad( "" + number, precision, true ); - } - if ( value < 0 ) number = "-" + number; - break; - case "N": - formatInfo = nf; - /* falls through */ - case "C": - formatInfo = formatInfo || nf.currency; - /* falls through */ - case "P": - formatInfo = formatInfo || nf.percent; - pattern = value < 0 ? formatInfo.pattern[ 0 ] : ( formatInfo.pattern[1] || "n" ); - if ( precision === -1 ) precision = formatInfo.decimals; - number = expandNumber( number * (current === "P" ? 100 : 1), precision, formatInfo ); - break; - default: - throw "Bad number format specifier: " + current; - } - - var patternParts = /n|\$|-|%/g, - ret = ""; - for ( ; ; ) { - var index = patternParts.lastIndex, - ar = patternParts.exec( pattern ); - - ret += pattern.slice( index, ar ? ar.index : pattern.length ); - - if ( !ar ) { - break; - } - - switch ( ar[0] ) { - case "n": - ret += number; - break; - case "$": - ret += nf.currency.symbol; - break; - case "-": - // don't make 0 negative - if ( /[1-9]/.test(number) ) { - ret += nf[ "-" ]; - } - break; - case "%": - ret += nf.percent.symbol; - break; - } - } - - return ret; - }; - -}()); - -getTokenRegExp = function() { - // regular expression for matching date and time tokens in format strings. - return (/\/|dddd|ddd|dd|d|MMMM|MMM|MM|M|yyyy|yy|y|hh|h|HH|H|mm|m|ss|s|tt|t|fff|ff|f|zzz|zz|z|gg|g/g); -}; - -getEra = function( date, eras ) { - if ( !eras ) return 0; - var start, ticks = date.getTime(); - for ( var i = 0, l = eras.length; i < l; i++ ) { - start = eras[ i ].start; - if ( start === null || ticks >= start ) { - return i; - } - } - return 0; -}; - -getEraYear = function( date, cal, era, sortable ) { - var year = date.getFullYear(); - if ( !sortable && cal.eras ) { - // convert normal gregorian year to era-shifted gregorian - // year by subtracting the era offset - year -= cal.eras[ era ].offset; - } - return year; -}; - -// parseExact -(function() { - var expandYear, - getDayIndex, - getMonthIndex, - getParseRegExp, - outOfRange, - toUpper, - toUpperArray; - - expandYear = function( cal, year ) { - // expands 2-digit year into 4 digits. - if ( year < 100 ) { - var now = new Date(), - era = getEra( now ), - curr = getEraYear( now, cal, era ), - twoDigitYearMax = cal.twoDigitYearMax; - twoDigitYearMax = typeof twoDigitYearMax === "string" ? new Date().getFullYear() % 100 + parseInt( twoDigitYearMax, 10 ) : twoDigitYearMax; - year += curr - ( curr % 100 ); - if ( year > twoDigitYearMax ) { - year -= 100; - } - } - return year; - }; - - getDayIndex = function ( cal, value, abbr ) { - var ret, - days = cal.days, - upperDays = cal._upperDays; - if ( !upperDays ) { - cal._upperDays = upperDays = [ - toUpperArray( days.names ), - toUpperArray( days.namesAbbr ), - toUpperArray( days.namesShort ) - ]; - } - value = toUpper( value ); - if ( abbr ) { - ret = arrayIndexOf( upperDays[1], value ); - if ( ret === -1 ) { - ret = arrayIndexOf( upperDays[2], value ); - } - } - else { - ret = arrayIndexOf( upperDays[0], value ); - } - return ret; - }; - - getMonthIndex = function( cal, value, abbr ) { - var months = cal.months, - monthsGen = cal.monthsGenitive || cal.months, - upperMonths = cal._upperMonths, - upperMonthsGen = cal._upperMonthsGen; - if ( !upperMonths ) { - cal._upperMonths = upperMonths = [ - toUpperArray( months.names ), - toUpperArray( months.namesAbbr ) - ]; - cal._upperMonthsGen = upperMonthsGen = [ - toUpperArray( monthsGen.names ), - toUpperArray( monthsGen.namesAbbr ) - ]; - } - value = toUpper( value ); - var i = arrayIndexOf( abbr ? upperMonths[1] : upperMonths[0], value ); - if ( i < 0 ) { - i = arrayIndexOf( abbr ? upperMonthsGen[1] : upperMonthsGen[0], value ); - } - return i; - }; - - getParseRegExp = function( cal, format ) { - // converts a format string into a regular expression with groups that - // can be used to extract date fields from a date string. - // check for a cached parse regex. - var re = cal._parseRegExp; - if ( !re ) { - cal._parseRegExp = re = {}; - } - else { - var reFormat = re[ format ]; - if ( reFormat ) { - return reFormat; - } - } - - // expand single digit formats, then escape regular expression characters. - var expFormat = expandFormat( cal, format ).replace( /([\^\$\.\*\+\?\|\[\]\(\)\{\}])/g, "\\\\$1" ), - regexp = [ "^" ], - groups = [], - index = 0, - quoteCount = 0, - tokenRegExp = getTokenRegExp(), - match; - - // iterate through each date token found. - while ( (match = tokenRegExp.exec(expFormat)) !== null ) { - var preMatch = expFormat.slice( index, match.index ); - index = tokenRegExp.lastIndex; - - // don't replace any matches that occur inside a string literal. - quoteCount += appendPreOrPostMatch( preMatch, regexp ); - if ( quoteCount % 2 ) { - regexp.push( match[0] ); - continue; - } - - // add a regex group for the token. - var m = match[ 0 ], - len = m.length, - add; - switch ( m ) { - case "dddd": case "ddd": - case "MMMM": case "MMM": - case "gg": case "g": - add = "(\\D+)"; - break; - case "tt": case "t": - add = "(\\D*)"; - break; - case "yyyy": - case "fff": - case "ff": - case "f": - add = "(\\d{" + len + "})"; - break; - case "dd": case "d": - case "MM": case "M": - case "yy": case "y": - case "HH": case "H": - case "hh": case "h": - case "mm": case "m": - case "ss": case "s": - add = "(\\d\\d?)"; - break; - case "zzz": - add = "([+-]?\\d\\d?:\\d{2})"; - break; - case "zz": case "z": - add = "([+-]?\\d\\d?)"; - break; - case "/": - add = "(\\/)"; - break; - default: - throw "Invalid date format pattern \'" + m + "\'."; - } - if ( add ) { - regexp.push( add ); - } - groups.push( match[0] ); - } - appendPreOrPostMatch( expFormat.slice(index), regexp ); - regexp.push( "$" ); - - // allow whitespace to differ when matching formats. - var regexpStr = regexp.join( "" ).replace( /\s+/g, "\\s+" ), - parseRegExp = { "regExp": regexpStr, "groups": groups }; - - // cache the regex for this format. - return re[ format ] = parseRegExp; - }; - - outOfRange = function( value, low, high ) { - return value < low || value > high; - }; - - toUpper = function( value ) { - // "he-IL" has non-breaking space in weekday names. - return value.split( "\u00A0" ).join( " " ).toUpperCase(); - }; - - toUpperArray = function( arr ) { - var results = []; - for ( var i = 0, l = arr.length; i < l; i++ ) { - results[ i ] = toUpper( arr[i] ); - } - return results; - }; - - parseExact = function( value, format, culture ) { - // try to parse the date string by matching against the format string - // while using the specified culture for date field names. - value = trim( value ); - var cal = culture.calendar, - // convert date formats into regular expressions with groupings. - // use the regexp to determine the input format and extract the date fields. - parseInfo = getParseRegExp( cal, format ), - match = new RegExp( parseInfo.regExp ).exec( value ); - if ( match === null ) { - return null; - } - // found a date format that matches the input. - var groups = parseInfo.groups, - era = null, year = null, month = null, date = null, weekDay = null, - hour = 0, hourOffset, min = 0, sec = 0, msec = 0, tzMinOffset = null, - pmHour = false; - // iterate the format groups to extract and set the date fields. - for ( var j = 0, jl = groups.length; j < jl; j++ ) { - var matchGroup = match[ j + 1 ]; - if ( matchGroup ) { - var current = groups[ j ], - clength = current.length, - matchInt = parseInt( matchGroup, 10 ); - switch ( current ) { - case "dd": case "d": - // Day of month. - date = matchInt; - // check that date is generally in valid range, also checking overflow below. - if ( outOfRange(date, 1, 31) ) return null; - break; - case "MMM": case "MMMM": - month = getMonthIndex( cal, matchGroup, clength === 3 ); - if ( outOfRange(month, 0, 11) ) return null; - break; - case "M": case "MM": - // Month. - month = matchInt - 1; - if ( outOfRange(month, 0, 11) ) return null; - break; - case "y": case "yy": - case "yyyy": - year = clength < 4 ? expandYear( cal, matchInt ) : matchInt; - if ( outOfRange(year, 0, 9999) ) return null; - break; - case "h": case "hh": - // Hours (12-hour clock). - hour = matchInt; - if ( hour === 12 ) hour = 0; - if ( outOfRange(hour, 0, 11) ) return null; - break; - case "H": case "HH": - // Hours (24-hour clock). - hour = matchInt; - if ( outOfRange(hour, 0, 23) ) return null; - break; - case "m": case "mm": - // Minutes. - min = matchInt; - if ( outOfRange(min, 0, 59) ) return null; - break; - case "s": case "ss": - // Seconds. - sec = matchInt; - if ( outOfRange(sec, 0, 59) ) return null; - break; - case "tt": case "t": - // AM/PM designator. - // see if it is standard, upper, or lower case PM. If not, ensure it is at least one of - // the AM tokens. If not, fail the parse for this format. - pmHour = cal.PM && ( matchGroup === cal.PM[0] || matchGroup === cal.PM[1] || matchGroup === cal.PM[2] ); - if ( - !pmHour && ( - !cal.AM || ( matchGroup !== cal.AM[0] && matchGroup !== cal.AM[1] && matchGroup !== cal.AM[2] ) - ) - ) return null; - break; - case "f": - // Deciseconds. - case "ff": - // Centiseconds. - case "fff": - // Milliseconds. - msec = matchInt * Math.pow( 10, 3 - clength ); - if ( outOfRange(msec, 0, 999) ) return null; - break; - case "ddd": - // Day of week. - case "dddd": - // Day of week. - weekDay = getDayIndex( cal, matchGroup, clength === 3 ); - if ( outOfRange(weekDay, 0, 6) ) return null; - break; - case "zzz": - // Time zone offset in +/- hours:min. - var offsets = matchGroup.split( /:/ ); - if ( offsets.length !== 2 ) return null; - hourOffset = parseInt( offsets[0], 10 ); - if ( outOfRange(hourOffset, -12, 13) ) return null; - var minOffset = parseInt( offsets[1], 10 ); - if ( outOfRange(minOffset, 0, 59) ) return null; - tzMinOffset = ( hourOffset * 60 ) + ( startsWith(matchGroup, "-") ? -minOffset : minOffset ); - break; - case "z": case "zz": - // Time zone offset in +/- hours. - hourOffset = matchInt; - if ( outOfRange(hourOffset, -12, 13) ) return null; - tzMinOffset = hourOffset * 60; - break; - case "g": case "gg": - var eraName = matchGroup; - if ( !eraName || !cal.eras ) return null; - eraName = trim( eraName.toLowerCase() ); - for ( var i = 0, l = cal.eras.length; i < l; i++ ) { - if ( eraName === cal.eras[i].name.toLowerCase() ) { - era = i; - break; - } - } - // could not find an era with that name - if ( era === null ) return null; - break; - } - } - } - var result = new Date(), defaultYear, convert = cal.convert; - defaultYear = convert ? convert.fromGregorian( result )[ 0 ] : result.getFullYear(); - if ( year === null ) { - year = defaultYear; - } - else if ( cal.eras ) { - // year must be shifted to normal gregorian year - // but not if year was not specified, its already normal gregorian - // per the main if clause above. - year += cal.eras[( era || 0 )].offset; - } - // set default day and month to 1 and January, so if unspecified, these are the defaults - // instead of the current day/month. - if ( month === null ) { - month = 0; - } - if ( date === null ) { - date = 1; - } - // now have year, month, and date, but in the culture's calendar. - // convert to gregorian if necessary - if ( convert ) { - result = convert.toGregorian( year, month, date ); - // conversion failed, must be an invalid match - if ( result === null ) return null; - } - else { - // have to set year, month and date together to avoid overflow based on current date. - result.setFullYear( year, month, date ); - // check to see if date overflowed for specified month (only checked 1-31 above). - if ( result.getDate() !== date ) return null; - // invalid day of week. - if ( weekDay !== null && result.getDay() !== weekDay ) { - return null; - } - } - // if pm designator token was found make sure the hours fit the 24-hour clock. - if ( pmHour && hour < 12 ) { - hour += 12; - } - result.setHours( hour, min, sec, msec ); - if ( tzMinOffset !== null ) { - // adjust timezone to utc before applying local offset. - var adjustedMin = result.getMinutes() - ( tzMinOffset + result.getTimezoneOffset() ); - // Safari limits hours and minutes to the range of -127 to 127. We need to use setHours - // to ensure both these fields will not exceed this range. adjustedMin will range - // somewhere between -1440 and 1500, so we only need to split this into hours. - result.setHours( result.getHours() + parseInt(adjustedMin / 60, 10), adjustedMin % 60 ); - } - return result; - }; -}()); - -parseNegativePattern = function( value, nf, negativePattern ) { - var neg = nf[ "-" ], - pos = nf[ "+" ], - ret; - switch ( negativePattern ) { - case "n -": - neg = " " + neg; - pos = " " + pos; - /* falls through */ - case "n-": - if ( endsWith(value, neg) ) { - ret = [ "-", value.substr(0, value.length - neg.length) ]; - } - else if ( endsWith(value, pos) ) { - ret = [ "+", value.substr(0, value.length - pos.length) ]; - } - break; - case "- n": - neg += " "; - pos += " "; - /* falls through */ - case "-n": - if ( startsWith(value, neg) ) { - ret = [ "-", value.substr(neg.length) ]; - } - else if ( startsWith(value, pos) ) { - ret = [ "+", value.substr(pos.length) ]; - } - break; - case "(n)": - if ( startsWith(value, "(") && endsWith(value, ")") ) { - ret = [ "-", value.substr(1, value.length - 2) ]; - } - break; - } - return ret || [ "", value ]; -}; - -// -// public instance functions -// - -Globalize.prototype.findClosestCulture = function( cultureSelector ) { - return Globalize.findClosestCulture.call( this, cultureSelector ); -}; - -Globalize.prototype.format = function( value, format, cultureSelector ) { - return Globalize.format.call( this, value, format, cultureSelector ); -}; - -Globalize.prototype.localize = function( key, cultureSelector ) { - return Globalize.localize.call( this, key, cultureSelector ); -}; - -Globalize.prototype.parseInt = function( value, radix, cultureSelector ) { - return Globalize.parseInt.call( this, value, radix, cultureSelector ); -}; - -Globalize.prototype.parseFloat = function( value, radix, cultureSelector ) { - return Globalize.parseFloat.call( this, value, radix, cultureSelector ); -}; - -Globalize.prototype.culture = function( cultureSelector ) { - return Globalize.culture.call( this, cultureSelector ); -}; - -// -// public singleton functions -// - -Globalize.addCultureInfo = function( cultureName, baseCultureName, info ) { - - var base = {}, - isNew = false; - - if ( typeof cultureName !== "string" ) { - // cultureName argument is optional string. If not specified, assume info is first - // and only argument. Specified info deep-extends current culture. - info = cultureName; - cultureName = this.culture().name; - base = this.cultures[ cultureName ]; - } else if ( typeof baseCultureName !== "string" ) { - // baseCultureName argument is optional string. If not specified, assume info is second - // argument. Specified info deep-extends specified culture. - // If specified culture does not exist, create by deep-extending default - info = baseCultureName; - isNew = ( this.cultures[ cultureName ] == null ); - base = this.cultures[ cultureName ] || this.cultures[ "default" ]; - } else { - // cultureName and baseCultureName specified. Assume a new culture is being created - // by deep-extending an specified base culture - isNew = true; - base = this.cultures[ baseCultureName ]; - } - - this.cultures[ cultureName ] = extend(true, {}, - base, - info - ); - // Make the standard calendar the current culture if it's a new culture - if ( isNew ) { - this.cultures[ cultureName ].calendar = this.cultures[ cultureName ].calendars.standard; - } -}; - -Globalize.findClosestCulture = function( name ) { - var match; - if ( !name ) { - return this.findClosestCulture( this.cultureSelector ) || this.cultures[ "default" ]; - } - if ( typeof name === "string" ) { - name = name.split( "," ); - } - if ( isArray(name) ) { - var lang, - cultures = this.cultures, - list = name, - i, l = list.length, - prioritized = []; - for ( i = 0; i < l; i++ ) { - name = trim( list[i] ); - var pri, parts = name.split( ";" ); - lang = trim( parts[0] ); - if ( parts.length === 1 ) { - pri = 1; - } - else { - name = trim( parts[1] ); - if ( name.indexOf("q=") === 0 ) { - name = name.substr( 2 ); - pri = parseFloat( name ); - pri = isNaN( pri ) ? 0 : pri; - } - else { - pri = 1; - } - } - prioritized.push({ lang: lang, pri: pri }); - } - prioritized.sort(function( a, b ) { - if ( a.pri < b.pri ) { - return 1; - } else if ( a.pri > b.pri ) { - return -1; - } - return 0; - }); - // exact match - for ( i = 0; i < l; i++ ) { - lang = prioritized[ i ].lang; - match = cultures[ lang ]; - if ( match ) { - return match; - } - } - - // neutral language match - for ( i = 0; i < l; i++ ) { - lang = prioritized[ i ].lang; - do { - var index = lang.lastIndexOf( "-" ); - if ( index === -1 ) { - break; - } - // strip off the last part. e.g. en-US => en - lang = lang.substr( 0, index ); - match = cultures[ lang ]; - if ( match ) { - return match; - } - } - while ( 1 ); - } - - // last resort: match first culture using that language - for ( i = 0; i < l; i++ ) { - lang = prioritized[ i ].lang; - for ( var cultureKey in cultures ) { - var culture = cultures[ cultureKey ]; - if ( culture.language === lang ) { - return culture; - } - } - } - } - else if ( typeof name === "object" ) { - return name; - } - return match || null; -}; - -Globalize.format = function( value, format, cultureSelector ) { - var culture = this.findClosestCulture( cultureSelector ); - if ( value instanceof Date ) { - value = formatDate( value, format, culture ); - } - else if ( typeof value === "number" ) { - value = formatNumber( value, format, culture ); - } - return value; -}; - -Globalize.localize = function( key, cultureSelector ) { - return this.findClosestCulture( cultureSelector ).messages[ key ] || - this.cultures[ "default" ].messages[ key ]; -}; - -Globalize.parseDate = function( value, formats, culture ) { - culture = this.findClosestCulture( culture ); - - var date, prop, patterns; - if ( formats ) { - if ( typeof formats === "string" ) { - formats = [ formats ]; - } - if ( formats.length ) { - for ( var i = 0, l = formats.length; i < l; i++ ) { - var format = formats[ i ]; - if ( format ) { - date = parseExact( value, format, culture ); - if ( date ) { - break; - } - } - } - } - } else { - patterns = culture.calendar.patterns; - for ( prop in patterns ) { - date = parseExact( value, patterns[prop], culture ); - if ( date ) { - break; - } - } - } - - return date || null; -}; - -Globalize.parseInt = function( value, radix, cultureSelector ) { - return truncate( Globalize.parseFloat(value, radix, cultureSelector) ); -}; - -Globalize.parseFloat = function( value, radix, cultureSelector ) { - // radix argument is optional - if ( typeof radix !== "number" ) { - cultureSelector = radix; - radix = 10; - } - - var culture = this.findClosestCulture( cultureSelector ); - var ret = NaN, - nf = culture.numberFormat; - - if ( value.indexOf(culture.numberFormat.currency.symbol) > -1 ) { - // remove currency symbol - value = value.replace( culture.numberFormat.currency.symbol, "" ); - // replace decimal seperator - value = value.replace( culture.numberFormat.currency["."], culture.numberFormat["."] ); - } - - //Remove percentage character from number string before parsing - if ( value.indexOf(culture.numberFormat.percent.symbol) > -1){ - value = value.replace( culture.numberFormat.percent.symbol, "" ); - } - - // remove spaces: leading, trailing and between - and number. Used for negative currency pt-BR - value = value.replace( / /g, "" ); - - // allow infinity or hexidecimal - if ( regexInfinity.test(value) ) { - ret = parseFloat( value ); - } - else if ( !radix && regexHex.test(value) ) { - ret = parseInt( value, 16 ); - } - else { - - // determine sign and number - var signInfo = parseNegativePattern( value, nf, nf.pattern[0] ), - sign = signInfo[ 0 ], - num = signInfo[ 1 ]; - - // #44 - try parsing as "(n)" - if ( sign === "" && nf.pattern[0] !== "(n)" ) { - signInfo = parseNegativePattern( value, nf, "(n)" ); - sign = signInfo[ 0 ]; - num = signInfo[ 1 ]; - } - - // try parsing as "-n" - if ( sign === "" && nf.pattern[0] !== "-n" ) { - signInfo = parseNegativePattern( value, nf, "-n" ); - sign = signInfo[ 0 ]; - num = signInfo[ 1 ]; - } - - sign = sign || "+"; - - // determine exponent and number - var exponent, - intAndFraction, - exponentPos = num.indexOf( "e" ); - if ( exponentPos < 0 ) exponentPos = num.indexOf( "E" ); - if ( exponentPos < 0 ) { - intAndFraction = num; - exponent = null; - } - else { - intAndFraction = num.substr( 0, exponentPos ); - exponent = num.substr( exponentPos + 1 ); - } - // determine decimal position - var integer, - fraction, - decSep = nf[ "." ], - decimalPos = intAndFraction.indexOf( decSep ); - if ( decimalPos < 0 ) { - integer = intAndFraction; - fraction = null; - } - else { - integer = intAndFraction.substr( 0, decimalPos ); - fraction = intAndFraction.substr( decimalPos + decSep.length ); - } - // handle groups (e.g. 1,000,000) - var groupSep = nf[ "," ]; - integer = integer.split( groupSep ).join( "" ); - var altGroupSep = groupSep.replace( /\u00A0/g, " " ); - if ( groupSep !== altGroupSep ) { - integer = integer.split( altGroupSep ).join( "" ); - } - // build a natively parsable number string - var p = sign + integer; - if ( fraction !== null ) { - p += "." + fraction; - } - if ( exponent !== null ) { - // exponent itself may have a number patternd - var expSignInfo = parseNegativePattern( exponent, nf, "-n" ); - p += "e" + ( expSignInfo[0] || "+" ) + expSignInfo[ 1 ]; - } - if ( regexParseFloat.test(p) ) { - ret = parseFloat( p ); - } - } - return ret; -}; - -Globalize.culture = function( cultureSelector ) { - // setter - if ( typeof cultureSelector !== "undefined" ) { - this.cultureSelector = cultureSelector; - } - // getter - return this.findClosestCulture( cultureSelector ) || this.cultures[ "default" ]; -}; - -}( this )); diff --git a/web/Scripts/globalize/message.js b/web/Scripts/globalize/message.js new file mode 100644 index 00000000..4220f274 --- /dev/null +++ b/web/Scripts/globalize/message.js @@ -0,0 +1,2022 @@ +/** + * Globalize v1.0.0 + * + * http://github.com/jquery/globalize + * + * Copyright jQuery Foundation and other contributors + * Released under the MIT license + * http://jquery.org/license + * + * Date: 2015-04-23T12:02Z + */ +/*! + * Globalize v1.0.0 2015-04-23T12:02Z Released under the MIT license + * http://git.io/TrdQbw + */ +(function( root, factory ) { + + // UMD returnExports + if ( typeof define === "function" && define.amd ) { + + // AMD + define([ + "cldr", + "../globalize", + "cldr/event" + ], factory ); + } else if ( typeof exports === "object" ) { + + // Node, CommonJS + module.exports = factory( require( "cldrjs" ), require( "globalize" ) ); + } else { + + // Extend global + factory( root.Cldr, root.Globalize ); + } +}(this, function( Cldr, Globalize ) { + +var alwaysArray = Globalize._alwaysArray, + isPlainObject = Globalize._isPlainObject, + validate = Globalize._validate, + validateDefaultLocale = Globalize._validateDefaultLocale, + validateParameterPresence = Globalize._validateParameterPresence, + validateParameterType = Globalize._validateParameterType, + validateParameterTypePlainObject = Globalize._validateParameterTypePlainObject; +var MessageFormat; +/* jshint ignore:start */ +MessageFormat = (function() { +MessageFormat._parse = (function() { + + /* + * Generated by PEG.js 0.8.0. + * + * http://pegjs.majda.cz/ + */ + + function peg$subclass(child, parent) { + function ctor() { this.constructor = child; } + ctor.prototype = parent.prototype; + child.prototype = new ctor(); + } + + function SyntaxError(message, expected, found, offset, line, column) { + this.message = message; + this.expected = expected; + this.found = found; + this.offset = offset; + this.line = line; + this.column = column; + + this.name = "SyntaxError"; + } + + peg$subclass(SyntaxError, Error); + + function parse(input) { + var options = arguments.length > 1 ? arguments[1] : {}, + + peg$FAILED = {}, + + peg$startRuleFunctions = { start: peg$parsestart }, + peg$startRuleFunction = peg$parsestart, + + peg$c0 = [], + peg$c1 = function(st) { + return { type: 'messageFormatPattern', statements: st }; + }, + peg$c2 = peg$FAILED, + peg$c3 = "{", + peg$c4 = { type: "literal", value: "{", description: "\"{\"" }, + peg$c5 = null, + peg$c6 = ",", + peg$c7 = { type: "literal", value: ",", description: "\",\"" }, + peg$c8 = "}", + peg$c9 = { type: "literal", value: "}", description: "\"}\"" }, + peg$c10 = function(argIdx, efmt) { + var res = { + type: "messageFormatElement", + argumentIndex: argIdx + }; + if (efmt && efmt.length) { + res.elementFormat = efmt[1]; + } else { + res.output = true; + } + return res; + }, + peg$c11 = "plural", + peg$c12 = { type: "literal", value: "plural", description: "\"plural\"" }, + peg$c13 = function(t, s) { + return { type: "elementFormat", key: t, val: s }; + }, + peg$c14 = "selectordinal", + peg$c15 = { type: "literal", value: "selectordinal", description: "\"selectordinal\"" }, + peg$c16 = "select", + peg$c17 = { type: "literal", value: "select", description: "\"select\"" }, + peg$c18 = function(t, p) { + return { type: "elementFormat", key: t, val: p }; + }, + peg$c19 = function(op, pf) { + return { type: "pluralFormatPattern", pluralForms: pf, offset: op || 0 }; + }, + peg$c20 = "offset", + peg$c21 = { type: "literal", value: "offset", description: "\"offset\"" }, + peg$c22 = ":", + peg$c23 = { type: "literal", value: ":", description: "\":\"" }, + peg$c24 = function(d) { return d; }, + peg$c25 = function(k, mfp) { + return { key: k, val: mfp }; + }, + peg$c26 = function(i) { return i; }, + peg$c27 = "=", + peg$c28 = { type: "literal", value: "=", description: "\"=\"" }, + peg$c29 = function(pf) { return { type: "selectFormatPattern", pluralForms: pf }; }, + peg$c30 = function(p) { return p; }, + peg$c31 = "#", + peg$c32 = { type: "literal", value: "#", description: "\"#\"" }, + peg$c33 = function() { return {type: 'octothorpe'}; }, + peg$c34 = function(s) { return { type: "string", val: s.join('') }; }, + peg$c35 = { type: "other", description: "identifier" }, + peg$c36 = /^[0-9a-zA-Z$_]/, + peg$c37 = { type: "class", value: "[0-9a-zA-Z$_]", description: "[0-9a-zA-Z$_]" }, + peg$c38 = /^[^ \t\n\r,.+={}]/, + peg$c39 = { type: "class", value: "[^ \\t\\n\\r,.+={}]", description: "[^ \\t\\n\\r,.+={}]" }, + peg$c40 = function(s) { return s; }, + peg$c41 = function(chars) { return chars.join(''); }, + peg$c42 = /^[^{}#\\\0-\x1F \t\n\r]/, + peg$c43 = { type: "class", value: "[^{}#\\\\\\0-\\x1F \\t\\n\\r]", description: "[^{}#\\\\\\0-\\x1F \\t\\n\\r]" }, + peg$c44 = function(x) { return x; }, + peg$c45 = "\\\\", + peg$c46 = { type: "literal", value: "\\\\", description: "\"\\\\\\\\\"" }, + peg$c47 = function() { return "\\"; }, + peg$c48 = "\\#", + peg$c49 = { type: "literal", value: "\\#", description: "\"\\\\#\"" }, + peg$c50 = function() { return "#"; }, + peg$c51 = "\\{", + peg$c52 = { type: "literal", value: "\\{", description: "\"\\\\{\"" }, + peg$c53 = function() { return "\u007B"; }, + peg$c54 = "\\}", + peg$c55 = { type: "literal", value: "\\}", description: "\"\\\\}\"" }, + peg$c56 = function() { return "\u007D"; }, + peg$c57 = "\\u", + peg$c58 = { type: "literal", value: "\\u", description: "\"\\\\u\"" }, + peg$c59 = function(h1, h2, h3, h4) { + return String.fromCharCode(parseInt("0x" + h1 + h2 + h3 + h4)); + }, + peg$c60 = /^[0-9]/, + peg$c61 = { type: "class", value: "[0-9]", description: "[0-9]" }, + peg$c62 = function(ds) { + //the number might start with 0 but must not be interpreted as an octal number + //Hence, the base is passed to parseInt explicitely + return parseInt((ds.join('')), 10); + }, + peg$c63 = /^[0-9a-fA-F]/, + peg$c64 = { type: "class", value: "[0-9a-fA-F]", description: "[0-9a-fA-F]" }, + peg$c65 = { type: "other", description: "whitespace" }, + peg$c66 = function(w) { return w.join(''); }, + peg$c67 = /^[ \t\n\r]/, + peg$c68 = { type: "class", value: "[ \\t\\n\\r]", description: "[ \\t\\n\\r]" }, + + peg$currPos = 0, + peg$reportedPos = 0, + peg$cachedPos = 0, + peg$cachedPosDetails = { line: 1, column: 1, seenCR: false }, + peg$maxFailPos = 0, + peg$maxFailExpected = [], + peg$silentFails = 0, + + peg$result; + + if ("startRule" in options) { + if (!(options.startRule in peg$startRuleFunctions)) { + throw new Error("Can't start parsing from rule \"" + options.startRule + "\"."); + } + + peg$startRuleFunction = peg$startRuleFunctions[options.startRule]; + } + + function text() { + return input.substring(peg$reportedPos, peg$currPos); + } + + function offset() { + return peg$reportedPos; + } + + function line() { + return peg$computePosDetails(peg$reportedPos).line; + } + + function column() { + return peg$computePosDetails(peg$reportedPos).column; + } + + function expected(description) { + throw peg$buildException( + null, + [{ type: "other", description: description }], + peg$reportedPos + ); + } + + function error(message) { + throw peg$buildException(message, null, peg$reportedPos); + } + + function peg$computePosDetails(pos) { + function advance(details, startPos, endPos) { + var p, ch; + + for (p = startPos; p < endPos; p++) { + ch = input.charAt(p); + if (ch === "\n") { + if (!details.seenCR) { details.line++; } + details.column = 1; + details.seenCR = false; + } else if (ch === "\r" || ch === "\u2028" || ch === "\u2029") { + details.line++; + details.column = 1; + details.seenCR = true; + } else { + details.column++; + details.seenCR = false; + } + } + } + + if (peg$cachedPos !== pos) { + if (peg$cachedPos > pos) { + peg$cachedPos = 0; + peg$cachedPosDetails = { line: 1, column: 1, seenCR: false }; + } + advance(peg$cachedPosDetails, peg$cachedPos, pos); + peg$cachedPos = pos; + } + + return peg$cachedPosDetails; + } + + function peg$fail(expected) { + if (peg$currPos < peg$maxFailPos) { return; } + + if (peg$currPos > peg$maxFailPos) { + peg$maxFailPos = peg$currPos; + peg$maxFailExpected = []; + } + + peg$maxFailExpected.push(expected); + } + + function peg$buildException(message, expected, pos) { + function cleanupExpected(expected) { + var i = 1; + + expected.sort(function(a, b) { + if (a.description < b.description) { + return -1; + } else if (a.description > b.description) { + return 1; + } else { + return 0; + } + }); + + while (i < expected.length) { + if (expected[i - 1] === expected[i]) { + expected.splice(i, 1); + } else { + i++; + } + } + } + + function buildMessage(expected, found) { + function stringEscape(s) { + function hex(ch) { return ch.charCodeAt(0).toString(16).toUpperCase(); } + + return s + .replace(/\\/g, '\\\\') + .replace(/"/g, '\\"') + .replace(/\x08/g, '\\b') + .replace(/\t/g, '\\t') + .replace(/\n/g, '\\n') + .replace(/\f/g, '\\f') + .replace(/\r/g, '\\r') + .replace(/[\x00-\x07\x0B\x0E\x0F]/g, function(ch) { return '\\x0' + hex(ch); }) + .replace(/[\x10-\x1F\x80-\xFF]/g, function(ch) { return '\\x' + hex(ch); }) + .replace(/[\u0180-\u0FFF]/g, function(ch) { return '\\u0' + hex(ch); }) + .replace(/[\u1080-\uFFFF]/g, function(ch) { return '\\u' + hex(ch); }); + } + + var expectedDescs = new Array(expected.length), + expectedDesc, foundDesc, i; + + for (i = 0; i < expected.length; i++) { + expectedDescs[i] = expected[i].description; + } + + expectedDesc = expected.length > 1 + ? expectedDescs.slice(0, -1).join(", ") + + " or " + + expectedDescs[expected.length - 1] + : expectedDescs[0]; + + foundDesc = found ? "\"" + stringEscape(found) + "\"" : "end of input"; + + return "Expected " + expectedDesc + " but " + foundDesc + " found."; + } + + var posDetails = peg$computePosDetails(pos), + found = pos < input.length ? input.charAt(pos) : null; + + if (expected !== null) { + cleanupExpected(expected); + } + + return new SyntaxError( + message !== null ? message : buildMessage(expected, found), + expected, + found, + pos, + posDetails.line, + posDetails.column + ); + } + + function peg$parsestart() { + var s0; + + s0 = peg$parsemessageFormatPattern(); + + return s0; + } + + function peg$parsemessageFormatPattern() { + var s0, s1, s2; + + s0 = peg$currPos; + s1 = []; + s2 = peg$parsemessageFormatElement(); + if (s2 === peg$FAILED) { + s2 = peg$parsestring(); + if (s2 === peg$FAILED) { + s2 = peg$parseoctothorpe(); + } + } + while (s2 !== peg$FAILED) { + s1.push(s2); + s2 = peg$parsemessageFormatElement(); + if (s2 === peg$FAILED) { + s2 = peg$parsestring(); + if (s2 === peg$FAILED) { + s2 = peg$parseoctothorpe(); + } + } + } + if (s1 !== peg$FAILED) { + peg$reportedPos = s0; + s1 = peg$c1(s1); + } + s0 = s1; + + return s0; + } + + function peg$parsemessageFormatElement() { + var s0, s1, s2, s3, s4, s5, s6; + + s0 = peg$currPos; + if (input.charCodeAt(peg$currPos) === 123) { + s1 = peg$c3; + peg$currPos++; + } else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { peg$fail(peg$c4); } + } + if (s1 !== peg$FAILED) { + s2 = peg$parse_(); + if (s2 !== peg$FAILED) { + s3 = peg$parseid(); + if (s3 !== peg$FAILED) { + s4 = peg$currPos; + if (input.charCodeAt(peg$currPos) === 44) { + s5 = peg$c6; + peg$currPos++; + } else { + s5 = peg$FAILED; + if (peg$silentFails === 0) { peg$fail(peg$c7); } + } + if (s5 !== peg$FAILED) { + s6 = peg$parseelementFormat(); + if (s6 !== peg$FAILED) { + s5 = [s5, s6]; + s4 = s5; + } else { + peg$currPos = s4; + s4 = peg$c2; + } + } else { + peg$currPos = s4; + s4 = peg$c2; + } + if (s4 === peg$FAILED) { + s4 = peg$c5; + } + if (s4 !== peg$FAILED) { + s5 = peg$parse_(); + if (s5 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 125) { + s6 = peg$c8; + peg$currPos++; + } else { + s6 = peg$FAILED; + if (peg$silentFails === 0) { peg$fail(peg$c9); } + } + if (s6 !== peg$FAILED) { + peg$reportedPos = s0; + s1 = peg$c10(s3, s4); + s0 = s1; + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + + return s0; + } + + function peg$parseelementFormat() { + var s0, s1, s2, s3, s4, s5, s6, s7; + + s0 = peg$currPos; + s1 = peg$parse_(); + if (s1 !== peg$FAILED) { + if (input.substr(peg$currPos, 6) === peg$c11) { + s2 = peg$c11; + peg$currPos += 6; + } else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { peg$fail(peg$c12); } + } + if (s2 !== peg$FAILED) { + s3 = peg$parse_(); + if (s3 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 44) { + s4 = peg$c6; + peg$currPos++; + } else { + s4 = peg$FAILED; + if (peg$silentFails === 0) { peg$fail(peg$c7); } + } + if (s4 !== peg$FAILED) { + s5 = peg$parse_(); + if (s5 !== peg$FAILED) { + s6 = peg$parsepluralFormatPattern(); + if (s6 !== peg$FAILED) { + s7 = peg$parse_(); + if (s7 !== peg$FAILED) { + peg$reportedPos = s0; + s1 = peg$c13(s2, s6); + s0 = s1; + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + if (s0 === peg$FAILED) { + s0 = peg$currPos; + s1 = peg$parse_(); + if (s1 !== peg$FAILED) { + if (input.substr(peg$currPos, 13) === peg$c14) { + s2 = peg$c14; + peg$currPos += 13; + } else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { peg$fail(peg$c15); } + } + if (s2 !== peg$FAILED) { + s3 = peg$parse_(); + if (s3 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 44) { + s4 = peg$c6; + peg$currPos++; + } else { + s4 = peg$FAILED; + if (peg$silentFails === 0) { peg$fail(peg$c7); } + } + if (s4 !== peg$FAILED) { + s5 = peg$parse_(); + if (s5 !== peg$FAILED) { + s6 = peg$parsepluralFormatPattern(); + if (s6 !== peg$FAILED) { + s7 = peg$parse_(); + if (s7 !== peg$FAILED) { + peg$reportedPos = s0; + s1 = peg$c13(s2, s6); + s0 = s1; + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + if (s0 === peg$FAILED) { + s0 = peg$currPos; + s1 = peg$parse_(); + if (s1 !== peg$FAILED) { + if (input.substr(peg$currPos, 6) === peg$c16) { + s2 = peg$c16; + peg$currPos += 6; + } else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { peg$fail(peg$c17); } + } + if (s2 !== peg$FAILED) { + s3 = peg$parse_(); + if (s3 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 44) { + s4 = peg$c6; + peg$currPos++; + } else { + s4 = peg$FAILED; + if (peg$silentFails === 0) { peg$fail(peg$c7); } + } + if (s4 !== peg$FAILED) { + s5 = peg$parse_(); + if (s5 !== peg$FAILED) { + s6 = peg$parseselectFormatPattern(); + if (s6 !== peg$FAILED) { + s7 = peg$parse_(); + if (s7 !== peg$FAILED) { + peg$reportedPos = s0; + s1 = peg$c13(s2, s6); + s0 = s1; + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + if (s0 === peg$FAILED) { + s0 = peg$currPos; + s1 = peg$parse_(); + if (s1 !== peg$FAILED) { + s2 = peg$parseid(); + if (s2 !== peg$FAILED) { + s3 = []; + s4 = peg$parseargStylePattern(); + while (s4 !== peg$FAILED) { + s3.push(s4); + s4 = peg$parseargStylePattern(); + } + if (s3 !== peg$FAILED) { + peg$reportedPos = s0; + s1 = peg$c18(s2, s3); + s0 = s1; + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } + } + } + + return s0; + } + + function peg$parsepluralFormatPattern() { + var s0, s1, s2, s3; + + s0 = peg$currPos; + s1 = peg$parseoffsetPattern(); + if (s1 === peg$FAILED) { + s1 = peg$c5; + } + if (s1 !== peg$FAILED) { + s2 = []; + s3 = peg$parsepluralForm(); + if (s3 !== peg$FAILED) { + while (s3 !== peg$FAILED) { + s2.push(s3); + s3 = peg$parsepluralForm(); + } + } else { + s2 = peg$c2; + } + if (s2 !== peg$FAILED) { + peg$reportedPos = s0; + s1 = peg$c19(s1, s2); + s0 = s1; + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + + return s0; + } + + function peg$parseoffsetPattern() { + var s0, s1, s2, s3, s4, s5, s6, s7; + + s0 = peg$currPos; + s1 = peg$parse_(); + if (s1 !== peg$FAILED) { + if (input.substr(peg$currPos, 6) === peg$c20) { + s2 = peg$c20; + peg$currPos += 6; + } else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { peg$fail(peg$c21); } + } + if (s2 !== peg$FAILED) { + s3 = peg$parse_(); + if (s3 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 58) { + s4 = peg$c22; + peg$currPos++; + } else { + s4 = peg$FAILED; + if (peg$silentFails === 0) { peg$fail(peg$c23); } + } + if (s4 !== peg$FAILED) { + s5 = peg$parse_(); + if (s5 !== peg$FAILED) { + s6 = peg$parsedigits(); + if (s6 !== peg$FAILED) { + s7 = peg$parse_(); + if (s7 !== peg$FAILED) { + peg$reportedPos = s0; + s1 = peg$c24(s6); + s0 = s1; + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + + return s0; + } + + function peg$parsepluralForm() { + var s0, s1, s2, s3, s4, s5, s6, s7, s8; + + s0 = peg$currPos; + s1 = peg$parse_(); + if (s1 !== peg$FAILED) { + s2 = peg$parsepluralKey(); + if (s2 !== peg$FAILED) { + s3 = peg$parse_(); + if (s3 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 123) { + s4 = peg$c3; + peg$currPos++; + } else { + s4 = peg$FAILED; + if (peg$silentFails === 0) { peg$fail(peg$c4); } + } + if (s4 !== peg$FAILED) { + s5 = peg$parse_(); + if (s5 !== peg$FAILED) { + s6 = peg$parsemessageFormatPattern(); + if (s6 !== peg$FAILED) { + s7 = peg$parse_(); + if (s7 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 125) { + s8 = peg$c8; + peg$currPos++; + } else { + s8 = peg$FAILED; + if (peg$silentFails === 0) { peg$fail(peg$c9); } + } + if (s8 !== peg$FAILED) { + peg$reportedPos = s0; + s1 = peg$c25(s2, s6); + s0 = s1; + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + + return s0; + } + + function peg$parsepluralKey() { + var s0, s1, s2; + + s0 = peg$currPos; + s1 = peg$parseid(); + if (s1 !== peg$FAILED) { + peg$reportedPos = s0; + s1 = peg$c26(s1); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.charCodeAt(peg$currPos) === 61) { + s1 = peg$c27; + peg$currPos++; + } else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { peg$fail(peg$c28); } + } + if (s1 !== peg$FAILED) { + s2 = peg$parsedigits(); + if (s2 !== peg$FAILED) { + peg$reportedPos = s0; + s1 = peg$c24(s2); + s0 = s1; + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } + + return s0; + } + + function peg$parseselectFormatPattern() { + var s0, s1, s2; + + s0 = peg$currPos; + s1 = []; + s2 = peg$parseselectForm(); + if (s2 !== peg$FAILED) { + while (s2 !== peg$FAILED) { + s1.push(s2); + s2 = peg$parseselectForm(); + } + } else { + s1 = peg$c2; + } + if (s1 !== peg$FAILED) { + peg$reportedPos = s0; + s1 = peg$c29(s1); + } + s0 = s1; + + return s0; + } + + function peg$parseselectForm() { + var s0, s1, s2, s3, s4, s5, s6, s7, s8; + + s0 = peg$currPos; + s1 = peg$parse_(); + if (s1 !== peg$FAILED) { + s2 = peg$parseid(); + if (s2 !== peg$FAILED) { + s3 = peg$parse_(); + if (s3 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 123) { + s4 = peg$c3; + peg$currPos++; + } else { + s4 = peg$FAILED; + if (peg$silentFails === 0) { peg$fail(peg$c4); } + } + if (s4 !== peg$FAILED) { + s5 = peg$parse_(); + if (s5 !== peg$FAILED) { + s6 = peg$parsemessageFormatPattern(); + if (s6 !== peg$FAILED) { + s7 = peg$parse_(); + if (s7 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 125) { + s8 = peg$c8; + peg$currPos++; + } else { + s8 = peg$FAILED; + if (peg$silentFails === 0) { peg$fail(peg$c9); } + } + if (s8 !== peg$FAILED) { + peg$reportedPos = s0; + s1 = peg$c25(s2, s6); + s0 = s1; + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + + return s0; + } + + function peg$parseargStylePattern() { + var s0, s1, s2, s3, s4, s5; + + s0 = peg$currPos; + s1 = peg$parse_(); + if (s1 !== peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 44) { + s2 = peg$c6; + peg$currPos++; + } else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { peg$fail(peg$c7); } + } + if (s2 !== peg$FAILED) { + s3 = peg$parse_(); + if (s3 !== peg$FAILED) { + s4 = peg$parseid(); + if (s4 !== peg$FAILED) { + s5 = peg$parse_(); + if (s5 !== peg$FAILED) { + peg$reportedPos = s0; + s1 = peg$c30(s4); + s0 = s1; + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + + return s0; + } + + function peg$parseoctothorpe() { + var s0, s1; + + s0 = peg$currPos; + if (input.charCodeAt(peg$currPos) === 35) { + s1 = peg$c31; + peg$currPos++; + } else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { peg$fail(peg$c32); } + } + if (s1 !== peg$FAILED) { + peg$reportedPos = s0; + s1 = peg$c33(); + } + s0 = s1; + + return s0; + } + + function peg$parsestring() { + var s0, s1, s2; + + s0 = peg$currPos; + s1 = []; + s2 = peg$parsechars(); + if (s2 === peg$FAILED) { + s2 = peg$parsewhitespace(); + } + if (s2 !== peg$FAILED) { + while (s2 !== peg$FAILED) { + s1.push(s2); + s2 = peg$parsechars(); + if (s2 === peg$FAILED) { + s2 = peg$parsewhitespace(); + } + } + } else { + s1 = peg$c2; + } + if (s1 !== peg$FAILED) { + peg$reportedPos = s0; + s1 = peg$c34(s1); + } + s0 = s1; + + return s0; + } + + function peg$parseid() { + var s0, s1, s2, s3, s4, s5, s6; + + peg$silentFails++; + s0 = peg$currPos; + s1 = peg$parse_(); + if (s1 !== peg$FAILED) { + s2 = peg$currPos; + s3 = peg$currPos; + if (peg$c36.test(input.charAt(peg$currPos))) { + s4 = input.charAt(peg$currPos); + peg$currPos++; + } else { + s4 = peg$FAILED; + if (peg$silentFails === 0) { peg$fail(peg$c37); } + } + if (s4 !== peg$FAILED) { + s5 = []; + if (peg$c38.test(input.charAt(peg$currPos))) { + s6 = input.charAt(peg$currPos); + peg$currPos++; + } else { + s6 = peg$FAILED; + if (peg$silentFails === 0) { peg$fail(peg$c39); } + } + while (s6 !== peg$FAILED) { + s5.push(s6); + if (peg$c38.test(input.charAt(peg$currPos))) { + s6 = input.charAt(peg$currPos); + peg$currPos++; + } else { + s6 = peg$FAILED; + if (peg$silentFails === 0) { peg$fail(peg$c39); } + } + } + if (s5 !== peg$FAILED) { + s4 = [s4, s5]; + s3 = s4; + } else { + peg$currPos = s3; + s3 = peg$c2; + } + } else { + peg$currPos = s3; + s3 = peg$c2; + } + if (s3 !== peg$FAILED) { + s3 = input.substring(s2, peg$currPos); + } + s2 = s3; + if (s2 !== peg$FAILED) { + s3 = peg$parse_(); + if (s3 !== peg$FAILED) { + peg$reportedPos = s0; + s1 = peg$c40(s2); + s0 = s1; + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + peg$silentFails--; + if (s0 === peg$FAILED) { + s1 = peg$FAILED; + if (peg$silentFails === 0) { peg$fail(peg$c35); } + } + + return s0; + } + + function peg$parsechars() { + var s0, s1, s2; + + s0 = peg$currPos; + s1 = []; + s2 = peg$parsechar(); + if (s2 !== peg$FAILED) { + while (s2 !== peg$FAILED) { + s1.push(s2); + s2 = peg$parsechar(); + } + } else { + s1 = peg$c2; + } + if (s1 !== peg$FAILED) { + peg$reportedPos = s0; + s1 = peg$c41(s1); + } + s0 = s1; + + return s0; + } + + function peg$parsechar() { + var s0, s1, s2, s3, s4, s5; + + s0 = peg$currPos; + if (peg$c42.test(input.charAt(peg$currPos))) { + s1 = input.charAt(peg$currPos); + peg$currPos++; + } else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { peg$fail(peg$c43); } + } + if (s1 !== peg$FAILED) { + peg$reportedPos = s0; + s1 = peg$c44(s1); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 2) === peg$c45) { + s1 = peg$c45; + peg$currPos += 2; + } else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { peg$fail(peg$c46); } + } + if (s1 !== peg$FAILED) { + peg$reportedPos = s0; + s1 = peg$c47(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 2) === peg$c48) { + s1 = peg$c48; + peg$currPos += 2; + } else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { peg$fail(peg$c49); } + } + if (s1 !== peg$FAILED) { + peg$reportedPos = s0; + s1 = peg$c50(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 2) === peg$c51) { + s1 = peg$c51; + peg$currPos += 2; + } else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { peg$fail(peg$c52); } + } + if (s1 !== peg$FAILED) { + peg$reportedPos = s0; + s1 = peg$c53(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 2) === peg$c54) { + s1 = peg$c54; + peg$currPos += 2; + } else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { peg$fail(peg$c55); } + } + if (s1 !== peg$FAILED) { + peg$reportedPos = s0; + s1 = peg$c56(); + } + s0 = s1; + if (s0 === peg$FAILED) { + s0 = peg$currPos; + if (input.substr(peg$currPos, 2) === peg$c57) { + s1 = peg$c57; + peg$currPos += 2; + } else { + s1 = peg$FAILED; + if (peg$silentFails === 0) { peg$fail(peg$c58); } + } + if (s1 !== peg$FAILED) { + s2 = peg$parsehexDigit(); + if (s2 !== peg$FAILED) { + s3 = peg$parsehexDigit(); + if (s3 !== peg$FAILED) { + s4 = peg$parsehexDigit(); + if (s4 !== peg$FAILED) { + s5 = peg$parsehexDigit(); + if (s5 !== peg$FAILED) { + peg$reportedPos = s0; + s1 = peg$c59(s2, s3, s4, s5); + s0 = s1; + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } else { + peg$currPos = s0; + s0 = peg$c2; + } + } + } + } + } + } + + return s0; + } + + function peg$parsedigits() { + var s0, s1, s2; + + s0 = peg$currPos; + s1 = []; + if (peg$c60.test(input.charAt(peg$currPos))) { + s2 = input.charAt(peg$currPos); + peg$currPos++; + } else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { peg$fail(peg$c61); } + } + if (s2 !== peg$FAILED) { + while (s2 !== peg$FAILED) { + s1.push(s2); + if (peg$c60.test(input.charAt(peg$currPos))) { + s2 = input.charAt(peg$currPos); + peg$currPos++; + } else { + s2 = peg$FAILED; + if (peg$silentFails === 0) { peg$fail(peg$c61); } + } + } + } else { + s1 = peg$c2; + } + if (s1 !== peg$FAILED) { + peg$reportedPos = s0; + s1 = peg$c62(s1); + } + s0 = s1; + + return s0; + } + + function peg$parsehexDigit() { + var s0; + + if (peg$c63.test(input.charAt(peg$currPos))) { + s0 = input.charAt(peg$currPos); + peg$currPos++; + } else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { peg$fail(peg$c64); } + } + + return s0; + } + + function peg$parse_() { + var s0, s1, s2; + + peg$silentFails++; + s0 = peg$currPos; + s1 = []; + s2 = peg$parsewhitespace(); + while (s2 !== peg$FAILED) { + s1.push(s2); + s2 = peg$parsewhitespace(); + } + if (s1 !== peg$FAILED) { + peg$reportedPos = s0; + s1 = peg$c66(s1); + } + s0 = s1; + peg$silentFails--; + if (s0 === peg$FAILED) { + s1 = peg$FAILED; + if (peg$silentFails === 0) { peg$fail(peg$c65); } + } + + return s0; + } + + function peg$parsewhitespace() { + var s0; + + if (peg$c67.test(input.charAt(peg$currPos))) { + s0 = input.charAt(peg$currPos); + peg$currPos++; + } else { + s0 = peg$FAILED; + if (peg$silentFails === 0) { peg$fail(peg$c68); } + } + + return s0; + } + + peg$result = peg$startRuleFunction(); + + if (peg$result !== peg$FAILED && peg$currPos === input.length) { + return peg$result; + } else { + if (peg$result !== peg$FAILED && peg$currPos < input.length) { + peg$fail({ type: "end", description: "end of input" }); + } + + throw peg$buildException(null, peg$maxFailExpected, peg$maxFailPos); + } + } + + return { + SyntaxError: SyntaxError, + parse: parse + }; +})().parse; + + +/** @file messageformat.js - ICU PluralFormat + SelectFormat for JavaScript + * @author Alex Sexton - @SlexAxton + * @version 0.3.0-1 + * @copyright 2012-2015 Alex Sexton, Eemeli Aro, and Contributors + * @license To use or fork, MIT. To contribute back, Dojo CLA */ + + +/** Utility function for quoting an Object's key value iff required + * @private */ +function propname(key, obj) { + if (/^[A-Z_$][0-9A-Z_$]*$/i.test(key)) { + return obj ? obj + '.' + key : key; + } else { + var jkey = JSON.stringify(key); + return obj ? obj + '[' + jkey + ']' : jkey; + } +}; + + +/** Create a new message formatter + * + * @class + * @global + * @param {string|string[]} [locale="en"] - The locale to use, with fallbacks + * @param {function} [pluralFunc] - Optional custom pluralization function + * @param {function[]} [formatters] - Optional custom formatting functions */ +function MessageFormat(locale, pluralFunc, formatters) { + this.lc = [locale]; + this.runtime.pluralFuncs = {}; + this.runtime.pluralFuncs[this.lc[0]] = pluralFunc; + this.runtime.fmt = {}; + if (formatters) for (var f in formatters) { + this.runtime.fmt[f] = formatters[f]; + } +} + + + + +/** Parse an input string to its AST + * + * Precompiled from `lib/messageformat-parser.pegjs` by + * {@link http://pegjs.org/ PEG.js}. Included in MessageFormat object + * to enable testing. + * + * @private */ + + + +/** Pluralization functions from + * {@link http://github.com/eemeli/make-plural.js make-plural} + * + * @memberof MessageFormat + * @type Object. */ +MessageFormat.plurals = {}; + + +/** Default number formatting functions in the style of ICU's + * {@link http://icu-project.org/apiref/icu4j/com/ibm/icu/text/MessageFormat.html simpleArg syntax} + * implemented using the + * {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl Intl} + * object defined by ECMA-402. + * + * **Note**: Intl is not defined in default Node until 0.11.15 / 0.12.0, so + * earlier versions require a {@link https://www.npmjs.com/package/intl polyfill}. + * Therefore {@link MessageFormat.withIntlSupport} needs to be true for these + * functions to be available for inclusion in the output. + * + * @see MessageFormat#setIntlSupport + * + * @namespace + * @memberof MessageFormat + * @property {function} number - Represent a number as an integer, percent or currency value + * @property {function} date - Represent a date as a full/long/default/short string + * @property {function} time - Represent a time as a full/long/default/short string + * + * @example + * > var MessageFormat = require('messageformat'); + * > var mf = (new MessageFormat('en')).setIntlSupport(true); + * > mf.currency = 'EUR'; + * > var mfunc = mf.compile("The total is {V,number,currency}."); + * > mfunc({V:5.5}) + * "The total is €5.50." + * + * @example + * > var MessageFormat = require('messageformat'); + * > var mf = new MessageFormat('en', null, {number: MessageFormat.number}); + * > mf.currency = 'EUR'; + * > var mfunc = mf.compile("The total is {V,number,currency}."); + * > mfunc({V:5.5}) + * "The total is €5.50." */ +MessageFormat.formatters = {}; + +/** Enable or disable support for the default formatters, which require the + * `Intl` object. Note that this can't be autodetected, as the environment + * in which the formatted text is compiled into Javascript functions is not + * necessarily the same environment in which they will get executed. + * + * @see MessageFormat.formatters + * + * @memberof MessageFormat + * @param {boolean} [enable=true] + * @returns {Object} The MessageFormat instance, to allow for chaining + * @example + * > var Intl = require('intl'); + * > var MessageFormat = require('messageformat'); + * > var mf = (new MessageFormat('en')).setIntlSupport(true); + * > mf.currency = 'EUR'; + * > mf.compile("The total is {V,number,currency}.")({V:5.5}); + * "The total is €5.50." */ + + + +/** A set of utility functions that are called by the compiled Javascript + * functions, these are included locally in the output of {@link + * MessageFormat#compile compile()}. + * + * @namespace + * @memberof MessageFormat */ +MessageFormat.prototype.runtime = { + + /** Utility function for `#` in plural rules + * + * @param {number} value - The value to operate on + * @param {number} [offset=0] - An optional offset, set by the surrounding context */ + number: function(value, offset) { + if (isNaN(value)) throw new Error("'" + value + "' isn't a number."); + return value - (offset || 0); + }, + + /** Utility function for `{N, plural|selectordinal, ...}` + * + * @param {number} value - The key to use to find a pluralization rule + * @param {number} offset - An offset to apply to `value` + * @param {function} lcfunc - A locale function from `pluralFuncs` + * @param {Object.} data - The object from which results are looked up + * @param {?boolean} isOrdinal - If true, use ordinal rather than cardinal rules + * @returns {string} The result of the pluralization */ + plural: function(value, offset, lcfunc, data, isOrdinal) { + if ({}.hasOwnProperty.call(data, value)) return data[value](); + if (offset) value -= offset; + var key = lcfunc(value, isOrdinal); + if (key in data) return data[key](); + return data.other(); + }, + + /** Utility function for `{N, select, ...}` + * + * @param {number} value - The key to use to find a selection + * @param {Object.} data - The object from which results are looked up + * @returns {string} The result of the select statement */ + select: function(value, data) { + if ({}.hasOwnProperty.call(data, value)) return data[value](); + return data.other() + }, + + /** Pluralization functions included in compiled output + * @instance + * @type Object. */ + pluralFuncs: {}, + + /** Custom formatting functions called by `{var, fn[, args]*}` syntax + * + * For examples, see {@link MessageFormat.formatters} + * + * @instance + * @see MessageFormat.formatters + * @type Object. */ + fmt: {}, + + /** Custom stringifier to clean up browser inconsistencies + * @instance */ + toString: function () { + var _stringify = function(o, level) { + if (typeof o != 'object') { + var funcStr = o.toString().replace(/^(function )\w*/, '$1'); + var indent = /([ \t]*)\S.*$/.exec(funcStr); + return indent ? funcStr.replace(new RegExp('^' + indent[1], 'mg'), '') : funcStr; + } + var s = []; + for (var i in o) if (i != 'toString') { + if (level == 0) s.push('var ' + i + ' = ' + _stringify(o[i], level + 1) + ';\n'); + else s.push(propname(i) + ': ' + _stringify(o[i], level + 1)); + } + if (level == 0) return s.join(''); + if (s.length == 0) return '{}'; + var indent = ' '; while (--level) indent += ' '; + return '{\n' + s.join(',\n').replace(/^/gm, indent) + '\n}'; + }; + return _stringify(this, 0); + } +}; + + +/** Recursively map an AST to its resulting string + * + * @memberof MessageFormat + * + * @param ast - the Ast node for which the JS code should be generated + * + * @private */ +MessageFormat.prototype._precompile = function(ast, data) { + data = data || { keys: {}, offset: {} }; + var r = [], i, tmp, args = []; + + switch ( ast.type ) { + case 'messageFormatPattern': + for ( i = 0; i < ast.statements.length; ++i ) { + r.push(this._precompile( ast.statements[i], data )); + } + tmp = r.join(' + ') || '""'; + return data.pf_count ? tmp : 'function(d) { return ' + tmp + '; }'; + + case 'messageFormatElement': + data.pf_count = data.pf_count || 0; + if ( ast.output ) { + return propname(ast.argumentIndex, 'd'); + } + else { + data.keys[data.pf_count] = ast.argumentIndex; + return this._precompile( ast.elementFormat, data ); + } + return ''; + + case 'elementFormat': + args = [ propname(data.keys[data.pf_count], 'd') ]; + switch (ast.key) { + case 'select': + args.push(this._precompile(ast.val, data)); + return 'select(' + args.join(', ') + ')'; + case 'selectordinal': + args = args.concat([ 0, propname(this.lc[0], 'pluralFuncs'), this._precompile(ast.val, data), 1 ]); + return 'plural(' + args.join(', ') + ')'; + case 'plural': + data.offset[data.pf_count || 0] = ast.val.offset || 0; + args = args.concat([ data.offset[data.pf_count] || 0, propname(this.lc[0], 'pluralFuncs'), this._precompile(ast.val, data) ]); + return 'plural(' + args.join(', ') + ')'; + default: + if (this.withIntlSupport && !(ast.key in this.runtime.fmt) && (ast.key in MessageFormat.formatters)) { + tmp = MessageFormat.formatters[ast.key]; + this.runtime.fmt[ast.key] = (typeof tmp(this) == 'function') ? tmp(this) : tmp; + } + args.push(JSON.stringify(this.lc)); + if (ast.val && ast.val.length) args.push(JSON.stringify(ast.val.length == 1 ? ast.val[0] : ast.val)); + return 'fmt.' + ast.key + '(' + args.join(', ') + ')'; + } + + case 'pluralFormatPattern': + case 'selectFormatPattern': + data.pf_count = data.pf_count || 0; + if (ast.type == 'selectFormatPattern') data.offset[data.pf_count] = 0; + var needOther = true; + for (i = 0; i < ast.pluralForms.length; ++i) { + var key = ast.pluralForms[i].key; + if (key === 'other') needOther = false; + var data_copy = JSON.parse(JSON.stringify(data)); + data_copy.pf_count++; + r.push(propname(key) + ': function() { return ' + this._precompile(ast.pluralForms[i].val, data_copy) + ';}'); + } + if (needOther) throw new Error("No 'other' form found in " + ast.type + " " + data.pf_count); + return '{ ' + r.join(', ') + ' }'; + + case 'string': + return JSON.stringify(ast.val || ""); + + case 'octothorpe': + if (!data.pf_count) return '"#"'; + args = [ propname(data.keys[data.pf_count-1], 'd') ]; + if (data.offset[data.pf_count-1]) args.push(data.offset[data.pf_count-1]); + return 'number(' + args.join(', ') + ')'; + + default: + throw new Error( 'Bad AST type: ' + ast.type ); + } +}; + +/** Compile messages into an executable function with clean string + * representation. + * + * If `messages` is a single string including ICU MessageFormat declarations, + * `opt` is ignored and the returned function takes a single Object parameter + * `d` representing each of the input's defined variables. The returned + * function will be defined in a local scope that includes all the required + * runtime variables. + * + * If `messages` is a map of keys to strings, or a map of namespace keys to + * such key/string maps, the returned function will fill the specified global + * with javascript functions matching the structure of the input. In such use, + * the output of `compile()` is expected to be serialized using `.toString()`, + * and will include definitions of the runtime functions. If `opt.global` is + * null, calling the output function will return the object itself. + * + * Together, the input parameters should match the following patterns: + * ```js + * messages = "string" || { key0: "string0", key1: "string1", ... } || { + * ns0: { key0: "string0", key1: "string1", ... }, + * ns1: { key0: "string0", key1: "string1", ... }, + * ... + * } + * + * opt = null || { + * locale: null || { + * ns0: "lc0" || [ "lc0", ... ], + * ns1: "lc1" || [ "lc1", ... ], + * ... + * }, + * global: null || "module.exports" || "exports" || "i18n" || ... + * } + * ``` + * + * @memberof MessageFormat + * @param {string|Object} + * messages - The input message(s) to be compiled, in ICU MessageFormat + * @param {Object} [opt={}] - Options controlling output for non-simple intput + * @param {Object} [opt.locale] - The locales to use for the messages, with a + * structure matching that of `messages` + * @param {string} [opt.global=""] - The global variable that the output + * function should use, or a null string for none. "exports" and + * "module.exports" are recognised as special cases. + * @returns {function} The first match found for the given locale(s) + * + * @example + * > var MessageFormat = require('messageformat'), + * ... mf = new MessageFormat('en'), + * ... mfunc0 = mf.compile('A {TYPE} example.'); + * > mfunc0({TYPE:'simple'}) + * 'A simple example.' + * > mfunc0.toString() + * 'function (d) { return "A " + d.TYPE + " example."; }' + * + * @example + * > var msgSet = { a: 'A {TYPE} example.', + * ... b: 'This has {COUNT, plural, one{one member} other{# members}}.' }, + * ... mfuncSet = mf.compile(msgSet); + * > mfuncSet().a({TYPE:'more complex'}) + * 'A more complex example.' + * > mfuncSet().b({COUNT:2}) + * 'This has 2 members.' + * + * > console.log(mfuncSet.toString()) + * function anonymous() { + * var number = function (value, offset) { + * if (isNaN(value)) throw new Error("'" + value + "' isn't a number."); + * return value - (offset || 0); + * }; + * var plural = function (value, offset, lcfunc, data, isOrdinal) { + * if ({}.hasOwnProperty.call(data, value)) return data[value](); + * if (offset) value -= offset; + * var key = lcfunc(value, isOrdinal); + * if (key in data) return data[key](); + * return data.other(); + * }; + * var select = function (value, data) { + * if ({}.hasOwnProperty.call(data, value)) return data[value](); + * return data.other() + * }; + * var pluralFuncs = { + * en: function (n, ord) { + * var s = String(n).split('.'), v0 = !s[1], t0 = Number(s[0]) == n, + * n10 = t0 && s[0].slice(-1), n100 = t0 && s[0].slice(-2); + * if (ord) return (n10 == 1 && n100 != 11) ? 'one' + * : (n10 == 2 && n100 != 12) ? 'two' + * : (n10 == 3 && n100 != 13) ? 'few' + * : 'other'; + * return (n == 1 && v0) ? 'one' : 'other'; + * } + * }; + * var fmt = {}; + * + * return { + * a: function(d) { return "A " + d.TYPE + " example."; }, + * b: function(d) { return "This has " + plural(d.COUNT, 0, pluralFuncs.en, { one: function() { return "one member";}, other: function() { return number(d.COUNT)+" members";} }) + "."; } + * } + * } + * + * @example + * > mf.runtime.pluralFuncs.fi = MessageFormat.plurals.fi; + * > var multiSet = { en: { a: 'A {TYPE} example.', + * ... b: 'This is the {COUNT, selectordinal, one{#st} two{#nd} few{#rd} other{#th}} example.' }, + * ... fi: { a: '{TYPE} esimerkki.', + * ... b: 'Tämä on {COUNT, selectordinal, other{#.}} esimerkki.' } }, + * ... multiSetLocales = { en: 'en', fi: 'fi' }, + * ... mfuncSet = mf.compile(multiSet, { locale: multiSetLocales, global: 'i18n' }); + * > mfuncSet(this); + * > i18n.en.b({COUNT:3}) + * 'This is the 3rd example.' + * > i18n.fi.b({COUNT:3}) + * 'Tämä on 3. esimerkki.' */ +MessageFormat.prototype.compile = function ( messages, opt ) { + var r = {}, lc0 = this.lc, + compileMsg = function(self, msg) { + try { + var ast = MessageFormat._parse(msg); + return self._precompile(ast); + } catch (e) { + throw new Error((ast ? 'Precompiler' : 'Parser') + ' error: ' + e.toString()); + } + }, + stringify = function(r, level) { + if (!level) level = 0; + if (typeof r != 'object') return r; + var o = [], indent = ''; + for (var i = 0; i < level; ++i) indent += ' '; + for (var k in r) o.push('\n' + indent + ' ' + propname(k) + ': ' + stringify(r[k], level + 1)); + return '{' + o.join(',') + '\n' + indent + '}'; + }; + + if (typeof messages == 'string') { + var f = new Function( + 'number, plural, select, pluralFuncs, fmt', + 'return ' + compileMsg(this, messages)); + return f(this.runtime.number, this.runtime.plural, this.runtime.select, + this.runtime.pluralFuncs, this.runtime.fmt); + } + + opt = opt || {}; + + for (var ns in messages) { + if (opt.locale) this.lc = opt.locale[ns] && [].concat(opt.locale[ns]) || lc0; + if (typeof messages[ns] == 'string') { + try { r[ns] = compileMsg(this, messages[ns]); } + catch (e) { e.message = e.message.replace(':', ' with `' + ns + '`:'); throw e; } + } else { + r[ns] = {}; + for (var key in messages[ns]) { + try { r[ns][key] = compileMsg(this, messages[ns][key]); } + catch (e) { e.message = e.message.replace(':', ' with `' + key + '` in `' + ns + '`:'); throw e; } + } + } + } + + this.lc = lc0; + var s = this.runtime.toString() + '\n'; + switch (opt.global || '') { + case 'exports': + var o = []; + for (var k in r) o.push(propname(k, 'exports') + ' = ' + stringify(r[k])); + return new Function(s + o.join(';\n')); + case 'module.exports': + return new Function(s + 'module.exports = ' + stringify(r)); + case '': + return new Function(s + 'return ' + stringify(r)); + default: + return new Function('G', s + propname(opt.global, 'G') + ' = ' + stringify(r)); + } +}; + + +return MessageFormat; +}()); +/* jshint ignore:end */ + + +var validateMessageBundle = function( cldr ) { + validate( + "E_MISSING_MESSAGE_BUNDLE", + "Missing message bundle for locale `{locale}`.", + cldr.attributes.bundle && cldr.get( "globalize-messages/{bundle}" ) !== undefined, + { + locale: cldr.locale + } + ); +}; + + + + +var validateMessagePresence = function( path, value ) { + path = path.join( "/" ); + validate( "E_MISSING_MESSAGE", "Missing required message content `{path}`.", + value !== undefined, { path: path } ); +}; + + + + +var validateMessageType = function( path, value ) { + path = path.join( "/" ); + validate( + "E_INVALID_MESSAGE", + "Invalid message content `{path}`. {expected} expected.", + typeof value === "string", + { + expected: "a string", + path: path + } + ); +}; + + + + +var validateParameterTypeMessageVariables = function( value, name ) { + validateParameterType( + value, + name, + value === undefined || isPlainObject( value ) || Array.isArray( value ), + "Array or Plain Object" + ); +}; + + + + +var validatePluralModulePresence = function() { + validate( "E_MISSING_PLURAL_MODULE", "Plural module not loaded.", + Globalize.plural !== undefined, {} ); +}; + + + + +var slice = [].slice; + +function MessageFormatInit( globalize, cldr ) { + var plural; + return new MessageFormat( cldr.locale, function( value ) { + if ( !plural ) { + validatePluralModulePresence(); + plural = globalize.pluralGenerator(); + } + return plural( value ); + }); +} + +/** + * .loadMessages( json ) + * + * @json [JSON] + * + * Load translation data. + */ +Globalize.loadMessages = function( json ) { + var locale, + customData = { + "globalize-messages": json, + "main": {} + }; + + validateParameterPresence( json, "json" ); + validateParameterTypePlainObject( json, "json" ); + + // Set available bundles by populating customData main dataset. + for ( locale in json ) { + if ( json.hasOwnProperty( locale ) ) { + customData.main[ locale ] = {}; + } + } + + Cldr.load( customData ); +}; + +/** + * .messageFormatter( path ) + * + * @path [String or Array] + * + * Format a message given its path. + */ +Globalize.messageFormatter = +Globalize.prototype.messageFormatter = function( path ) { + var cldr, formatter, message; + + validateParameterPresence( path, "path" ); + validateParameterType( path, "path", typeof path === "string" || Array.isArray( path ), + "a String nor an Array" ); + + path = alwaysArray( path ); + cldr = this.cldr; + + validateDefaultLocale( cldr ); + validateMessageBundle( cldr ); + + message = cldr.get( [ "globalize-messages/{bundle}" ].concat( path ) ); + validateMessagePresence( path, message ); + + // If message is an Array, concatenate it. + if ( Array.isArray( message ) ) { + message = message.join( " " ); + } + validateMessageType( path, message ); + + formatter = MessageFormatInit( this, cldr ).compile( message ); + + return function( variables ) { + if ( typeof variables === "number" || typeof variables === "string" ) { + variables = slice.call( arguments, 0 ); + } + validateParameterTypeMessageVariables( variables, "variables" ); + return formatter( variables ); + }; +}; + +/** + * .formatMessage( path [, variables] ) + * + * @path [String or Array] + * + * @variables [Number, String, Array or Object] + * + * Format a message given its path. + */ +Globalize.formatMessage = +Globalize.prototype.formatMessage = function( path /* , variables */ ) { + return this.messageFormatter( path ).apply( {}, slice.call( arguments, 1 ) ); +}; + +return Globalize; + + + + +})); diff --git a/web/Scripts/globalize/number.js b/web/Scripts/globalize/number.js new file mode 100644 index 00000000..7ab4256d --- /dev/null +++ b/web/Scripts/globalize/number.js @@ -0,0 +1,1266 @@ +/** + * Globalize v1.0.0 + * + * http://github.com/jquery/globalize + * + * Copyright jQuery Foundation and other contributors + * Released under the MIT license + * http://jquery.org/license + * + * Date: 2015-04-23T12:02Z + */ +/*! + * Globalize v1.0.0 2015-04-23T12:02Z Released under the MIT license + * http://git.io/TrdQbw + */ +(function( root, factory ) { + + // UMD returnExports + if ( typeof define === "function" && define.amd ) { + + // AMD + define([ + "cldr", + "../globalize", + "cldr/event", + "cldr/supplemental" + ], factory ); + } else if ( typeof exports === "object" ) { + + // Node, CommonJS + module.exports = factory( require( "cldrjs" ), require( "globalize" ) ); + } else { + + // Global + factory( root.Cldr, root.Globalize ); + } +}(this, function( Cldr, Globalize ) { + +var createError = Globalize._createError, + objectExtend = Globalize._objectExtend, + regexpEscape = Globalize._regexpEscape, + stringPad = Globalize._stringPad, + validateCldr = Globalize._validateCldr, + validateDefaultLocale = Globalize._validateDefaultLocale, + validateParameterPresence = Globalize._validateParameterPresence, + validateParameterRange = Globalize._validateParameterRange, + validateParameterType = Globalize._validateParameterType, + validateParameterTypePlainObject = Globalize._validateParameterTypePlainObject; + + +var createErrorUnsupportedFeature = function( feature ) { + return createError( "E_UNSUPPORTED", "Unsupported {feature}.", { + feature: feature + }); +}; + + + + +var validateParameterTypeNumber = function( value, name ) { + validateParameterType( + value, + name, + value === undefined || typeof value === "number", + "Number" + ); +}; + + + + +var validateParameterTypeString = function( value, name ) { + validateParameterType( + value, + name, + value === undefined || typeof value === "string", + "a string" + ); +}; + + + + +/** + * goupingSeparator( number, primaryGroupingSize, secondaryGroupingSize ) + * + * @number [Number]. + * + * @primaryGroupingSize [Number] + * + * @secondaryGroupingSize [Number] + * + * Return the formatted number with group separator. + */ +var numberFormatGroupingSeparator = function( number, primaryGroupingSize, secondaryGroupingSize ) { + var index, + currentGroupingSize = primaryGroupingSize, + ret = "", + sep = ",", + switchToSecondary = secondaryGroupingSize ? true : false; + + number = String( number ).split( "." ); + index = number[ 0 ].length; + + while ( index > currentGroupingSize ) { + ret = number[ 0 ].slice( index - currentGroupingSize, index ) + + ( ret.length ? sep : "" ) + ret; + index -= currentGroupingSize; + if ( switchToSecondary ) { + currentGroupingSize = secondaryGroupingSize; + switchToSecondary = false; + } + } + + number[ 0 ] = number[ 0 ].slice( 0, index ) + ( ret.length ? sep : "" ) + ret; + return number.join( "." ); +}; + + + + +/** + * integerFractionDigits( number, minimumIntegerDigits, minimumFractionDigits, + * maximumFractionDigits, round, roundIncrement ) + * + * @number [Number] + * + * @minimumIntegerDigits [Number] + * + * @minimumFractionDigits [Number] + * + * @maximumFractionDigits [Number] + * + * @round [Function] + * + * @roundIncrement [Function] + * + * Return the formatted integer and fraction digits. + */ +var numberFormatIntegerFractionDigits = function( number, minimumIntegerDigits, minimumFractionDigits, maximumFractionDigits, round, + roundIncrement ) { + + // Fraction + if ( maximumFractionDigits ) { + + // Rounding + if ( roundIncrement ) { + number = round( number, roundIncrement ); + + // Maximum fraction digits + } else { + number = round( number, { exponent: -maximumFractionDigits } ); + } + + // Minimum fraction digits + if ( minimumFractionDigits ) { + number = String( number ).split( "." ); + number[ 1 ] = stringPad( number[ 1 ] || "", minimumFractionDigits, true ); + number = number.join( "." ); + } + } else { + number = round( number ); + } + + number = String( number ); + + // Minimum integer digits + if ( minimumIntegerDigits ) { + number = number.split( "." ); + number[ 0 ] = stringPad( number[ 0 ], minimumIntegerDigits ); + number = number.join( "." ); + } + + return number; +}; + + + + +/** + * toPrecision( number, precision, round ) + * + * @number (Number) + * + * @precision (Number) significant figures precision (not decimal precision). + * + * @round (Function) + * + * Return number.toPrecision( precision ) using the given round function. + */ +var numberToPrecision = function( number, precision, round ) { + var roundOrder; + + // Get number at two extra significant figure precision. + number = number.toPrecision( precision + 2 ); + + // Then, round it to the required significant figure precision. + roundOrder = Math.ceil( Math.log( Math.abs( number ) ) / Math.log( 10 ) ); + roundOrder -= precision; + + return round( number, { exponent: roundOrder } ); +}; + + + + +/** + * toPrecision( number, minimumSignificantDigits, maximumSignificantDigits, round ) + * + * @number [Number] + * + * @minimumSignificantDigits [Number] + * + * @maximumSignificantDigits [Number] + * + * @round [Function] + * + * Return the formatted significant digits number. + */ +var numberFormatSignificantDigits = function( number, minimumSignificantDigits, maximumSignificantDigits, round ) { + var atMinimum, atMaximum; + + // Sanity check. + if ( minimumSignificantDigits > maximumSignificantDigits ) { + maximumSignificantDigits = minimumSignificantDigits; + } + + atMinimum = numberToPrecision( number, minimumSignificantDigits, round ); + atMaximum = numberToPrecision( number, maximumSignificantDigits, round ); + + // Use atMaximum only if it has more significant digits than atMinimum. + number = +atMinimum === +atMaximum ? atMinimum : atMaximum; + + // Expand integer numbers, eg. 123e5 to 12300. + number = ( +number ).toString( 10 ); + + if ( (/e/).test( number ) ) { + throw createErrorUnsupportedFeature({ + feature: "integers out of (1e21, 1e-7)" + }); + } + + // Add trailing zeros if necessary. + if ( minimumSignificantDigits - number.replace( /^0+|\./g, "" ).length > 0 ) { + number = number.split( "." ); + number[ 1 ] = stringPad( number[ 1 ] || "", minimumSignificantDigits - number[ 0 ].replace( /^0+/, "" ).length, true ); + number = number.join( "." ); + } + + return number; +}; + + + + +/** + * format( number, properties ) + * + * @number [Number]. + * + * @properties [Object] Output of number/format-properties. + * + * Return the formatted number. + * ref: http://www.unicode.org/reports/tr35/tr35-numbers.html + */ +var numberFormat = function( number, properties ) { + var infinitySymbol, maximumFractionDigits, maximumSignificantDigits, minimumFractionDigits, + minimumIntegerDigits, minimumSignificantDigits, nanSymbol, nuDigitsMap, padding, prefix, + primaryGroupingSize, pattern, ret, round, roundIncrement, secondaryGroupingSize, suffix, + symbolMap; + + padding = properties[ 1 ]; + minimumIntegerDigits = properties[ 2 ]; + minimumFractionDigits = properties[ 3 ]; + maximumFractionDigits = properties[ 4 ]; + minimumSignificantDigits = properties[ 5 ]; + maximumSignificantDigits = properties[ 6 ]; + roundIncrement = properties[ 7 ]; + primaryGroupingSize = properties[ 8 ]; + secondaryGroupingSize = properties[ 9 ]; + round = properties[ 15 ]; + infinitySymbol = properties[ 16 ]; + nanSymbol = properties[ 17 ]; + symbolMap = properties[ 18 ]; + nuDigitsMap = properties[ 19 ]; + + // NaN + if ( isNaN( number ) ) { + return nanSymbol; + } + + if ( number < 0 ) { + pattern = properties[ 12 ]; + prefix = properties[ 13 ]; + suffix = properties[ 14 ]; + } else { + pattern = properties[ 11 ]; + prefix = properties[ 0 ]; + suffix = properties[ 10 ]; + } + + // Infinity + if ( !isFinite( number ) ) { + return prefix + infinitySymbol + suffix; + } + + ret = prefix; + + // Percent + if ( pattern.indexOf( "%" ) !== -1 ) { + number *= 100; + + // Per mille + } else if ( pattern.indexOf( "\u2030" ) !== -1 ) { + number *= 1000; + } + + // Significant digit format + if ( !isNaN( minimumSignificantDigits * maximumSignificantDigits ) ) { + number = numberFormatSignificantDigits( number, minimumSignificantDigits, + maximumSignificantDigits, round ); + + // Integer and fractional format + } else { + number = numberFormatIntegerFractionDigits( number, minimumIntegerDigits, + minimumFractionDigits, maximumFractionDigits, round, roundIncrement ); + } + + // Remove the possible number minus sign + number = number.replace( /^-/, "" ); + + // Grouping separators + if ( primaryGroupingSize ) { + number = numberFormatGroupingSeparator( number, primaryGroupingSize, + secondaryGroupingSize ); + } + + ret += number; + + // Scientific notation + // TODO implement here + + // Padding/'([^']|'')+'|''|[.,\-+E%\u2030]/g + // TODO implement here + + ret += suffix; + + return ret.replace( /('([^']|'')+'|'')|./g, function( character, literal ) { + + // Literals + if ( literal ) { + literal = literal.replace( /''/, "'" ); + if ( literal.length > 2 ) { + literal = literal.slice( 1, -1 ); + } + return literal; + } + + // Symbols + character = character.replace( /[.,\-+E%\u2030]/, function( symbol ) { + return symbolMap[ symbol ]; + }); + + // Numbering system + if ( nuDigitsMap ) { + character = character.replace( /[0-9]/, function( digit ) { + return nuDigitsMap[ +digit ]; + }); + } + + return character; + }); +}; + + + + +/** + * NumberingSystem( cldr ) + * + * - http://www.unicode.org/reports/tr35/tr35-numbers.html#otherNumberingSystems + * - http://cldr.unicode.org/index/bcp47-extension + * - http://www.unicode.org/reports/tr35/#u_Extension + */ +var numberNumberingSystem = function( cldr ) { + var nu = cldr.attributes[ "u-nu" ]; + + if ( nu ) { + if ( nu === "traditio" ) { + nu = "traditional"; + } + if ( [ "native", "traditional", "finance" ].indexOf( nu ) !== -1 ) { + + // Unicode locale extension `u-nu` is set using either (native, traditional or + // finance). So, lookup the respective locale's numberingSystem and return it. + return cldr.main([ "numbers/otherNumberingSystems", nu ]); + } + + // Unicode locale extension `u-nu` is set with an explicit numberingSystem. Return it. + return nu; + } + + // Return the default numberingSystem. + return cldr.main( "numbers/defaultNumberingSystem" ); +}; + + + + +/** + * nuMap( cldr ) + * + * @cldr [Cldr instance]. + * + * Return digits map if numbering system is different than `latn`. + */ +var numberNumberingSystemDigitsMap = function( cldr ) { + var aux, + nu = numberNumberingSystem( cldr ); + + if ( nu === "latn" ) { + return; + } + + aux = cldr.supplemental([ "numberingSystems", nu ]); + + if ( aux._type !== "numeric" ) { + throw createErrorUnsupportedFeature( "`" + aux._type + "` numbering system" ); + } + + return aux._digits; +}; + + + + +/** + * EBNF representation: + * + * number_pattern_re = prefix? + * padding? + * (integer_fraction_pattern | significant_pattern) + * scientific_notation? + * suffix? + * + * prefix = non_number_stuff + * + * padding = "*" regexp(.) + * + * integer_fraction_pattern = integer_pattern + * fraction_pattern? + * + * integer_pattern = regexp([#,]*[0,]*0+) + * + * fraction_pattern = "." regexp(0*[0-9]*#*) + * + * significant_pattern = regexp([#,]*@+#*) + * + * scientific_notation = regexp(E\+?0+) + * + * suffix = non_number_stuff + * + * non_number_stuff = regexp(('[^']+'|''|[^*#@0,.E])*) + * + * + * Regexp groups: + * + * 0: number_pattern_re + * 1: prefix + * 2: - + * 3: padding + * 4: (integer_fraction_pattern | significant_pattern) + * 5: integer_fraction_pattern + * 6: integer_pattern + * 7: fraction_pattern + * 8: significant_pattern + * 9: scientific_notation + * 10: suffix + * 11: - + */ +var numberPatternRe = (/^(('[^']+'|''|[^*#@0,.E])*)(\*.)?((([#,]*[0,]*0+)(\.0*[0-9]*#*)?)|([#,]*@+#*))(E\+?0+)?(('[^']+'|''|[^*#@0,.E])*)$/); + + + + +/** + * format( number, pattern ) + * + * @number [Number]. + * + * @pattern [String] raw pattern for numbers. + * + * Return the formatted number. + * ref: http://www.unicode.org/reports/tr35/tr35-numbers.html + */ +var numberPatternProperties = function( pattern ) { + var aux1, aux2, fractionPattern, integerFractionOrSignificantPattern, integerPattern, + maximumFractionDigits, maximumSignificantDigits, minimumFractionDigits, + minimumIntegerDigits, minimumSignificantDigits, padding, prefix, primaryGroupingSize, + roundIncrement, scientificNotation, secondaryGroupingSize, significantPattern, suffix; + + pattern = pattern.match( numberPatternRe ); + if ( !pattern ) { + throw new Error( "Invalid pattern: " + pattern ); + } + + prefix = pattern[ 1 ]; + padding = pattern[ 3 ]; + integerFractionOrSignificantPattern = pattern[ 4 ]; + significantPattern = pattern[ 8 ]; + scientificNotation = pattern[ 9 ]; + suffix = pattern[ 10 ]; + + // Significant digit format + if ( significantPattern ) { + significantPattern.replace( /(@+)(#*)/, function( match, minimumSignificantDigitsMatch, maximumSignificantDigitsMatch ) { + minimumSignificantDigits = minimumSignificantDigitsMatch.length; + maximumSignificantDigits = minimumSignificantDigits + + maximumSignificantDigitsMatch.length; + }); + + // Integer and fractional format + } else { + fractionPattern = pattern[ 7 ]; + integerPattern = pattern[ 6 ]; + + if ( fractionPattern ) { + + // Minimum fraction digits, and rounding. + fractionPattern.replace( /[0-9]+/, function( match ) { + minimumFractionDigits = match; + }); + if ( minimumFractionDigits ) { + roundIncrement = +( "0." + minimumFractionDigits ); + minimumFractionDigits = minimumFractionDigits.length; + } else { + minimumFractionDigits = 0; + } + + // Maximum fraction digits + // 1: ignore decimal character + maximumFractionDigits = fractionPattern.length - 1 /* 1 */; + } + + // Minimum integer digits + integerPattern.replace( /0+$/, function( match ) { + minimumIntegerDigits = match.length; + }); + } + + // Scientific notation + if ( scientificNotation ) { + throw createErrorUnsupportedFeature({ + feature: "scientific notation (not implemented)" + }); + } + + // Padding + if ( padding ) { + throw createErrorUnsupportedFeature({ + feature: "padding (not implemented)" + }); + } + + // Grouping + if ( ( aux1 = integerFractionOrSignificantPattern.lastIndexOf( "," ) ) !== -1 ) { + + // Primary grouping size is the interval between the last group separator and the end of + // the integer (or the end of the significant pattern). + aux2 = integerFractionOrSignificantPattern.split( "." )[ 0 ]; + primaryGroupingSize = aux2.length - aux1 - 1; + + // Secondary grouping size is the interval between the last two group separators. + if ( ( aux2 = integerFractionOrSignificantPattern.lastIndexOf( ",", aux1 - 1 ) ) !== -1 ) { + secondaryGroupingSize = aux1 - 1 - aux2; + } + } + + // Return: + // 0: @prefix String + // 1: @padding Array [ , ] TODO + // 2: @minimumIntegerDigits non-negative integer Number value indicating the minimum integer + // digits to be used. Numbers will be padded with leading zeroes if necessary. + // 3: @minimumFractionDigits and + // 4: @maximumFractionDigits are non-negative integer Number values indicating the minimum and + // maximum fraction digits to be used. Numbers will be rounded or padded with trailing + // zeroes if necessary. + // 5: @minimumSignificantDigits and + // 6: @maximumSignificantDigits are positive integer Number values indicating the minimum and + // maximum fraction digits to be shown. Either none or both of these properties are + // present; if they are, they override minimum and maximum integer and fraction digits + // – the formatter uses however many integer and fraction digits are required to display + // the specified number of significant digits. + // 7: @roundIncrement Decimal round increment or null + // 8: @primaryGroupingSize + // 9: @secondaryGroupingSize + // 10: @suffix String + return [ + prefix, + padding, + minimumIntegerDigits, + minimumFractionDigits, + maximumFractionDigits, + minimumSignificantDigits, + maximumSignificantDigits, + roundIncrement, + primaryGroupingSize, + secondaryGroupingSize, + suffix + ]; +}; + + + + +/** + * Symbol( name, cldr ) + * + * @name [String] Symbol name. + * + * @cldr [Cldr instance]. + * + * Return the localized symbol given its name. + */ +var numberSymbol = function( name, cldr ) { + return cldr.main([ + "numbers/symbols-numberSystem-" + numberNumberingSystem( cldr ), + name + ]); +}; + + + + +var numberSymbolName = { + ".": "decimal", + ",": "group", + "%": "percentSign", + "+": "plusSign", + "-": "minusSign", + "E": "exponential", + "\u2030": "perMille" +}; + + + + +/** + * symbolMap( cldr ) + * + * @cldr [Cldr instance]. + * + * Return the (localized symbol, pattern symbol) key value pair, eg. { + * ".": "٫", + * ",": "٬", + * "%": "٪", + * ... + * }; + */ +var numberSymbolMap = function( cldr ) { + var symbol, + symbolMap = {}; + + for ( symbol in numberSymbolName ) { + symbolMap[ symbol ] = numberSymbol( numberSymbolName[ symbol ], cldr ); + } + + return symbolMap; +}; + + + + +var numberTruncate = function( value ) { + if ( isNaN( value ) ) { + return NaN; + } + return Math[ value < 0 ? "ceil" : "floor" ]( value ); +}; + + + + +/** + * round( method ) + * + * @method [String] with either "round", "ceil", "floor", or "truncate". + * + * Return function( value, incrementOrExp ): + * + * @value [Number] eg. 123.45. + * + * @incrementOrExp [Number] optional, eg. 0.1; or + * [Object] Either { increment: } or { exponent: } + * + * Return the rounded number, eg: + * - round( "round" )( 123.45 ): 123; + * - round( "ceil" )( 123.45 ): 124; + * - round( "floor" )( 123.45 ): 123; + * - round( "truncate" )( 123.45 ): 123; + * - round( "round" )( 123.45, 0.1 ): 123.5; + * - round( "round" )( 123.45, 10 ): 120; + * + * Based on https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/round + * Ref: #376 + */ +var numberRound = function( method ) { + method = method || "round"; + method = method === "truncate" ? numberTruncate : Math[ method ]; + + return function( value, incrementOrExp ) { + var exp, increment; + + value = +value; + + // If the value is not a number, return NaN. + if ( isNaN( value ) ) { + return NaN; + } + + // Exponent given. + if ( typeof incrementOrExp === "object" && incrementOrExp.exponent ) { + exp = +incrementOrExp.exponent; + increment = 1; + + if ( exp === 0 ) { + return method( value ); + } + + // If the exp is not an integer, return NaN. + if ( !( typeof exp === "number" && exp % 1 === 0 ) ) { + return NaN; + } + + // Increment given. + } else { + increment = +incrementOrExp || 1; + + if ( increment === 1 ) { + return method( value ); + } + + // If the increment is not a number, return NaN. + if ( isNaN( increment ) ) { + return NaN; + } + + increment = increment.toExponential().split( "e" ); + exp = +increment[ 1 ]; + increment = +increment[ 0 ]; + } + + // Shift & Round + value = value.toString().split( "e" ); + value[ 0 ] = +value[ 0 ] / increment; + value[ 1 ] = value[ 1 ] ? ( +value[ 1 ] - exp ) : -exp; + value = method( +(value[ 0 ] + "e" + value[ 1 ] ) ); + + // Shift back + value = value.toString().split( "e" ); + value[ 0 ] = +value[ 0 ] * increment; + value[ 1 ] = value[ 1 ] ? ( +value[ 1 ] + exp ) : exp; + return +( value[ 0 ] + "e" + value[ 1 ] ); + }; +}; + + + + +/** + * formatProperties( pattern, cldr [, options] ) + * + * @pattern [String] raw pattern for numbers. + * + * @cldr [Cldr instance]. + * + * @options [Object]: + * - minimumIntegerDigits [Number] + * - minimumFractionDigits, maximumFractionDigits [Number] + * - minimumSignificantDigits, maximumSignificantDigits [Number] + * - round [String] "ceil", "floor", "round" (default), or "truncate". + * - useGrouping [Boolean] default true. + * + * Return the processed properties that will be used in number/format. + * ref: http://www.unicode.org/reports/tr35/tr35-numbers.html + */ +var numberFormatProperties = function( pattern, cldr, options ) { + var negativePattern, negativePrefix, negativeProperties, negativeSuffix, positivePattern, + properties; + + function getOptions( attribute, propertyIndex ) { + if ( attribute in options ) { + properties[ propertyIndex ] = options[ attribute ]; + } + } + + options = options || {}; + pattern = pattern.split( ";" ); + + positivePattern = pattern[ 0 ]; + + negativePattern = pattern[ 1 ] || "-" + positivePattern; + negativeProperties = numberPatternProperties( negativePattern ); + negativePrefix = negativeProperties[ 0 ]; + negativeSuffix = negativeProperties[ 10 ]; + + properties = numberPatternProperties( positivePattern ).concat([ + positivePattern, + negativePrefix + positivePattern + negativeSuffix, + negativePrefix, + negativeSuffix, + numberRound( options.round ), + numberSymbol( "infinity", cldr ), + numberSymbol( "nan", cldr ), + numberSymbolMap( cldr ), + numberNumberingSystemDigitsMap( cldr ) + ]); + + getOptions( "minimumIntegerDigits", 2 ); + getOptions( "minimumFractionDigits", 3 ); + getOptions( "maximumFractionDigits", 4 ); + getOptions( "minimumSignificantDigits", 5 ); + getOptions( "maximumSignificantDigits", 6 ); + + // Grouping separators + if ( options.useGrouping === false ) { + properties[ 8 ] = null; + } + + // Normalize number of digits if only one of either minimumFractionDigits or + // maximumFractionDigits is passed in as an option + if ( "minimumFractionDigits" in options && !( "maximumFractionDigits" in options ) ) { + // maximumFractionDigits = Math.max( minimumFractionDigits, maximumFractionDigits ); + properties[ 4 ] = Math.max( properties[ 3 ], properties[ 4 ] ); + } else if ( !( "minimumFractionDigits" in options ) && + "maximumFractionDigits" in options ) { + // minimumFractionDigits = Math.min( minimumFractionDigits, maximumFractionDigits ); + properties[ 3 ] = Math.min( properties[ 3 ], properties[ 4 ] ); + } + + // Return: + // 0-10: see number/pattern-properties. + // 11: @positivePattern [String] Positive pattern. + // 12: @negativePattern [String] Negative pattern. + // 13: @negativePrefix [String] Negative prefix. + // 14: @negativeSuffix [String] Negative suffix. + // 15: @round [Function] Round function. + // 16: @infinitySymbol [String] Infinity symbol. + // 17: @nanSymbol [String] NaN symbol. + // 18: @symbolMap [Object] A bunch of other symbols. + // 19: @nuDigitsMap [Array] Digits map if numbering system is different than `latn`. + return properties; +}; + + + + +/** + * EBNF representation: + * + * number_pattern_re = prefix_including_padding? + * number + * scientific_notation? + * suffix? + * + * number = integer_including_group_separator fraction_including_decimal_separator + * + * integer_including_group_separator = + * regexp([0-9,]*[0-9]+) + * + * fraction_including_decimal_separator = + * regexp((\.[0-9]+)?) + + * prefix_including_padding = non_number_stuff + * + * scientific_notation = regexp(E[+-]?[0-9]+) + * + * suffix = non_number_stuff + * + * non_number_stuff = regexp([^0-9]*) + * + * + * Regexp groups: + * + * 0: number_pattern_re + * 1: prefix + * 2: integer_including_group_separator fraction_including_decimal_separator + * 3: integer_including_group_separator + * 4: fraction_including_decimal_separator + * 5: scientific_notation + * 6: suffix + */ +var numberNumberRe = (/^([^0-9]*)(([0-9,]*[0-9]+)(\.[0-9]+)?)(E[+-]?[0-9]+)?([^0-9]*)$/); + + + + +/** + * parse( value, properties ) + * + * @value [String]. + * + * @properties [Object] Parser properties is a reduced pre-processed cldr + * data set returned by numberParserProperties(). + * + * Return the parsed Number (including Infinity) or NaN when value is invalid. + * ref: http://www.unicode.org/reports/tr35/tr35-numbers.html + */ +var numberParse = function( value, properties ) { + var aux, infinitySymbol, invertedNuDigitsMap, invertedSymbolMap, localizedDigitRe, + localizedSymbolsRe, negativePrefix, negativeSuffix, number, prefix, suffix; + + infinitySymbol = properties[ 0 ]; + invertedSymbolMap = properties[ 1 ]; + negativePrefix = properties[ 2 ]; + negativeSuffix = properties[ 3 ]; + invertedNuDigitsMap = properties[ 4 ]; + + // Infinite number. + if ( aux = value.match( infinitySymbol ) ) { + + number = Infinity; + prefix = value.slice( 0, aux.length ); + suffix = value.slice( aux.length + 1 ); + + // Finite number. + } else { + + // TODO: Create it during setup, i.e., make it a property. + localizedSymbolsRe = new RegExp( + Object.keys( invertedSymbolMap ).map(function( localizedSymbol ) { + return regexpEscape( localizedSymbol ); + }).join( "|" ), + "g" + ); + + // Reverse localized symbols. + value = value.replace( localizedSymbolsRe, function( localizedSymbol ) { + return invertedSymbolMap[ localizedSymbol ]; + }); + + // Reverse localized numbering system. + if ( invertedNuDigitsMap ) { + + // TODO: Create it during setup, i.e., make it a property. + localizedDigitRe = new RegExp( + Object.keys( invertedNuDigitsMap ).map(function( localizedDigit ) { + return regexpEscape( localizedDigit ); + }).join( "|" ), + "g" + ); + value = value.replace( localizedDigitRe, function( localizedDigit ) { + return invertedNuDigitsMap[ localizedDigit ]; + }); + } + + // Is it a valid number? + value = value.match( numberNumberRe ); + if ( !value ) { + + // Invalid number. + return NaN; + } + + prefix = value[ 1 ]; + suffix = value[ 6 ]; + + // Remove grouping separators. + number = value[ 2 ].replace( /,/g, "" ); + + // Scientific notation + if ( value[ 5 ] ) { + number += value[ 5 ]; + } + + number = +number; + + // Is it a valid number? + if ( isNaN( number ) ) { + + // Invalid number. + return NaN; + } + + // Percent + if ( value[ 0 ].indexOf( "%" ) !== -1 ) { + number /= 100; + suffix = suffix.replace( "%", "" ); + + // Per mille + } else if ( value[ 0 ].indexOf( "\u2030" ) !== -1 ) { + number /= 1000; + suffix = suffix.replace( "\u2030", "" ); + } + } + + // Negative number + // "If there is an explicit negative subpattern, it serves only to specify the negative prefix + // and suffix. If there is no explicit negative subpattern, the negative subpattern is the + // localized minus sign prefixed to the positive subpattern" UTS#35 + if ( prefix === negativePrefix && suffix === negativeSuffix ) { + number *= -1; + } + + return number; +}; + + + + +/** + * symbolMap( cldr ) + * + * @cldr [Cldr instance]. + * + * Return the (localized symbol, pattern symbol) key value pair, eg. { + * "٫": ".", + * "٬": ",", + * "٪": "%", + * ... + * }; + */ +var numberSymbolInvertedMap = function( cldr ) { + var symbol, + symbolMap = {}; + + for ( symbol in numberSymbolName ) { + symbolMap[ numberSymbol( numberSymbolName[ symbol ], cldr ) ] = symbol; + } + + return symbolMap; +}; + + + + +/** + * parseProperties( pattern, cldr ) + * + * @pattern [String] raw pattern for numbers. + * + * @cldr [Cldr instance]. + * + * Return parser properties, used to feed parser function. + */ +var numberParseProperties = function( pattern, cldr ) { + var invertedNuDigitsMap, invertedNuDigitsMapSanityCheck, negativePattern, negativeProperties, + nuDigitsMap = numberNumberingSystemDigitsMap( cldr ); + + pattern = pattern.split( ";" ); + negativePattern = pattern[ 1 ] || "-" + pattern[ 0 ]; + negativeProperties = numberPatternProperties( negativePattern ); + if ( nuDigitsMap ) { + invertedNuDigitsMap = nuDigitsMap.split( "" ).reduce(function( object, localizedDigit, i ) { + object[ localizedDigit ] = String( i ); + return object; + }, {} ); + invertedNuDigitsMapSanityCheck = "0123456789".split( "" ).reduce(function( object, digit ) { + object[ digit ] = "invalid"; + return object; + }, {} ); + invertedNuDigitsMap = objectExtend( + invertedNuDigitsMapSanityCheck, + invertedNuDigitsMap + ); + } + + // 0: @infinitySymbol [String] Infinity symbol. + // 1: @invertedSymbolMap [Object] Inverted symbol map augmented with sanity check. + // The sanity check prevents permissive parsing, i.e., it prevents symbols that doesn't + // belong to the localized set to pass through. This is obtained with the result of the + // inverted map object overloading symbol name map object (the remaining symbol name + // mappings will invalidate parsing, working as the sanity check). + // 2: @negativePrefix [String] Negative prefix. + // 3: @negativeSuffix [String] Negative suffix with percent or per mille stripped out. + // 4: @invertedNuDigitsMap [Object] Inverted digits map if numbering system is different than + // `latn` augmented with sanity check (similar to invertedSymbolMap). + return [ + numberSymbol( "infinity", cldr ), + objectExtend( {}, numberSymbolName, numberSymbolInvertedMap( cldr ) ), + negativeProperties[ 0 ], + negativeProperties[ 10 ].replace( "%", "" ).replace( "\u2030", "" ), + invertedNuDigitsMap + ]; +}; + + + + +/** + * Pattern( style ) + * + * @style [String] "decimal" (default) or "percent". + * + * @cldr [Cldr instance]. + */ +var numberPattern = function( style, cldr ) { + if ( style !== "decimal" && style !== "percent" ) { + throw new Error( "Invalid style" ); + } + + return cldr.main([ + "numbers", + style + "Formats-numberSystem-" + numberNumberingSystem( cldr ), + "standard" + ]); +}; + + + + +/** + * .numberFormatter( [options] ) + * + * @options [Object]: + * - style: [String] "decimal" (default) or "percent". + * - see also number/format options. + * + * Return a function that formats a number according to the given options and default/instance + * locale. + */ +Globalize.numberFormatter = +Globalize.prototype.numberFormatter = function( options ) { + var cldr, maximumFractionDigits, maximumSignificantDigits, minimumFractionDigits, + minimumIntegerDigits, minimumSignificantDigits, pattern, properties; + + validateParameterTypePlainObject( options, "options" ); + + options = options || {}; + cldr = this.cldr; + + validateDefaultLocale( cldr ); + + cldr.on( "get", validateCldr ); + + if ( options.raw ) { + pattern = options.raw; + } else { + pattern = numberPattern( options.style || "decimal", cldr ); + } + + properties = numberFormatProperties( pattern, cldr, options ); + + cldr.off( "get", validateCldr ); + + minimumIntegerDigits = properties[ 2 ]; + minimumFractionDigits = properties[ 3 ]; + maximumFractionDigits = properties[ 4 ]; + + minimumSignificantDigits = properties[ 5 ]; + maximumSignificantDigits = properties[ 6 ]; + + // Validate significant digit format properties + if ( !isNaN( minimumSignificantDigits * maximumSignificantDigits ) ) { + validateParameterRange( minimumSignificantDigits, "minimumSignificantDigits", 1, 21 ); + validateParameterRange( maximumSignificantDigits, "maximumSignificantDigits", + minimumSignificantDigits, 21 ); + + } else if ( !isNaN( minimumSignificantDigits ) || !isNaN( maximumSignificantDigits ) ) { + throw new Error( "Neither or both the minimum and maximum significant digits must be " + + "present" ); + + // Validate integer and fractional format + } else { + validateParameterRange( minimumIntegerDigits, "minimumIntegerDigits", 1, 21 ); + validateParameterRange( minimumFractionDigits, "minimumFractionDigits", 0, 20 ); + validateParameterRange( maximumFractionDigits, "maximumFractionDigits", + minimumFractionDigits, 20 ); + } + + return function( value ) { + validateParameterPresence( value, "value" ); + validateParameterTypeNumber( value, "value" ); + return numberFormat( value, properties ); + }; +}; + +/** + * .numberParser( [options] ) + * + * @options [Object]: + * - style: [String] "decimal" (default) or "percent". + * + * Return the number parser according to the default/instance locale. + */ +Globalize.numberParser = +Globalize.prototype.numberParser = function( options ) { + var cldr, pattern, properties; + + validateParameterTypePlainObject( options, "options" ); + + options = options || {}; + cldr = this.cldr; + + validateDefaultLocale( cldr ); + + cldr.on( "get", validateCldr ); + + if ( options.raw ) { + pattern = options.raw; + } else { + pattern = numberPattern( options.style || "decimal", cldr ); + } + + properties = numberParseProperties( pattern, cldr ); + + cldr.off( "get", validateCldr ); + + return function( value ) { + validateParameterPresence( value, "value" ); + validateParameterTypeString( value, "value" ); + return numberParse( value, properties ); + }; +}; + +/** + * .formatNumber( value [, options] ) + * + * @value [Number] number to be formatted. + * + * @options [Object]: see number/format-properties. + * + * Format a number according to the given options and default/instance locale. + */ +Globalize.formatNumber = +Globalize.prototype.formatNumber = function( value, options ) { + validateParameterPresence( value, "value" ); + validateParameterTypeNumber( value, "value" ); + + return this.numberFormatter( options )( value ); +}; + +/** + * .parseNumber( value [, options] ) + * + * @value [String] + * + * @options [Object]: See numberParser(). + * + * Return the parsed Number (including Infinity) or NaN when value is invalid. + */ +Globalize.parseNumber = +Globalize.prototype.parseNumber = function( value, options ) { + validateParameterPresence( value, "value" ); + validateParameterTypeString( value, "value" ); + + return this.numberParser( options )( value ); +}; + +/** + * Optimization to avoid duplicating some internal functions across modules. + */ +Globalize._createErrorUnsupportedFeature = createErrorUnsupportedFeature; +Globalize._numberNumberingSystem = numberNumberingSystem; +Globalize._numberPattern = numberPattern; +Globalize._numberSymbol = numberSymbol; +Globalize._stringPad = stringPad; +Globalize._validateParameterTypeNumber = validateParameterTypeNumber; +Globalize._validateParameterTypeString = validateParameterTypeString; + +return Globalize; + + + + +})); diff --git a/web/Scripts/globalize/plural.js b/web/Scripts/globalize/plural.js new file mode 100644 index 00000000..cd4c4cff --- /dev/null +++ b/web/Scripts/globalize/plural.js @@ -0,0 +1,359 @@ +/** + * Globalize v1.0.0 + * + * http://github.com/jquery/globalize + * + * Copyright jQuery Foundation and other contributors + * Released under the MIT license + * http://jquery.org/license + * + * Date: 2015-04-23T12:02Z + */ +/*! + * Globalize v1.0.0 2015-04-23T12:02Z Released under the MIT license + * http://git.io/TrdQbw + */ +(function( root, factory ) { + + // UMD returnExports + if ( typeof define === "function" && define.amd ) { + + // AMD + define([ + "cldr", + "../globalize", + "cldr/event", + "cldr/supplemental" + ], factory ); + } else if ( typeof exports === "object" ) { + + // Node, CommonJS + module.exports = factory( require( "cldrjs" ), require( "globalize" ) ); + } else { + + // Global + factory( root.Cldr, root.Globalize ); + } +}(this, function( Cldr, Globalize ) { + +var validateCldr = Globalize._validateCldr, + validateDefaultLocale = Globalize._validateDefaultLocale, + validateParameterPresence = Globalize._validateParameterPresence, + validateParameterType = Globalize._validateParameterType, + validateParameterTypePlainObject = Globalize._validateParameterTypePlainObject; +var MakePlural; +/* jshint ignore:start */ +MakePlural = (function() { + + +var _toArray = function (arr) { return Array.isArray(arr) ? arr : Array.from(arr); }; + +var _toConsumableArray = function (arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) arr2[i] = arr[i]; return arr2; } else { return Array.from(arr); } }; + +var _classCallCheck = function (instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }; + +var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })(); + + +/** + * make-plural.js -- https://github.com/eemeli/make-plural.js/ + * Copyright (c) 2014-2015 by Eemeli Aro + * + * Permission to use, copy, modify, and/or distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * The software is provided "as is" and the author disclaims all warranties + * with regard to this software including all implied warranties of + * merchantability and fitness. In no event shall the author be liable for + * any special, direct, indirect, or consequential damages or any damages + * whatsoever resulting from loss of use, data or profits, whether in an + * action of contract, negligence or other tortious action, arising out of + * or in connection with the use or performance of this software. + */ + +var Parser = (function () { + function Parser() { + _classCallCheck(this, Parser); + } + + _createClass(Parser, [{ + key: 'parse', + value: function parse(cond) { + var _this = this; + + if (cond === 'i = 0 or n = 1') { + return 'n >= 0 && n <= 1'; + }if (cond === 'i = 0,1') { + return 'n >= 0 && n < 2'; + }if (cond === 'i = 1 and v = 0') { + this.v0 = 1; + return 'n == 1 && v0'; + } + return cond.replace(/([tv]) (!?)= 0/g, function (m, sym, noteq) { + var sn = sym + '0'; + _this[sn] = 1; + return noteq ? '!' + sn : sn; + }).replace(/\b[fintv]\b/g, function (m) { + _this[m] = 1; + return m; + }).replace(/([fin]) % (10+)/g, function (m, sym, num) { + var sn = sym + num; + _this[sn] = 1; + return sn; + }).replace(/n10+ = 0/g, 't0 && $&').replace(/(\w+ (!?)= )([0-9.]+,[0-9.,]+)/g, function (m, se, noteq, x) { + if (m === 'n = 0,1') return '(n == 0 || n == 1)'; + if (noteq) return se + x.split(',').join(' && ' + se); + return '(' + se + x.split(',').join(' || ' + se) + ')'; + }).replace(/(\w+) (!?)= ([0-9]+)\.\.([0-9]+)/g, function (m, sym, noteq, x0, x1) { + if (Number(x0) + 1 === Number(x1)) { + if (noteq) return '' + sym + ' != ' + x0 + ' && ' + sym + ' != ' + x1; + return '(' + sym + ' == ' + x0 + ' || ' + sym + ' == ' + x1 + ')'; + } + if (noteq) return '(' + sym + ' < ' + x0 + ' || ' + sym + ' > ' + x1 + ')'; + if (sym === 'n') { + _this.t0 = 1;return '(t0 && n >= ' + x0 + ' && n <= ' + x1 + ')'; + } + return '(' + sym + ' >= ' + x0 + ' && ' + sym + ' <= ' + x1 + ')'; + }).replace(/ and /g, ' && ').replace(/ or /g, ' || ').replace(/ = /g, ' == '); + } + }, { + key: 'vars', + value: (function (_vars) { + function vars() { + return _vars.apply(this, arguments); + } + + vars.toString = function () { + return _vars.toString(); + }; + + return vars; + })(function () { + var vars = []; + if (this.i) vars.push('i = s[0]'); + if (this.f || this.v) vars.push('f = s[1] || \'\''); + if (this.t) vars.push('t = (s[1] || \'\').replace(/0+$/, \'\')'); + if (this.v) vars.push('v = f.length'); + if (this.v0) vars.push('v0 = !s[1]'); + if (this.t0 || this.n10 || this.n100) vars.push('t0 = Number(s[0]) == n'); + for (var k in this) { + if (/^.10+$/.test(k)) { + var k0 = k[0] === 'n' ? 't0 && s[0]' : k[0]; + vars.push('' + k + ' = ' + k0 + '.slice(-' + k.substr(2).length + ')'); + } + }if (!vars.length) return ''; + return 'var ' + ['s = String(n).split(\'.\')'].concat(vars).join(', '); + }) + }]); + + return Parser; +})(); + + + +var MakePlural = (function () { + function MakePlural(lc) { + var _ref = arguments[1] === undefined ? MakePlural : arguments[1]; + + var cardinals = _ref.cardinals; + var ordinals = _ref.ordinals; + + _classCallCheck(this, MakePlural); + + if (!cardinals && !ordinals) throw new Error('At least one type of plural is required'); + this.lc = lc; + this.categories = { cardinal: [], ordinal: [] }; + this.parser = new Parser(); + + this.fn = this.buildFunction(cardinals, ordinals); + this.fn._obj = this; + this.fn.categories = this.categories; + + this.fn.toString = this.fnToString.bind(this); + return this.fn; + } + + _createClass(MakePlural, [{ + key: 'compile', + value: function compile(type, req) { + var cases = []; + var rules = MakePlural.rules[type][this.lc]; + if (!rules) { + if (req) throw new Error('Locale "' + this.lc + '" ' + type + ' rules not found'); + this.categories[type] = ['other']; + return '\'other\''; + } + for (var r in rules) { + var _rules$r$trim$split = rules[r].trim().split(/\s*@\w*/); + + var _rules$r$trim$split2 = _toArray(_rules$r$trim$split); + + var cond = _rules$r$trim$split2[0]; + var examples = _rules$r$trim$split2.slice(1); + var cat = r.replace('pluralRule-count-', ''); + if (cond) cases.push([this.parser.parse(cond), cat]); + + } + this.categories[type] = cases.map(function (c) { + return c[1]; + }).concat('other'); + if (cases.length === 1) { + return '(' + cases[0][0] + ') ? \'' + cases[0][1] + '\' : \'other\''; + } else { + return [].concat(_toConsumableArray(cases.map(function (c) { + return '(' + c[0] + ') ? \'' + c[1] + '\''; + })), ['\'other\'']).join('\n : '); + } + } + }, { + key: 'buildFunction', + value: function buildFunction(cardinals, ordinals) { + var _this3 = this; + + var compile = function compile(c) { + return c ? (c[1] ? 'return ' : 'if (ord) return ') + _this3.compile.apply(_this3, _toConsumableArray(c)) : ''; + }, + fold = { vars: function vars(str) { + return (' ' + str + ';').replace(/(.{1,78})(,|$) ?/g, '$1$2\n '); + }, + cond: function cond(str) { + return (' ' + str + ';').replace(/(.{1,78}) (\|\| |$) ?/gm, '$1\n $2'); + } }, + cond = [ordinals && ['ordinal', !cardinals], cardinals && ['cardinal', true]].map(compile).map(fold.cond), + body = [fold.vars(this.parser.vars())].concat(_toConsumableArray(cond)).join('\n').replace(/\s+$/gm, '').replace(/^[\s;]*[\r\n]+/gm, ''), + args = ordinals && cardinals ? 'n, ord' : 'n'; + return new Function(args, body); + } + }, { + key: 'fnToString', + value: function fnToString(name) { + return Function.prototype.toString.call(this.fn).replace(/^function( \w+)?/, name ? 'function ' + name : 'function').replace('\n/**/', ''); + } + }], [{ + key: 'load', + value: function load() { + for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + + args.forEach(function (cldr) { + var data = cldr && cldr.supplemental || null; + if (!data) throw new Error('Data does not appear to be CLDR data'); + MakePlural.rules = { + cardinal: data['plurals-type-cardinal'] || MakePlural.rules.cardinal, + ordinal: data['plurals-type-ordinal'] || MakePlural.rules.ordinal + }; + }); + return MakePlural; + } + }]); + + return MakePlural; +})(); + + + +MakePlural.cardinals = true; +MakePlural.ordinals = false; +MakePlural.rules = { cardinal: {}, ordinal: {} }; + + +return MakePlural; +}()); +/* jshint ignore:end */ + + +var validateParameterTypeNumber = function( value, name ) { + validateParameterType( + value, + name, + value === undefined || typeof value === "number", + "Number" + ); +}; + + + + +var validateParameterTypePluralType = function( value, name ) { + validateParameterType( + value, + name, + value === undefined || value === "cardinal" || value === "ordinal", + "String \"cardinal\" or \"ordinal\"" + ); +}; + + + + +/** + * .plural( value ) + * + * @value [Number] + * + * Return the corresponding form (zero | one | two | few | many | other) of a + * value given locale. + */ +Globalize.plural = +Globalize.prototype.plural = function( value, options ) { + validateParameterPresence( value, "value" ); + validateParameterTypeNumber( value, "value" ); + return this.pluralGenerator( options )( value ); +}; + +/** + * .pluralGenerator( [options] ) + * + * Return a plural function (of the form below). + * + * fn( value ) + * + * @value [Number] + * + * Return the corresponding form (zero | one | two | few | many | other) of a value given the + * default/instance locale. + */ +Globalize.pluralGenerator = +Globalize.prototype.pluralGenerator = function( options ) { + var cldr, isOrdinal, plural, type; + + validateParameterTypePlainObject( options, "options" ); + + options = options || {}; + type = options.type || "cardinal"; + cldr = this.cldr; + + validateParameterTypePluralType( options.type, "options.type" ); + + validateDefaultLocale( cldr ); + + isOrdinal = type === "ordinal"; + + cldr.on( "get", validateCldr ); + cldr.supplemental([ "plurals-type-" + type, "{language}" ]); + cldr.off( "get", validateCldr ); + + MakePlural.rules = {}; + MakePlural.rules[ type ] = cldr.supplemental( "plurals-type-" + type ); + + plural = new MakePlural( cldr.attributes.language, { + "ordinals": isOrdinal, + "cardinals": !isOrdinal + }); + + return function( value ) { + validateParameterPresence( value, "value" ); + validateParameterTypeNumber( value, "value" ); + + return plural( value ); + }; +}; + +return Globalize; + + + + +})); diff --git a/web/Scripts/globalize/relative-time.js b/web/Scripts/globalize/relative-time.js new file mode 100644 index 00000000..2cdd47a7 --- /dev/null +++ b/web/Scripts/globalize/relative-time.js @@ -0,0 +1,187 @@ +/** + * Globalize v1.0.0 + * + * http://github.com/jquery/globalize + * + * Copyright 2010, 2014 jQuery Foundation, Inc. and other contributors + * Released under the MIT license + * http://jquery.org/license + * + * Date: 2015-04-23T12:02Z + */ +/*! + * Globalize v1.0.0 2015-04-23T12:02Z Released under the MIT license + * http://git.io/TrdQbw + */ +(function( root, factory ) { + + // UMD returnExports + if ( typeof define === "function" && define.amd ) { + + // AMD + define([ + "cldr", + "../globalize", + "./number", + "./plural", + "cldr/event", + "cldr/supplemental" + ], factory ); + } else if ( typeof exports === "object" ) { + + // Node, CommonJS + module.exports = factory( require( "cldrjs" ), require( "globalize" ) ); + } else { + + // Extend global + factory( root.Cldr, root.Globalize ); + } +}(this, function( Cldr, Globalize ) { + +var formatMessage = Globalize._formatMessage, + validateCldr = Globalize._validateCldr, + validateDefaultLocale = Globalize._validateDefaultLocale, + validateParameterPresence = Globalize._validateParameterPresence, + validateParameterTypeString = Globalize._validateParameterTypeString, + validateParameterTypeNumber = Globalize._validateParameterTypeNumber; + + +/** + * format( value, numberFormatter, pluralGenerator, properties ) + * + * @value [Number] The number to format + * + * @numberFormatter [String] A numberFormatter from Globalize.numberFormatter + * + * @pluralGenerator [String] A pluralGenerator from Globalize.pluralGenerator + * + * @properties [Object] containing relative time plural message. + * + * Format relative time. + */ +var relativeTimeFormat = function( value, numberFormatter, pluralGenerator, properties ) { + + var relativeTime, + message = properties[ "relative-type-" + value ]; + + if ( message ) { + return message; + } + + relativeTime = value <= 0 ? properties[ "relativeTime-type-past" ] + : properties[ "relativeTime-type-future" ]; + + value = Math.abs( value ); + + message = relativeTime[ "relativeTimePattern-count-" + pluralGenerator( value ) ]; + return formatMessage( message, [ numberFormatter( value ) ] ); +}; + + + + +/** + * properties( unit, cldr, options ) + * + * @unit [String] eg. "day", "week", "month", etc. + * + * @cldr [Cldr instance]. + * + * @options [Object] + * - form: [String] eg. "short" or "narrow". Or falsy for default long form. + * + * Return relative time properties. + */ +var relativeTimeProperties = function( unit, cldr, options ) { + + var form = options.form, + raw, properties, key, match; + + if ( form ) { + unit = unit + "-" + form; + } + + raw = cldr.main( [ "dates", "fields", unit ] ); + properties = { + "relativeTime-type-future": raw[ "relativeTime-type-future" ], + "relativeTime-type-past": raw[ "relativeTime-type-past" ] + }; + for ( key in raw ) { + if ( raw.hasOwnProperty( key ) ) { + match = /relative-type-(-?[0-9]+)/.exec( key ); + if ( match ) { + properties[ key ] = raw[ key ]; + } + } + } + + return properties; +}; + + + + +/** + * .formatRelativeTime( value, unit [, options] ) + * + * @value [Number] The number of unit to format. + * + * @unit [String] see .relativeTimeFormatter() for details. + * + * @options [Object] see .relativeTimeFormatter() for details. + * + * Formats a relative time according to the given unit, options, and the default/instance locale. + */ +Globalize.formatRelativeTime = +Globalize.prototype.formatRelativeTime = function( value, unit, options ) { + + validateParameterPresence( value, "value" ); + validateParameterTypeNumber( value, "value" ); + + return this.relativeTimeFormatter( unit, options )( value ); +}; + +/** + * .relativeTimeFormatter( unit [, options ]) + * + * @unit [String] String value indicating the unit to be formatted. eg. "day", "week", "month", etc. + * + * @options [Object] + * - form: [String] eg. "short" or "narrow". Or falsy for default long form. + * + * Returns a function that formats a relative time according to the given unit, options, and the + * default/instance locale. + */ +Globalize.relativeTimeFormatter = +Globalize.prototype.relativeTimeFormatter = function( unit, options ) { + var cldr, numberFormatter, pluralGenerator, properties; + + validateParameterPresence( unit, "unit" ); + validateParameterTypeString( unit, "unit" ); + + cldr = this.cldr; + options = options || {}; + + validateDefaultLocale( cldr ); + + cldr.on( "get", validateCldr ); + properties = relativeTimeProperties( unit, cldr, options ); + cldr.off( "get", validateCldr ); + + numberFormatter = this.numberFormatter( options ); + pluralGenerator = this.pluralGenerator(); + + return function( value ) { + validateParameterPresence( value, "value" ); + validateParameterTypeNumber( value, "value" ); + + return relativeTimeFormat( value, numberFormatter, pluralGenerator, properties ); + }; +}; + +return Globalize; + + + + +})); diff --git a/web/Scripts/html/mdd_help.htm b/web/Scripts/html/mdd_help.htm new file mode 100644 index 00000000..4ee7a56f --- /dev/null +++ b/web/Scripts/html/mdd_help.htm @@ -0,0 +1,166 @@ +

    Markdown Formatting

    +

    Markdown turns plain text formatting into fancy HTML formatting.

    +

    Phrase Emphasis

    +
    *italic*   **bold**
    +_italic_   __bold__
    +
    + +

    Links

    +

    Inline:

    +
    An [example](http://url.com/ "Title")
    +
    + +

    Reference-style labels (titles are optional):

    +
    An [example][id]. Then, anywhere
    +else in the doc, define the link:
    +
    +  [id]: http://example.com/  "Title"
    +
    + +

    Images

    +

    Inline (titles are optional):

    +
    ![alt text](/path/img.jpg "Title")
    +
    + +

    Reference-style:

    +
    ![alt text][id]
    +
    +[id]: /url/to/img.jpg "Title"
    +
    + +

    Headers

    +

    Setext-style:

    +
    Header 1
    +========
    +
    +Header 2
    +--------
    +
    + +

    atx-style (closing #'s are optional):

    +
    # Header 1 #
    +
    +## Header 2 ##
    +
    +###### Header 6
    +
    + +

    Lists

    +

    Ordered, without paragraphs:

    +
    1.  Foo
    +2.  Bar
    +
    + +

    Unordered, with paragraphs:

    +
    *   A list item.
    +
    +    With multiple paragraphs.
    +
    +*   Bar
    +
    + +

    You can nest them:

    +
    *   Abacus
    +    * answer
    +*   Bubbles
    +    1.  bunk
    +    2.  bupkis
    +        * BELITTLER
    +    3. burper
    +*   Cunning
    +
    + +

    Blockquotes

    +
    > Email-style angle brackets
    +> are used for blockquotes.
    +
    +> > And, they can be nested.
    +
    +> #### Headers in blockquotes
    +> 
    +> * You can quote a list.
    +> * Etc.
    +
    + +

    Code Spans

    +
    `<code>` spans are delimited
    +by backticks.
    +
    +You can include literal backticks
    +like `` `this` ``.
    +
    + +

    Preformatted Code Blocks

    +

    Indent every line of a code block by at least 4 spaces or 1 tab.

    +
    This is a normal paragraph.
    +
    +    This is a preformatted
    +    code block.
    +
    + +

    Horizontal Rules

    +

    Three or more dashes or asterisks:

    +
    ---
    +
    +* * *
    +
    +- - - - 
    +
    + +

    Manual Line Breaks

    +

    End a line with two or more spaces:

    +
    Roses are red,   
    +Violets are blue.
    +
    + +

    Extra Mode

    + +These formatting features are only available when Extra Mode is enabled. + +

    Markdown In Html

    +

    Enable markdown in HTML block level elements:

    +
    <div markdown="1">
    +Markdown **still** works.
    +</div>
    +
    + +

    Fenced Code Blocks

    +

    Code blocks delimited by 3 or more tildas:

    +
    ~~~
    +This is a preformatted
    +code block
    +~~~
    +
    + +

    Header IDs

    +

    Set the id of headings with {#<id>} at end of heading line:

    +
    ## My Heading {#myheading}
    +
    + +

    Tables

    + +
    Fruit    |Color
    +---------|----------
    +Apples   |Red
    +Pears	 |Green
    +Bananas  |Yellow
    +

    Definition Lists

    +
    Term 1
    +: Definition 1
    +
    +Term 2
    +: Definition 2
    + +

    Footnotes

    +
    Body text with a footnote [^1]
    +
    +[^1]: Footnote text here
    +
    + +

    Abbreviations

    +
    MDD <- will have title
    +
    +*[MDD]: MarkdownDeep
    +
    +

     

    + diff --git a/web/Scripts/jquery-2.1.3.min.js b/web/Scripts/jquery-2.1.3.min.js deleted file mode 100644 index 25714ed2..00000000 --- a/web/Scripts/jquery-2.1.3.min.js +++ /dev/null @@ -1,4 +0,0 @@ -/*! jQuery v2.1.3 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ -!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k={},l=a.document,m="2.1.3",n=function(a,b){return new n.fn.init(a,b)},o=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,p=/^-ms-/,q=/-([\da-z])/gi,r=function(a,b){return b.toUpperCase()};n.fn=n.prototype={jquery:m,constructor:n,selector:"",length:0,toArray:function(){return d.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var b=n.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a,b){return n.each(this,a,b)},map:function(a){return this.pushStack(n.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:c.sort,splice:c.splice},n.extend=n.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||n.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(a=arguments[h]))for(b in a)c=g[b],d=a[b],g!==d&&(j&&d&&(n.isPlainObject(d)||(e=n.isArray(d)))?(e?(e=!1,f=c&&n.isArray(c)?c:[]):f=c&&n.isPlainObject(c)?c:{},g[b]=n.extend(j,f,d)):void 0!==d&&(g[b]=d));return g},n.extend({expando:"jQuery"+(m+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===n.type(a)},isArray:Array.isArray,isWindow:function(a){return null!=a&&a===a.window},isNumeric:function(a){return!n.isArray(a)&&a-parseFloat(a)+1>=0},isPlainObject:function(a){return"object"!==n.type(a)||a.nodeType||n.isWindow(a)?!1:a.constructor&&!j.call(a.constructor.prototype,"isPrototypeOf")?!1:!0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?h[i.call(a)]||"object":typeof a},globalEval:function(a){var b,c=eval;a=n.trim(a),a&&(1===a.indexOf("use strict")?(b=l.createElement("script"),b.text=a,l.head.appendChild(b).parentNode.removeChild(b)):c(a))},camelCase:function(a){return a.replace(p,"ms-").replace(q,r)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,c){var d,e=0,f=a.length,g=s(a);if(c){if(g){for(;f>e;e++)if(d=b.apply(a[e],c),d===!1)break}else for(e in a)if(d=b.apply(a[e],c),d===!1)break}else if(g){for(;f>e;e++)if(d=b.call(a[e],e,a[e]),d===!1)break}else for(e in a)if(d=b.call(a[e],e,a[e]),d===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(o,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(s(Object(a))?n.merge(c,"string"==typeof a?[a]:a):f.call(c,a)),c},inArray:function(a,b,c){return null==b?-1:g.call(b,a,c)},merge:function(a,b){for(var c=+b.length,d=0,e=a.length;c>d;d++)a[e++]=b[d];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,f=0,g=a.length,h=s(a),i=[];if(h)for(;g>f;f++)d=b(a[f],f,c),null!=d&&i.push(d);else for(f in a)d=b(a[f],f,c),null!=d&&i.push(d);return e.apply([],i)},guid:1,proxy:function(a,b){var c,e,f;return"string"==typeof b&&(c=a[b],b=a,a=c),n.isFunction(a)?(e=d.call(arguments,2),f=function(){return a.apply(b||this,e.concat(d.call(arguments)))},f.guid=a.guid=a.guid||n.guid++,f):void 0},now:Date.now,support:k}),n.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(a,b){h["[object "+b+"]"]=b.toLowerCase()});function s(a){var b=a.length,c=n.type(a);return"function"===c||n.isWindow(a)?!1:1===a.nodeType&&b?!0:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}var t=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+1*new Date,v=a.document,w=0,x=0,y=hb(),z=hb(),A=hb(),B=function(a,b){return a===b&&(l=!0),0},C=1<<31,D={}.hasOwnProperty,E=[],F=E.pop,G=E.push,H=E.push,I=E.slice,J=function(a,b){for(var c=0,d=a.length;d>c;c++)if(a[c]===b)return c;return-1},K="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",L="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",N=M.replace("w","w#"),O="\\["+L+"*("+M+")(?:"+L+"*([*^$|!~]?=)"+L+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+N+"))|)"+L+"*\\]",P=":("+M+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+O+")*)|.*)\\)|)",Q=new RegExp(L+"+","g"),R=new RegExp("^"+L+"+|((?:^|[^\\\\])(?:\\\\.)*)"+L+"+$","g"),S=new RegExp("^"+L+"*,"+L+"*"),T=new RegExp("^"+L+"*([>+~]|"+L+")"+L+"*"),U=new RegExp("="+L+"*([^\\]'\"]*?)"+L+"*\\]","g"),V=new RegExp(P),W=new RegExp("^"+N+"$"),X={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),TAG:new RegExp("^("+M.replace("w","w*")+")"),ATTR:new RegExp("^"+O),PSEUDO:new RegExp("^"+P),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+L+"*(even|odd|(([+-]|)(\\d*)n|)"+L+"*(?:([+-]|)"+L+"*(\\d+)|))"+L+"*\\)|)","i"),bool:new RegExp("^(?:"+K+")$","i"),needsContext:new RegExp("^"+L+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+L+"*((?:-\\d)?\\d*)"+L+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,$=/^[^{]+\{\s*\[native \w/,_=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ab=/[+~]/,bb=/'|\\/g,cb=new RegExp("\\\\([\\da-f]{1,6}"+L+"?|("+L+")|.)","ig"),db=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},eb=function(){m()};try{H.apply(E=I.call(v.childNodes),v.childNodes),E[v.childNodes.length].nodeType}catch(fb){H={apply:E.length?function(a,b){G.apply(a,I.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function gb(a,b,d,e){var f,h,j,k,l,o,r,s,w,x;if((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,d=d||[],k=b.nodeType,"string"!=typeof a||!a||1!==k&&9!==k&&11!==k)return d;if(!e&&p){if(11!==k&&(f=_.exec(a)))if(j=f[1]){if(9===k){if(h=b.getElementById(j),!h||!h.parentNode)return d;if(h.id===j)return d.push(h),d}else if(b.ownerDocument&&(h=b.ownerDocument.getElementById(j))&&t(b,h)&&h.id===j)return d.push(h),d}else{if(f[2])return H.apply(d,b.getElementsByTagName(a)),d;if((j=f[3])&&c.getElementsByClassName)return H.apply(d,b.getElementsByClassName(j)),d}if(c.qsa&&(!q||!q.test(a))){if(s=r=u,w=b,x=1!==k&&a,1===k&&"object"!==b.nodeName.toLowerCase()){o=g(a),(r=b.getAttribute("id"))?s=r.replace(bb,"\\$&"):b.setAttribute("id",s),s="[id='"+s+"'] ",l=o.length;while(l--)o[l]=s+rb(o[l]);w=ab.test(a)&&pb(b.parentNode)||b,x=o.join(",")}if(x)try{return H.apply(d,w.querySelectorAll(x)),d}catch(y){}finally{r||b.removeAttribute("id")}}}return i(a.replace(R,"$1"),b,d,e)}function hb(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function ib(a){return a[u]=!0,a}function jb(a){var b=n.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function kb(a,b){var c=a.split("|"),e=a.length;while(e--)d.attrHandle[c[e]]=b}function lb(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||C)-(~a.sourceIndex||C);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function mb(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function nb(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function ob(a){return ib(function(b){return b=+b,ib(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function pb(a){return a&&"undefined"!=typeof a.getElementsByTagName&&a}c=gb.support={},f=gb.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},m=gb.setDocument=function(a){var b,e,g=a?a.ownerDocument||a:v;return g!==n&&9===g.nodeType&&g.documentElement?(n=g,o=g.documentElement,e=g.defaultView,e&&e!==e.top&&(e.addEventListener?e.addEventListener("unload",eb,!1):e.attachEvent&&e.attachEvent("onunload",eb)),p=!f(g),c.attributes=jb(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=jb(function(a){return a.appendChild(g.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=$.test(g.getElementsByClassName),c.getById=jb(function(a){return o.appendChild(a).id=u,!g.getElementsByName||!g.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&p){var c=b.getElementById(a);return c&&c.parentNode?[c]:[]}},d.filter.ID=function(a){var b=a.replace(cb,db);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(cb,db);return function(a){var c="undefined"!=typeof a.getAttributeNode&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return"undefined"!=typeof b.getElementsByTagName?b.getElementsByTagName(a):c.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=$.test(g.querySelectorAll))&&(jb(function(a){o.appendChild(a).innerHTML="",a.querySelectorAll("[msallowcapture^='']").length&&q.push("[*^$]="+L+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+L+"*(?:value|"+K+")"),a.querySelectorAll("[id~="+u+"-]").length||q.push("~="),a.querySelectorAll(":checked").length||q.push(":checked"),a.querySelectorAll("a#"+u+"+*").length||q.push(".#.+[+~]")}),jb(function(a){var b=g.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+L+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=$.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&jb(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",P)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=$.test(o.compareDocumentPosition),t=b||$.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===g||a.ownerDocument===v&&t(v,a)?-1:b===g||b.ownerDocument===v&&t(v,b)?1:k?J(k,a)-J(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,e=a.parentNode,f=b.parentNode,h=[a],i=[b];if(!e||!f)return a===g?-1:b===g?1:e?-1:f?1:k?J(k,a)-J(k,b):0;if(e===f)return lb(a,b);c=a;while(c=c.parentNode)h.unshift(c);c=b;while(c=c.parentNode)i.unshift(c);while(h[d]===i[d])d++;return d?lb(h[d],i[d]):h[d]===v?-1:i[d]===v?1:0},g):n},gb.matches=function(a,b){return gb(a,null,null,b)},gb.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(U,"='$1']"),!(!c.matchesSelector||!p||r&&r.test(b)||q&&q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return gb(b,n,null,[a]).length>0},gb.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},gb.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&D.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},gb.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},gb.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=gb.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=gb.selectors={cacheLength:50,createPseudo:ib,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(cb,db),a[3]=(a[3]||a[4]||a[5]||"").replace(cb,db),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||gb.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&gb.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return X.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&V.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(cb,db).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+L+")"+a+"("+L+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||"undefined"!=typeof a.getAttribute&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=gb.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e.replace(Q," ")+" ").indexOf(c)>-1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h;if(q){if(f){while(p){l=b;while(l=l[p])if(h?l.nodeName.toLowerCase()===r:1===l.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){k=q[u]||(q[u]={}),j=k[a]||[],n=j[0]===w&&j[1],m=j[0]===w&&j[2],l=n&&q.childNodes[n];while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if(1===l.nodeType&&++m&&l===b){k[a]=[w,n,m];break}}else if(s&&(j=(b[u]||(b[u]={}))[a])&&j[0]===w)m=j[1];else while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if((h?l.nodeName.toLowerCase()===r:1===l.nodeType)&&++m&&(s&&((l[u]||(l[u]={}))[a]=[w,m]),l===b))break;return m-=e,m===d||m%d===0&&m/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||gb.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?ib(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=J(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:ib(function(a){var b=[],c=[],d=h(a.replace(R,"$1"));return d[u]?ib(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),b[0]=null,!c.pop()}}),has:ib(function(a){return function(b){return gb(a,b).length>0}}),contains:ib(function(a){return a=a.replace(cb,db),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ib(function(a){return W.test(a||"")||gb.error("unsupported lang: "+a),a=a.replace(cb,db).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Z.test(a.nodeName)},input:function(a){return Y.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:ob(function(){return[0]}),last:ob(function(a,b){return[b-1]}),eq:ob(function(a,b,c){return[0>c?c+b:c]}),even:ob(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:ob(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:ob(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:ob(function(a,b,c){for(var d=0>c?c+b:c;++db;b++)d+=a[b].value;return d}function sb(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=x++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j=[w,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(i=b[u]||(b[u]={}),(h=i[d])&&h[0]===w&&h[1]===f)return j[2]=h[2];if(i[d]=j,j[2]=a(b,c,g))return!0}}}function tb(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function ub(a,b,c){for(var d=0,e=b.length;e>d;d++)gb(a,b[d],c);return c}function vb(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(!c||c(f,d,e))&&(g.push(f),j&&b.push(h));return g}function wb(a,b,c,d,e,f){return d&&!d[u]&&(d=wb(d)),e&&!e[u]&&(e=wb(e,f)),ib(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||ub(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:vb(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=vb(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?J(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=vb(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):H.apply(g,r)})}function xb(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=sb(function(a){return a===b},h,!0),l=sb(function(a){return J(b,a)>-1},h,!0),m=[function(a,c,d){var e=!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d));return b=null,e}];f>i;i++)if(c=d.relative[a[i].type])m=[sb(tb(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;f>e;e++)if(d.relative[a[e].type])break;return wb(i>1&&tb(m),i>1&&rb(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(R,"$1"),c,e>i&&xb(a.slice(i,e)),f>e&&xb(a=a.slice(e)),f>e&&rb(a))}m.push(c)}return tb(m)}function yb(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,m,o,p=0,q="0",r=f&&[],s=[],t=j,u=f||e&&d.find.TAG("*",k),v=w+=null==t?1:Math.random()||.1,x=u.length;for(k&&(j=g!==n&&g);q!==x&&null!=(l=u[q]);q++){if(e&&l){m=0;while(o=a[m++])if(o(l,g,h)){i.push(l);break}k&&(w=v)}c&&((l=!o&&l)&&p--,f&&r.push(l))}if(p+=q,c&&q!==p){m=0;while(o=b[m++])o(r,s,g,h);if(f){if(p>0)while(q--)r[q]||s[q]||(s[q]=F.call(i));s=vb(s)}H.apply(i,s),k&&!f&&s.length>0&&p+b.length>1&&gb.uniqueSort(i)}return k&&(w=v,j=t),r};return c?ib(f):f}return h=gb.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=xb(b[c]),f[u]?d.push(f):e.push(f);f=A(a,yb(e,d)),f.selector=a}return f},i=gb.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(cb,db),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=X.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(cb,db),ab.test(j[0].type)&&pb(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&rb(j),!a)return H.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,ab.test(a)&&pb(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=jb(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),jb(function(a){return a.innerHTML="","#"===a.firstChild.getAttribute("href")})||kb("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&jb(function(a){return a.innerHTML="",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||kb("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),jb(function(a){return null==a.getAttribute("disabled")})||kb(K,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),gb}(a);n.find=t,n.expr=t.selectors,n.expr[":"]=n.expr.pseudos,n.unique=t.uniqueSort,n.text=t.getText,n.isXMLDoc=t.isXML,n.contains=t.contains;var u=n.expr.match.needsContext,v=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,w=/^.[^:#\[\.,]*$/;function x(a,b,c){if(n.isFunction(b))return n.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return n.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(w.test(b))return n.filter(b,a,c);b=n.filter(b,a)}return n.grep(a,function(a){return g.call(b,a)>=0!==c})}n.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?n.find.matchesSelector(d,a)?[d]:[]:n.find.matches(a,n.grep(b,function(a){return 1===a.nodeType}))},n.fn.extend({find:function(a){var b,c=this.length,d=[],e=this;if("string"!=typeof a)return this.pushStack(n(a).filter(function(){for(b=0;c>b;b++)if(n.contains(e[b],this))return!0}));for(b=0;c>b;b++)n.find(a,e[b],d);return d=this.pushStack(c>1?n.unique(d):d),d.selector=this.selector?this.selector+" "+a:a,d},filter:function(a){return this.pushStack(x(this,a||[],!1))},not:function(a){return this.pushStack(x(this,a||[],!0))},is:function(a){return!!x(this,"string"==typeof a&&u.test(a)?n(a):a||[],!1).length}});var y,z=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,A=n.fn.init=function(a,b){var c,d;if(!a)return this;if("string"==typeof a){if(c="<"===a[0]&&">"===a[a.length-1]&&a.length>=3?[null,a,null]:z.exec(a),!c||!c[1]&&b)return!b||b.jquery?(b||y).find(a):this.constructor(b).find(a);if(c[1]){if(b=b instanceof n?b[0]:b,n.merge(this,n.parseHTML(c[1],b&&b.nodeType?b.ownerDocument||b:l,!0)),v.test(c[1])&&n.isPlainObject(b))for(c in b)n.isFunction(this[c])?this[c](b[c]):this.attr(c,b[c]);return this}return d=l.getElementById(c[2]),d&&d.parentNode&&(this.length=1,this[0]=d),this.context=l,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):n.isFunction(a)?"undefined"!=typeof y.ready?y.ready(a):a(n):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),n.makeArray(a,this))};A.prototype=n.fn,y=n(l);var B=/^(?:parents|prev(?:Until|All))/,C={children:!0,contents:!0,next:!0,prev:!0};n.extend({dir:function(a,b,c){var d=[],e=void 0!==c;while((a=a[b])&&9!==a.nodeType)if(1===a.nodeType){if(e&&n(a).is(c))break;d.push(a)}return d},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c}}),n.fn.extend({has:function(a){var b=n(a,this),c=b.length;return this.filter(function(){for(var a=0;c>a;a++)if(n.contains(this,b[a]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=u.test(a)||"string"!=typeof a?n(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&n.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?n.unique(f):f)},index:function(a){return a?"string"==typeof a?g.call(n(a),this[0]):g.call(this,a.jquery?a[0]:a):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(n.unique(n.merge(this.get(),n(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function D(a,b){while((a=a[b])&&1!==a.nodeType);return a}n.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return n.dir(a,"parentNode")},parentsUntil:function(a,b,c){return n.dir(a,"parentNode",c)},next:function(a){return D(a,"nextSibling")},prev:function(a){return D(a,"previousSibling")},nextAll:function(a){return n.dir(a,"nextSibling")},prevAll:function(a){return n.dir(a,"previousSibling")},nextUntil:function(a,b,c){return n.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return n.dir(a,"previousSibling",c)},siblings:function(a){return n.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return n.sibling(a.firstChild)},contents:function(a){return a.contentDocument||n.merge([],a.childNodes)}},function(a,b){n.fn[a]=function(c,d){var e=n.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=n.filter(d,e)),this.length>1&&(C[a]||n.unique(e),B.test(a)&&e.reverse()),this.pushStack(e)}});var E=/\S+/g,F={};function G(a){var b=F[a]={};return n.each(a.match(E)||[],function(a,c){b[c]=!0}),b}n.Callbacks=function(a){a="string"==typeof a?F[a]||G(a):n.extend({},a);var b,c,d,e,f,g,h=[],i=!a.once&&[],j=function(l){for(b=a.memory&&l,c=!0,g=e||0,e=0,f=h.length,d=!0;h&&f>g;g++)if(h[g].apply(l[0],l[1])===!1&&a.stopOnFalse){b=!1;break}d=!1,h&&(i?i.length&&j(i.shift()):b?h=[]:k.disable())},k={add:function(){if(h){var c=h.length;!function g(b){n.each(b,function(b,c){var d=n.type(c);"function"===d?a.unique&&k.has(c)||h.push(c):c&&c.length&&"string"!==d&&g(c)})}(arguments),d?f=h.length:b&&(e=c,j(b))}return this},remove:function(){return h&&n.each(arguments,function(a,b){var c;while((c=n.inArray(b,h,c))>-1)h.splice(c,1),d&&(f>=c&&f--,g>=c&&g--)}),this},has:function(a){return a?n.inArray(a,h)>-1:!(!h||!h.length)},empty:function(){return h=[],f=0,this},disable:function(){return h=i=b=void 0,this},disabled:function(){return!h},lock:function(){return i=void 0,b||k.disable(),this},locked:function(){return!i},fireWith:function(a,b){return!h||c&&!i||(b=b||[],b=[a,b.slice?b.slice():b],d?i.push(b):j(b)),this},fire:function(){return k.fireWith(this,arguments),this},fired:function(){return!!c}};return k},n.extend({Deferred:function(a){var b=[["resolve","done",n.Callbacks("once memory"),"resolved"],["reject","fail",n.Callbacks("once memory"),"rejected"],["notify","progress",n.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return n.Deferred(function(c){n.each(b,function(b,f){var g=n.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&n.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?n.extend(a,d):d}},e={};return d.pipe=d.then,n.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=d.call(arguments),e=c.length,f=1!==e||a&&n.isFunction(a.promise)?e:0,g=1===f?a:n.Deferred(),h=function(a,b,c){return function(e){b[a]=this,c[a]=arguments.length>1?d.call(arguments):e,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(e>1)for(i=new Array(e),j=new Array(e),k=new Array(e);e>b;b++)c[b]&&n.isFunction(c[b].promise)?c[b].promise().done(h(b,k,c)).fail(g.reject).progress(h(b,j,i)):--f;return f||g.resolveWith(k,c),g.promise()}});var H;n.fn.ready=function(a){return n.ready.promise().done(a),this},n.extend({isReady:!1,readyWait:1,holdReady:function(a){a?n.readyWait++:n.ready(!0)},ready:function(a){(a===!0?--n.readyWait:n.isReady)||(n.isReady=!0,a!==!0&&--n.readyWait>0||(H.resolveWith(l,[n]),n.fn.triggerHandler&&(n(l).triggerHandler("ready"),n(l).off("ready"))))}});function I(){l.removeEventListener("DOMContentLoaded",I,!1),a.removeEventListener("load",I,!1),n.ready()}n.ready.promise=function(b){return H||(H=n.Deferred(),"complete"===l.readyState?setTimeout(n.ready):(l.addEventListener("DOMContentLoaded",I,!1),a.addEventListener("load",I,!1))),H.promise(b)},n.ready.promise();var J=n.access=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===n.type(c)){e=!0;for(h in c)n.access(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,n.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(n(a),c)})),b))for(;i>h;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f};n.acceptData=function(a){return 1===a.nodeType||9===a.nodeType||!+a.nodeType};function K(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=n.expando+K.uid++}K.uid=1,K.accepts=n.acceptData,K.prototype={key:function(a){if(!K.accepts(a))return 0;var b={},c=a[this.expando];if(!c){c=K.uid++;try{b[this.expando]={value:c},Object.defineProperties(a,b)}catch(d){b[this.expando]=c,n.extend(a,b)}}return this.cache[c]||(this.cache[c]={}),c},set:function(a,b,c){var d,e=this.key(a),f=this.cache[e];if("string"==typeof b)f[b]=c;else if(n.isEmptyObject(f))n.extend(this.cache[e],b);else for(d in b)f[d]=b[d];return f},get:function(a,b){var c=this.cache[this.key(a)];return void 0===b?c:c[b]},access:function(a,b,c){var d;return void 0===b||b&&"string"==typeof b&&void 0===c?(d=this.get(a,b),void 0!==d?d:this.get(a,n.camelCase(b))):(this.set(a,b,c),void 0!==c?c:b)},remove:function(a,b){var c,d,e,f=this.key(a),g=this.cache[f];if(void 0===b)this.cache[f]={};else{n.isArray(b)?d=b.concat(b.map(n.camelCase)):(e=n.camelCase(b),b in g?d=[b,e]:(d=e,d=d in g?[d]:d.match(E)||[])),c=d.length;while(c--)delete g[d[c]]}},hasData:function(a){return!n.isEmptyObject(this.cache[a[this.expando]]||{})},discard:function(a){a[this.expando]&&delete this.cache[a[this.expando]]}};var L=new K,M=new K,N=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,O=/([A-Z])/g;function P(a,b,c){var d;if(void 0===c&&1===a.nodeType)if(d="data-"+b.replace(O,"-$1").toLowerCase(),c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:N.test(c)?n.parseJSON(c):c}catch(e){}M.set(a,b,c)}else c=void 0;return c}n.extend({hasData:function(a){return M.hasData(a)||L.hasData(a)},data:function(a,b,c){return M.access(a,b,c) -},removeData:function(a,b){M.remove(a,b)},_data:function(a,b,c){return L.access(a,b,c)},_removeData:function(a,b){L.remove(a,b)}}),n.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=M.get(f),1===f.nodeType&&!L.get(f,"hasDataAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=n.camelCase(d.slice(5)),P(f,d,e[d])));L.set(f,"hasDataAttrs",!0)}return e}return"object"==typeof a?this.each(function(){M.set(this,a)}):J(this,function(b){var c,d=n.camelCase(a);if(f&&void 0===b){if(c=M.get(f,a),void 0!==c)return c;if(c=M.get(f,d),void 0!==c)return c;if(c=P(f,d,void 0),void 0!==c)return c}else this.each(function(){var c=M.get(this,d);M.set(this,d,b),-1!==a.indexOf("-")&&void 0!==c&&M.set(this,a,b)})},null,b,arguments.length>1,null,!0)},removeData:function(a){return this.each(function(){M.remove(this,a)})}}),n.extend({queue:function(a,b,c){var d;return a?(b=(b||"fx")+"queue",d=L.get(a,b),c&&(!d||n.isArray(c)?d=L.access(a,b,n.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||"fx";var c=n.queue(a,b),d=c.length,e=c.shift(),f=n._queueHooks(a,b),g=function(){n.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return L.get(a,c)||L.access(a,c,{empty:n.Callbacks("once memory").add(function(){L.remove(a,[b+"queue",c])})})}}),n.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.lengthx",k.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue}();var U="undefined";k.focusinBubbles="onfocusin"in a;var V=/^key/,W=/^(?:mouse|pointer|contextmenu)|click/,X=/^(?:focusinfocus|focusoutblur)$/,Y=/^([^.]*)(?:\.(.+)|)$/;function Z(){return!0}function $(){return!1}function _(){try{return l.activeElement}catch(a){}}n.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=L.get(a);if(r){c.handler&&(f=c,c=f.handler,e=f.selector),c.guid||(c.guid=n.guid++),(i=r.events)||(i=r.events={}),(g=r.handle)||(g=r.handle=function(b){return typeof n!==U&&n.event.triggered!==b.type?n.event.dispatch.apply(a,arguments):void 0}),b=(b||"").match(E)||[""],j=b.length;while(j--)h=Y.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o&&(l=n.event.special[o]||{},o=(e?l.delegateType:l.bindType)||o,l=n.event.special[o]||{},k=n.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&n.expr.match.needsContext.test(e),namespace:p.join(".")},f),(m=i[o])||(m=i[o]=[],m.delegateCount=0,l.setup&&l.setup.call(a,d,p,g)!==!1||a.addEventListener&&a.addEventListener(o,g,!1)),l.add&&(l.add.call(a,k),k.handler.guid||(k.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,k):m.push(k),n.event.global[o]=!0)}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=L.hasData(a)&&L.get(a);if(r&&(i=r.events)){b=(b||"").match(E)||[""],j=b.length;while(j--)if(h=Y.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=n.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,m=i[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),g=f=m.length;while(f--)k=m[f],!e&&q!==k.origType||c&&c.guid!==k.guid||h&&!h.test(k.namespace)||d&&d!==k.selector&&("**"!==d||!k.selector)||(m.splice(f,1),k.selector&&m.delegateCount--,l.remove&&l.remove.call(a,k));g&&!m.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||n.removeEvent(a,o,r.handle),delete i[o])}else for(o in i)n.event.remove(a,o+b[j],c,d,!0);n.isEmptyObject(i)&&(delete r.handle,L.remove(a,"events"))}},trigger:function(b,c,d,e){var f,g,h,i,k,m,o,p=[d||l],q=j.call(b,"type")?b.type:b,r=j.call(b,"namespace")?b.namespace.split("."):[];if(g=h=d=d||l,3!==d.nodeType&&8!==d.nodeType&&!X.test(q+n.event.triggered)&&(q.indexOf(".")>=0&&(r=q.split("."),q=r.shift(),r.sort()),k=q.indexOf(":")<0&&"on"+q,b=b[n.expando]?b:new n.Event(q,"object"==typeof b&&b),b.isTrigger=e?2:3,b.namespace=r.join("."),b.namespace_re=b.namespace?new RegExp("(^|\\.)"+r.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=d),c=null==c?[b]:n.makeArray(c,[b]),o=n.event.special[q]||{},e||!o.trigger||o.trigger.apply(d,c)!==!1)){if(!e&&!o.noBubble&&!n.isWindow(d)){for(i=o.delegateType||q,X.test(i+q)||(g=g.parentNode);g;g=g.parentNode)p.push(g),h=g;h===(d.ownerDocument||l)&&p.push(h.defaultView||h.parentWindow||a)}f=0;while((g=p[f++])&&!b.isPropagationStopped())b.type=f>1?i:o.bindType||q,m=(L.get(g,"events")||{})[b.type]&&L.get(g,"handle"),m&&m.apply(g,c),m=k&&g[k],m&&m.apply&&n.acceptData(g)&&(b.result=m.apply(g,c),b.result===!1&&b.preventDefault());return b.type=q,e||b.isDefaultPrevented()||o._default&&o._default.apply(p.pop(),c)!==!1||!n.acceptData(d)||k&&n.isFunction(d[q])&&!n.isWindow(d)&&(h=d[k],h&&(d[k]=null),n.event.triggered=q,d[q](),n.event.triggered=void 0,h&&(d[k]=h)),b.result}},dispatch:function(a){a=n.event.fix(a);var b,c,e,f,g,h=[],i=d.call(arguments),j=(L.get(this,"events")||{})[a.type]||[],k=n.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=n.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,c=0;while((g=f.handlers[c++])&&!a.isImmediatePropagationStopped())(!a.namespace_re||a.namespace_re.test(g.namespace))&&(a.handleObj=g,a.data=g.data,e=((n.event.special[g.origType]||{}).handle||g.handler).apply(f.elem,i),void 0!==e&&(a.result=e)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&(!a.button||"click"!==a.type))for(;i!==this;i=i.parentNode||this)if(i.disabled!==!0||"click"!==a.type){for(d=[],c=0;h>c;c++)f=b[c],e=f.selector+" ",void 0===d[e]&&(d[e]=f.needsContext?n(e,this).index(i)>=0:n.find(e,this,null,[i]).length),d[e]&&d.push(f);d.length&&g.push({elem:i,handlers:d})}return h]*)\/>/gi,bb=/<([\w:]+)/,cb=/<|&#?\w+;/,db=/<(?:script|style|link)/i,eb=/checked\s*(?:[^=]|=\s*.checked.)/i,fb=/^$|\/(?:java|ecma)script/i,gb=/^true\/(.*)/,hb=/^\s*\s*$/g,ib={option:[1,""],thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};ib.optgroup=ib.option,ib.tbody=ib.tfoot=ib.colgroup=ib.caption=ib.thead,ib.th=ib.td;function jb(a,b){return n.nodeName(a,"table")&&n.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function kb(a){return a.type=(null!==a.getAttribute("type"))+"/"+a.type,a}function lb(a){var b=gb.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function mb(a,b){for(var c=0,d=a.length;d>c;c++)L.set(a[c],"globalEval",!b||L.get(b[c],"globalEval"))}function nb(a,b){var c,d,e,f,g,h,i,j;if(1===b.nodeType){if(L.hasData(a)&&(f=L.access(a),g=L.set(b,f),j=f.events)){delete g.handle,g.events={};for(e in j)for(c=0,d=j[e].length;d>c;c++)n.event.add(b,e,j[e][c])}M.hasData(a)&&(h=M.access(a),i=n.extend({},h),M.set(b,i))}}function ob(a,b){var c=a.getElementsByTagName?a.getElementsByTagName(b||"*"):a.querySelectorAll?a.querySelectorAll(b||"*"):[];return void 0===b||b&&n.nodeName(a,b)?n.merge([a],c):c}function pb(a,b){var c=b.nodeName.toLowerCase();"input"===c&&T.test(a.type)?b.checked=a.checked:("input"===c||"textarea"===c)&&(b.defaultValue=a.defaultValue)}n.extend({clone:function(a,b,c){var d,e,f,g,h=a.cloneNode(!0),i=n.contains(a.ownerDocument,a);if(!(k.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||n.isXMLDoc(a)))for(g=ob(h),f=ob(a),d=0,e=f.length;e>d;d++)pb(f[d],g[d]);if(b)if(c)for(f=f||ob(a),g=g||ob(h),d=0,e=f.length;e>d;d++)nb(f[d],g[d]);else nb(a,h);return g=ob(h,"script"),g.length>0&&mb(g,!i&&ob(a,"script")),h},buildFragment:function(a,b,c,d){for(var e,f,g,h,i,j,k=b.createDocumentFragment(),l=[],m=0,o=a.length;o>m;m++)if(e=a[m],e||0===e)if("object"===n.type(e))n.merge(l,e.nodeType?[e]:e);else if(cb.test(e)){f=f||k.appendChild(b.createElement("div")),g=(bb.exec(e)||["",""])[1].toLowerCase(),h=ib[g]||ib._default,f.innerHTML=h[1]+e.replace(ab,"<$1>")+h[2],j=h[0];while(j--)f=f.lastChild;n.merge(l,f.childNodes),f=k.firstChild,f.textContent=""}else l.push(b.createTextNode(e));k.textContent="",m=0;while(e=l[m++])if((!d||-1===n.inArray(e,d))&&(i=n.contains(e.ownerDocument,e),f=ob(k.appendChild(e),"script"),i&&mb(f),c)){j=0;while(e=f[j++])fb.test(e.type||"")&&c.push(e)}return k},cleanData:function(a){for(var b,c,d,e,f=n.event.special,g=0;void 0!==(c=a[g]);g++){if(n.acceptData(c)&&(e=c[L.expando],e&&(b=L.cache[e]))){if(b.events)for(d in b.events)f[d]?n.event.remove(c,d):n.removeEvent(c,d,b.handle);L.cache[e]&&delete L.cache[e]}delete M.cache[c[M.expando]]}}}),n.fn.extend({text:function(a){return J(this,function(a){return void 0===a?n.text(this):this.empty().each(function(){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&(this.textContent=a)})},null,a,arguments.length)},append:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=jb(this,a);b.appendChild(a)}})},prepend:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=jb(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(a,b){for(var c,d=a?n.filter(a,this):this,e=0;null!=(c=d[e]);e++)b||1!==c.nodeType||n.cleanData(ob(c)),c.parentNode&&(b&&n.contains(c.ownerDocument,c)&&mb(ob(c,"script")),c.parentNode.removeChild(c));return this},empty:function(){for(var a,b=0;null!=(a=this[b]);b++)1===a.nodeType&&(n.cleanData(ob(a,!1)),a.textContent="");return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return n.clone(this,a,b)})},html:function(a){return J(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a&&1===b.nodeType)return b.innerHTML;if("string"==typeof a&&!db.test(a)&&!ib[(bb.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(ab,"<$1>");try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(n.cleanData(ob(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=arguments[0];return this.domManip(arguments,function(b){a=this.parentNode,n.cleanData(ob(this)),a&&a.replaceChild(b,this)}),a&&(a.length||a.nodeType)?this:this.remove()},detach:function(a){return this.remove(a,!0)},domManip:function(a,b){a=e.apply([],a);var c,d,f,g,h,i,j=0,l=this.length,m=this,o=l-1,p=a[0],q=n.isFunction(p);if(q||l>1&&"string"==typeof p&&!k.checkClone&&eb.test(p))return this.each(function(c){var d=m.eq(c);q&&(a[0]=p.call(this,c,d.html())),d.domManip(a,b)});if(l&&(c=n.buildFragment(a,this[0].ownerDocument,!1,this),d=c.firstChild,1===c.childNodes.length&&(c=d),d)){for(f=n.map(ob(c,"script"),kb),g=f.length;l>j;j++)h=c,j!==o&&(h=n.clone(h,!0,!0),g&&n.merge(f,ob(h,"script"))),b.call(this[j],h,j);if(g)for(i=f[f.length-1].ownerDocument,n.map(f,lb),j=0;g>j;j++)h=f[j],fb.test(h.type||"")&&!L.access(h,"globalEval")&&n.contains(i,h)&&(h.src?n._evalUrl&&n._evalUrl(h.src):n.globalEval(h.textContent.replace(hb,"")))}return this}}),n.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){n.fn[a]=function(a){for(var c,d=[],e=n(a),g=e.length-1,h=0;g>=h;h++)c=h===g?this:this.clone(!0),n(e[h])[b](c),f.apply(d,c.get());return this.pushStack(d)}});var qb,rb={};function sb(b,c){var d,e=n(c.createElement(b)).appendTo(c.body),f=a.getDefaultComputedStyle&&(d=a.getDefaultComputedStyle(e[0]))?d.display:n.css(e[0],"display");return e.detach(),f}function tb(a){var b=l,c=rb[a];return c||(c=sb(a,b),"none"!==c&&c||(qb=(qb||n("