From: Marcin Koziej Date: Thu, 2 Feb 2012 12:34:12 +0000 (+0100) Subject: Merge branch 'pretty' of github.com:fnp/wolnelektury into pretty X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/6d80d9682f0487d7858d5a18221cbe68e41d38ad?hp=0f76fabe3eb1842b6515d2571844bd63e894d07c Merge branch 'pretty' of github.com:fnp/wolnelektury into pretty --- 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