summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/po/en.po24
-rwxr-xr-xweb/updatelang.py4
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