if(typeof(ss) == 'undefined' || typeof(ss.i18n) == '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
%s', 'CMSMAIN.ERRORUNFILTER' : 'Could not unfilter site tree
%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...' }); }