NetTalk Central

Author Topic: Translation of Locate  (Read 2980 times)

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Translation of Locate
« on: May 15, 2009, 09:14:52 AM »
Hi,

The buttons are translated ok now!
Please, Translate the "Locate" string too.
May be directly in the code the template generates like:

  '<td>'& clip(p_web.site.LocatePromptText)& ' ' & clip(Loc:SortHeader) & ': </td>' &|

to

  '<td>'& clip(p_web.Translate(p_web.site.LocatePromptText))& ' ' & clip(Loc:SortHeader) & ': </td>' &|

Thanks
Alberto
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Translation of Locate
« Reply #1 on: May 18, 2009, 10:56:24 PM »
Hi Alberto,

done for the next build.

Incidentally, all the NetWeb methods, if the return a string, return a clipped string. So it's not necessary to have

clip(p_web.Translate(p_web.site.LocatePromptText))
because
p_web.Translate(p_web.site.LocatePromptText)

is already clipped.

Cheers
Bruce