Forum OpenACS Development: Re: AjaxFS turns 1.0 Beta

Collapse
7: Re: AjaxFS turns 1.0 Beta (response to 6)
Posted by Hamilton Chua on
Hello Christian,

My responses below ....

1. Why are the dialogues "Add file" and "Add URL" still in English even tough the menu items are localized now? Do we need to localize the ajax helper, too?

I'm guessing that you are referring to the text in the toolbar.

AjaxFs already is "internationalized" meaning it uses acs-lang and the text should change if you change the locale. You will, of course, need to create equivalent message keys for the language of your choice. Only English is available right now.

Both Add File and Create URL, use message keys from File Storage.

uploadfile:"Add File",
createurl:"Create a URL",

2. In the folder tree on the left side there are + icons even though there are no subfolder in the tree.

Right now, the code doesn't check at all if the folder has any children so the javasript presumes that all nodes may have children.

I can look into this and see if it's possible to make the nodes smarter so that [+] does not appear if the node has no children.

thank you for your answer and time

You are most welcome, thank you for posting feedback and trying the package out.

Best,

Hamilton