Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F146624652
D3946.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D3946.diff
View Options
Index: www/py-django-statici18n/Makefile
===================================================================
--- /dev/null
+++ www/py-django-statici18n/Makefile
@@ -0,0 +1,22 @@
+# Created by: Ultima
+# $FreeBSD$
+
+PORTNAME= django-statici18n
+PORTVERSION= 1.1.5
+CATEGORIES= www python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= ultima1252@gmail.com
+COMMENT= Helper for generating Javascript catalog to static files
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django<=18:${PORTSDIR}/www/py-django \
+ ${PYTHON_PKGNAMEPREFIX}django-appconf>=0.6:${PORTSDIR}/www/py-django-appconf
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+.include <bsd.port.mk>
Index: www/py-django-statici18n/distinfo
===================================================================
--- /dev/null
+++ www/py-django-statici18n/distinfo
@@ -0,0 +1,2 @@
+SHA256 (django-statici18n-1.1.5.tar.gz) = f8d7b523da8fa635de8c359f6dbde9821e2e8e1a092d915786455ffd2533808b
+SIZE (django-statici18n-1.1.5.tar.gz) = 8980
Index: www/py-django-statici18n/pkg-descr
===================================================================
--- /dev/null
+++ www/py-django-statici18n/pkg-descr
@@ -0,0 +1,11 @@
+When dealing with internationalization in JavaScript code, Django provides
+the javascript_catalog view which sends out a JavaScript code library with
+functions that mimic the gettext interface, plus an array of translation
+strings.
+
+At first glance, it works well and everything is fine. But, because
+javascript_catalog view is generating JavaScript catalog dynamically
+on each request, it's adding an overhead that can be an issue with site
+growth.
+
+WWW: https://github.com/zyegfryed/django-statici18n
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 5, 5:16 AM (8 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29272518
Default Alt Text
D3946.diff (1 KB)
Attached To
Mode
D3946: [NEW PORT] www/py-django-statici18n: Helper for generating Javascript catalog to static files
Attached
Detach File
Event Timeline
Log In to Comment