calendar widget:lang

A place for users and developers of the Xataface to discuss and receive support.

calendar widget:lang

Postby jak » Fri Jan 20, 2012 12:47 am

Hi, I'm new to Xataface and very impressed by the easy way to build an application with just plugging my Database to xataface.
I have realized a small application with the aim of managing research contracts and providing facilitation for reporting information. The date data are inserted using the widget calendar, and I have used the strftime syntax provided through widget:ifFormat parameter (this application is for french users). This works fine, but when I want to translate the time picker itself, I find issue... Nothing happens when I try to use widget:lang=fr . If somebody could say to me where is my mistake I would be very grateful.

Thanks in advance.

My fields.ini

[dt_signature]
widget:label = "Date de signature"
widget:type=calendar
widget:lang=fr
widget:ifFormat="%d/%m/%Y"
group = Dates
order=9
jak
 
Posts: 2
Joined: Thu Jan 19, 2012 7:54 am

Re: calendar widget:lang

Postby shannah » Mon Jan 23, 2012 12:25 pm

There is a bug in Xataface 1.3rc6. It is fixed in the 1.3.x SVN branch.
If you replace the contents of Dataface/FormTool/calendar.php
with what you find at
http://weblite.ca/svn/dataface/core/tru ... lendar.php

It should fix the issue.

-Steve
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: calendar widget:lang

Postby jak » Wed Jan 25, 2012 5:15 am

Thank steve, your fix solved my problem!

Xataface is a fairly nice soft for CRUD actions.
jak
 
Posts: 2
Joined: Thu Jan 19, 2012 7:54 am


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 17 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved