]> git.openstreetmap.org Git - rails.git/commitdiff
Add lang/dir html attributes to error pages
authorAnton Khorev <tony29@yandex.ru>
Fri, 30 Aug 2024 02:45:46 +0000 (05:45 +0300)
committerAnton Khorev <tony29@yandex.ru>
Sat, 15 Feb 2025 15:55:16 +0000 (18:55 +0300)
app/views/layouts/error.html.erb

index 40b116aa8b12f60e5d85704ec4728253bb3ffcc2..eab764aa3a2a7e0a3a0ed3e7727b774687ab5b35 100644 (file)
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html xmlns="http://www.w3.org/1999/xhtml">
+<html lang="<%= I18n.locale %>" dir="<%= dir %>">
   <head>
     <meta charset="utf-8">
     <title>OpenStreetMap</title>