![]() |
|
|
|
|
Change By:
|
Christopher Zimmermann
(17/Oct/13 12:54 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
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
: #
Audio
Video
Upload text
CHANGE***
field.upload.select.new
.audio
= Select
an audio
{0} to upload... field.upload.select.another = Upload a new {0}... field.upload.select.edit = Edit {0}... CHANGE*** field.upload.drop.hint = or <em>drag {0} into this area</em> to upload it field.upload.
file
.detail.header = {0} detail field.upload.note.success = Your {0} has been uploaded successfully<br>{0} field.upload.note.warning = The upload of your {0} was aborted due
to
<br>{0} field.
upload.
note
.
error = An error occurred while uploading your {0}<br>{0}
Old version # Video Upload text field
.
upload.select.new.video = Select a video to upload...
field.upload.select.another.
audio
video
= Upload a new
audio file
Video
... field.upload.select.edit.
audio
video
= Edit
audio file
video
... field.upload.drop.hint.
audio
video
= or <em>drag
an audio file
a video
into this area</em> to upload it field.upload.file.detail.header.
audio
video
=
Audio file
Video
detail field.upload.note.success.
audio
video
= Your
audio file
video
has been uploaded successfully<br>{0} field.upload.note.warning.
audio
video
= The upload of your
audio file
video
was aborted due to<br>{0} field.upload.note.error.
audio
video
= An error occurred while uploading your
audio file
video
<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]>
----------------------------------------------------------------