From 58cdf805ac43f0ad17a1a87d1e12f9328ea77b66 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 22 Mar 2018 09:07:50 -0300 Subject: Optimize to disregard more tags --- web/po/en.po | 24 ++++++++++++------------ web/updatelang.py | 4 ++++ 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/web/po/en.po b/web/po/en.po index 428da67..2e44495 100644 --- a/web/po/en.po +++ b/web/po/en.po @@ -8,6 +8,18 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +#, no-c-format +msgid "TMW-2: Monster World | Not Found" +msgstr "" + +#, no-c-format +msgid "

404 Not Found

" +msgstr "" + +#, no-c-format +msgid "

The page you were looking for was not found.

" +msgstr "" + #, no-c-format msgid "TMW-2: Monster World | Download Page" msgstr "" @@ -104,18 +116,6 @@ msgstr "" msgid " is otherwise unable to connect, please contact us so we may fix this issue." msgstr "" -#, no-c-format -msgid "TMW-2: Monster World | Not Found" -msgstr "" - -#, no-c-format -msgid "

404 Not Found

" -msgstr "" - -#, no-c-format -msgid "

The page you were looking for was not found.

" -msgstr "" - #, no-c-format msgid "TMW-2: Monster World | Index Page" msgstr "" diff --git a/web/updatelang.py b/web/updatelang.py index e2eca72..47b8bda 100755 --- a/web/updatelang.py +++ b/web/updatelang.py @@ -22,6 +22,10 @@ def invalidline(line, filx="none"): "" in line or "iframe" in line or "header" in filx or + line == "

" or + line == "

" or + line == "
" or
+            line == "    
" or line.replace('\n','') == "") # Populates the basic arrays -- cgit v1.2.3-70-g09d2