Change By: Christopher Zimmermann (17/Oct/13 12:24 PM)
Description: The /magnolia-ui-admincentral/src/main/resources/mgnl-i18n/uploadField-messages_en.properties contains redundant strings for 
image, video, audio, flash etc.
Their should rather be translations for each of these media types, 
and then the rest of the strings shoudl accept it as a variable.

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.

The texts which should be DRY'ed
:
# Audio Upload text
field.upload.select.new.audio = Select an audio file to upload...
field.upload.select.another.audio = Upload a new audio file...
field.upload.select.edit.audio = Edit audio file...
field.upload.drop.hint.audio = or <em>drag an audio file into this area</em> to upload it
field.upload.file.detail.header.audio = Audio file detail
field.upload.note.success.audio = Your audio file has been uploaded successfully<br>{0}
field.upload.note.warning.audio = The upload of your audio file was aborted due to<br>{0}
field.upload.note.error.audio = An error occurred while uploading your audio file<br>{0}

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to