Skip to content

Commit

Permalink
Add i18n for Leaflet.draw
Browse files Browse the repository at this point in the history
  • Loading branch information
yves committed Jan 3, 2015
1 parent 274ecbf commit 9b83e2b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion osmtm/static/js/lib/Leaflet.draw
Submodule Leaflet.draw updated 54 files
+59 −0 CHANGELOG.md
+31 −9 Jakefile.js
+100 −32 README.md
+57 −0 bower.json
+99 −101 build/build.js
+2 −1 build/deps.js
+25 −33 build/hintrc.js
+ dist/images/spritesheet-2x.png
+ dist/images/spritesheet.png
+690 −352 dist/leaflet.draw-src.js
+92 −2 dist/leaflet.draw.css
+0 −44 dist/leaflet.draw.ie.css
+2 −2 dist/leaflet.draw.js
+17 −11 examples/basic.html
+4 −4 examples/edithandlers.html
+66 −0 examples/full.html
+ examples/libs/images/layers-2x.png
+ examples/libs/images/layers.png
+ examples/libs/images/marker-icon-2x.png
+1,298 −716 examples/libs/leaflet-src.js
+85 −66 examples/libs/leaflet.css
+0 −51 examples/libs/leaflet.ie.css
+11 −9 package.json
+13 −11 spec/index.html
+57 −54 spec/karma.conf.js
+25 −0 spec/spec.hintrc.js
+6 −7 spec/suites/DrawControlSpec.js
+71 −0 spec/suites/EditSpec.js
+25 −0 spec/suites/GeometryUtilSpec.js
+11 −0 spec/suites/LatLngUtilSpec.js
+22 −20 spec/suites/SpecHelper.js
+22 −19 src/Control.Draw.js
+69 −49 src/Leaflet.draw.js
+77 −20 src/Toolbar.js
+20 −7 src/Tooltip.js
+53 −82 src/draw/DrawToolbar.js
+11 −7 src/draw/handler/Draw.Circle.js
+10 −6 src/draw/handler/Draw.Feature.js
+7 −2 src/draw/handler/Draw.Marker.js
+22 −18 src/draw/handler/Draw.Polygon.js
+114 −49 src/draw/handler/Draw.Polyline.js
+21 −2 src/draw/handler/Draw.Rectangle.js
+31 −4 src/draw/handler/Draw.SimpleShape.js
+96 −51 src/edit/EditToolbar.js
+75 −0 src/edit/handler/Edit.Marker.js
+25 −8 src/edit/handler/Edit.Poly.js
+3 −3 src/edit/handler/Edit.Rectangle.js
+14 −5 src/edit/handler/Edit.SimpleShape.js
+24 −8 src/edit/handler/EditToolbar.Delete.js
+43 −85 src/edit/handler/EditToolbar.Edit.js
+68 −0 src/ext/GeometryUtil.js
+0 −25 src/ext/PolygonUtil.js
+3 −3 src/ext/Polyline.Intersect.js
+41 −0 src/images/spritesheet.svg
3 changes: 3 additions & 0 deletions osmtm/templates/project.edit.mako
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
<link rel="stylesheet" href="${request.static_url('osmtm:static/js/lib/Leaflet.draw/dist/leaflet.draw.css')}"/>
<script src="${request.static_url('osmtm:static/js/lib/leaflet.js')}"></script>
<script src="${request.static_url('osmtm:static/js/lib/Leaflet.draw/dist/leaflet.draw.js')}"></script>
% if request.locale_name != 'en':
<script src="${request.static_url('osmtm:static/js/lib/Leaflet.draw/dist/locales/Leaflet.draw-%s.js' % request.locale_name)}"></script>
% endif
<div id="markdown_cheat_sheet" class="modal fade">
<div class="modal-dialog">
<div class="modal-content">
Expand Down

0 comments on commit 9b83e2b

Please sign in to comment.