Monotone-Parent: 5aae1bc400a8ae0cab4b8402c0eb3b059b8b9756

Monotone-Revision: 685c9ae25de2a186a85413b3e3a5372623cac3c9

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2008-08-26T19:13:41
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2008-08-26 19:13:41 +00:00
parent 1d493d553e
commit 2be02b8f40
7 changed files with 82 additions and 9 deletions

View File

@ -204,6 +204,17 @@
"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 folder with name \"%{0}\" could not be created."
= "The folder with name \"%{0}\" could not be created.";
"This folder could not be renamed to \"%{0}\"."
= "This folder could not be renamed to \"%{0}\".";
"The folder could not be deleted."
= "The folder could not be deleted.";
"The trash could not be emptied."
= "The trash could not be emptied.";
"The folder functionality could not be changed."
= "The folder functionality could not be changed.";
"You need to choose a non-virtual folder!" = "U dient een niet-virtuele map te kiezen!";
"Moving a message into its own folder is impossible!"

View File

@ -220,6 +220,18 @@
"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 folder with name \"%{0}\" could not be created."
= "The folder with name \"%{0}\" could not be created.";
"This folder could not be renamed to \"%{0}\"."
= "This folder could not be renamed to \"%{0}\".";
"The folder could not be deleted."
= "The folder could not be deleted.";
"The trash could not be emptied."
= "The trash could not be emptied.";
"The folder functionality could not be changed."
= "The folder functionality could not be changed.";
"You need to choose a non-virtual folder!" = "You need to choose a non-virtual folder!";
"Moving a message into its own folder is impossible!"

View File

@ -221,6 +221,17 @@
"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 folder with name \"%{0}\" could not be created."
= "Le dossier intitulé \"%{0}\" n'a pas pu être créé.";
"This folder could not be renamed to \"%{0}\"."
= "Ce dossier n'a pu être renommé en \"%{0}\".";
"The folder could not be deleted."
= "Le dossier n'a pas pu être effacé.";
"The trash could not be emptied."
= "La corbeille n'a pas pu être vidée.";
"The folder functionality could not be changed."
= "La fonctionnalité du dossier n'a pas pu être changée.";
"You need to choose a non-virtual folder!" = "Vous devez choisir un dossier non-virtuel.";
"Moving a message into its own folder is impossible!"

View File

@ -204,6 +204,17 @@
"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 folder with name \"%{0}\" could not be created."
= "The folder with name \"%{0}\" could not be created.";
"This folder could not be renamed to \"%{0}\"."
= "This folder could not be renamed to \"%{0}\".";
"The folder could not be deleted."
= "The folder could not be deleted.";
"The trash could not be emptied."
= "The trash could not be emptied.";
"The folder functionality could not be changed."
= "The folder functionality could not be changed.";
"You need to choose a non-virtual folder!" = "Sie müssen einen nicht-virtuellen Ordner auswählen!";
"Moving a message into its own folder is impossible!"

View File

@ -227,6 +227,17 @@
"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 folder with name \"%{0}\" could not be created."
= "The folder with name \"%{0}\" could not be created.";
"This folder could not be renamed to \"%{0}\"."
= "This folder could not be renamed to \"%{0}\".";
"The folder could not be deleted."
= "The folder could not be deleted.";
"The trash could not be emptied."
= "The trash could not be emptied.";
"The folder functionality could not be changed."
= "The folder functionality could not be changed.";
"You need to choose a non-virtual folder!" = "Devi selezionare una cartella fisica, non virtuale!";
"Moving a message into its own folder is impossible!"

View File

@ -223,6 +223,17 @@
"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 folder with name \"%{0}\" could not be created."
= "The folder with name \"%{0}\" could not be created.";
"This folder could not be renamed to \"%{0}\"."
= "This folder could not be renamed to \"%{0}\".";
"The folder could not be deleted."
= "The folder could not be deleted.";
"The trash could not be emptied."
= "The trash could not be emptied.";
"The folder functionality could not be changed."
= "The folder functionality could not be changed.";
"You need to choose a non-virtual folder!" = "Ha de seleccionar una carpeta no virtual.";
"Moving a message into its own folder is impossible!"

View File

@ -1581,18 +1581,21 @@ function onMenuCreateFolder(event) {
if (name && name.length > 0) {
var folderID = document.menuTarget.getAttribute("dataname");
var urlstr = URLForFolderID(folderID) + "/createFolder?name=" + name;
triggerAjaxRequest(urlstr, folderOperationCallback);
var errorLabel = labels["The folder with name \"%{0}\" could not be created."];
triggerAjaxRequest(urlstr, folderOperationCallback,
errorLabel.formatted(name));
}
}
function onMenuRenameFolder(event) {
var name = window.prompt(labels["Enter the new name of your folder :"]
,
"");
var name = window.prompt(labels["Enter the new name of your folder :"],
"");
if (name && name.length > 0) {
var folderID = document.menuTarget.getAttribute("dataname");
var urlstr = URLForFolderID(folderID) + "/renameFolder?name=" + name;
triggerAjaxRequest(urlstr, folderOperationCallback);
var errorLabel = labels["This folder could not be renamed to \"%{0}\"."];
triggerAjaxRequest(urlstr, folderOperationCallback,
errorLabel.formatted(name));
}
}
@ -1601,7 +1604,8 @@ function onMenuDeleteFolder(event) {
if (answer) {
var folderID = document.menuTarget.getAttribute("dataname");
var urlstr = URLForFolderID(folderID) + "/deleteFolder";
triggerAjaxRequest(urlstr, folderOperationCallback);
var errorLabel = labels["The folder could not be deleted."];
triggerAjaxRequest(urlstr, folderOperationCallback, errorLabel);
}
}
@ -1614,7 +1618,8 @@ function onMenuExpungeFolder(event) {
function onMenuEmptyTrash(event) {
var folderID = document.menuTarget.getAttribute("dataname");
var urlstr = URLForFolderID(folderID) + "/emptyTrash";
triggerAjaxRequest(urlstr, folderOperationCallback, folderID);
var errorLabel = labels["The trash could not be emptied."];
triggerAjaxRequest(urlstr, folderOperationCallback, errorLabel);
if (folderID == Mailer.currentMailbox) {
var div = $('messageContent');
@ -1634,7 +1639,8 @@ function _onMenuChangeToXXXFolder(event, folder) {
else {
var folderID = document.menuTarget.getAttribute("dataname");
var urlstr = URLForFolderID(folderID) + "/setAs" + folder + "Folder";
triggerAjaxRequest(urlstr, folderOperationCallback);
var errorLabel = labels["The folder functionality could not be changed."];
triggerAjaxRequest(urlstr, folderOperationCallback, errorLabel);
}
}
@ -1731,7 +1737,7 @@ function folderOperationCallback(http) {
&& isHttpStatus204(http.status))
initMailboxTree();
else
window.alert(labels["Operation failed"]);
window.alert(http.callbackData);
}
function folderRefreshCallback(http) {