[MGNLUI-3194] Improve user- feedback texts on UploadField , avoid "application" for well known file types like pdf, word, etc. Created: 08/Oct/14 Updated: 09/Mar/21 Resolved: 09/Mar/21 |
|
| Status: | Closed |
| Project: | Magnolia UI |
| Component/s: | admincentral, dialogs |
| Affects Version/s: | 5.2.9, 5.3.3 |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Christoph Meier | Assignee: | Unassigned |
| Resolution: | Obsolete | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
| Description |
|
When uploading a File (to DAM), DamUploafield#setCaptionExtension tries to set a caption depending on the mime-type. In many cases the calculated type is "application", for instance for swf, pdf, doc, fla, swf and many others. Anyway avoid to give too specific feedback since it might become hard to translate in other languages. We need translations with a placeholder which must be correct. The ticket is added to MGNLUI since the bundle for these translations is located in the ui_project (magnolia-ui-admincentral; mgnl-i18n.uploadField-messages), but the evaluation of the type during the upload is done in DAM (DamUploafield). |