summaryrefslogtreecommitdiff
path: root/media
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2011-05-21 02:29:15 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2011-05-21 02:29:15 -0300
commit01704e43379f7b7c9b6b248990ff7bee37ab4cdf (patch)
tree4e93715c275150a77a4ad5f5d719f9a7553fce58 /media
parent5897fba6d3242cc7188d05f8f3be7362a8383761 (diff)
parent7c663a77b187e4592ce112da4bd1588a4ac066bc (diff)
Merge branch 'master' of git://projects.archlinux.org/archweb
Diffstat (limited to 'media')
-rw-r--r--media/archweb.css1
-rw-r--r--media/django-jsi18n.js35
2 files changed, 1 insertions, 35 deletions
diff --git a/media/archweb.css b/media/archweb.css
index ab88c86f..ee4fd169 100644
--- a/media/archweb.css
+++ b/media/archweb.css
@@ -264,6 +264,7 @@ ul.admin-actions li { display: inline; padding-left: 1.5em; }
#releng-feedback label { width: auto; display: inline; font-weight: normal; }
#releng-feedback ul { padding-left: 1em; }
#releng-feedback li { list-style: none; }
+#releng-feedback ul+.helptext { position: relative; top: -0.9em; }
/* highlight current website in the navbar */
#archnavbar.anb-home ul li#anb-home a { color: white !important; }
diff --git a/media/django-jsi18n.js b/media/django-jsi18n.js
deleted file mode 100644
index 83562c1a..00000000
--- 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())});
- }
-}