Advance on Spanish translation (still 13 rules to translate)
[vchess.git] / views / index.pug
index 66c434a..34c059b 100644 (file)
@@ -5,17 +5,20 @@ block css
 
 block content
        .container#indexPage
-               // Modals
+               include langNames.pug
                case lang
                        when "en"
                                include translations/en.pug
-                               include langNames/en.pug
                                include welcome/en.pug
                                include modal-lang/en.pug
                                include modal-help/en.pug
+                       when "es"
+                               include translations/es.pug
+                               include welcome/es.pug
+                               include modal-lang/es.pug
+                               include modal-help/es.pug
                        when "fr"
                                include translations/fr.pug
-                               include langNames/fr.pug
                                include welcome/fr.pug
                                include modal-lang/fr.pug
                                include modal-help/fr.pug