X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/cb6d6c246332ffe3230df31f3acc1ed82e2b80ce..f436a5cd2ba7f1e86c73fab06eae2e8da188f79f:/app/views/site/_potlatch2.html.erb?ds=sidebyside diff --git a/app/views/site/_potlatch2.html.erb b/app/views/site/_potlatch2.html.erb index 760927a82..4559282ca 100644 --- a/app/views/site/_potlatch2.html.erb +++ b/app/views/site/_potlatch2.html.erb @@ -1,5 +1,5 @@
- <%= t 'site.edit.flash_player_required' %> +
<%= raw t 'site.edit.flash_player_required' %>
<%= javascript_include_tag 'swfobject.js' %> @@ -10,10 +10,9 @@ <% end %> +<% locale = request.compatible_language_from(Potlatch2::LOCALES.keys) || "en" %> +