Skip to content

Commit

Permalink
Update translations for the last Leaflet.draw
Browse files Browse the repository at this point in the history
  • Loading branch information
leplatrem committed Feb 5, 2014
1 parent c9ecf82 commit 4ded71e
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
Binary file modified leaflet/locale/fr/LC_MESSAGES/django.mo
Binary file not shown.
12 changes: 12 additions & 0 deletions leaflet/locale/fr/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,21 @@ msgstr "Annuler"
msgid "Cancel drawing"
msgstr "Annuler le dessin"

msgid "Delete last point drawn"
msgstr "Supprimer le dernier point dessiné"

msgid "Delete last point"
msgstr "Supprimer le dernier point"

msgid "Edit layers"
msgstr "Éditer les objets"

msgid "No layers to edit."
msgstr "Aucun objet à éditer"

msgid "No layers to delete."
msgstr "Aucun objet à supprimer."

msgid "Delete layers"
msgstr "Supprimer des objets"

Expand Down
8 changes: 7 additions & 1 deletion leaflet/templates/leaflet/_leaflet_draw_i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ L.drawLocal = {
title: "{% trans "Cancel drawing" %}",
text: "{% trans "Cancel" %}"
},
undo: {
title: "{% trans "Delete last point drawn" %}",
text: "{% trans "Delete last point" %}"
},
buttons: {
polyline: "{% trans "Draw a polyline" %}",
polygon: "{% trans "Draw a polygon" %}",
Expand Down Expand Up @@ -66,7 +70,9 @@ L.drawLocal = {
},
buttons: {
edit: "{% trans "Edit layers" %}",
remove: "{% trans "Delete layers" %}"
editDisabled: "{% trans "No layers to edit." %}",
remove: "{% trans "Delete layers" %}",
removeDisabled: "{% trans "No layers to delete." %}"
}
},
handlers: {
Expand Down

0 comments on commit 4ded71e

Please sign in to comment.