silverstripe-reports/javascript/lang/en_US.js
Ingo Schommer 5aef49a0a7 API CHANGE Removed ChangeTracker javascript class, superseded by jquery.changetracker
API CHANGE Removed autoSave() javascript logic in CMS, superseded by custom code in LeftAndMain.EditForm.js
ENHANCEMENT Using jquery.changetracker in LeftAndMain.EditForm.js, and overhauled window.unload logic to automatically trigger ajax saving after a user confirmation
MINOR Changed unload confirmation text in CMS logic to adapt to new behaviour

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92685 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:14:08 +00:00

29 lines
1.6 KiB
JavaScript

if(typeof(ss) == 'undefined' || typeof(ss.i18n) == 'undefined') {
if(typeof(console) != 'undefined') console.error('Class ss.i18n not defined');
} else {
ss.i18n.addDictionary('en_US', {
'CMSMAIN.WARNINGSAVEPAGESBEFOREADDING' : "You have to save a page before adding children underneath it",
'CMSMAIN.CANTADDCHILDREN' : "You can't add children to the selected node",
'CMSMAIN.ERRORADDINGPAGE' : 'Error adding page',
'CMSMAIN.FILTEREDTREE' : 'Filtered tree to only show changed pages',
'CMSMAIN.ERRORFILTERPAGES' : 'Could not filter tree to only show changed pages<br />%s',
'CMSMAIN.ERRORUNFILTER' : 'Could not unfilter site tree<br />%s',
'CMSMAIN.ERRORUNFILTER' : 'Unfiltered tree',
'CMSMAIN.PUBLISHINGPAGES' : 'Publishing pages...',
'CMSMAIN.SELECTONEPAGE' : "Please select at least 1 page.",
'CMSMAIN.ERRORPUBLISHING' : 'Error publishing pages',
'CMSMAIN.REALLYDELETEPAGES' : "Do you really want to delete the %s marked pages?",
'CMSMAIN.DELETINGPAGES' : 'Deleting pages...',
'CMSMAIN.ERRORDELETINGPAGES': 'Error deleting pages',
'CMSMAIN.PUBLISHING' : 'Publishing...',
'CMSMAIN.RESTORING': 'Restoring...',
'CMSMAIN.ERRORREVERTING': 'Error reverting to live content',
'CMSMAIN.SAVING' : 'saving...',
'ModelAdmin.SAVED': "Saved",
'ModelAdmin.REALLYDELETE': "Do you really want to delete?",
'ModelAdmin.DELETED': "Deleted",
'ModelAdmin.VALIDATIONERROR': "Validation Error",
'LeftAndMain.PAGEWASDELETED': "This page was deleted. To edit a page, select it from the left.",
'LeftAndMain.CONFIRMUNSAVED': "You have unsaved changes. Are you sure you want to navigate away from this page?\n\nPress OK to save your changes automatically."
});
}