From 17e4b699e9ab6db0af4e3b273c23549b8af86a8f Mon Sep 17 00:00:00 2001 From: Marcin Koziej Date: Thu, 2 Feb 2012 13:32:42 +0100 Subject: [PATCH] fix --- apps/search/views.py | 2 +- scripts/make-locale-pack | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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 -- 2.20.1