.attr("type", "hidden")
.appendTo($form);
+ var args = {
+ width: "<span id=\"mapnik_image_width\"></span>",
+ height: "<span id=\"mapnik_image_height\"></span>"
+ };
+
$("<p>")
.attr("class", "text-muted")
- .html(I18n.t("javascripts.share.image_size") + " <span id=\"mapnik_image_width\"></span> x <span id=\"mapnik_image_height\"></span>")
+ .html(I18n.t("javascripts.share.image_dimensions", args))
.appendTo($form);
$("<input>")
custom_dimensions: "Set custom dimensions"
format: "Format:"
scale: "Scale:"
- image_size: "Image will show standard layer at "
+ image_dimensions: "Image will show standard layer at %{width} x %{height}"
download: "Download"
short_url: "Short URL"
include_marker: "Include marker"