summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-05-15 18:33:37 +0200
committerDan McGee <dan@archlinux.org>2011-05-15 18:33:37 +0200
commit070956ee6ef6c6b01c89c214b4f411043951f5ce (patch)
tree84f2a59860561e23d364c9f40a22f27316212529 /media
parentf04de80528da8e4eeba8fbbf9f720ba046a5bf11 (diff)
downloadarchweb-070956ee6ef6c6b01c89c214b4f411043951f5ce.tar.gz
archweb-070956ee6ef6c6b01c89c214b4f411043951f5ce.tar.xz
Remove stale JS remnant
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'media')
-rw-r--r--media/django-jsi18n.js35
1 files changed, 0 insertions, 35 deletions
diff --git a/media/django-jsi18n.js b/media/django-jsi18n.js
deleted file mode 100644
index 83562c1..0000000
--- a/media/django-jsi18n.js
+++ /dev/null
@@ -1,35 +0,0 @@
-
-/* gettext library */
-
-var catalog = new Array();
-
-function pluralidx(count) { return (count == 1) ? 0 : 1; }
-
-
-function gettext(msgid) {
- var value = catalog[msgid];
- if (typeof(value) == 'undefined') {
- return msgid;
- } else {
- return (typeof(value) == 'string') ? value : value[0];
- }
-}
-
-function ngettext(singular, plural, count) {
- value = catalog[singular];
- if (typeof(value) == 'undefined') {
- return (count == 1) ? singular : plural;
- } else {
- return value[pluralidx(count)];
- }
-}
-
-function gettext_noop(msgid) { return msgid; }
-
-function interpolate(fmt, obj, named) {
- if (named) {
- return fmt.replace(/%\(\w+\)s/g, function(match){return String(obj[match.slice(2,-2)])});
- } else {
- return fmt.replace(/%s/g, function(match){return String(obj.shift())});
- }
-}