[MGNLUI-2185] i18n: Asset App Detail: asset field shows key: field.upload.file.detail.size, field.upload.note.success.image Created: 30/Sep/13  Updated: 14/Oct/13  Resolved: 08/Oct/13

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: 5.1
Fix Version/s: 5.1.1

Type: Bug Priority: Major
Reporter: Christopher Zimmermann Assignee: Jozef Chocholacek
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to MGNLUI-2259 BasicUploadField i18n property file s... Closed
duplicate
is duplicated by MGNLDAM-315 i18n: missing key after image upload Closed
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)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:
Sprint: 5.1 - Final, 5.1.1

 Description   

ALSO CHECK UPLODING AN IMAGE>

A little investigation reveals:

  • This key does exist in /magnolia-ui-admincentral/src/main/resources/info/magnolia/ui/admincentral/messages_en.properties line 45
  • MessagesUtil is still used extensively where a key of this name is referenced in
    /magnolia-ui-form/src/main/java/info/magnolia/ui/form/field/upload/basic/BasicUploadField.java getFileDetailSize:

label.setCaption(MessagesUtil.get(fileDetailSizeCaption, "info.magnolia.ui.admincentral.messages"));

****

Im not sure why the translation works for all of the other keys in the field.



 Comments   
Comment by Jozef Chocholacek [ 07/Oct/13 ]

Cannot reproduce on 5.1-rc3 anymore.

Comment by Christopher Zimmermann [ 07/Oct/13 ]

Saw the problem after pulling all latest code.
Daniel saw it on RC3.

Comment by Jozef Chocholacek [ 07/Oct/13 ]

Also missing field.upload.basic.note.success translation (import action).

Comment by Jozef Chocholacek [ 08/Oct/13 ]

I have moved the messages with field.upload.* key to a new bundle file in mgnl-i18n folder.

Generated at Mon Feb 12 08:54:02 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.