Permalink
Browse files

MINOR Allowing translation of "save" button in SiteConfig->getCMSActi…

…ons() (from r104978)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112418 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
1 parent 86cae58 commit a213ce783999cd708dc1c12eb616de629914bf8d @chillu chillu committed Oct 15, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/model/SiteConfig.php
@@ -121,7 +121,7 @@ public function getAvailableThemes($baseDir = null) {
function getCMSActions() {
if (Permission::check('ADMIN') || Permission::check('EDIT_SITECONFIG')) {
$actions = new FieldSet(
- new FormAction('save_siteconfig', 'Save')
+ new FormAction('save_siteconfig', _t('CMSMain.SAVE','Save'))
);
} else {
$actions = new FieldSet();

0 comments on commit a213ce7

Please sign in to comment.