MINOR JS translations in LeftAndMain

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65292 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2008-11-05 14:38:59 +00:00
parent 86017a5ae9
commit d8acf97911
3 changed files with 5 additions and 3 deletions

View File

@ -39,7 +39,7 @@ CMSForm.prototype = {
*/
closeIfSetTo: function(id) {
if(this.elements.ID && this.elements.ID.value == id) {
this.innerHTML = "<p>This page was deleted. To edit a page, select it from the left.</p>";
this.innerHTML = "<p>" + ss.i18n._t('LeftAndMain.PAGEWASDELETED') + "</p>";
// Note: TinyMCE coupling
if((typeof tinymce != 'undefined') && tinymce.EditorManager) {
tinymce.EditorManager.editors = {};

View File

@ -21,6 +21,7 @@ if(typeof(ss) == 'undefined' || typeof(ss.i18n) == 'undefined') {
'CMSMAIN.SAVING' : 'Sichern...',
'ModelAdmin.SAVED': "Gespeichert",
'ModelAdmin.REALLYDELETE': "Wirklich löschen?",
'ModelAdmin.DELETED': "Gelöscht"
'ModelAdmin.DELETED': "Gelöscht",
'LeftAndMain.PAGEWASDELETED': "Diese Seite wurde gelöscht."
});
}

View File

@ -21,6 +21,7 @@ if(typeof(ss) == 'undefined' || typeof(ss.i18n) == 'undefined') {
'CMSMAIN.SAVING' : 'saving...',
'ModelAdmin.SAVED': "Saved",
'ModelAdmin.REALLYDELETE': "Do you really want to delete?",
'ModelAdmin.DELETED': "Deleted"
'ModelAdmin.DELETED': "Deleted",
'LeftAndMain.PAGEWASDELETED': "This page was deleted. To edit a page, select it from the left."
});
}