Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #736 (closed defect: fixed)

Opened 13 years ago

Last modified 12 years ago

[PATCH] Polish DatePicker not working (javascript locale fix)

Reported by: Lazy Owned by: anonymous
Priority: normal Milestone: 0.9a5
Component: TG Widgets Version: 0.9a2
Severity: normal Keywords: calendar datepicker datetimepicker
Cc:

Description

/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;

Change History

comment:1 Changed 13 years ago by simon

  • Milestone set to 0.9a5
  • Summary changed from Polish DatePicker not working (javascript locale fix) to [PATCH] Polish DatePicker not working (javascript locale fix)

comment:2 Changed 13 years ago by michele

  • Status changed from new to closed
  • Resolution set to fixed

Committed in r1117, thanks Lazy!

Note: See TracTickets for help on using tickets.