mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
MINOR More LeftAndMain translatable strings (see #3286)
MINOR Updated cms master tables git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@69611 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
85219a154d
commit
cbe7fe56e2
@ -654,7 +654,18 @@ JS;
|
||||
$newClass = $record->ClassName;
|
||||
$publishedRecord = $record->newClassInstance($newClass);
|
||||
|
||||
return $this->tellBrowserAboutPublicationChange($publishedRecord, "Published '$record->Title' successfully");
|
||||
return $this->tellBrowserAboutPublicationChange(
|
||||
$publishedRecord,
|
||||
sprintf(
|
||||
_t(
|
||||
'LeftAndMain.STATUSPUBLISHEDSUCCESS',
|
||||
"Published '%s' successfully",
|
||||
PR_MEDIUM,
|
||||
'Status message after publishing a page, showing the page title'
|
||||
),
|
||||
$record->Title
|
||||
)
|
||||
);
|
||||
} else {
|
||||
// BUGFIX: Changed icon only shows after Save button is clicked twice http://support.silverstripe.com/gsoc/ticket/76
|
||||
$title = Convert::raw2js($record->TreeTitle());
|
||||
|
@ -76,7 +76,7 @@ $lang['en_US']['CMSMain']['ACCESS'] = array(
|
||||
$lang['en_US']['CMSMain']['ACCESSALLINTERFACES'] = 'Access to all CMS interfaces';
|
||||
$lang['en_US']['CMSMain']['CANCEL'] = 'Cancel';
|
||||
$lang['en_US']['CMSMain']['CHOOSEREPORT'] = '(Choose a report)';
|
||||
$lang['en_US']['CMSMain']['COMPARINGV'] = 'You are comparing versions %s and %s';
|
||||
$lang['en_US']['CMSMain']['COMPARINGV'] = 'Comparing versions %s and %s';
|
||||
$lang['en_US']['CMSMain']['COPYPUBTOSTAGE'] = 'Do you really want to copy the published content to the stage site?';
|
||||
$lang['en_US']['CMSMain']['DELETE'] = 'Delete from the draft site';
|
||||
$lang['en_US']['CMSMain']['DESCREMOVED'] = 'and %s descendants';
|
||||
@ -135,7 +135,11 @@ $lang['en_US']['CMSMain']['VERSIONSNOPAGE'] = array(
|
||||
'Can\'t find page #%d',
|
||||
PR_LOW
|
||||
);
|
||||
$lang['en_US']['CMSMain']['VIEWING'] = 'You are viewing version %s, created %s by %s';
|
||||
$lang['en_US']['CMSMain']['VIEWING'] = array(
|
||||
'You are viewing version #%s, created %s by %s',
|
||||
PR_MEDIUM,
|
||||
'Version number is a linked string, created is a relative time (e.g. 2 days ago), by a specific author'
|
||||
);
|
||||
$lang['en_US']['CMSMain']['VISITRESTORE'] = array(
|
||||
'visit restorepage/(ID)',
|
||||
PR_LOW,
|
||||
@ -280,6 +284,11 @@ $lang['en_US']['LeftAndMain']['SITECONTENTLEFT'] = array(
|
||||
PR_HIGH,
|
||||
'Root node on left'
|
||||
);
|
||||
$lang['en_US']['LeftAndMain']['STATUSPUBLISHEDSUCCESS'] = array(
|
||||
'Published \'%s\' successfully',
|
||||
PR_MEDIUM,
|
||||
'Status message after publishing a page, showing the page title'
|
||||
);
|
||||
$lang['en_US']['LeftAndMain']['STATUSTO'] = ' Status changed to \'%s\'';
|
||||
$lang['en_US']['LeftAndMain']['TREESITECONTENT'] = array(
|
||||
'Site Content',
|
||||
@ -412,7 +421,9 @@ $lang['en_US']['PageCommentInterface.ss']['NEXT'] = 'next';
|
||||
$lang['en_US']['PageCommentInterface.ss']['NOCOMMENTSYET'] = 'No one has commented on this page yet.';
|
||||
$lang['en_US']['PageCommentInterface.ss']['POSTCOM'] = 'Post your comment';
|
||||
$lang['en_US']['PageCommentInterface.ss']['PREV'] = 'previous';
|
||||
$lang['en_US']['PageCommentInterface.ss']['RSSFEEDALLCOMMENTS'] = 'RSS feed for all comments';
|
||||
$lang['en_US']['PageCommentInterface.ss']['RSSFEEDCOMMENTS'] = 'RSS feed for comments on this page';
|
||||
$lang['en_US']['PageCommentInterface.ss']['RSSVIEWALLCOMMENTS'] = 'View all Comments';
|
||||
$lang['en_US']['PageCommentInterface_Controller']['SPAMQUESTION'] = 'Spam protection question: %s';
|
||||
$lang['en_US']['PageCommentInterface_Form']['AWAITINGMODERATION'] = 'Your comment has been submitted and is now awaiting moderation.';
|
||||
$lang['en_US']['PageCommentInterface_Form']['MSGYOUPOSTED'] = 'The message you posted was:';
|
||||
|
Loading…
Reference in New Issue
Block a user