diff options
author | ng0 <ng0@n0.is> | 2019-11-12 21:30:39 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-11-12 21:30:39 +0000 |
commit | ab19fc81090ebbbecf471b010bc41f5a43ec858f (patch) | |
tree | 32e94439fbec80a06326be18ed40b9256851014b /inc/i18nfix.py | |
parent | 1fa59360a22db580a8b2b6a201d11eb545f7aa81 (diff) | |
download | www-ab19fc81090ebbbecf471b010bc41f5a43ec858f.tar.gz www-ab19fc81090ebbbecf471b010bc41f5a43ec858f.zip |
inc: more logic to remove code from Makefile. news/index.hmtl.j2: syntax.
Diffstat (limited to 'inc/i18nfix.py')
-rw-r--r-- | inc/i18nfix.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/i18nfix.py b/inc/i18nfix.py index 7f326ba6..69fe177d 100644 --- a/inc/i18nfix.py +++ b/inc/i18nfix.py | |||
@@ -6,7 +6,6 @@ | |||
6 | # are permitted in any medium without royalty provided the copyright | 6 | # are permitted in any medium without royalty provided the copyright |
7 | # notice and this notice are preserved. This file is offered as-is, | 7 | # notice and this notice are preserved. This file is offered as-is, |
8 | # without any warranty. | 8 | # without any warranty. |
9 | |||
10 | """ | 9 | """ |
11 | Extract translations from a Jinja2 template, stripping leading newlines. | 10 | Extract translations from a Jinja2 template, stripping leading newlines. |
12 | 11 | ||
@@ -38,4 +37,5 @@ def wrap_gettext(f): | |||
38 | def wrapper(message): | 37 | def wrapper(message): |
39 | message = normalize(message) | 38 | message = normalize(message) |
40 | return f(message) | 39 | return f(message) |
40 | |||
41 | return wrapper | 41 | return wrapper |