diff --git a/UI/MailerUI/BrazilianPortuguese.lproj/Localizable.strings b/UI/MailerUI/BrazilianPortuguese.lproj/Localizable.strings index bdc4efa34..b33ace8c9 100644 --- a/UI/MailerUI/BrazilianPortuguese.lproj/Localizable.strings +++ b/UI/MailerUI/BrazilianPortuguese.lproj/Localizable.strings @@ -241,6 +241,7 @@ "Please select a message." = "Por favor, selecione uma mensagem."; "Please select a message to print." = "Por favor, selecione a mensagem para imprimir."; "Please select only one message to print." = "Por favor, selecione somente uma mensagem para imprimir."; +"The message you have selected doesn't exist anymore." = "The message you have selected doesn't exist anymore."; "The folder with name \"%{0}\" could not be created." diff --git a/UI/MailerUI/Czech.lproj/Localizable.strings b/UI/MailerUI/Czech.lproj/Localizable.strings index 76e412426..9b6973bc6 100644 --- a/UI/MailerUI/Czech.lproj/Localizable.strings +++ b/UI/MailerUI/Czech.lproj/Localizable.strings @@ -241,6 +241,7 @@ "Please select a message." = "Vyberte zprávu prosím."; "Please select a message to print." = "Zvolte prosím zprávu, kterou chcete tisknout."; "Please select only one message to print." = "Zvolte pouze jednu zprávu, kterou chcete tisknout."; +"The message you have selected doesn't exist anymore." = "The message you have selected doesn't exist anymore."; "The folder with name \"%{0}\" could not be created." diff --git a/UI/MailerUI/Dutch.lproj/Localizable.strings b/UI/MailerUI/Dutch.lproj/Localizable.strings index 53bb0fc53..6067cac76 100644 --- a/UI/MailerUI/Dutch.lproj/Localizable.strings +++ b/UI/MailerUI/Dutch.lproj/Localizable.strings @@ -241,6 +241,7 @@ "Please select a message." = "Selecteer een bericht."; "Please select a message to print." = "Selecteer een bericht om af te drukken."; "Please select only one message to print." = "Selecteer een enkel bericht om af te drukken."; +"The message you have selected doesn't exist anymore." = "The message you have selected doesn't exist anymore."; "The folder with name \"%{0}\" could not be created." diff --git a/UI/MailerUI/English.lproj/Localizable.strings b/UI/MailerUI/English.lproj/Localizable.strings index 763fbeb13..4ac6e075d 100644 --- a/UI/MailerUI/English.lproj/Localizable.strings +++ b/UI/MailerUI/English.lproj/Localizable.strings @@ -241,6 +241,7 @@ "Please select a message." = "Please select a message."; "Please select a message to print." = "Please select a message to print."; "Please select only one message to print." = "Please select only one message to print."; +"The message you have selected doesn't exist anymore." = "The message you have selected doesn't exist anymore."; "The folder with name \"%{0}\" could not be created." diff --git a/UI/MailerUI/French.lproj/Localizable.strings b/UI/MailerUI/French.lproj/Localizable.strings index 534d23428..cc4634f84 100644 --- a/UI/MailerUI/French.lproj/Localizable.strings +++ b/UI/MailerUI/French.lproj/Localizable.strings @@ -241,6 +241,7 @@ "Please select a message." = "Veuillez sélectionner un message."; "Please select a message to print." = "Veuillez sélectionner un message à imprimer."; "Please select only one message to print." = "Veuillez ne sélectionner qu'un seul message à imprimer."; +"The message you have selected doesn't exist anymore." = "Le message que vous avez selectionné n'existe plus."; "The folder with name \"%{0}\" could not be created." diff --git a/UI/MailerUI/German.lproj/Localizable.strings b/UI/MailerUI/German.lproj/Localizable.strings index a6b685147..e5203a3cc 100644 --- a/UI/MailerUI/German.lproj/Localizable.strings +++ b/UI/MailerUI/German.lproj/Localizable.strings @@ -241,6 +241,7 @@ "Please select a message." = "Sie müssen eine Nachricht auswählen."; "Please select a message to print." = "Sie müssen eine Nachricht zum Drucken auswählen."; "Please select only one message to print." = "Bitte wählen Sie nur eine Nachricht zum Drucken aus."; +"The message you have selected doesn't exist anymore." = "The message you have selected doesn't exist anymore."; "The folder with name \"%{0}\" could not be created." diff --git a/UI/MailerUI/Hungarian.lproj/Localizable.strings b/UI/MailerUI/Hungarian.lproj/Localizable.strings index ab5698596..b858e334a 100644 --- a/UI/MailerUI/Hungarian.lproj/Localizable.strings +++ b/UI/MailerUI/Hungarian.lproj/Localizable.strings @@ -241,6 +241,9 @@ "Please select a message." = "Kérem válasszon egy üzenetet."; "Please select a message to print." = "Kérem válasszon ki egy üzenetet a nyomtatáshoz."; "Please select only one message to print." = "Kérem csak egy üzenetet válasszon a nyomtatáshoz."; +"The message you have selected doesn't exist anymore." = "The message you have selected doesn't exist anymore."; + + "The folder with name \"%{0}\" could not be created." diff --git a/UI/MailerUI/Italian.lproj/Localizable.strings b/UI/MailerUI/Italian.lproj/Localizable.strings index 46d12e03e..773ac4fb6 100644 --- a/UI/MailerUI/Italian.lproj/Localizable.strings +++ b/UI/MailerUI/Italian.lproj/Localizable.strings @@ -242,6 +242,7 @@ "Please select a message." = "Per favore seleziona un messaggio."; "Please select a message to print." = "Per favore seleziona un messaggio da stampare."; "Please select only one message to print." = "Per favore seleziona un solo messaggio da stampare."; +"The message you have selected doesn't exist anymore." = "The message you have selected doesn't exist anymore."; "The folder with name \"%{0}\" could not be created." = "La cartella con nome \"%{0}\" non può essere creata."; diff --git a/UI/MailerUI/Russian.lproj/Localizable.strings b/UI/MailerUI/Russian.lproj/Localizable.strings index bc79da507..6f7cd0344 100644 --- a/UI/MailerUI/Russian.lproj/Localizable.strings +++ b/UI/MailerUI/Russian.lproj/Localizable.strings @@ -237,6 +237,7 @@ "Please select a message." = "Пожалуйста выберите сообщение."; "Please select a message to print." = "Пожалуйста выберите сообщение для отправки на печать."; "Please select only one message to print." = "Пожалуйста выберите только одно сообщение для печати."; +"The message you have selected doesn't exist anymore." = "The message you have selected doesn't exist anymore."; "The folder with name \"%{0}\" could not be created." diff --git a/UI/MailerUI/Spanish.lproj/Localizable.strings b/UI/MailerUI/Spanish.lproj/Localizable.strings index 760f51a05..bd08de9de 100644 --- a/UI/MailerUI/Spanish.lproj/Localizable.strings +++ b/UI/MailerUI/Spanish.lproj/Localizable.strings @@ -241,6 +241,7 @@ "Please select a message." = "Seleccione un mensaje primero."; "Please select a message to print." = "Seleccione el mensaje que desea imprimir."; "Please select only one message to print." = "Para imprimir, seleccione sólo un mensaje."; +"The message you have selected doesn't exist anymore." = "The message you have selected doesn't exist anymore."; "The folder with name \"%{0}\" could not be created." diff --git a/UI/MailerUI/Welsh.lproj/Localizable.strings b/UI/MailerUI/Welsh.lproj/Localizable.strings index 809023596..99cdb47bc 100644 --- a/UI/MailerUI/Welsh.lproj/Localizable.strings +++ b/UI/MailerUI/Welsh.lproj/Localizable.strings @@ -241,6 +241,7 @@ "Please select a message." = "Dewiswch neges."; "Please select a message to print." = "Dewiswch neges i'w argraffu."; "Please select only one message to print." = "Dewiswch un neges yn unig i'w argraffu."; +"The message you have selected doesn't exist anymore." = "The message you have selected doesn't exist anymore."; "The folder with name \"%{0}\" could not be created." diff --git a/UI/WebServerResources/MailerUI.js b/UI/WebServerResources/MailerUI.js index a04e0ea7a..447b90641 100644 --- a/UI/WebServerResources/MailerUI.js +++ b/UI/WebServerResources/MailerUI.js @@ -1149,6 +1149,10 @@ function messageCallback(http) { storeCachedMessage(cachedMessage); } } + else if (http.status == 404) { + alert (labels["The message you have selected doesn't exist anymore."]); + window.location.reload (); + } else log("messageCallback: problem during ajax request: " + http.status); }