Reviewed & tested by the community
Project:
Hotel Booking System for Ubercart
Version:
6.x-2.0-beta4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
22 Sep 2010 at 08:54 UTC
Updated:
24 Oct 2011 at 14:26 UTC
Jump to comment: Most recent file
Comments
Comment #1
mogtofu33 commentedAnd some other typo corrections :
hotel_addons_upgrades_admin.inc
line 57, 58, need t()
line 182, need t()
Comment #2
mogtofu33 commentedI think you could set some improvments on language managment, in some case it's better to use format_date() instead of date() because it can handle format and localization. Sometimes you use t() function in a wrong way to replace variables on text (see : http://api.drupal.org/api/function/t/6), it's better to use strtr() or nothing if localization is handle by fromat_date();
Here is a patch.
Regards.
Mog.
Comment #3
larowlanThx
I think the hmoid one is fixed in dev, could be wrong
Thanks for picking up the t on add ons module.
I didn't write it (the addons module) but intend to rewrite it so it uses FAPI forms for the selection screen (I don't like it as is - doesn't let other modules modify it with hook_form_alter etc). These changes will go in with that.
Comment #4
laraz commentedthanks.