summaryrefslogtreecommitdiffstats
path: root/gen_web_gettext.py
diff options
context:
space:
mode:
authorCalum Lind <calumlind+deluge@gmail.com>2014-09-22 22:15:33 +0100
committerCalum Lind <calumlind+deluge@gmail.com>2014-09-23 08:39:29 +0100
commitf2d81ff54296c600a7aef395af5d0e9ea17b1af5 (patch)
treee52db4294362a8bb386401bf014789d694c58852 /gen_web_gettext.py
parent966f10bcb743286512f605863cf128c627fedf0d (diff)
downloaddeluge-f2d81ff54296c600a7aef395af5d0e9ea17b1af5.tar.gz
deluge-f2d81ff54296c600a7aef395af5d0e9ea17b1af5.tar.bz2
deluge-f2d81ff54296c600a7aef395af5d0e9ea17b1af5.zip
Update headers and isort imports
Diffstat (limited to 'gen_web_gettext.py')
-rwxr-xr-xgen_web_gettext.py16
1 files changed, 12 insertions, 4 deletions
diff --git a/gen_web_gettext.py b/gen_web_gettext.py
index 49730dba5..9b6126492 100755
--- a/gen_web_gettext.py
+++ b/gen_web_gettext.py
@@ -1,7 +1,15 @@
-#!/usr/bin/python
-"""
-Script to go through the javascript files and dynamically generate gettext.js
-"""
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+#
+# Copyright (C) 2009-2012 Damien Churchill <damoxc@gmail.com>
+#
+# This file is part of Deluge and is licensed under GNU General Public License 3.0, or later, with
+# the additional special exception to link portions of this program with the OpenSSL library.
+# See LICENSE for more details.
+#
+
+"""Script to parse javascript files for translation strings and generate gettext.js"""
+
import os
import re