Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Albanian locales #107

Closed
wants to merge 2 commits into from

2 participants

Gjergj Sheldija Richard D. Worth
Gjergj Sheldija

updated the representation of dates and hours to real Albanian values

Richard D. Worth

Sorry this isn't better documented at the moment, but culture files cannot be patched directly. See #101 for more info.

Richard D. Worth rdworth closed this
Gjergj Sheldija

thank you,

i will work on the generator.

regards
gj.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
21 lib/cultures/globalize.culture.sq-AL.js
View
@@ -33,6 +33,7 @@ Globalize.addCultureInfo( "sq-AL", "default", {
numberFormat: {
",": ".",
".": ",",
+ "NaN": "Nuk eshte nje numer real",
negativeInfinity: "-infinit",
positiveInfinity: "infinit",
percent: {
@@ -59,16 +60,18 @@ Globalize.addCultureInfo( "sq-AL", "default", {
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"],
+ eras: [{"name":"p.K.","start":null,"offset":0}],
+ AM: null,
+ PM: null,
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"
+ 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"
}
}
}
33 lib/cultures/globalize.culture.sq.js
View
@@ -1,5 +1,5 @@
/*
- * Globalize Culture sq
+ * Globalize Culture sq-AL
*
* http://github.com/jquery/globalize
*
@@ -25,14 +25,15 @@ if ( typeof require !== "undefined" &&
Globalize = window.Globalize;
}
-Globalize.addCultureInfo( "sq", "default", {
- name: "sq",
- englishName: "Albanian",
- nativeName: "shqipe",
+Globalize.addCultureInfo( "sq-AL", "default", {
+ name: "sq-AL",
+ englishName: "Albanian (Albania)",
+ nativeName: "shqipe (Shqipëria)",
language: "sq",
numberFormat: {
",": ".",
".": ",",
+ "NaN": "Nuk eshte nje numer real",
negativeInfinity: "-infinit",
positiveInfinity: "infinit",
percent: {
@@ -59,19 +60,21 @@ Globalize.addCultureInfo( "sq", "default", {
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"],
+ eras: [{"name":"p.K.","start":null,"offset":0}],
+ AM: null,
+ PM: null,
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"
+ 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 ));
+}( this ));
Something went wrong with that request. Please try again.