Remove useless templates

This commit is contained in:
Yohan Boniface 2013-12-05 22:57:49 +01:00
parent 1e0e8e4852
commit 94e324b0d7
11 changed files with 68 additions and 135 deletions

View file

@ -1,21 +1,22 @@
# SOME DESCRIPTIVE TITLE. # SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package. # This file is distributed under the same license as the PACKAGE package.
# #
# Translators: # Translators:
# Klumbumbus <simson.gertrud@gmail.com>, 2013 # Klumbumbus <simson.gertrud@gmail.com>, 2013
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: uMap\n" "Project-Id-Version: uMap\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-11-22 15:14+0100\n" "POT-Creation-Date: 2013-12-05 22:57+0100\n"
"PO-Revision-Date: 2013-12-05 19:46+0000\n" "PO-Revision-Date: 2013-12-05 19:46+0000\n"
"Last-Translator: Klumbumbus <simson.gertrud@gmail.com>\n" "Last-Translator: Klumbumbus <simson.gertrud@gmail.com>\n"
"Language-Team: German (http://www.transifex.com/projects/p/umap/language/de/)\n" "Language-Team: German (http://www.transifex.com/projects/p/umap/language/"
"de/)\n"
"Language: de\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Language: de\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: templates/auth/user_detail.html:7 #: templates/auth/user_detail.html:7
@ -52,16 +53,23 @@ msgstr "Was ist uMap"
msgid "" msgid ""
"uMap let you create maps with <a href=\"%(osm_url)s\" />OpenStreetMap</a> " "uMap let you create maps with <a href=\"%(osm_url)s\" />OpenStreetMap</a> "
"layers in a minute and embed them in your site." "layers in a minute and embed them in your site."
msgstr "Mit uMap kannst du in einer Minute Karten erstellen mit <a href=\"%(osm_url)s\" />OpenStreetMap</a>-Ebenen und sie in deine eigene Internetseite einbinden." msgstr ""
"Mit uMap kannst du in einer Minute Karten erstellen mit <a href=\"%(osm_url)s"
"\" />OpenStreetMap</a>-Ebenen und sie in deine eigene Internetseite "
"einbinden."
#: templates/umap/about_summary.html:8 #: templates/umap/about_summary.html:8
#, python-format #, python-format
msgid "" msgid ""
"This is a demo instance, used for tests and pre-rolling releases. If you " "This is a demo instance, used for tests and pre-rolling releases. If you "
"need a stable instance, please use <a " "need a stable instance, please use <a href=\"%(stable_url)s\">"
"href=\"%(stable_url)s\">%(stable_url)s</a>. You can also host your own " "%(stable_url)s</a>. You can also host your own instance, it's <a href="
"instance, it's <a href=\"%(repo_url)s\">open source</a>!" "\"%(repo_url)s\">open source</a>!"
msgstr "Dies ist eine Demo-Instanz und wird benutzt für Tests und Vorveröffentlichungen. Wenn du eine stabile Instanz benötigst, benutze bitte <a href=\"%(stable_url)s\">%(stable_url)s</a>. Du kannst auch deine eigene Instanz hosten, es ist <a href=\"%(repo_url)s\">open source</a>!" msgstr ""
"Dies ist eine Demo-Instanz und wird benutzt für Tests und "
"Vorveröffentlichungen. Wenn du eine stabile Instanz benötigst, benutze bitte "
"<a href=\"%(stable_url)s\">%(stable_url)s</a>. Du kannst auch deine eigene "
"Instanz hosten, es ist <a href=\"%(repo_url)s\">open source</a>!"
#: templates/umap/about_summary.html:10 #: templates/umap/about_summary.html:10
#, python-format #, python-format
@ -86,11 +94,14 @@ msgstr "Verwalte Farben und Icons der POIs"
#: templates/umap/about_summary.html:20 #: templates/umap/about_summary.html:20
msgid "Manage map options: display a minimap, locate user on load…" msgid "Manage map options: display a minimap, locate user on load…"
msgstr "Verwalte Karteneinstellungen: eine Übersichtskarte anzeigen, den Nutzer beim Seitenaufruf lokalisieren,..." msgstr ""
"Verwalte Karteneinstellungen: eine Übersichtskarte anzeigen, den Nutzer beim "
"Seitenaufruf lokalisieren,..."
#: templates/umap/about_summary.html:21 #: templates/umap/about_summary.html:21
msgid "Batch import geostructured data (GEOJson...)" msgid "Batch import geostructured data (GEOJson...)"
msgstr "Stapelverarbeitung beim Importieren von geotechnischen Daten (GEOJson,...)" msgstr ""
"Stapelverarbeitung beim Importieren von geotechnischen Daten (GEOJson,...)"
#: templates/umap/about_summary.html:22 #: templates/umap/about_summary.html:22
msgid "Choose the license for your data" msgid "Choose the license for your data"
@ -104,11 +115,11 @@ msgstr "Teile und binde deine Karte ein"
msgid "Play with the demo" msgid "Play with the demo"
msgstr "Spiele mit der Demo" msgstr "Spiele mit der Demo"
#: templates/umap/content.html:26 templates/umap/search_bar.html:6 #: templates/umap/content.html:24 templates/umap/search_bar.html:6
msgid "Search maps" msgid "Search maps"
msgstr "Karten suchen" msgstr "Karten suchen"
#: templates/umap/content.html:35 #: templates/umap/content.html:33
msgid "Last maps" msgid "Last maps"
msgstr "Neueste Karten" msgstr "Neueste Karten"
@ -156,11 +167,3 @@ msgstr "Keine Karte gefunden."
#: templates/umap/search_bar.html:9 #: templates/umap/search_bar.html:9
msgid "Search" msgid "Search"
msgstr "Suchen" msgstr "Suchen"
#: templates/umap/styles_fieldset.html:3
msgid "Styles options"
msgstr ""
#: templates/umap/styles_fieldset.html:11
msgid "Change marker shape and symbol."
msgstr ""

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-12-04 23:35+0100\n" "POT-Creation-Date: 2013-12-05 22:57+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -155,11 +155,3 @@ msgstr ""
#: templates/umap/search_bar.html:9 #: templates/umap/search_bar.html:9
msgid "Search" msgid "Search"
msgstr "" msgstr ""
#: templates/umap/styles_fieldset.html:3
msgid "Styles options"
msgstr ""
#: templates/umap/styles_fieldset.html:11
msgid "Change marker shape and symbol."
msgstr ""

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: uMap\n" "Project-Id-Version: uMap\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-12-04 23:35+0100\n" "POT-Creation-Date: 2013-12-05 22:57+0100\n"
"PO-Revision-Date: 2013-11-22 14:17+0000\n" "PO-Revision-Date: 2013-11-22 14:17+0000\n"
"Last-Translator: yohanboniface <yohanboniface@free.fr>\n" "Last-Translator: yohanboniface <yohanboniface@free.fr>\n"
"Language-Team: Spanish (http://www.transifex.com/projects/p/umap/language/" "Language-Team: Spanish (http://www.transifex.com/projects/p/umap/language/"
@ -162,10 +162,8 @@ msgstr "No se encontraron mapas."
msgid "Search" msgid "Search"
msgstr "Buscar" msgstr "Buscar"
#: templates/umap/styles_fieldset.html:3 #~ msgid "Styles options"
msgid "Styles options" #~ msgstr "Opciones de estilo"
msgstr "Opciones de estilo"
#: templates/umap/styles_fieldset.html:11 #~ msgid "Change marker shape and symbol."
msgid "Change marker shape and symbol." #~ msgstr "Cambiar forma y símbolo del marcador."
msgstr "Cambiar forma y símbolo del marcador."

