Make editor field placeholder localizable

This commit is contained in:
Yohan Boniface 2014-03-01 01:33:35 +01:00
parent d0b422fe82
commit fa6a9f29f8
12 changed files with 69 additions and 25 deletions

View file

@ -8,8 +8,8 @@ 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: 2014-02-10 21:29+0100\n" "POT-Creation-Date: 2014-03-01 01:29+0100\n"
"PO-Revision-Date: 2014-02-10 20:29+0000\n" "PO-Revision-Date: 2014-03-01 00:29+0000\n"
"Last-Translator: yohanboniface <yohanboniface@free.fr>\n" "Last-Translator: yohanboniface <yohanboniface@free.fr>\n"
"Language-Team: Danish (http://www.transifex.com/projects/p/umap/language/da/)\n" "Language-Team: Danish (http://www.transifex.com/projects/p/umap/language/da/)\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@ -26,6 +26,10 @@ msgstr ""
msgid "View the map" msgid "View the map"
msgstr "" msgstr ""
#: templates/base.html:39
msgid "Type editors nick to add…"
msgstr ""
#: templates/auth/user_detail.html:7 #: templates/auth/user_detail.html:7
#, python-format #, python-format
msgid "Browse %(current_user)s's maps" msgid "Browse %(current_user)s's maps"

View file

@ -8,9 +8,9 @@ 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: 2014-02-10 21:29+0100\n" "POT-Creation-Date: 2014-03-01 01:29+0100\n"
"PO-Revision-Date: 2014-02-10 21:19+0000\n" "PO-Revision-Date: 2014-03-01 00:29+0000\n"
"Last-Translator: Klumbumbus <simson.gertrud@gmail.com>\n" "Last-Translator: yohanboniface <yohanboniface@free.fr>\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"
"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"
@ -26,6 +26,10 @@ msgstr "von"
msgid "View the map" msgid "View the map"
msgstr "Diese Karte anzeigen" msgstr "Diese Karte anzeigen"
#: templates/base.html:39
msgid "Type editors nick to add…"
msgstr ""
#: templates/auth/user_detail.html:7 #: templates/auth/user_detail.html:7
#, python-format #, python-format
msgid "Browse %(current_user)s's maps" msgid "Browse %(current_user)s's maps"

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: 2014-02-10 21:29+0100\n" "POT-Creation-Date: 2014-03-01 01:29+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"
@ -25,6 +25,10 @@ msgstr ""
msgid "View the map" msgid "View the map"
msgstr "" msgstr ""
#: templates/base.html:39
msgid "Type editors nick to add…"
msgstr ""
#: templates/auth/user_detail.html:7 #: templates/auth/user_detail.html:7
#, python-format #, python-format
msgid "Browse %(current_user)s's maps" msgid "Browse %(current_user)s's maps"

View file

@ -8,8 +8,8 @@ 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: 2014-02-10 21:29+0100\n" "POT-Creation-Date: 2014-03-01 01:29+0100\n"
"PO-Revision-Date: 2014-02-10 20:29+0000\n" "PO-Revision-Date: 2014-03-01 00:29+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/es/)\n" "Language-Team: Spanish (http://www.transifex.com/projects/p/umap/language/es/)\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@ -26,6 +26,10 @@ msgstr ""
msgid "View the map" msgid "View the map"
msgstr "" msgstr ""
#: templates/base.html:39
msgid "Type editors nick to add…"
msgstr ""
#: templates/auth/user_detail.html:7 #: templates/auth/user_detail.html:7
#, python-format #, python-format
msgid "Browse %(current_user)s's maps" msgid "Browse %(current_user)s's maps"

View file

@ -9,8 +9,8 @@ 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: 2014-02-10 21:29+0100\n" "POT-Creation-Date: 2014-03-01 01:29+0100\n"
"PO-Revision-Date: 2014-02-10 20:29+0000\n" "PO-Revision-Date: 2014-03-01 00:29+0000\n"
"Last-Translator: yohanboniface <yohanboniface@free.fr>\n" "Last-Translator: yohanboniface <yohanboniface@free.fr>\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"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@ -27,6 +27,10 @@ msgstr ""
msgid "View the map" msgid "View the map"
msgstr "" msgstr ""
#: templates/base.html:39
msgid "Type editors nick to add…"
msgstr ""
#: templates/auth/user_detail.html:7 #: templates/auth/user_detail.html:7
#, python-format #, python-format
msgid "Browse %(current_user)s's maps" msgid "Browse %(current_user)s's maps"

View file

@ -11,8 +11,8 @@ 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: 2014-02-10 21:29+0100\n" "POT-Creation-Date: 2014-03-01 01:29+0100\n"
"PO-Revision-Date: 2014-02-10 20:36+0000\n" "PO-Revision-Date: 2014-03-01 00:32+0000\n"
"Last-Translator: yohanboniface <yohanboniface@free.fr>\n" "Last-Translator: yohanboniface <yohanboniface@free.fr>\n"
"Language-Team: French (http://www.transifex.com/projects/p/umap/language/fr/)\n" "Language-Team: French (http://www.transifex.com/projects/p/umap/language/fr/)\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@ -29,6 +29,10 @@ msgstr "par"
msgid "View the map" msgid "View the map"
msgstr "Voir la carte" msgstr "Voir la carte"
#: templates/base.html:39
msgid "Type editors nick to add…"
msgstr "Taper le nom d'un éditeur…"
#: templates/auth/user_detail.html:7 #: templates/auth/user_detail.html:7
#, python-format #, python-format
msgid "Browse %(current_user)s's maps" msgid "Browse %(current_user)s's maps"

