Mantis 3319: gestion des labels JavaScript

Monotone-Parent: 354ed3b0a354fd29a34c03d0b9f2d7961066e075
Monotone-Revision: 9ce00a7f3dabe1a68fa6eb5c0dc5e85403287b76

Monotone-Author: crobert@inverse.ca
Monotone-Date: 2009-09-11T20:25:06
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
C Robert
2009-09-11 20:25:06 +00:00
parent 8d8d9e4155
commit 4b54234375
13 changed files with 93 additions and 80 deletions
@@ -46,7 +46,7 @@ function addUserLineToTree(tree, parent, line) {
ResourcesURL + '/abcard.gif',
ResourcesURL + '/abcard.gif');
if (window.opener.userFolderType != "user") {
tree.add(parent + 1, parent, labels["Please wait..."], 0, '#', null,
tree.add(parent + 1, parent, label ("Please wait..."), 0, '#', null,
null, '', '', icon, icon);
}
}
@@ -184,7 +184,7 @@ function addFolderBranchToTree(tree, user, folder, nodeId, subId, isLast) {
function addFolderNotFoundNode (tree, nodeId) {
var icon = ResourcesURL + '/icon_unread.gif';
var node = new Node(1, nodeId, labels["No possible subscription"], 0, '#',
var node = new Node(1, nodeId, label ("No possible subscription"), 0, '#',
null, null, '', '', icon, icon);
node._ls = true;
return tree.node(node, (nodeId + 1));
@@ -216,7 +216,7 @@ function onConfirmFolderSelection(event) {
var data = { folderName: folderName, folder: folder, window: window };
if (parent$(accessToSubscribedFolder(folder)))
window.alert(clabels["You have already subscribed to that folder!"]);
window.alert(label ("You have already subscribed to that folder!"));
else
window.opener.subscribeToFolder(window.opener.userFolderCallback, data);
}