View file

@ -1,7 +1,7 @@
# SOME DESCRIPTIVE TITLE. # SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package. # This file is distributed under the same license as the PACKAGE package.
# #
# Translators: # Translators:
# jaakkoh <jaakko@helleranta.com>, 2013 # jaakkoh <jaakko@helleranta.com>, 2013
# jaakkoh <jaakko@helleranta.com>, 2013 # jaakkoh <jaakko@helleranta.com>, 2013
@ -9,14 +9,15 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: uMap\n" "Project-Id-Version: uMap\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-11-22 15:14+0100\n" "POT-Creation-Date: 2013-12-05 22:57+0100\n"
"PO-Revision-Date: 2013-12-05 06:27+0000\n" "PO-Revision-Date: 2013-12-05 06:27+0000\n"
"Last-Translator: jaakkoh <jaakko@helleranta.com>\n" "Last-Translator: jaakkoh <jaakko@helleranta.com>\n"
"Language-Team: Finnish (http://www.transifex.com/projects/p/umap/language/fi/)\n" "Language-Team: Finnish (http://www.transifex.com/projects/p/umap/language/"
"fi/)\n"
"Language: fi\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Language: fi\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: templates/auth/user_detail.html:7 #: templates/auth/user_detail.html:7
@ -53,16 +54,23 @@ msgstr "Mikä uMap on?"
msgid "" msgid ""
"uMap let you create maps with <a href=\"%(osm_url)s\" />OpenStreetMap</a> " "uMap let you create maps with <a href=\"%(osm_url)s\" />OpenStreetMap</a> "
"layers in a minute and embed them in your site." "layers in a minute and embed them in your site."
msgstr "uMap mahdollistaa <a href=\"%(osm_url)s\" />OpenStreetMap</a>-pohjaisten räätälöityjen karttojen luomisen ja liittämisen verkkosivuusi muutamassa minuutissa." msgstr ""
"uMap mahdollistaa <a href=\"%(osm_url)s\" />OpenStreetMap</a>-pohjaisten "
"räätälöityjen karttojen luomisen ja liittämisen verkkosivuusi muutamassa "
"minuutissa."
#: templates/umap/about_summary.html:8 #: templates/umap/about_summary.html:8
#, python-format #, python-format
msgid "" msgid ""
"This is a demo instance, used for tests and pre-rolling releases. If you " "This is a demo instance, used for tests and pre-rolling releases. If you "
"need a stable instance, please use <a " "need a stable instance, please use <a href=\"%(stable_url)s\">"
"href=\"%(stable_url)s\">%(stable_url)s</a>. You can also host your own " "%(stable_url)s</a>. You can also host your own instance, it's <a href="
"instance, it's <a href=\"%(repo_url)s\">open source</a>!" "\"%(repo_url)s\">open source</a>!"
msgstr "Tämä on uMapin demo-instanssi, jota käytetään testaamiseen ja väliversioille. Jos tarvitset vakaan version, niin käytäthän <a href=\"%(stable_url)s\">%(stable_url)s</a> :a. Voit myös tarjota oman instanssin - <a href=\"%(repo_url)s\">avoin lähdekoodi</a> rulettaa!" msgstr ""
"Tämä on uMapin demo-instanssi, jota käytetään testaamiseen ja "
"väliversioille. Jos tarvitset vakaan version, niin käytäthän <a href="
"\"%(stable_url)s\">%(stable_url)s</a> :a. Voit myös tarjota oman instanssin "
"- <a href=\"%(repo_url)s\">avoin lähdekoodi</a> rulettaa!"
#: templates/umap/about_summary.html:10 #: templates/umap/about_summary.html:10
#, python-format #, python-format
@ -87,7 +95,9 @@ msgstr "Valitse ja hallinnoi POI-merkintöjen värit ja karttakuvakkeet"
#: templates/umap/about_summary.html:20 #: templates/umap/about_summary.html:20
msgid "Manage map options: display a minimap, locate user on load…" msgid "Manage map options: display a minimap, locate user on load…"
msgstr "Hallitse kartta-optiot: näytä mini-kartta, paikanna käyttäjä sivun latauksessa, ..." msgstr ""
"Hallitse kartta-optiot: näytä mini-kartta, paikanna käyttäjä sivun "
"latauksessa, ..."
#: templates/umap/about_summary.html:21 #: templates/umap/about_summary.html:21
msgid "Batch import geostructured data (GEOJson...)" msgid "Batch import geostructured data (GEOJson...)"
@ -105,11 +115,11 @@ msgstr "Jaa karttasi muille ja/tai liitä se muihin sivustoihin"
msgid "Play with the demo" msgid "Play with the demo"
msgstr "Tongi demoa sielusi kyllyydestä!" msgstr "Tongi demoa sielusi kyllyydestä!"
#: templates/umap/content.html:26 templates/umap/search_bar.html:6 #: templates/umap/content.html:24 templates/umap/search_bar.html:6
msgid "Search maps" msgid "Search maps"
msgstr "Etsi karttoja" msgstr "Etsi karttoja"
#: templates/umap/content.html:35 #: templates/umap/content.html:33
msgid "Last maps" msgid "Last maps"
msgstr "Viimeisimmät kartat" msgstr "Viimeisimmät kartat"
@ -158,10 +168,8 @@ msgstr "Karttaa ei löytynyt."
msgid "Search" msgid "Search"
msgstr "Etsi" msgstr "Etsi"
#: templates/umap/styles_fieldset.html:3 #~ msgid "Styles options"
msgid "Styles options" #~ msgstr "Tyylivaihtoehdot"
msgstr "Tyylivaihtoehdot"
#: templates/umap/styles_fieldset.html:11 #~ msgid "Change marker shape and symbol."
msgid "Change marker shape and symbol." #~ msgstr "Muuta karttamerkin tyyliä ja symbolia"
msgstr "Muuta karttamerkin tyyliä ja symbolia"

