BUGFIX Renamed "Save & Publish" to "Save and Publish" since this value is used in the value attribute of input elements, properly parsed, this would produce & instead of &

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@64506 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sean Harvey 2008-10-19 01:28:30 +00:00
parent 8e1f647252
commit a6e6a4387d
2 changed files with 2 additions and 2 deletions

View File

@ -1198,7 +1198,7 @@ class SiteTree extends DataObject {
}
if($this->canPublish()) {
$actions[] = new FormAction('publish', _t('SiteTree.BUTTONSAVEPUBLISH', 'Save & Publish'));
$actions[] = new FormAction('publish', _t('SiteTree.BUTTONSAVEPUBLISH', 'Save and Publish'));
}
// getCMSActions() can be extended with updateCmsActions() on a decorator

View File

@ -131,7 +131,7 @@ $lang['en_US']['SiteTree']['BUTTONUNPUBLISH'] = 'Unpublish';
$lang['en_US']['SiteTree']['BUTTONUNPUBLISHDESC'] = 'Remove this page from the published site';
$lang['en_US']['SiteTree']['BUTTONCANCELDRAFT'] = 'Cancel draft changes';
$lang['en_US']['SiteTree']['BUTTONCANCELDRAFTDESC'] = 'Delete your draft and revert to the currently published page';
$lang['en_US']['SiteTree']['BUTTONSAVEPUBLISH'] = 'Save & Publish';
$lang['en_US']['SiteTree']['BUTTONSAVEPUBLISH'] = 'Save and Publish';
$lang['en_US']['SiteTree']['CURRENTLY'] = 'Currently';
$lang['en_US']['SiteTree']['CHANGETO'] = 'Change to';
$lang['en_US']['SiteTree']['CURRENT'] = 'current';