[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.
In such case UI will tell the user >> Your application has been uploaded successfully << after he added a word- or pdf-file.
We should avoid the word "application" in the user feedback text but use the more generic "file" or even the correct type instead.

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.
For instance german translation of media types (Bild, Audio, Video, Text, Anwendung, etc.) have different genders which makes it nearly impossible to get a correct translation.

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).


Generated at Mon Feb 12 09:04:09 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.