X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/cb6d6c246332ffe3230df31f3acc1ed82e2b80ce..22594361d5abd2a6ee18e290058d9d39d7d761ec:/app/views/site/_potlatch2.html.erb diff --git a/app/views/site/_potlatch2.html.erb b/app/views/site/_potlatch2.html.erb index 760927a82..0605ff52d 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' %> +
<%= t 'site.edit.flash_player_required' %>
<%= javascript_include_tag 'swfobject.js' %> @@ -10,10 +10,10 @@ <% end %> +<% locale = request.compatible_language_from(Potlatch2::LOCALES.keys) || "en" %> +