Permalink
Browse files

FIX media dialog add url button fix

Use HtmlEditorField.BUTTONADDURL for localization
  • Loading branch information...
1 parent 8a70019 commit 423c737502c841cc98ca8ff26bd2f5a60788f099 @a2nt a2nt committed May 3, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 forms/HtmlEditorField.php
@@ -411,7 +411,7 @@ public function MediaForm() {
'<h4>' . sprintf($numericLabelTmpl, '1', _t('HtmlEditorField.ADDURL', 'Add URL')) . '</h4>'),
$remoteURL = new TextField('RemoteURL', 'http://'),
new LiteralField('addURLImage',
- '<button class="action ui-action-constructive ui-button field add-url" data-icon="addMedia"></button>')
+ '<button class="action ui-action-constructive ui-button field add-url" data-icon="addMedia">'._t('HtmlEditorField.BUTTONADDURL', 'Add url').'</button>')
);
$remoteURL->addExtraClass('remoteurl');

0 comments on commit 423c737

Please sign in to comment.