summaryrefslogtreecommitdiff
path: root/django/contrib/admin/templates
diff options
context:
space:
mode:
authorGeorg Bauer <gb@hugo.westfalen.de>2005-12-04 12:30:14 +0000
committerGeorg Bauer <gb@hugo.westfalen.de>2005-12-04 12:30:14 +0000
commita841530a13cdd409828dcfc9ccd10711b1f46997 (patch)
treeffc14c43b9fbf78ff9341e5db61e5254da640596 /django/contrib/admin/templates
parent5917fdcf2d07e54e7d83076b26e22bcadf65eb54 (diff)
first take at admin JavaScript translation - translation hooks for the calendar and time picker are added and the german translation is updated
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1530 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/contrib/admin/templates')
-rw-r--r--django/contrib/admin/templates/admin/change_form.html1
-rw-r--r--django/contrib/admin/templates/widget/date_time.html5
2 files changed, 4 insertions, 2 deletions
diff --git a/django/contrib/admin/templates/admin/change_form.html b/django/contrib/admin/templates/admin/change_form.html
index 8ef9b3da82..1526e2b37e 100644
--- a/django/contrib/admin/templates/admin/change_form.html
+++ b/django/contrib/admin/templates/admin/change_form.html
@@ -1,6 +1,7 @@
{% extends "admin/base_site" %}
{% load i18n admin_modify adminmedia %}
{% block extrahead %}
+<script type="text/javascript" src="../../../jsi18n/"></script>
{% for js in bound_manipulator.javascript_imports %}{% include_admin_script js %}{% endfor %}
{% endblock %}
{% block coltype %}{{ bound_manipulator.coltype }}{% endblock %}
diff --git a/django/contrib/admin/templates/widget/date_time.html b/django/contrib/admin/templates/widget/date_time.html
index 2d5126c5bb..cbd4a2e1c6 100644
--- a/django/contrib/admin/templates/widget/date_time.html
+++ b/django/contrib/admin/templates/widget/date_time.html
@@ -1,4 +1,5 @@
+{% load i18n %}
<p class="datetime">
- Date: {{ bound_field.form_fields.0 }}<br />
- Time: {{ bound_field.form_fields.1 }}
+ {% trans "Date:" %} {{ bound_field.form_fields.0 }}<br />
+ {% trans "Time:" %} {{ bound_field.form_fields.1 }}
</p>