View file

@ -9,7 +9,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: uMap\n" "Project-Id-Version: uMap\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-12-04 23:35+0100\n" "POT-Creation-Date: 2013-12-05 22:57+0100\n"
"PO-Revision-Date: 2013-12-04 20:59+0000\n" "PO-Revision-Date: 2013-12-04 20:59+0000\n"
"Last-Translator: Buggi <buggi@filzmail.com>\n" "Last-Translator: Buggi <buggi@filzmail.com>\n"
"Language-Team: French (http://www.transifex.com/projects/p/umap/language/" "Language-Team: French (http://www.transifex.com/projects/p/umap/language/"
@ -169,10 +169,8 @@ msgstr "Aucune carte trouvée."
msgid "Search" msgid "Search"
msgstr "Chercher" msgstr "Chercher"
#: templates/umap/styles_fieldset.html:3 #~ msgid "Styles options"
msgid "Styles options" #~ msgstr "Options de mise en forme"
msgstr "Options de mise en forme"
#: templates/umap/styles_fieldset.html:11 #~ msgid "Change marker shape and symbol."
msgid "Change marker shape and symbol." #~ msgstr "Changer la forme du marqueur et le picto"
msgstr "Changer la forme du marqueur et le picto"

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: uMap\n" "Project-Id-Version: uMap\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-12-04 23:35+0100\n" "POT-Creation-Date: 2013-12-05 22:57+0100\n"
"PO-Revision-Date: 2013-11-22 14:17+0000\n" "PO-Revision-Date: 2013-11-22 14:17+0000\n"
"Last-Translator: yohanboniface <yohanboniface@free.fr>\n" "Last-Translator: yohanboniface <yohanboniface@free.fr>\n"
"Language-Team: Italian (http://www.transifex.com/projects/p/umap/language/" "Language-Team: Italian (http://www.transifex.com/projects/p/umap/language/"
@ -157,11 +157,3 @@ msgstr "Nessuna mappa trovata."
#: templates/umap/search_bar.html:9 #: templates/umap/search_bar.html:9
msgid "Search" msgid "Search"
msgstr "" msgstr ""
#: templates/umap/styles_fieldset.html:3
msgid "Styles options"
msgstr ""
#: templates/umap/styles_fieldset.html:11
msgid "Change marker shape and symbol."
msgstr ""

