- 12 Jan, 2015 40 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
Create new document from dialog.
-
Xiaowu Zhang authored
-
Xiaowu Zhang authored
-
Xiaowu Zhang authored
-
Xiaowu Zhang authored
now each gadget should do translation by itself for the iframe reason
-
Xiaowu Zhang authored
1. remove catch error in gadget_erp5.js and gadget_translate.js. 2. add acquisition method getTranslationMethod in main gadget. 3. add translaton_look key in configuration to define translation scipt. 4. fix can't save when edit.
-
Xiaowu Zhang authored
1. Use form submit instead of ajax in erp5_gadgetfield.js file 2. Data decode is realized in GadgetFieldValidator 3. Move jio files in erp5_core for activity watcher gadget 4. Update gadgetfield test Add test with RelationStringField Remove DataURL test which is not necessary
-
Xiaowu Zhang authored
Add IE supported
-
Sven Franck authored
-
Sven Franck authored
-
Sven Franck authored
-
Sven Franck authored
-
Sven Franck authored
-
Sven Franck authored
- make sure only strings are passed to and returned from translation gadget - make sure to wrap in correct temporary elements (table rows in table, options in select, rest in div) - make sure forms are present when declareService is called
-
Sven Franck authored
- add notifyUpdate method to re-render header once translations are available - add translations to all text elements
-
Sven Franck authored
- update handlebars template, web sites with translations will have a collapsible language menu. - add collapsible menu inside listview - fix missing form element on panel searchfield - add handler to retrieve available languages when creating template - add translations for all text elements used - update declareService to handle multiple forms (close panel, searchfield, languages)
-
Sven Franck authored
- add uritemplate - add getTranslationDict method to retrieve a language dictionary from ERP5 - add fetchLanguage to handle browser working with "en-EN" vs gadget/ERP5 only using "en" - add ready handler to retrieve languages from web_site_module and translation method from custom initialization gadget (temp fix) to remove hardcoded configuration parameters - add error handler to catch missing translation method and not translate/expose language options to ensure compat with existing rJS web sites - add ready handler to initialize plugin and re-render header once translations are available - add method to expose available languages, so they can be fetched from the panel gadget - fix translation methods to only work with strings being passed in and out
-
Sven Franck authored
- switch gadget declarations in html (translate needs jio_ajax, must be available before header/panel) - add translation method bridge - add notifyUpdate to re-render header once translations are available - add getSiteRoot to return root url, so translation gadget can fetch languages declared on website - add error handlers to make sure existing rjs websites don't break
-
Sven Franck authored
-
Sven Franck authored
-
Sven Franck authored
-
Sven Franck authored
-
Sven Franck authored
-
Sven Franck authored
-
Sven Franck authored
-
Sven Franck authored
-
Sven Franck authored
-
Sven Franck authored
-
Sven Franck authored
-
Sven Franck authored
-
Sven Franck authored
-
Sven Franck authored
-
Sven Franck authored
-
Sven Franck authored
-
Xiaowu Zhang authored
-
Xiaowu Zhang authored
Do not merge in Master
-
Sven Franck authored
-
Xiaowu Zhang authored
-