]> git.proxmox.com Git - extjs.git/blob - extjs/classic/locale/overrides/sv_SE/Date.js
bump version to 7.0.0-4
[extjs.git] / extjs / classic / locale / overrides / sv_SE / Date.js
1 /**
2 * Swedish translation (utf8-encoding)
3 * By Erik Andersson, Monator Technologies
4 * 24 April 2007
5 * Changed by Cariad, 29 July 2007
6 */
7 Ext.onReady(function() {
8 if (Ext.Date) {
9 Ext.Date.monthNames = ["januari", "februari", "mars", "april", "maj", "juni", "juli", "augusti", "september", "oktober", "november", "december"];
10 Ext.Date.dayNames = ["söndag", "måndag", "tisdag", "onsdag", "torsdag", "fredag", "lördag"];
11
12 Ext.Date.formatCodes.a = "(m.getHours() < 12 ? 'em' : 'fm')";
13 Ext.Date.formatCodes.A = "(m.getHours() < 12 ? 'EM' : 'FM')";
14 Ext.Date.parseCodes.a = {
15 g: 1,
16 c: "if (/(em)/i.test(results[{0}])) {\n" + "if (!h || h == 12) { h = 0; }\n" + "} else { if (!h || h < 12) { h = (h || 0) + 12; }}",
17 s: "(em|fm|EM|FM)",
18 calcAtEnd: true
19 };
20 Ext.Date.parseCodes.A = {
21 g: 1,
22 c: "if (/(em)/i.test(results[{0}])) {\n" + "if (!h || h == 12) { h = 0; }\n" + "} else { if (!h || h < 12) { h = (h || 0) + 12; }}",
23 s: "(EM|FM|em|fm)",
24 calcAtEnd: true
25 };
26 }
27 });