Flash and image now consistent (e.g. dimensions fields)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44453 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sean Harvey 2007-11-07 05:50:13 +00:00
parent 0e86589ea5
commit babd4be599
2 changed files with 11 additions and 9 deletions

View File

@ -351,8 +351,8 @@ class HtmlEditorField_Toolbar extends ViewableData {
"center" => _t('HtmlEditorField.CSSCLASSCENTER', "Centered, on its own."),
)),
new FieldGroup(_t('HtmlEditorField.IMAGEDIMENSIONS', "Dimensions"),
new TextField("Width", "Width", 5),
new TextField("Height", "x Height", 5)
new TextField("Width", _t('HtmlEditorField.IMAGEWIDTHPX', "Width"), 5),
new TextField("Height", "x " . _t('HtmlEditorField.IMAGEHEIGHTPX', "Height"), 5)
)
),
new FieldSet(
@ -370,8 +370,10 @@ class HtmlEditorField_Toolbar extends ViewableData {
new LiteralField('Heading', '<h2><img src="cms/images/closeicon.gif" alt="close" title="close" />Flash</h2>'),
new TreeDropdownField("FolderID", _t('HtmlEditorField.FOLDER'), "Folder"),
new ThumbnailStripField("Flash", "FolderID", "getflash"),
new TextField('Width', _t('HtmlEditorField.IMAGEWIDTHPX', "Width (px)")),
new TextField('Height', _t('HtmlEditorField.IMAGEHEIGHTPX', "Height (px)"))
new FieldGroup(_t('HtmlEditorField.IMAGEDIMENSIONS', "Dimensions"),
new TextField("Width", _t('HtmlEditorField.IMAGEWIDTHPX', "Width"), 5),
new TextField("Height", "x " . _t('HtmlEditorField.IMAGEHEIGHTPX', "Height"), 5)
)
),
new FieldSet()
);

View File

@ -231,8 +231,8 @@ $lang['en_US']['HtmlEditorField']['CSSCLASSLEFT'] = 'On the left, with text wrap
$lang['en_US']['HtmlEditorField']['CSSCLASSRIGHT'] = 'On the right, with text wrapping around.';
$lang['en_US']['HtmlEditorField']['CSSCLASSCENTER'] = 'Centered, on its own.';
$lang['en_US']['HtmlEditorField']['IMAGEDIMENSIONS'] = 'Dimensions';
$lang['en_US']['HtmlEditorField']['IMAGEWIDTHPX'] = 'Width (px)';
$lang['en_US']['HtmlEditorField']['IMAGEHEIGHTPX'] = 'Height (px)';
$lang['en_US']['HtmlEditorField']['IMAGEWIDTHPX'] = 'Width';
$lang['en_US']['HtmlEditorField']['IMAGEHEIGHTPX'] = 'Height';
$lang['en_US']['ImageField']['NOTEADDIMAGES'] = 'You can add images once you have saved for the first time.';
$lang['en_US']['Form']['LANGAVAIL'] = 'Available languages';
$lang['en_US']['Form']['LANGAOTHER'] = 'Other languages';