#736: Polish DatePicker not working (javascript locale fix)
---------------------+------------------------------------------------------
Reporter: Lazy | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone:
Component: Widgets | Version: 0.9a2
Severity: normal | Keywords: calendar datepicker datetimepicker
---------------------+------------------------------------------------------
/widgets/static/calendar/lang/calendar-pl-*.js lacks some definitions so
Date/Time picker is not working on pl enabled browsers.
Fix follows
{{{
--- calendar-pl-utf-8.js (revision 1105)
+++ calendar-pl-utf-8.js (working copy)
@@ -91,3 +91,7 @@
Calendar._TT["TT_DATE_FORMAT"] = "%e %B, %A";
Calendar._TT["WK"] = "ty";
+
+Calendar._TT["DAY_FIRST"] = "Pokazuj %s najpierw";
+Calendar._TT["WEEKEND"] = "0,6";
+Calendar._FD = 1;
--- calendar-pl-utf8.js (revision 1105)
+++ calendar-pl-utf8.js (working copy)
@@ -91,3 +91,7 @@
Calendar._TT["TT_DATE_FORMAT"] = "%e %B, %A";
Calendar._TT["WK"] = "ty";
+
+Calendar._TT["DAY_FIRST"] = "Pokazuj %s najpierw";
+Calendar._TT["WEEKEND"] = "0,6";
+Calendar._FD = 1;
--- calendar-pl.js (revision 1105)
+++ calendar-pl.js (working copy)
@@ -53,4 +53,8 @@
Calendar._TT["DEF_DATE_FORMAT"] = "%Y.%m.%d";
Calendar._TT["TT_DATE_FORMAT"] = "%a, %b %e";
-Calendar._TT["WK"] = "wk";
\ No newline at end of file
+Calendar._TT["WK"] = "wk";
+
+Calendar._TT["DAY_FIRST"] = "Pokazuj %s najpierw";
+Calendar._TT["WEEKEND"] = "0,6";
+Calendar._FD = 1;
}}}
--
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/736>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Tickets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets
-~----------~----~----~----~------~----~------~--~---