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

@ -27,7 +27,7 @@ $lang['en_US']['ImageUploader']['DELETE'] = array(
);
$lang['en_US']['ImageUploader']['CLICKREMOVE'] = array(
'Click the button below to remove this %s.',
PR_MEDIUM,
'... this image/file'
);
@ -62,7 +62,7 @@ $lang['en_US']['SiteTree']['METADESC'] = 'Description';
$lang['en_US']['SiteTree']['METAKEYWORDS'] = 'Keywords';
$lang['en_US']['SiteTree']['METAADVANCEDHEADER'] = 'Advanced Options...';
$lang['en_US']['SiteTree']['METAEXTRA'] = 'Custom Meta Tags';
$lang['en_US']['SiteTree']['METANOTEPRIORITY'] = 'Manually specify a Priority for this page:
$lang['en_US']['SiteTree']['METANOTEPRIORITY'] = 'Manually specify a Priority for this page:
(valid values are from 0 to 1, a zero will remove this page from the index)';
$lang['en_US']['SiteTree']['METAPAGEPRIO'] = 'Page Priority';
$lang['en_US']['SiteTree']['PAGETYPE'] = array(
@ -73,7 +73,7 @@ $lang['en_US']['SiteTree']['PAGETYPE'] = array(
$lang['en_US']['SiteTree']['SHOWINMENUS'] = 'Show in menus?';
$lang['en_US']['SiteTree']['SHOWINSEARCH'] = 'Show in search?';
$lang['en_US']['SiteTree']['ALLOWCOMMENTS'] = 'Allow comments on this page?';
$lang['en_US']['SiteTree']['NOTEUSEASHOMEPAGE'] = 'Use this page as the \'home page\' for the following domains:
$lang['en_US']['SiteTree']['NOTEUSEASHOMEPAGE'] = 'Use this page as the \'home page\' for the following domains:
(separate multiple domains with commas)';
$lang['en_US']['SiteTree']['HOMEPAGEFORDOMAIN'] = array(
'Domain(s)',
@ -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';