fix
authorMarcin Koziej <marcin.koziej@nowoczesnapolska.org.pl>
Thu, 2 Feb 2012 12:32:42 +0000 (13:32 +0100)
committerMarcin Koziej <marcin.koziej@nowoczesnapolska.org.pl>
Thu, 2 Feb 2012 12:32:42 +0000 (13:32 +0100)
apps/search/views.py
scripts/make-locale-pack

index 2d8838c..527ca82 100644 (file)
@@ -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,
index a5bb7d3..fbc6eba 100755 (executable)
@@ -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