X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8815700a773665fe861c1bdc5543948de1148829..3d0bf9a61ac486cbdea767dc20a2142d5f873ae5:/app/views/export/_start.rhtml diff --git a/app/views/export/_start.rhtml b/app/views/export/_start.rhtml index 501274b46..9e3d64783 100644 --- a/app/views/export/_start.rhtml +++ b/app/views/export/_start.rhtml @@ -1,6 +1,6 @@ <% form_tag :action => "finish" do %> -

Area to Export

+

<%= t'export.start.area_to_export' %>

<%= text_field_tag('maxlat', nil, :size => 10, :class => "export_bound") %> @@ -10,50 +10,70 @@
<%= text_field_tag('minlat', nil, :size => 10, :class => "export_bound") %>

- Drag a box with control held down to select an area to export + <%= t'export.start.manually_select' %>

-

Format to Export

+

<%= t'export.start.format_to_export' %>

- <%= radio_button_tag("format", "osm") %>OpenStreetMap XML Data + <%= radio_button_tag("format", "osm") %> <%= t'export.start.osm_xml_data' %>
- <%= radio_button_tag("format", "mapnik") %>Mapnik Image + <%= radio_button_tag("format", "mapnik") %> <%= t'export.start.mapnik_image' %>
- <%= radio_button_tag("format", "osmarender") %>Osmarender Image + <%= radio_button_tag("format", "osmarender") %> <%= t'export.start.osmarender_image' %> +
+ <%= radio_button_tag("format", "html") %> <%= t'export.start.embeddable_html' %>

-

Licence

+

<%= t'export.start.licence' %>

-

OpenStreetMap data is licensed under the Creative Commons Attribution-ShareAlike 2.0 license.

+

<%= t'export.start.export_details' %>

-

Options

+

<%= t'export.start.options' %>

-

Format <%= select_tag("mapnik_format", options_for_select([["PNG", "png"], ["JPEG", "jpeg"], ["SVG", "svg"], ["PDF", "pdf"], ["Postscript", "ps"]], "png")) %>

-

Scale 1 : <%= text_field_tag("mapnik_scale", nil, :size => 8) %> (max 1 : )

+

<%= t'export.start.format' %> <%= select_tag("mapnik_format", options_for_select([["PNG", "png"], ["JPEG", "jpeg"], ["SVG", "svg"], ["PDF", "pdf"], ["Postscript", "ps"]], "png")) %>

+

<%= t'export.start.scale' %> 1 : <%= text_field_tag("mapnik_scale", nil, :size => 8) %> (<%= t'export.start.max' %> 1 : )

+

<%= t'export.start.image_size' %> x

-

Options

+

<%= t'export.start.options' %>

+ +
+

<%= t'export.start.format' %> <%= select_tag("osmarender_format", options_for_select([["PNG", "png"], ["JPEG", "jpeg"]], "png")) %>

+

<%= t'export.start.zoom' %> <%= select_tag("osmarender_zoom", options_for_select([4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17])) %>

+
+
+ +
+

<%= t'export.start.options' %>

+
+

<%= t'export.start.add_marker' %>

+ +
+

<%= t'export.start.output' %>

-

Format <%= select_tag("osmarender_format", options_for_select([["PNG", "png"], ["JPEG", "jpeg"]], "png")) %>

-

Zoom <%= select_tag("osmarender_zoom", options_for_select([4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17])) %>

+

+

<%= t'export.start.paste_html' %>

-

<%= submit_tag "Export", :id => "export_commit" %>

+

<%= submit_tag t('export.start.export_button'), :id => "export_commit" %>

<% end %>