summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--module/web/locale/de/LC_MESSAGES/django.po89
-rw-r--r--module/web/locale/en/LC_MESSAGES/django.po89
-rw-r--r--module/web/settings.py7
-rwxr-xr-xpyLoadCli.py2
-rwxr-xr-xpyLoadCore.py7
-rw-r--r--systemCheck.py4
6 files changed, 129 insertions, 69 deletions
diff --git a/module/web/locale/de/LC_MESSAGES/django.po b/module/web/locale/de/LC_MESSAGES/django.po
index 3056c2b1d..081a61199 100644
--- a/module/web/locale/de/LC_MESSAGES/django.po
+++ b/module/web/locale/de/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2010-02-06 11:06+0000\n"
+"POT-Creation-Date: 2010-03-24 13:53+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -16,6 +16,11 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
+#: ajax/views.py:110
+#, python-format
+msgid "waiting %s"
+msgstr ""
+
#: pyload/views.py:26
msgid ""
"Can't connect to pyLoad. Please check your configuration and make sure "
@@ -30,100 +35,120 @@ msgstr ""
msgid "Download directory not found."
msgstr ""
-#: templates/default/base.html:21 templates/default/base.html.py:193
+#: templates/default/base.html:21 templates/default/base.html.py:217
msgid "Webinterface"
msgstr ""
-#: templates/default/base.html:31
+#: templates/default/base.html:33
msgid "Please Enter a packagename."
msgstr ""
-#: templates/default/base.html:127
+#: templates/default/base.html:85 templates/default/base.html.py:94
+#: templates/default/base.html:205 templates/default/base.html.py:206
+msgid "on"
+msgstr ""
+
+#: templates/default/base.html:89 templates/default/base.html.py:98
+#: templates/default/base.html:205 templates/default/base.html.py:206
+msgid "off"
+msgstr ""
+
+#: templates/default/base.html:149
msgid "Logout"
msgstr ""
-#: templates/default/base.html:129
+#: templates/default/base.html:151
msgid "Administrate"
msgstr ""
-#: templates/default/base.html:135
+#: templates/default/base.html:157
msgid "Please Login!"
msgstr ""
-#: templates/default/base.html:147 templates/default/collector.html:90
+#: templates/default/base.html:169 templates/default/collector.html:90
#: templates/default/downloads.html:8 templates/default/logs.html:9
#: templates/default/queue.html:80 templates/default/settings.html:9
msgid "Home"
msgstr ""
-#: templates/default/base.html:150 templates/default/collector.html:93
+#: templates/default/base.html:172 templates/default/collector.html:93
#: templates/default/downloads.html:11 templates/default/logs.html:12
#: templates/default/queue.html:75 templates/default/queue.html.py:76
#: templates/default/queue.html:83 templates/default/settings.html:12
+#: templates/default/window.html:29
msgid "Queue"
msgstr ""
-#: templates/default/base.html:153 templates/default/collector.html:85
+#: templates/default/base.html:175 templates/default/collector.html:85
#: templates/default/collector.html:86 templates/default/collector.html:96
#: templates/default/downloads.html:14 templates/default/logs.html:15
#: templates/default/queue.html:86 templates/default/settings.html:15
+#: templates/default/window.html:31
msgid "Collector"
msgstr ""
-#: templates/default/base.html:156 templates/default/collector.html:99
+#: templates/default/base.html:178 templates/default/collector.html:99
#: templates/default/downloads.html:17 templates/default/downloads.html:28
#: templates/default/logs.html:18 templates/default/queue.html:89
#: templates/default/settings.html:18
msgid "Downloads"
msgstr ""
-#: templates/default/base.html:159 templates/default/collector.html:102
+#: templates/default/base.html:181 templates/default/collector.html:102
#: templates/default/downloads.html:20 templates/default/logs.html:4
#: templates/default/logs.html.py:5 templates/default/logs.html:21
#: templates/default/queue.html:92 templates/default/settings.html:21
msgid "Logs"
msgstr ""
-#: templates/default/base.html:162 templates/default/collector.html:105
+#: templates/default/base.html:184 templates/default/collector.html:105
#: templates/default/downloads.html:23 templates/default/logs.html:24
#: templates/default/queue.html:95 templates/default/settings.html:4
#: templates/default/settings.html.py:5 templates/default/settings.html:24
msgid "Config"
msgstr ""
-#: templates/default/base.html:174
+#: templates/default/base.html:196
msgid "Play"
msgstr ""
-#: templates/default/base.html:175
+#: templates/default/base.html:197
msgid "Cancel"
msgstr ""
-#: templates/default/base.html:176
+#: templates/default/base.html:198
msgid "Stop"
msgstr ""
-#: templates/default/base.html:177
+#: templates/default/base.html:199
msgid "Add"
msgstr ""
-#: templates/default/base.html:183
+#: templates/default/base.html:205
+msgid "Download:"
+msgstr ""
+
+#: templates/default/base.html:206
+msgid "Reconnect:"
+msgstr ""
+
+#: templates/default/base.html:207
msgid "Speed:"
msgstr ""
-#: templates/default/base.html:184
+#: templates/default/base.html:208
msgid "Active:"
msgstr ""
-#: templates/default/base.html:185
+#: templates/default/base.html:209
msgid "Reload page"
msgstr ""
-#: templates/default/base.html:213
+#: templates/default/base.html:237
msgid "© 2008-2010 the pyLoad Team"
msgstr "© 2008-2010 das pyLoad Team"
-#: templates/default/base.html:215
+#: templates/default/base.html:239
msgid "Back to top"
msgstr ""
@@ -155,27 +180,27 @@ msgstr ""
msgid "It's recommend not to download Files bigger than ~10MB from here."
msgstr ""
-#: templates/default/home.html:198
+#: templates/default/home.html:192
msgid "Active Downloads"
msgstr ""
-#: templates/default/home.html:205 templates/default/window.html:11
+#: templates/default/home.html:199 templates/default/window.html:11
msgid "Name"
msgstr ""
-#: templates/default/home.html:206
+#: templates/default/home.html:200
msgid "Status"
msgstr ""
-#: templates/default/home.html:207
-msgid "Infos"
+#: templates/default/home.html:201
+msgid "Information"
msgstr ""
-#: templates/default/home.html:208
+#: templates/default/home.html:202
msgid "Size"
msgstr ""
-#: templates/default/home.html:209
+#: templates/default/home.html:203
msgid "Progress"
msgstr ""
@@ -215,7 +240,7 @@ msgstr ""
msgid "Restart Package"
msgstr ""
-#: templates/default/window.html:9 templates/default/window.html.py:26
+#: templates/default/window.html:9 templates/default/window.html.py:35
msgid "Add Package"
msgstr ""
@@ -243,6 +268,10 @@ msgstr ""
msgid "Upload a container."
msgstr ""
-#: templates/default/window.html:27
+#: templates/default/window.html:26
+msgid "Destination"
+msgstr ""
+
+#: templates/default/window.html:36
msgid "Reset"
msgstr ""
diff --git a/module/web/locale/en/LC_MESSAGES/django.po b/module/web/locale/en/LC_MESSAGES/django.po
index 647768811..f4f85013b 100644
--- a/module/web/locale/en/LC_MESSAGES/django.po
+++ b/module/web/locale/en/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2010-02-06 11:06+0000\n"
+"POT-Creation-Date: 2010-03-24 13:54+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -16,6 +16,11 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
+#: ajax/views.py:110
+#, python-format
+msgid "waiting %s"
+msgstr ""
+
#: pyload/views.py:26
msgid ""
"Can't connect to pyLoad. Please check your configuration and make sure "
@@ -30,100 +35,120 @@ msgstr ""
msgid "Download directory not found."
msgstr ""
-#: templates/default/base.html:21 templates/default/base.html.py:193
+#: templates/default/base.html:21 templates/default/base.html.py:217
msgid "Webinterface"
msgstr ""
-#: templates/default/base.html:31
+#: templates/default/base.html:33
msgid "Please Enter a packagename."
msgstr ""
-#: templates/default/base.html:127
+#: templates/default/base.html:85 templates/default/base.html.py:94
+#: templates/default/base.html:205 templates/default/base.html.py:206
+msgid "on"
+msgstr ""
+
+#: templates/default/base.html:89 templates/default/base.html.py:98
+#: templates/default/base.html:205 templates/default/base.html.py:206
+msgid "off"
+msgstr ""
+
+#: templates/default/base.html:149
msgid "Logout"
msgstr ""
-#: templates/default/base.html:129
+#: templates/default/base.html:151
msgid "Administrate"
msgstr ""
-#: templates/default/base.html:135
+#: templates/default/base.html:157
msgid "Please Login!"
msgstr ""
-#: templates/default/base.html:147 templates/default/collector.html:90
+#: templates/default/base.html:169 templates/default/collector.html:90
#: templates/default/downloads.html:8 templates/default/logs.html:9
#: templates/default/queue.html:80 templates/default/settings.html:9
msgid "Home"
msgstr ""
-#: templates/default/base.html:150 templates/default/collector.html:93
+#: templates/default/base.html:172 templates/default/collector.html:93
#: templates/default/downloads.html:11 templates/default/logs.html:12
#: templates/default/queue.html:75 templates/default/queue.html.py:76
#: templates/default/queue.html:83 templates/default/settings.html:12
+#: templates/default/window.html:29
msgid "Queue"
msgstr ""
-#: templates/default/base.html:153 templates/default/collector.html:85
+#: templates/default/base.html:175 templates/default/collector.html:85
#: templates/default/collector.html:86 templates/default/collector.html:96
#: templates/default/downloads.html:14 templates/default/logs.html:15
#: templates/default/queue.html:86 templates/default/settings.html:15
+#: templates/default/window.html:31
msgid "Collector"
msgstr ""
-#: templates/default/base.html:156 templates/default/collector.html:99
+#: templates/default/base.html:178 templates/default/collector.html:99
#: templates/default/downloads.html:17 templates/default/downloads.html:28
#: templates/default/logs.html:18 templates/default/queue.html:89
#: templates/default/settings.html:18
msgid "Downloads"
msgstr ""
-#: templates/default/base.html:159 templates/default/collector.html:102
+#: templates/default/base.html:181 templates/default/collector.html:102
#: templates/default/downloads.html:20 templates/default/logs.html:4
#: templates/default/logs.html.py:5 templates/default/logs.html:21
#: templates/default/queue.html:92 templates/default/settings.html:21
msgid "Logs"
msgstr ""
-#: templates/default/base.html:162 templates/default/collector.html:105
+#: templates/default/base.html:184 templates/default/collector.html:105
#: templates/default/downloads.html:23 templates/default/logs.html:24
#: templates/default/queue.html:95 templates/default/settings.html:4
#: templates/default/settings.html.py:5 templates/default/settings.html:24
msgid "Config"
msgstr ""
-#: templates/default/base.html:174
+#: templates/default/base.html:196
msgid "Play"
msgstr ""
-#: templates/default/base.html:175
+#: templates/default/base.html:197
msgid "Cancel"
msgstr ""
-#: templates/default/base.html:176
+#: templates/default/base.html:198
msgid "Stop"
msgstr ""
-#: templates/default/base.html:177
+#: templates/default/base.html:199
msgid "Add"
msgstr ""
-#: templates/default/base.html:183
+#: templates/default/base.html:205
+msgid "Download:"
+msgstr ""
+
+#: templates/default/base.html:206
+msgid "Reconnect:"
+msgstr ""
+
+#: templates/default/base.html:207
msgid "Speed:"
msgstr ""
-#: templates/default/base.html:184
+#: templates/default/base.html:208
msgid "Active:"
msgstr ""
-#: templates/default/base.html:185
+#: templates/default/base.html:209
msgid "Reload page"
msgstr ""
-#: templates/default/base.html:213
+#: templates/default/base.html:237
msgid "© 2008-2010 the pyLoad Team"
msgstr ""
-#: templates/default/base.html:215
+#: templates/default/base.html:239
msgid "Back to top"
msgstr ""
@@ -155,27 +180,27 @@ msgstr ""
msgid "It's recommend not to download Files bigger than ~10MB from here."
msgstr ""
-#: templates/default/home.html:198
+#: templates/default/home.html:192
msgid "Active Downloads"
msgstr ""
-#: templates/default/home.html:205 templates/default/window.html:11
+#: templates/default/home.html:199 templates/default/window.html:11
msgid "Name"
msgstr ""
-#: templates/default/home.html:206
+#: templates/default/home.html:200
msgid "Status"
msgstr ""
-#: templates/default/home.html:207
-msgid "Infos"
+#: templates/default/home.html:201
+msgid "Information"
msgstr ""
-#: templates/default/home.html:208
+#: templates/default/home.html:202
msgid "Size"
msgstr ""
-#: templates/default/home.html:209
+#: templates/default/home.html:203
msgid "Progress"
msgstr ""
@@ -215,7 +240,7 @@ msgstr ""
msgid "Restart Package"
msgstr ""
-#: templates/default/window.html:9 templates/default/window.html.py:26
+#: templates/default/window.html:9 templates/default/window.html.py:35
msgid "Add Package"
msgstr ""
@@ -243,6 +268,10 @@ msgstr ""
msgid "Upload a container."
msgstr ""
-#: templates/default/window.html:27
+#: templates/default/window.html:26
+msgid "Destination"
+msgstr ""
+
+#: templates/default/window.html:36
msgid "Reset"
msgstr ""
diff --git a/module/web/settings.py b/module/web/settings.py
index b66015db0..bbea1690b 100644
--- a/module/web/settings.py
+++ b/module/web/settings.py
@@ -107,9 +107,10 @@ MIDDLEWARE_CLASSES = (
'django.middleware.gzip.GZipMiddleware',
'django.middleware.http.ConditionalGetMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
- 'django.middleware.locale.LocaleMiddleware',
- 'django.middleware.common.CommonMiddleware',
- 'django.contrib.auth.middleware.AuthenticationMiddleware',
+ 'django.middleware.locale.LocaleMiddleware',
+ 'django.middleware.common.CommonMiddleware',
+ 'django.contrib.auth.middleware.AuthenticationMiddleware',
+ 'django.contrib.csrf.middleware.CsrfResponseMiddleware',
)
ROOT_URLCONF = 'urls'
diff --git a/pyLoadCli.py b/pyLoadCli.py
index 69f7b22ab..0137a0310 100755
--- a/pyLoadCli.py
+++ b/pyLoadCli.py
@@ -435,7 +435,7 @@ def white(string):
def print_help():
print ""
- print "pyloadCli Copyright (c) 2008-2010 the pyLoad Team"
+ print "pyLoadCli Copyright (c) 2008-2010 the pyLoad Team"
print ""
print "Usage: [python] pyLoadCli.py [options] [server url]"
print ""
diff --git a/pyLoadCore.py b/pyLoadCore.py
index 53d4be85c..d5b387baf 100755
--- a/pyLoadCore.py
+++ b/pyLoadCore.py
@@ -100,7 +100,7 @@ class Core(object):
def print_help(self):
print ""
- print "pyload %s Copyright (c) 2008-2010 the pyLoad Team" % CURRENT_VERSION
+ print "pyLoad %s Copyright (c) 2008-2010 the pyLoad Team" % CURRENT_VERSION
print ""
print "Usage: [python] pyLoadCore.py [options]"
print ""
@@ -130,8 +130,9 @@ class Core(object):
self.path = abspath(dirname(__file__))
chdir(self.path)
- signal.signal(signal.SIGQUIT, self.quit)
-
+ try: signal.signal(signal.SIGQUIT, self.quit)
+ except: pass
+
self.config = {}
self.plugins_avaible = {}
diff --git a/systemCheck.py b/systemCheck.py
index 7f78ec896..70de6d123 100644
--- a/systemCheck.py
+++ b/systemCheck.py
@@ -142,8 +142,8 @@ def main():
if django.VERSION < (1, 1):
web_err.append("Your django version is to old, please upgrade to django 1.1")
- elif django.VERSION > (1, 2):
- web_err.append("Your django version is to new, please use django 1.1")
+ elif django.VERSION > (1, 3):
+ web_err.append("Your django version is to new, please use django 1.2")
except:
web_err.append("Webinterface won't work without django !!")