Author: damoxc
Revision: 5041
Log:
fix the line number
Diff:
Modified: trunk/deluge/ui/web/gen_gettext.py
===================================================================
--- trunk/deluge/ui/web/gen_gettext.py 2009-04-08 08:52:40 UTC (rev 5040)
+++ trunk/deluge/ui/web/gen_gettext.py 2009-04-08 09:01:09 UTC (rev 5041)
@@ -41,7 +41,7 @@
for match in string_re.finditer(line):
string = match.group(1)
locations = strings.get(string, [])
- locations.append((os.path.basename(filename), line_num))
+ locations.append((os.path.basename(filename), line_num + 1))
strings[string] = locations
keys = strings.keys()
keys.sort()
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"deluge-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/deluge-commit?hl=en
-~----------~----~----~----~------~----~------~--~---