#1238 – Can not translate Date in past if time is in past

Posted in ‘Taxi Booking for Joomla’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Thursday, 22 June 2017 20:32 BST
serguei_kp
SystemPay for Taxi Booking, Taxi Booking recurring updates Annually
 Hi can not translate Date in past string under the time selector, in component and may be in module.
Also can not translate "Yes" "No" buttons in the error message if there is no available cars on the stage 2.
 
Wednesday, 12 July 2017 19:13 BST
ronniee
RedSys for Taxi Booking
Hi Serge,

We were checking the date translation issue, but could not actually detect the problem. You should not be able to choose a past date in datepicker. About Yes/No, those buttons text will be translated from Joomla native translations, JYES and JNO are being used for Yes and NO and you should find those strings in Joomla native language ini files.

Hope this helps
Ronniee
 
Thursday, 13 July 2017 19:53 BST
serguei_kp
SystemPay for Taxi Booking, Taxi Booking recurring updates Annually
Hi Ronniee, can you please indicate in which file I have to put JYES and JNO keys ?
I found that they are present already in files: en-GB.ini, fr-Fr.ini and ru-RU.ini. should I put them somewhere else?

As for Date in past error label, I have a screen shot, but your attachment does not let me to upload it.
 
Thursday, 13 July 2017 20:03 BST
serguei_kp
SystemPay for Taxi Booking, Taxi Booking recurring updates Annually
To reproduce "Date in past" in component:
- Select today date,
- select hours in past (ex: time now 20:55, you must select 20:05 or 19:00)
- click see the price
And you will see just below Hours field "Date in past" error message that is not translated.
I can reproduce it on our test site.
 
Friday, 14 July 2017 18:02 BST
ronniee
RedSys for Taxi Booking
JYES and JNO should already be added in Joomla language file (default ini file like en-GB.ini, ru-RU.ini etc.). You don't need to put those in TaxiBooking ini files.

About the "Date in past" translation, I have fixed that and uploaded the fix in your test site, please clear your browser cache first and check again, we will add this fix in next release.

Thanks a lot
Ronniee
 
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.

KANEV Web Development limited is not affiliated with or endorsed by the Joomla Project or Open Source Matters.

KANEV Web Development limited is registered in England and Wales #8902407