diff --git a/javascript/LeftAndMain_right.js b/javascript/LeftAndMain_right.js index 45fff5fe..67ddda2c 100755 --- a/javascript/LeftAndMain_right.js +++ b/javascript/LeftAndMain_right.js @@ -39,7 +39,7 @@ CMSForm.prototype = { */ closeIfSetTo: function(id) { if(this.elements.ID && this.elements.ID.value == id) { - this.innerHTML = "

This page was deleted. To edit a page, select it from the left.

"; + this.innerHTML = "

" + ss.i18n._t('LeftAndMain.PAGEWASDELETED') + "

"; // Note: TinyMCE coupling if((typeof tinymce != 'undefined') && tinymce.EditorManager) { tinymce.EditorManager.editors = {}; diff --git a/javascript/lang/de_DE.js b/javascript/lang/de_DE.js index b5a88fda..a6a788ea 100644 --- a/javascript/lang/de_DE.js +++ b/javascript/lang/de_DE.js @@ -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." }); } \ No newline at end of file diff --git a/javascript/lang/en_US.js b/javascript/lang/en_US.js index fcd7cdcd..c3ea7a83 100644 --- a/javascript/lang/en_US.js +++ b/javascript/lang/en_US.js @@ -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." }); } \ No newline at end of file