summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xweb/fetch.py3
-rw-r--r--web/po/en.po190
-rwxr-xr-xweb/updatelang.py2
3 files changed, 174 insertions, 21 deletions
diff --git a/web/fetch.py b/web/fetch.py
index 129b142..551f2db 100755
--- a/web/fetch.py
+++ b/web/fetch.py
@@ -57,4 +57,5 @@ for i in langs:
print("Fetching %s..." %(i))
t.get_translation(project, 'website', i, 'po/'+str(i)+'.po')
-
+print("All translations were retrieved.")
+print("Please sanitize files removing \"\\n\", or updatelang.py won't parse properly.")
diff --git a/web/po/en.po b/web/po/en.po
index ea3b10f..72aa65e 100644
--- a/web/po/en.po
+++ b/web/po/en.po
@@ -9,22 +9,6 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
#, no-c-format
-msgid "TMW-2: Monster World | Index Page"
-msgstr ""
-
-#, no-c-format
-msgid " <h2>TMW-2: Monster Wars</h2>"
-msgstr ""
-
-#, no-c-format
-msgid " <p>The Monster World (2) is an open source MMORPG project developed by the community and for the community. We believe that players should be rewarded for merit, and not for game time or luck. TMW2 runs in the ManaPlus client, also opensource, and our game have its code database licensed under GPL 3 and resources (GFX,SFX,etc) typically under CC-BY-SA, although GPL content is also present.</p>"
-msgstr ""
-
-#, no-c-format
-msgid " <p>In this game, the player is given the opportunity to permanently change the world and its story, affecting all players forever, mainly by events and quests. The players are free to decide how they want the world to develop, and their actions change the storyline, besides always being able to join the Development Team.</p>"
-msgstr ""
-
-#, no-c-format
msgid "TMW-2: Monster World | Download Page"
msgstr ""
@@ -73,6 +57,10 @@ msgid " <pre><code>"
msgstr ""
#, no-c-format
+msgid " <b>Name:</b> TMW-2: The Monster World"
+msgstr ""
+
+#, no-c-format
msgid " <b>Address:</b> server.tmw2.org"
msgstr ""
@@ -105,14 +93,178 @@ msgid " <h3>Troubleshooting</h3>"
msgstr ""
#, no-c-format
-msgid " Game official release is 2018-03-02. If we are past this date and you're"
+msgid " If you cannot connect, certify data entered is right. Server may also be at"
+msgstr ""
+
+#, no-c-format
+msgid " maintenance, but if you keep getting a “servers unavailable” message, or"
+msgstr ""
+
+#, no-c-format
+msgid " is otherwise unable to connect, please contact us so we may fix this issue."
+msgstr ""
+
+#, no-c-format
+msgid "</title>"
+msgstr ""
+
+#, no-c-format
+msgid "</head>"
+msgstr ""
+
+#, no-c-format
+msgid "<body>"
+msgstr ""
+
+#, no-c-format
+msgid " <a href=\"/\"><center><img src=\"/logo.png\" /></center></a>"
+msgstr ""
+
+#, no-c-format
+msgid " <ul>"
+msgstr ""
+
+#, no-c-format
+msgid " <li>"
+msgstr ""
+
+#, no-c-format
+msgid " <a href=\"/download\">"
+msgstr ""
+
+#, no-c-format
+msgid " Download"
+msgstr ""
+
+#, no-c-format
+msgid " </a>"
+msgstr ""
+
+#, no-c-format
+msgid " </li>"
+msgstr ""
+
+#, no-c-format
+msgid " <a href=\"/gallery\">"
+msgstr ""
+
+#, no-c-format
+msgid " Gallery"
+msgstr ""
+
+#, no-c-format
+msgid " <a href=\"/development\">"
+msgstr ""
+
+#, no-c-format
+msgid " Development"
+msgstr ""
+
+#, no-c-format
+msgid " <!---li>"
+msgstr ""
+
+#, no-c-format
+msgid " <a href=\"#City\">"
+msgstr ""
+
+#, no-c-format
+msgid " City"
+msgstr ""
+
+#, no-c-format
+msgid " </li-->"
+msgstr ""
+
+#, no-c-format
+msgid " <a href=\"http://gitlab.com/TMW2/theManaWorld_Wiki/wikis/home\">"
+msgstr ""
+
+#, no-c-format
+msgid " Wiki"
+msgstr ""
+
+#, no-c-format
+msgid " <a href=\"/news\">"
+msgstr ""
+
+#, no-c-format
+msgid " News"
+msgstr ""
+
+#, no-c-format
+msgid " <a href=\"/legal\">"
+msgstr ""
+
+#, no-c-format
+msgid " Legal Notice"
+msgstr ""
+
+#, no-c-format
+msgid " </a> "
+msgstr ""
+
+#, no-c-format
+msgid " <a href=\"/contact\">"
+msgstr ""
+
+#, no-c-format
+msgid " Contact Us"
+msgstr ""
+
+#, no-c-format
+msgid " </ul>"
+msgstr ""
+
+#, no-c-format
+msgid " <!-- end #menu --> "
+msgstr ""
+
+#, no-c-format
+msgid " <!-- Renders poorly, worth in the long shot, moved to footer for now"
+msgstr ""
+
+#, no-c-format
+msgid " <todo>"
+msgstr ""
+
+#, no-c-format
+msgid " TMW2 is an Open Source fantasy online MMORPG game developed by Saulc."
+msgstr ""
+
+#, no-c-format
+msgid " </todo>"
+msgstr ""
+
+#, no-c-format
+msgid " -->"
+msgstr ""
+
+#, no-c-format
+msgid "TMW-2: Monster World | Index Page"
+msgstr ""
+
+#, no-c-format
+msgid " <h2>TMW-2: Monster Wars</h2>"
+msgstr ""
+
+#, no-c-format
+msgid " <p>The Monster World (2) is an open source MMORPG project developed by the community and for the community. We believe that players should be rewarded for merit, and not for game time or luck. TMW2 runs in the ManaPlus client, also opensource, and our game have its code database licensed under GPL 3 and resources (GFX,SFX,etc) typically under CC-BY-SA, although GPL content is also present.</p>"
+msgstr ""
+
+#, no-c-format
+msgid " <p>In this game, the player is given the opportunity to permanently change the world and its story, affecting all players forever, mainly by events and quests. The players are free to decide how they want the world to develop, and their actions change the storyline, besides always being able to join the Development Team.</p>"
+msgstr ""
+
+#, no-c-format
+msgid "TMW-2: Monster World | Not Found"
msgstr ""
#, no-c-format
-msgid " getting a “servers unavailable” message, or is otherwise unable to connect,"
+msgid " <h2>404 Not Found</h2>"
msgstr ""
#, no-c-format
-msgid " please contact us so we may fix this issue."
+msgid " <p>The page you were looking for was not found.</p>"
msgstr ""
diff --git a/web/updatelang.py b/web/updatelang.py
index e02d061..d3b0573 100755
--- a/web/updatelang.py
+++ b/web/updatelang.py
@@ -75,7 +75,7 @@ def generateLocal():
-# Write po files
+# Write po files. TODO: WARNING: Some translations are getting overriden!
def writePoFile(nf,lg):
# Translation Memory, to prevent duplicates
global tm