[MGNLUI-2259] BasicUploadField i18n property file strings should use a 'variable' instead of redundant strings for each media type. Created: 09/Oct/13 Updated: 18/Oct/13 Resolved: 18/Oct/13 |
|
| Status: | Closed |
| Project: | Magnolia UI |
| Component/s: | None |
| Affects Version/s: | 5.1 |
| Fix Version/s: | 5.1.1 |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Christopher Zimmermann | Assignee: | Chunhua Liu |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| 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)
|
||||||||
| Epic Link: | i18n Epic | ||||||||
| Sprint: | 5.1.1 | ||||||||
| Description |
|
The /magnolia-ui-admincentral/src/main/resources/mgnl-i18n/uploadField-messages_en.properties contains redundant strings for The code fix is probably in BasicUploadField#getCaption Probably we need to also i18n-ize the captionExtension - that is - use it as a key to get translations for the filetypes. We need to avoid some pitfalls in this though as some wording changes depending on whether the file name starts with an A. Updated version:
|