diff --git a/index.html b/index.html index debeaad..61f145a 100644 --- a/index.html +++ b/index.html @@ -230,7 +230,7 @@ Good luck, and thanks again! - + diff --git a/js/slideshow/Translations.js b/js/slideshow/Translations.js index dd9273b..7b93bb5 100644 --- a/js/slideshow/Translations.js +++ b/js/slideshow/Translations.js @@ -12,12 +12,12 @@ r.onreadystatechange = function () { var response = r.responseText; var lines = response.split("\n"); var available = lines.filter(function(line){ - return (/^\w\w\:?\s+(.+)/).test(line); // ww: wwwwww + return (/^[a-z]{2}(?:-[A-Z]{2})?\:?\s+(.+)/).test(line); // ww: wwwwww }); for(var i=0; i