mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
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:
parent
86017a5ae9
commit
d8acf97911
@ -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 = {};
|
||||
|
@ -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."
|
||||
});
|
||||
}
|
@ -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."
|
||||
});
|
||||
}
|
Loading…
Reference in New Issue
Block a user