You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are two $templateCache pointing to the same template path in the distribution files. I think this has happened because the source file already has a $templatecache in it. My assumption is that the template should only be injected when you the run gulp build tasks. The templateCache in the source file also does not have any reference to the form.i18n object and it looks like this is the template which was used earlier.
Also, will it be possible to use the form.i18n labels only if it exists else fallback to the modules labels or have default labels preferably in english?
Example: We already had translation defined. However, since, with the latest update, they are no longer used in the template we have been getting elements without labels only to realize later that these labels are being defined as a part of the form object.
$translateProvider.translations('en', {
'modules.upload.dndNotSupported': 'Drag n drop not surpported by your browser',
'modules.attribute.fields.required.caption': 'Required',
'modules.upload.descriptionMultifile': 'Drop your file(s) here',
'modules.upload.descriptionSinglefile': 'Drop your file here',
'buttons.add': 'Open file browser',
'modules.upload.field.filename': 'Filename',
'modules.upload.field.preview': 'Preview',
'modules.upload.multiFileUpload': 'Multifile upload',
'modules.upload.field.progress': 'Progress',
'buttons.upload': 'Upload'
});
Further, form.i18n is used only for the singleFileUpload template and not in the multifileUpload template.
Also, please add release versions so that we can target specific versions which worked for us.
The text was updated successfully, but these errors were encountered:
There are two $templateCache pointing to the same template path in the distribution files. I think this has happened because the source file already has a $templatecache in it. My assumption is that the template should only be injected when you the run gulp build tasks. The templateCache in the source file also does not have any reference to the form.i18n object and it looks like this is the template which was used earlier.
Also, will it be possible to use the form.i18n labels only if it exists else fallback to the modules labels or have default labels preferably in english?
Example: We already had translation defined. However, since, with the latest update, they are no longer used in the template we have been getting elements without labels only to realize later that these labels are being defined as a part of the form object.
Further, form.i18n is used only for the singleFileUpload template and not in the multifileUpload template.
Also, please add release versions so that we can target specific versions which worked for us.
The text was updated successfully, but these errors were encountered: