mynewsdesk / deprecated-translate

A Ruby on Rails plugin with a web interface for translating I18n texts
http://developer.newsdesk.se/2009/01/21/translate-new-rails-i18n-plugin-with-a-nice-web-ui
MIT License
346 stars 87 forks source link

Translate plugin can't be use when prototype is not in the default sources #4

Closed calavera closed 14 years ago

calavera commented 14 years ago

Some people have jquery instead of prototype in their default sources but this plugin works isolated from the application environment so it could be helpful to provide a way to load prototype when it's not in the default sources.

I uploaded a patch in the next gist to load prototype from google apis when it's not present in the default sources:

http://gist.github.com/258632

mynewsdesk commented 14 years ago

Thanks for submitting this David. I have attempted to fix this issue with this commit: http://github.com/newsdesk/translate/commit/c8f46ff7aee90218d7df95e27766ec1a40dbe5ff