2008-10-03 02:48:34 +02:00
if ( typeof ( ss ) == 'undefined' || typeof ( ss . i18n ) == 'undefined' ) {
2009-01-05 07:17:59 +01:00
if ( typeof ( console ) != 'undefined' ) console . error ( 'Class ss.i18n not defined' ) ;
2008-10-03 02:48:34 +02:00
} 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' ,
2008-10-08 14:17:42 +02:00
'CMSMAIN.REALLYDELETEPAGES' : "Do you really want to delete the %s marked pages?" ,
2008-10-03 02:48:34 +02:00
'CMSMAIN.DELETINGPAGES' : 'Deleting pages...' ,
'CMSMAIN.ERRORDELETINGPAGES' : 'Error deleting pages' ,
'CMSMAIN.PUBLISHING' : 'Publishing...' ,
'CMSMAIN.RESTORING' : 'Restoring...' ,
'CMSMAIN.ERRORREVERTING' : 'Error reverting to live content' ,
2008-10-10 14:15:31 +02:00
'CMSMAIN.SAVING' : 'saving...' ,
'ModelAdmin.SAVED' : "Saved" ,
'ModelAdmin.REALLYDELETE' : "Do you really want to delete?" ,
2008-11-05 15:38:59 +01:00
'ModelAdmin.DELETED' : "Deleted" ,
2009-03-13 11:19:57 +01:00
'ModelAdmin.VALIDATIONERROR' : "Validation Error" ,
2009-01-05 07:17:59 +01:00
'LeftAndMain.PAGEWASDELETED' : "This page was deleted. To edit a page, select it from the left." ,
'LeftAndMain.CONFIRMUNSAVED' : "Are you sure you want to navigate away from this page?\n\nWARNING: Your changes have not been saved.\n\nPress OK to continue, or Cancel to stay on the current page."
2008-10-03 02:48:34 +02:00
} ) ;
}