mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-18 05:51:26 +02:00
Javascript bugfix + translations.
This commit is contained in:
@@ -22,14 +22,16 @@ def init():
|
||||
parameters.register_admin("amavis_quarantine", "AM_PDP_MODE", type="list",
|
||||
deflt="unix",
|
||||
values=[("inet", "inet"), ("unix", "unix")],
|
||||
help="")
|
||||
help=_("Mode used to access the PDP server"))
|
||||
parameters.register_admin("amavis_quarantine", "AM_PDP_HOST", type="string",
|
||||
deflt="localhost", help="")
|
||||
deflt="localhost",
|
||||
help=-("PDP server address (if inet mode)"))
|
||||
parameters.register_admin("amavis_quarantine", "AM_PDP_PORT", type="int",
|
||||
deflt=9998, help="")
|
||||
deflt=9998,
|
||||
help=_("PDP server port (if inet mode)"))
|
||||
parameters.register_admin("amavis_quarantine", "AM_PDP_SOCKET", type="string",
|
||||
deflt="/var/amavis/amavisd.sock",
|
||||
help="")
|
||||
help=_("Path to the PDP server socket (if unix mode)"))
|
||||
|
||||
def destroy():
|
||||
events.unregister("UserMenuDisplay", menu)
|
||||
|
||||
@@ -716,7 +716,7 @@ msgstr "Compresser ce dossier"
|
||||
|
||||
#: extensions/webmail/templatetags/webextras.py:86
|
||||
msgid "Empty folder"
|
||||
msgstr "Dossier vide"
|
||||
msgstr "Vider ce dossier"
|
||||
|
||||
#: lib/__init__.py:63
|
||||
#, python-format
|
||||
|
||||
+3
-3
@@ -32,7 +32,7 @@ check_anchor = function() {
|
||||
} else {
|
||||
query = current_anchor.serialized.substring(1);
|
||||
}
|
||||
infobox.show("Loading...", "gray");
|
||||
infobox.show(gettext("Loading..."), "gray");
|
||||
new Request.JSON({url: query, onSuccess: function(resp) {
|
||||
callback = ($defined(resp.callback)) ? resp.callback : "default";
|
||||
callbacks[callback](resp);
|
||||
@@ -195,7 +195,7 @@ parse_menubar = function(id) {
|
||||
}
|
||||
});
|
||||
});
|
||||
SqueezeBox.assign($$('a.boxed'), {
|
||||
SqueezeBox.assign($(id).getElements('a[class=boxed]'), {
|
||||
parse: 'rel',
|
||||
});
|
||||
}
|
||||
@@ -310,7 +310,7 @@ searchbox_init = function() {
|
||||
|
||||
$("searchfield").addEvent("blur", function(event) {
|
||||
if ($("searchfield").value == "") {
|
||||
$("searchfield").set("value", "Search...");
|
||||
$("searchfield").set("value", gettext("Search..."));
|
||||
}
|
||||
});
|
||||
$("searchbox").setStyle("float", "left");
|
||||
|
||||
Reference in New Issue
Block a user