From: Marcin Koziej Date: Thu, 2 Feb 2012 12:32:42 +0000 (+0100) Subject: fix X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/17e4b699e9ab6db0af4e3b273c23549b8af86a8f?ds=sidebyside fix --- diff --git a/apps/search/views.py b/apps/search/views.py index 2d8838ccf..527ca8224 100644 --- a/apps/search/views.py +++ b/apps/search/views.py @@ -77,7 +77,7 @@ def hint(request): def category_name(c): if c.startswith('pd_'): c=c[len('pd_'):] - return _(c) + return _(c) return JSONResponse( [{'label': t.name, diff --git a/scripts/make-locale-pack b/scripts/make-locale-pack index a5bb7d36a..fbc6eba2d 100755 --- a/scripts/make-locale-pack +++ b/scripts/make-locale-pack @@ -33,16 +33,20 @@ export_po() } +( cd $ROOT/wolnelektury echo "Generate po for WL" $MANAGE makemessages --all +) +( cd $ROOT/apps for i in *; do echo "Generate po for app $i" ( cd $i; $MANAGE makemessages --all; ) done +) export_po