View file

@ -10,8 +10,8 @@ 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: 2014-02-10 21:29+0100\n" "POT-Creation-Date: 2014-03-01 01:29+0100\n"
"PO-Revision-Date: 2014-02-10 20:29+0000\n" "PO-Revision-Date: 2014-03-01 00:29+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/it/)\n" "Language-Team: Italian (http://www.transifex.com/projects/p/umap/language/it/)\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@ -28,6 +28,10 @@ msgstr ""
msgid "View the map" msgid "View the map"
msgstr "" msgstr ""
#: templates/base.html:39
msgid "Type editors nick to add…"
msgstr ""
#: templates/auth/user_detail.html:7 #: templates/auth/user_detail.html:7
#, python-format #, python-format
msgid "Browse %(current_user)s's maps" msgid "Browse %(current_user)s's maps"

View file

@ -8,9 +8,9 @@ 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: 2014-02-10 21:29+0100\n" "POT-Creation-Date: 2014-03-01 01:29+0100\n"
"PO-Revision-Date: 2014-02-14 06:48+0000\n" "PO-Revision-Date: 2014-03-01 00:29+0000\n"
"Last-Translator: nyampire <nyampire@gmail.com>\n" "Last-Translator: yohanboniface <yohanboniface@free.fr>\n"
"Language-Team: Japanese (http://www.transifex.com/projects/p/umap/language/ja/)\n" "Language-Team: Japanese (http://www.transifex.com/projects/p/umap/language/ja/)\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"
@ -26,6 +26,10 @@ msgstr "by"
msgid "View the map" msgid "View the map"
msgstr "マップ表示" msgstr "マップ表示"
#: templates/base.html:39
msgid "Type editors nick to add…"
msgstr ""
#: templates/auth/user_detail.html:7 #: templates/auth/user_detail.html:7
#, python-format #, python-format
msgid "Browse %(current_user)s's maps" msgid "Browse %(current_user)s's maps"

View file

@ -8,8 +8,8 @@ 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: 2014-02-10 21:29+0100\n" "POT-Creation-Date: 2014-03-01 01:29+0100\n"
"PO-Revision-Date: 2014-02-10 20:29+0000\n" "PO-Revision-Date: 2014-03-01 00:29+0000\n"
"Last-Translator: yohanboniface <yohanboniface@free.fr>\n" "Last-Translator: yohanboniface <yohanboniface@free.fr>\n"
"Language-Team: Lithuanian (http://www.transifex.com/projects/p/umap/language/lt/)\n" "Language-Team: Lithuanian (http://www.transifex.com/projects/p/umap/language/lt/)\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@ -26,6 +26,10 @@ msgstr ""
msgid "View the map" msgid "View the map"
msgstr "" msgstr ""
#: templates/base.html:39
msgid "Type editors nick to add…"
msgstr ""
#: templates/auth/user_detail.html:7 #: templates/auth/user_detail.html:7
#, python-format #, python-format
msgid "Browse %(current_user)s's maps" msgid "Browse %(current_user)s's maps"

View file

@ -7,8 +7,8 @@ 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: 2014-02-10 21:29+0100\n" "POT-Creation-Date: 2014-03-01 01:29+0100\n"
"PO-Revision-Date: 2014-02-10 20:29+0000\n" "PO-Revision-Date: 2014-03-01 00:29+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/nl/)\n" "Language-Team: Dutch (http://www.transifex.com/projects/p/umap/language/nl/)\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@ -25,6 +25,10 @@ msgstr ""
msgid "View the map" msgid "View the map"
msgstr "" msgstr ""
#: templates/base.html:39
msgid "Type editors nick to add…"
msgstr ""
#: templates/auth/user_detail.html:7 #: templates/auth/user_detail.html:7
#, python-format #, python-format
msgid "Browse %(current_user)s's maps" msgid "Browse %(current_user)s's maps"

View file

@ -7,8 +7,8 @@ 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: 2014-02-10 21:29+0100\n" "POT-Creation-Date: 2014-03-01 01:29+0100\n"
"PO-Revision-Date: 2014-02-10 20:29+0000\n" "PO-Revision-Date: 2014-03-01 00:29+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/pt/)\n" "Language-Team: Portuguese (http://www.transifex.com/projects/p/umap/language/pt/)\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@ -25,6 +25,10 @@ msgstr ""
msgid "View the map" msgid "View the map"
msgstr "" msgstr ""
#: templates/base.html:39
msgid "Type editors nick to add…"
msgstr ""
#: templates/auth/user_detail.html:7 #: templates/auth/user_detail.html:7
#, python-format #, python-format
msgid "Browse %(current_user)s's maps" msgid "Browse %(current_user)s's maps"

View file

@ -1,4 +1,4 @@
{% load compress umap_tags %} {% load compress umap_tags trans %}
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
@ -36,7 +36,7 @@
<script type="text/javascript"> <script type="text/javascript">
L.S.on('ui:ready', function () { L.S.on('ui:ready', function () {
L.S.autoComplete('id_editors', { L.S.autoComplete('id_editors', {
placeholder: "Type editors nick to add..." placeholder: "{% trans 'Type editors nick to add…' %}"
}).multiselect(); }).multiselect();
}); });
</script> </script>