diff --git a/forms/htmleditor/HTMLEditorField.php b/forms/htmleditor/HTMLEditorField.php index 5e2eb3a26..1b91dcd1e 100644 --- a/forms/htmleditor/HTMLEditorField.php +++ b/forms/htmleditor/HTMLEditorField.php @@ -224,8 +224,8 @@ class HTMLEditorField_Toolbar extends RequestHandler { // mimic the SiteTree::getMenuTitle(), which is bypassed when the search is performed $siteTree->setSearchFunction(array($this, 'siteTreeSearchCallback')); - $numericLabelTmpl = '%d' - . '%s'; + $numericLabelTmpl = 'Step %d.' + . '%s'; $form = new Form( $this->controller, "{$this->name}/LinkForm", @@ -242,20 +242,20 @@ class HTMLEditorField_Toolbar extends RequestHandler { 'LinkType', DBField::create_field( 'HTMLFragment', - sprintf($numericLabelTmpl, '1', _t('HTMLEditorField.LINKTO', 'Link to')) + sprintf($numericLabelTmpl, '1', _t('HTMLEditorField.LINKTYPE', 'Link type')) ), array( - 'internal' => _t('HTMLEditorField.LINKINTERNAL', 'Page on the site'), - 'external' => _t('HTMLEditorField.LINKEXTERNAL', 'Another website'), - 'anchor' => _t('HTMLEditorField.LINKANCHOR', 'Anchor on this page'), - 'email' => _t('HTMLEditorField.LINKEMAIL', 'Email address'), - 'file' => _t('HTMLEditorField.LINKFILE', 'Download a file'), + 'internal' => _t('HTMLEditorField.LINKINTERNAL', 'Link to a page on this site'), + 'external' => _t('HTMLEditorField.LINKEXTERNAL', 'Link to another website'), + 'anchor' => _t('HTMLEditorField.LINKANCHOR', 'Link to an anchor on this page'), + 'email' => _t('HTMLEditorField.LINKEMAIL', 'Link to an email address'), + 'file' => _t('HTMLEditorField.LINKFILE', 'Link to download a file'), ), 'internal' ), LiteralField::create('Step2', '
' - . sprintf($numericLabelTmpl, '2', _t('HTMLEditorField.DETAILS', 'Details')) . '
' + . sprintf($numericLabelTmpl, '2', _t('HTMLEditorField.LINKDETAILS', 'Link details')) . '' ), $siteTree, TextField::create('external', _t('HTMLEditorField.URL', 'URL'), 'http://'), diff --git a/lang/en.yml b/lang/en.yml index a683f31c9..925a4dbaf 100644 --- a/lang/en.yml +++ b/lang/en.yml @@ -336,14 +336,16 @@ en: IMAGEWIDTHPX: Width INSERTMEDIA: 'Insert media from' LINK: 'Insert Link' - LINKANCHOR: 'Anchor on this page' + LINKANCHOR: 'Link to an anchor on this page' LINKDESCR: 'Link description' - LINKEMAIL: 'Email address' - LINKEXTERNAL: 'Another website' - LINKFILE: 'Download a file' - LINKINTERNAL: 'Page on the site' + LINKEMAIL: 'Link to an email address' + LINKEXTERNAL: 'Link to another website' + LINKFILE: 'Link to download a file' + LINKINTERNAL: 'Link to a page on this site' LINKOPENNEWWIN: 'Open link in a new window?' LINKTO: 'Link to' + LINKTYPE: 'Link type' + LINKDETAILS: 'Link details' PAGE: Page SUBJECT: 'Email subject' URL: URL