diff --git a/src/eventmanager.cpp b/src/eventmanager.cpp
index 845e2aaf1..7a2a649a4 100644
--- a/src/eventmanager.cpp
+++ b/src/eventmanager.cpp
@@ -169,6 +169,10 @@ void EventManager::setGlobalPreferences(QVariantMap m) const {
Preferences::setMailNotificationEmail(m["mail_notification_email"].toString());
if(m.contains("mail_notification_smtp"))
Preferences::setMailNotificationSMTP(m["mail_notification_smtp"].toString());
+ if(m.contains("autorun_enabled"))
+ Preferences::setAutoRunEnabled(m["autorun_enabled"].toBool());
+ if(m.contains("autorun_program"))
+ Preferences::setAutoRunProgram(m["autorun_program"].toString());
if(m.contains("preallocate_all"))
Preferences::preAllocateAllFiles(m["preallocate_all"].toBool());
if(m.contains("queueing_enabled"))
@@ -274,6 +278,8 @@ QVariantMap EventManager::getGlobalPreferences() const {
data["mail_notification_enabled"] = Preferences::isMailNotificationEnabled();
data["mail_notification_email"] = Preferences::getMailNotificationEmail();
data["mail_notification_smtp"] = Preferences::getMailNotificationSMTP();
+ data["autorun_enabled"] = Preferences::isAutoRunEnabled();
+ data["autorun_program"] = Preferences::getAutoRunProgram();
data["preallocate_all"] = Preferences::preAllocateAllFiles();
data["queueing_enabled"] = Preferences::isQueueingSystemEnabled();
data["max_active_downloads"] = Preferences::getMaxActiveDownloads();
diff --git a/src/httpconnection.cpp b/src/httpconnection.cpp
index 0acb7aa39..99acfd855 100644
--- a/src/httpconnection.cpp
+++ b/src/httpconnection.cpp
@@ -109,7 +109,7 @@ QString HttpConnection::translateDocument(QString data) {
bool found = false;
do {
found = false;
- QRegExp regex(QString::fromUtf8("_\\(([\\w\\s?!:\\/\\(\\),µ&\\-\\.]+)\\)"));
+ QRegExp regex(QString::fromUtf8("_\\(([\\w\\s?!:\\/\\(\\),%µ&\\-\\.]+)\\)"));
i = regex.indexIn(data, i);
if(i >= 0) {
//qDebug("Found translatable string: %s", regex.cap(1).toUtf8().data());
diff --git a/src/webui/preferences_content.html b/src/webui/preferences_content.html
index 70a8fa6e6..444fedf64 100644
--- a/src/webui/preferences_content.html
+++ b/src/webui/preferences_content.html
@@ -131,6 +131,14 @@
+