From da8b3aa7eb174959aeec9acbf86c6728ec99fa21 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Sat, 14 Mar 2015 14:35:50 -0400 Subject: [PATCH] [1.8.x] Fixed #24480 -- Marked strings in contrib.gis templates for translation. Backport of 21ffbb06ec9eb741f62ac51abab4b722fb91b9bc from master --- django/contrib/gis/templates/gis/admin/openlayers.html | 4 ++-- django/contrib/gis/templates/gis/google/google-map.html | 4 ++-- django/contrib/gis/templates/gis/openlayers.html | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/django/contrib/gis/templates/gis/admin/openlayers.html b/django/contrib/gis/templates/gis/admin/openlayers.html index 0f5716e40c..78e874720e 100644 --- a/django/contrib/gis/templates/gis/admin/openlayers.html +++ b/django/contrib/gis/templates/gis/admin/openlayers.html @@ -32,9 +32,9 @@
{% if editable %} -Delete all Features +{% trans "Delete all Features" %} {% endif %} -{% if display_wkt %}

WKT debugging window:

{% endif %} +{% if display_wkt %}

{% trans "WKT debugging window:" %}

{% endif %} diff --git a/django/contrib/gis/templates/gis/google/google-map.html b/django/contrib/gis/templates/gis/google/google-map.html index fb60e44fba..ef80c5b1b1 100644 --- a/django/contrib/gis/templates/gis/google/google-map.html +++ b/django/contrib/gis/templates/gis/google/google-map.html @@ -1,7 +1,7 @@ - +{% load i18n %} - {% block title %}Google Maps via GeoDjango{% endblock %} + {% block title %}{% trans "Google Maps via GeoDjango" %}{% endblock %} {{ gmap.style }} {{ gmap.scripts }} diff --git a/django/contrib/gis/templates/gis/openlayers.html b/django/contrib/gis/templates/gis/openlayers.html index 5cb46a59cb..cbefb3a9f2 100644 --- a/django/contrib/gis/templates/gis/openlayers.html +++ b/django/contrib/gis/templates/gis/openlayers.html @@ -15,8 +15,8 @@
- Delete all Features - {% if display_raw %}

Debugging window (serialized value):

{% endif %} + {% trans "Delete all Features" %} + {% if display_raw %}

{% trans "Debugging window (serialized value)" %}

{% endif %}