View file

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: uMap\n" "Project-Id-Version: uMap\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-12-04 23:35+0100\n" "POT-Creation-Date: 2013-12-05 22:57+0100\n"
"PO-Revision-Date: 2013-11-22 14:16+0000\n" "PO-Revision-Date: 2013-11-22 14:16+0000\n"
"Last-Translator: yohanboniface <yohanboniface@free.fr>\n" "Last-Translator: yohanboniface <yohanboniface@free.fr>\n"
"Language-Team: Dutch (http://www.transifex.com/projects/p/umap/language/" "Language-Team: Dutch (http://www.transifex.com/projects/p/umap/language/"
@ -156,11 +156,3 @@ msgstr ""
#: templates/umap/search_bar.html:9 #: templates/umap/search_bar.html:9
msgid "Search" msgid "Search"
msgstr "" msgstr ""
#: templates/umap/styles_fieldset.html:3
msgid "Styles options"
msgstr ""
#: templates/umap/styles_fieldset.html:11
msgid "Change marker shape and symbol."
msgstr ""

View file

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: uMap\n" "Project-Id-Version: uMap\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-12-04 23:35+0100\n" "POT-Creation-Date: 2013-12-05 22:57+0100\n"
"PO-Revision-Date: 2013-11-22 14:17+0000\n" "PO-Revision-Date: 2013-11-22 14:17+0000\n"
"Last-Translator: yohanboniface <yohanboniface@free.fr>\n" "Last-Translator: yohanboniface <yohanboniface@free.fr>\n"
"Language-Team: Portuguese (http://www.transifex.com/projects/p/umap/language/" "Language-Team: Portuguese (http://www.transifex.com/projects/p/umap/language/"
@ -157,10 +157,8 @@ msgstr "Nenhum mapa encontrado."
msgid "Search" msgid "Search"
msgstr "Procurar" msgstr "Procurar"
#: templates/umap/styles_fieldset.html:3 #~ msgid "Styles options"
msgid "Styles options" #~ msgstr "Opções de estilo"
msgstr "Opções de estilo"
#: templates/umap/styles_fieldset.html:11 #~ msgid "Change marker shape and symbol."
msgid "Change marker shape and symbol." #~ msgstr "Mudar forma e pictograma do marco."
msgstr "Mudar forma e pictograma do marco."

