mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-23 12:25:23 +00:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user