If you look closer at this code you can see that "Back" is used only
if you haven't defined a title on the previous layer.

On May 8, 5:19 pm, Luis Oliveira <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Analysing the source code of IUI we conclude that IUI does not have
> support for multilanguage. For instance, in file iui.js exists the
> code below:
>
> function updatePage(page, fromPage)
> {
> (...)
>     var backButton = $("backButton");
>     if (backButton)
>     {
>         var prevPage = $(pageHistory[pageHistory.length-2]);
>         if (prevPage && !page.getAttribute("hideBackButton"))
>         {
>             backButton.style.display = "inline";
>             backButton.innerHTML = prevPage.title ? prevPage.title :
> "Back";
>         }
>         else
>             backButton.style.display = "none";
>     }
> (...)
>
> }
>
> Well, the word "Back" is inserted directly inside the element
> backButton.
>
> My suggestion is that these kink of literals should be configurable
> via text file. This way, would be more generic and it would have
> support for multilanguage.
>
> Luis Oliveira

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to