View file

@ -1,10 +0,0 @@
{% if field.label %}
<label for="{{ field.html_name }}">{{ field.label }}</label>
{% endif %}
{{ field }}
{% for error in field.errors %}
<small class="error">{{ error|escape }}</small>
{% endfor %}
{% if field.help_text %}
<small class="help-text">{{ field.help_text }}</small>
{% endif %}

View file

@ -1,31 +0,0 @@
{% load umap_tags i18n %}
<fieldset class="toggle">
<legend class="style_options_toggle">{% trans "Styles options" %}</legend>
{% foundation_field form.color %}
{% if form.icon_class and form.pictogram %}
<div class="formbox">
{{ form.icon_class }}
{{ form.pictogram }}
<div id="storage-form-iconfield"></div>
</div>
<small class="help-text">{% trans "Change marker shape and symbol." %}</small>
{% endif %}
{% foundation_field form.weight %}
{% if form.stroke %}
<div class="formbox">
<span>{{ form.stroke.label }}</span>{{ form.stroke }}
</div>
<small class="help-text">{{ form.stroke.help_text }}</small>
{% endif %}
{% foundation_field form.smoothFactor %}
{% foundation_field form.opacity %}
{% if form.fill %}
<div class="formbox">
<span>{{ form.fill.label }}</span>{{ form.fill }}
</div>
<small class="help-text">{{ form.fill.help_text }}</small>
{% endif %}
{% foundation_field form.fillOpacity %}
{% foundation_field form.fillColor %}
{% foundation_field form.dashArray %}
</fieldset>

View file

@ -5,13 +5,6 @@ from django import template
register = template.Library() register = template.Library()
@register.inclusion_tag('umap/field.html')
def foundation_field(field):
return {
'field': field,
}
@register.simple_tag(takes_context=True) @register.simple_tag(takes_context=True)
def paginate_querystring(context, page): def paginate_querystring(context, page):
qs = copy(context["request"].GET) qs = copy(context["request"].GET)