Mohammed Shekha(Open ERP) has proposed merging lp:~openerp-dev/openerp-web/7.0-opw-585320-msh into lp:openerp-web/7.0.
Requested reviews: OpenERP Core Team (openerp) For more details, see: https://code.launchpad.net/~openerp-dev/openerp-web/7.0-opw-585320-msh/+merge/147026 Hello, Fixed the issue of translation for jquery datetime picker. Demo :- Open jQuery Datetime picker in any other language you will see terms Months, Done, Today etc not going to translated. This branch will set regional information jQuery datetime picker. Thanks. -- https://code.launchpad.net/~openerp-dev/openerp-web/7.0-opw-585320-msh/+merge/147026 Your team OpenERP R&D Team is subscribed to branch lp:~openerp-dev/openerp-web/7.0-opw-585320-msh.
=== modified file 'addons/web/static/src/js/view_form.js' --- addons/web/static/src/js/view_form.js 2013-02-05 17:05:56 +0000 +++ addons/web/static/src/js/view_form.js 2013-02-07 06:58:21 +0000 @@ -2384,6 +2384,43 @@ this.$input = this.$el.find('input.oe_datepicker_master'); this.$input_picker = this.$el.find('input.oe_datepicker_container'); + $.datepicker.setDefaults({ + clearText: _t("Clear"), + clearStatus: _t("Erase the current date"), + closeText: _t("Done"), + closeStatus: _t("Close without change"), + prevText: _t("<Prev"), + prevStatus: _t("Show the previous month"), + nextText: _t("Next>"), + nextStatus: _t("Show the next month"), + currentText: _t("Today"), + currentStatus: _t("Show the current month"), + monthNames: Date.CultureInfo.monthNames, + monthNamesShort: Date.CultureInfo.abbreviatedMonthNames, + monthStatus: _t("Show a different month"), + yearStatus: _t("Show a different year"), + weekHeader: _t("Wk"), + weekStatus: _t("Week of the year"), + dayNames: Date.CultureInfo.dayNames, + dayNamesShort: Date.CultureInfo.abbreviatedDayNames, + dayNamesMin: Date.CultureInfo.shortestDayNames, + dayStatus: _t("Set DD as first week day"), + dateStatus: _t("Select D, M d"), + firstDay: Date.CultureInfo.firstDayOfWeek, + initStatus: _t("Select a date"), + isRTL: false + }); + + $.timepicker.setDefaults({ + timeOnlyTitle: _t("Choose Time"), + timeText: _t("Time"), + hourText: _t("Hour"), + minuteText: _t("Minute"), + secondText: _t("Second"), + currentText: _t("Now"), + closeText: _t("Done") + }); + this.picker({ onClose: this.on_picker_select, onSelect: this.on_picker_select,
_______________________________________________ Mailing list: https://launchpad.net/~openerp-dev-gtk Post to : openerp-dev-gtk@lists.launchpad.net Unsubscribe : https://launchpad.net/~openerp-dev-gtk More help : https://help.launchpad.net/ListHelp