diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-03-22 09:07:50 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-03-22 09:07:50 -0300 |
commit | 58cdf805ac43f0ad17a1a87d1e12f9328ea77b66 (patch) | |
tree | b8441be5d9aee53df92c429c775e5af27be74b1c /web | |
parent | e603b7e5415d5f8a7702af32bda6d859a8b12a3d (diff) | |
download | tools-58cdf805ac43f0ad17a1a87d1e12f9328ea77b66.tar.gz tools-58cdf805ac43f0ad17a1a87d1e12f9328ea77b66.tar.bz2 tools-58cdf805ac43f0ad17a1a87d1e12f9328ea77b66.tar.xz tools-58cdf805ac43f0ad17a1a87d1e12f9328ea77b66.zip |
Optimize to disregard more tags
Diffstat (limited to 'web')
-rw-r--r-- | web/po/en.po | 24 | ||||
-rwxr-xr-x | 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 @@ -9,6 +9,18 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" #, no-c-format +msgid "TMW-2: Monster World | Not Found" +msgstr "" + +#, no-c-format +msgid " <h2>404 Not Found</h2>" +msgstr "" + +#, no-c-format +msgid " <p>The page you were looking for was not found.</p>" +msgstr "" + +#, no-c-format msgid "TMW-2: Monster World | Download Page" msgstr "" @@ -105,18 +117,6 @@ msgid " is otherwise unable to connect, please contact us so we may fix t msgstr "" #, no-c-format -msgid "TMW-2: Monster World | Not Found" -msgstr "" - -#, no-c-format -msgid " <h2>404 Not Found</h2>" -msgstr "" - -#, no-c-format -msgid " <p>The page you were looking for was not found.</p>" -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"): "</div>" in line or "iframe" in line or "header" in filx or + line == " <p>" or + line == " </p>" or + line == " <pre><code>" or + line == " </code></pre>" or line.replace('\n','') == "") # Populates the basic arrays |