Merge pull request #1328 from a2nt/html_tabs_fix

FIX Localized HtmlEditorField Tabs
This commit is contained in:
Andrew Short 2013-03-24 04:20:24 -07:00
commit 222e554ce6

View File

@ -429,14 +429,17 @@ class HtmlEditorField_Toolbar extends RequestHandler {
$tabSet = new TabSet(
"MediaFormInsertMediaTabs",
new Tab(
'FromComputer',
_t('HtmlEditorField.FROMCOMPUTER','From your computer'),
$computerUploadField
),
new Tab(
'FromWeb',
_t('HtmlEditorField.FROMWEB', 'From the web'),
$fromWeb
),
new Tab(
'FromCms',
_t('HtmlEditorField.FROMCMS','From the CMS'),
$fromCMS
)