Page MenuHomePhabricator (Chris)

No OneTemporary

Authored By
Unknown
Size
32 KB
Referenced Files
None
Subscribers
None
diff --git a/data/levelpacks/classic/locale/messages.pot b/data/levelpacks/classic/locale/messages.pot
new file mode 100644
index 0000000..9f244ac
--- /dev/null
+++ b/data/levelpacks/classic/locale/messages.pot
@@ -0,0 +1,119 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2012-04-01 17:56+0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: classic/End.map:1
+msgid "End"
+msgstr ""
+
+#: classic/Here.map:1
+msgid "Here"
+msgstr ""
+
+#: classic/Road.map:1
+msgid "Road"
+msgstr ""
+
+#: classic/FreeFall2.map:1
+msgid "FreeFall2"
+msgstr ""
+
+#: classic/UpDown.map:1
+msgid "UpDown"
+msgstr ""
+
+#: classic/Control.map:1
+msgid "Control"
+msgstr ""
+
+#: classic/FreeFall.map:1
+msgid "FreeFall"
+msgstr ""
+
+#: classic/SomeSpikes.map:1
+msgid "SomeSpikes"
+msgstr ""
+
+#: classic/BabySteps.map:1
+msgid "BabySteps"
+msgstr ""
+
+#: classic/levels.lst:1
+msgid "Default level pack"
+msgstr ""
+
+#: classic/Lab.map:1
+msgid "Lab"
+msgstr ""
+
+#: classic/Spiky.map:1
+msgid "Spiky"
+msgstr ""
+
+#: classic/Credits.map:1
+msgid "Credits"
+msgstr ""
+
+#: classic/Headache.map:1
+msgid "Headache"
+msgstr ""
+
+#: classic/LeftRight.map:1
+msgid "LeftRight"
+msgstr ""
+
+#: classic/Jumping.map:1
+msgid "Jumping"
+msgstr ""
+
+#: classic/ShadowBlocks.map:1
+msgid "ShadowBlocks"
+msgstr ""
+
+#: classic/Tricky.map:1
+msgid "Tricky"
+msgstr ""
+
+#: classic/Jumper.map:1
+msgid "Jumper"
+msgstr ""
+
+#: classic/FirstSpikes.map:1
+msgid "FirstSpikes"
+msgstr ""
+
+#: classic/Carry.map:1
+msgid "Carry"
+msgstr ""
+
+#: classic/Timing.map:1
+msgid "Timing"
+msgstr ""
+
+#: classic/Shadow.map:1
+msgid "Shadow"
+msgstr ""
+
+#: classic/LittleHelp.map:1
+msgid "LittleHelp"
+msgstr ""
+
+#: classic/Tower.map:1
+msgid "Tower"
+msgstr ""
+
diff --git a/data/levelpacks/default/locale/messages.pot b/data/levelpacks/default/locale/messages.pot
index 91369a6..b0315be 100644
--- a/data/levelpacks/default/locale/messages.pot
+++ b/data/levelpacks/default/locale/messages.pot
@@ -1,179 +1,99 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-04-01 17:56+0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
-#: ./default/map04.map:1
-msgid "Double trouble"
-msgstr ""
-
-#: ./default/3.map:1
-msgid "Running in the Sky"
-msgstr ""
-
-#: ./default/Remote.map:1
-msgid "Remote control"
-msgstr ""
-
-#: ./default/Volcano.map:1
-msgid "Volcano"
-msgstr ""
-
-#: ./default/Switches.map:1
-msgid "Switches"
-msgstr ""
-
-#: ./default/QuickSwap.map:1
-msgid "Quick swap"
-msgstr ""
-
-#: ./default/levels.lst:1
-msgid "Default"
-msgstr ""
-
-#: ./default/5.map:1
-msgid "stopping the spikes"
-msgstr ""
-
-#: ./default/Sweeper.map:1
-msgid "Sweeper"
-msgstr ""
-
-#: ./default/1.map:1
-msgid "Building Teamwork"
-msgstr ""
-
-#: ./default/map02.map:1
-msgid "Snail"
-msgstr ""
-
-#: ./default/2.map:1
-msgid "Tricky Jumping"
-msgstr ""
-
-#: ./default/Regroup.map:1
+#: default/Regroup.map:1
msgid "Regroup"
msgstr ""
-#: ./default/map05.map:1
-msgid "Wall breaking"
-msgstr ""
-
-#: ./default/Skyscrapers.map:1
-msgid "Skyscrapers"
-msgstr ""
-
-#: ./default/map01.map:1
-msgid "Simple"
+#: default/Switches.map:1
+msgid "Switches"
msgstr ""
-#: ./default/4.map:1
+#: default/4.map:1
msgid "Both Up and Down"
msgstr ""
-#: ./default/map03.map:1
-msgid "Spiky travel"
+#: default/map02.map:1
+msgid "Snail"
msgstr ""
-#: ./default/Towers.map:1
+#: default/Towers.map:1
msgid "Towers"
msgstr ""
-#: ./default/Timing.map:1
-msgid "Timing"
-msgstr ""
-
-#: ./default/.svn/text-base/Timing.map.svn-base:1
-msgid "Timing"
-msgstr ""
-
-#: ./default/.svn/text-base/4.map.svn-base:1
-msgid "Both Up and Down"
-msgstr ""
-
-#: ./default/.svn/text-base/map05.map.svn-base:1
-msgid "Wall breaking"
-msgstr ""
-
-#: ./default/.svn/text-base/Remote.map.svn-base:1
-msgid "Remote control"
+#: default/map01.map:1
+msgid "Simple"
msgstr ""
-#: ./default/.svn/text-base/1.map.svn-base:1
-msgid "Building Teamwork"
+#: default/map04.map:1
+msgid "Double trouble"
msgstr ""
-#: ./default/.svn/text-base/3.map.svn-base:1
+#: default/3.map:1
msgid "Running in the Sky"
msgstr ""
-#: ./default/.svn/text-base/Switches.map.svn-base:1
-msgid "Switches"
-msgstr ""
-
-#: ./default/.svn/text-base/map04.map.svn-base:1
-msgid "Double trouble"
+#: default/Skyscrapers.map:1
+msgid "Skyscrapers"
msgstr ""
-#: ./default/.svn/text-base/QuickSwap.map.svn-base:1
+#: default/QuickSwap.map:1
msgid "Quick swap"
msgstr ""
-#: ./default/.svn/text-base/Regroup.map.svn-base:1
-msgid "Regroup"
+#: default/5.map:1
+msgid "stopping the spikes"
msgstr ""
-#: ./default/.svn/text-base/levels.lst.svn-base:1
+#: default/levels.lst:1
msgid "Default"
msgstr ""
-#: ./default/.svn/text-base/Towers.map.svn-base:1
-msgid "Towers"
-msgstr ""
-
-#: ./default/.svn/text-base/2.map.svn-base:1
-msgid "Tricky Jumping"
+#: default/Remote.map:1
+msgid "Remote control"
msgstr ""
-#: ./default/.svn/text-base/Skyscrapers.map.svn-base:1
-msgid "Skyscrapers"
+#: default/map03.map:1
+msgid "Spiky travel"
msgstr ""
-#: ./default/.svn/text-base/Sweeper.map.svn-base:1
+#: default/Sweeper.map:1
msgid "Sweeper"
msgstr ""
-#: ./default/.svn/text-base/map01.map.svn-base:1
-msgid "Simple"
+#: default/1.map:1
+msgid "Building Teamwork"
msgstr ""
-#: ./default/.svn/text-base/5.map.svn-base:1
-msgid "stopping the spikes"
+#: default/Timing.map:1
+msgid "Timing"
msgstr ""
-#: ./default/.svn/text-base/map03.map.svn-base:1
-msgid "Spiky travel"
+#: default/Volcano.map:1
+msgid "Volcano"
msgstr ""
-#: ./default/.svn/text-base/Volcano.map.svn-base:1
-msgid "Volcano"
+#: default/map05.map:1
+msgid "Wall breaking"
msgstr ""
-#: ./default/.svn/text-base/map02.map.svn-base:1
-msgid "Snail"
+#: default/2.map:1
+msgid "Tricky Jumping"
msgstr ""
diff --git a/data/levelpacks/tutorial/locale/messages.pot b/data/levelpacks/tutorial/locale/messages.pot
index 325a37c..fbf43c2 100644
--- a/data/levelpacks/tutorial/locale/messages.pot
+++ b/data/levelpacks/tutorial/locale/messages.pot
@@ -1,563 +1,287 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-04-01 17:56+0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
-#: tutorial/tut03.map:1
-msgid "Jumping around"
-msgstr ""
-
-#: tutorial/tut03.map:13
-msgid "See those gaps over there?\nReach the finish without falling."
-msgstr ""
-
-#: tutorial/tut03.map:34
-msgid "Good job!"
-msgstr ""
-
-#: tutorial/tut04.map:1
-msgid "First spikes"
-msgstr ""
-
-#: tutorial/tut04.map:19
-msgid "Spikes are deadly.\nDon't touch them!"
-msgstr ""
-
-#: tutorial/tut16.map:1
-msgid "The switch"
-msgstr ""
-
-#: tutorial/tut16.map:14
-msgid "There's another type of trigger: the switch.\nGo and see what happens when you press\nthe switch."
-msgstr ""
-
-#: tutorial/tut06.map:1
-msgid "Shadow walk"
-msgstr ""
-
-#: tutorial/tut06.map:23
-msgid "TIP:\nAlthough you can't jump on those blocks\nyou can record the jumps for your shadow."
-msgstr ""
-
-#: tutorial/tut06.map:27
-msgid "Only your shadow can stand on those shadow\nblocks. Get him up there."
+#: tutorial/tut12.map:17
+msgid "Now you'll need to help your shadow cross.\n"
msgstr ""
-#: tutorial/tut23.map:1
-msgid "Shadow swap"
+#: tutorial/tut07.map:33
+msgid "If your shadow dies you'll have to restart.\nRestart the game by pressing the 'R' key."
msgstr ""
-#: tutorial/tut23.map:22
-msgid "You need your shadow to reach the exit.\nMake use of the swapper to get him down (or \nto get yourself down)."
+#: tutorial/tut02.map:1
+msgid "First jumps"
msgstr ""
-#: tutorial/tut23.map:33
-msgid "TIP:\nWhen your shadow is trapped stand on the\nright side of the shadow blocks. Now record \nthe down key and let your shadow mimic."
+#: tutorial/tut10.map:35
+msgid "TIP:\nTry to get your shadow here as well.\nIf you stand on him you can jump further."
msgstr ""
-#: tutorial/tut01.map:1
-msgid "Walk in the park"
+#: tutorial/tut18.map:14
+msgid "This trigger will deactivate the moving block.\nTry to stop it at the right moment.\nYou can only do this once, so if it fails you'll\nhave to reset the level with the 'R' key."
msgstr ""
#: tutorial/tut01.map:18
msgid "Welcome to Me and My Shadow.\nUse the arrow keys to walk to the exit.\n\nGood luck!"
msgstr ""
-#: tutorial/tut08.map:1
-msgid "Teamwork"
-msgstr ""
-
-#: tutorial/tut08.map:21
-msgid "You and your shadow need to work together.\nMove your shadow towards the wall and jump\non him."
-msgstr ""
-
-#: tutorial/tut22.map:1
-msgid "Swappoints"
-msgstr ""
-
-#: tutorial/tut22.map:13
-msgid "Now it's time for something completely\ndifferent: swappoints. When you or your\nshadow activate them you'll swap places."
-msgstr ""
-
-#: tutorial/tut22.map:41
-msgid "TIP:\nLet your shadow walk over the shadow bridge.\nThen activate the swappoint."
-msgstr ""
-
-#: tutorial/levels.lst~:1
-msgid "You have finished the tutorial!"
-msgstr ""
-
-#: tutorial/levels.lst~:2
-msgid "Step to step introduction"
+#: tutorial/tut15.map:1
+msgid "Triggering"
msgstr ""
-#: tutorial/tut14.map:1
-msgid "Conveyor madness"
+#: tutorial/tut23.map:1
+msgid "Shadow swap"
msgstr ""
-#: tutorial/tut14.map:72
-msgid "When standing on conveyor belts you'll\nmove without walking."
+#: tutorial/tut13.map:1
+msgid "Moving spikes"
msgstr ""
-#: tutorial/tut14.map:81
-msgid "Let the shadow finish the level by walking to\nthe finish. But don't stand still because your\nshadow will move back to the wall."
+#: tutorial/tut03.map:13
+msgid "See those gaps over there?\nReach the finish without falling."
msgstr ""
#: tutorial/tut05.map:1
msgid "Shadow"
msgstr ""
-#: tutorial/tut05.map:29
-msgid "You can't reach the exit, but your shadow can.\nPress space to record your moves.\nPress space once again to let your shadow\nmimic your recording."
-msgstr ""
-
-#: tutorial/tut05.map:32
-msgid "TIP:\nThink what moves your shadow has to make.\nThen let your character record those moves.\nYou can break it down into smaller recordings."
-msgstr ""
-
-#: tutorial/levels.lst:1
-msgid "You have finished the tutorial!"
-msgstr ""
-
-#: tutorial/levels.lst:2
-msgid "Step by step introduction"
-msgstr ""
-
-#: tutorial/tut12.map:1
-msgid "Moving shadow blocks"
-msgstr ""
-
-#: tutorial/tut12.map:17
-msgid "Now you'll need to help your shadow cross.\n"
-msgstr ""
-
-#: tutorial/tut20.map:1
-msgid "One-way portal"
-msgstr ""
-
-#: tutorial/tut20.map:18
-msgid "There are always two portals in a level.\nUnless they are broken, but this doesn't mean\nyou can always go back the way you came."
-msgstr ""
-
-#: tutorial/tut20.map:48
-msgid "Now try to go through the portal again."
-msgstr ""
-
-#: tutorial/tut02.map:1
-msgid "First jumps"
+#: tutorial/tut10.map:19
+msgid "You can save your progress in a level with\ncheckpoints. You can restore them at any\ntime using the F3 button."
msgstr ""
#: tutorial/tut02.map:18
msgid "You can jump using the up key.\nTry jumping over these blocks."
msgstr ""
-#: tutorial/tut15.map:1
-msgid "Triggering"
+#: tutorial/tut07.map:1
+msgid "Shadow challenge"
msgstr ""
-#: tutorial/tut15.map:44
-msgid "This looks like a normal row of blocks.\nBut watch what happens when you push the\nbutton in front of you."
+#: tutorial/tut23.map:22
+msgid "You need your shadow to reach the exit.\nMake use of the swapper to get him down (or \nto get yourself down)."
msgstr ""
-#: tutorial/tut10.map:1
-msgid "Checkpoints"
+#: tutorial/tut16.map:14
+msgid "There's another type of trigger: the switch.\nGo and see what happens when you press\nthe switch."
msgstr ""
-#: tutorial/tut10.map:19
-msgid "You can save your progress in a level with\ncheckpoints. You can restore them at any\ntime using the F3 button."
+#: tutorial/tut06.map:27
+msgid "Only your shadow can stand on those shadow\nblocks. Get him up there."
msgstr ""
-#: tutorial/tut10.map:35
-msgid "TIP:\nTry to get your shadow here as well.\nIf you stand on him you can jump further."
+#: tutorial/tut21.map:16
+msgid "Portals point to another portal or to nothing.\nTry to reach the exit in this portal mayhem."
msgstr ""
-#: tutorial/tut09.map:1
-msgid "Fragile"
+#: tutorial/tut05.map:32
+msgid "TIP:\nThink what moves your shadow has to make.\nThen let your character record those moves.\nYou can break it down into smaller recordings."
msgstr ""
-#: tutorial/tut09.map:14
-msgid "Those blocks are fragile.\nIf you step on them too often they'll break."
+#: tutorial/tut21.map:1
+msgid "Portal mayhem"
msgstr ""
-#: tutorial/tut13.map:1
-msgid "Moving spikes"
+#: tutorial/tut14.map:81
+msgid "Let the shadow finish the level by walking to\nthe finish. But don't stand still because your\nshadow will move back to the wall."
msgstr ""
#: tutorial/tut13.map:18
msgid "Watch out for the moving spikes."
msgstr ""
-#: tutorial/tut07.map:1
-msgid "Shadow challenge"
-msgstr ""
-
-#: tutorial/tut07.map:19
-msgid "Spikes are not only deadly for you,\nbut also for your shadow."
-msgstr ""
-
-#: tutorial/tut07.map:33
-msgid "If your shadow dies you'll have to restart.\nRestart the game by pressing the 'R' key."
-msgstr ""
-
-#: tutorial/tut24.map:1
-msgid "Warning"
-msgstr ""
-
-#: tutorial/tut24.map:18
-msgid "That's all there is.\nNow it's time to put your skills to the test.\nEnter the exit to go to the last level.\nGood luck!"
-msgstr ""
-
-#: tutorial/tut19.map:1
-msgid "First portals"
-msgstr ""
-
-#: tutorial/tut19.map:39
-msgid "Now it's time to check out the portals.\nTo get to the exit you'll have to take the portal.\nWalk to it and press the down arrow to\nactivate."
-msgstr ""
-
-#: tutorial/tut19.map:42
-msgid "NOTE:\nYou can go back by entering this portal.\nIt is however a bit different, you don't have to\npress the down key, but walk in it."
-msgstr ""
-
-#: tutorial/tut21.map:1
-msgid "Portal mayhem"
+#: tutorial/tut16.map:1
+msgid "The switch"
msgstr ""
-#: tutorial/tut21.map:16
-msgid "Portals point to another portal or to nothing.\nTry to reach the exit in this portal mayhem."
+#: tutorial/tut25.map:13
+msgid "The very best of luck!"
msgstr ""
#: tutorial/tut21.map:156
msgid "Now choose one of the two."
msgstr ""
-#: tutorial/tut21.map:187
-msgid "A dead end, you'd better go back and choose\nthe other portal."
-msgstr ""
-
-#: tutorial/tut18.map:1
-msgid "Stop trigger"
-msgstr ""
-
-#: tutorial/tut18.map:14
-msgid "This trigger will deactivate the moving block.\nTry to stop it at the right moment.\nYou can only do this once, so if it fails you'll\nhave to reset the level with the 'R' key."
+#: tutorial/tut06.map:1
+msgid "Shadow walk"
msgstr ""
-#: tutorial/tut11.map:1
-msgid "Moving blocks"
+#: tutorial/tut22.map:1
+msgid "Swappoints"
msgstr ""
-#: tutorial/tut11.map:17
-msgid "Until now the levels were static.\nThere are however moving blocks."
+#: tutorial/tut25.map:318
+msgid "You have made it!"
msgstr ""
#: tutorial/tut17.map:1
msgid "Toggle trigger"
msgstr ""
-#: tutorial/tut17.map:14
-msgid "You've only seen triggers that activate other\nblocks, but they can also deactivate or toggle\nthem."
-msgstr ""
-
-#: tutorial/tut25.map:1
-msgid "Final"
-msgstr ""
-
-#: tutorial/tut25.map:13
-msgid "The very best of luck!"
+#: tutorial/tut15.map:44
+msgid "This looks like a normal row of blocks.\nBut watch what happens when you push the\nbutton in front of you."
msgstr ""
-#: tutorial/tut25.map:46
-msgid "TIP:\nTry to get your shadow in front of the shadow\nwall. If he falls down you'd better restart."
+#: tutorial/tut17.map:14
+msgid "You've only seen triggers that activate other\nblocks, but they can also deactivate or toggle\nthem."
msgstr ""
-#: tutorial/tut25.map:318
-msgid "You have made it!"
+#: tutorial/tut22.map:13
+msgid "Now it's time for something completely\ndifferent: swappoints. When you or your\nshadow activate them you'll swap places."
msgstr ""
-#: tutorial/tut25.map:459
-msgid "Where could your shadow be?"
+#: tutorial/tut19.map:39
+msgid "Now it's time to check out the portals.\nTo get to the exit you'll have to take the portal.\nWalk to it and press the down arrow to\nactivate."
msgstr ""
-#: tutorial/.svn/text-base/tut20.map.svn-base:1
-msgid "One-way portal"
+#: tutorial/tut18.map:1
+msgid "Stop trigger"
msgstr ""
-#: tutorial/.svn/text-base/tut20.map.svn-base:18
-msgid "There are always two portals in a level.\nUnless they are broken, but this doesn't mean\nyou can always go back the way you came."
+#: tutorial/tut01.map:1
+msgid "Walk in the park"
msgstr ""
-#: tutorial/.svn/text-base/tut20.map.svn-base:48
-msgid "Now try to go through the portal again."
+#: tutorial/tut09.map:14
+msgid "Those blocks are fragile.\nIf you step on them too often they'll break."
msgstr ""
-#: tutorial/.svn/text-base/tut19.map.svn-base:1
+#: tutorial/tut19.map:1
msgid "First portals"
msgstr ""
-#: tutorial/.svn/text-base/tut19.map.svn-base:39
-msgid "Now it's time to check out the portals.\nTo get to the exit you'll have to take the portal.\nWalk to it and press the down arrow to\nactivate."
-msgstr ""
-
-#: tutorial/.svn/text-base/tut19.map.svn-base:42
-msgid "NOTE:\nYou can go back by entering this portal.\nIt is however a bit different, you don't have to\npress the down key, but walk in it."
-msgstr ""
-
-#: tutorial/.svn/text-base/tut14.map.svn-base:1
-msgid "Conveyor madness"
+#: tutorial/tut25.map:1
+msgid "Final"
msgstr ""
-#: tutorial/.svn/text-base/tut14.map.svn-base:72
-msgid "When standing on conveyor belts you'll\nmove without walking."
+#: tutorial/tut20.map:18
+msgid "There are always two portals in a level.\nUnless they are broken, but this doesn't mean\nyou can always go back the way you came."
msgstr ""
-#: tutorial/.svn/text-base/tut14.map.svn-base:81
-msgid "Let the shadow finish the level by walking to\nthe finish. But don't stand still because your\nshadow will move back to the wall."
+#: tutorial/tut04.map:1
+msgid "First spikes"
msgstr ""
-#: tutorial/.svn/text-base/tut12.map.svn-base:1
+#: tutorial/tut12.map:1
msgid "Moving shadow blocks"
msgstr ""
-#: tutorial/.svn/text-base/tut12.map.svn-base:17
-msgid "Now you'll need to help your shadow cross.\n"
-msgstr ""
-
-#: tutorial/.svn/text-base/tut18.map.svn-base:1
-msgid "Stop trigger"
-msgstr ""
-
-#: tutorial/.svn/text-base/tut18.map.svn-base:14
-msgid "This trigger will deactivate the moving block.\nTry to stop it at the right moment.\nYou can only do this once, so if it fails you'll\nhave to reset the level with the 'R' key."
-msgstr ""
-
-#: tutorial/.svn/text-base/tut08.map.svn-base:1
-msgid "Teamwork"
-msgstr ""
-
-#: tutorial/.svn/text-base/tut08.map.svn-base:21
-msgid "You and your shadow need to work together.\nMove your shadow towards the wall and jump\non him."
-msgstr ""
-
-#: tutorial/.svn/text-base/levels.lst.svn-base:1
-msgid "You have finished the tutorial!"
-msgstr ""
-
-#: tutorial/.svn/text-base/levels.lst.svn-base:2
-msgid "Step by step introduction"
-msgstr ""
-
-#: tutorial/.svn/text-base/tut13.map.svn-base:1
-msgid "Moving spikes"
-msgstr ""
-
-#: tutorial/.svn/text-base/tut13.map.svn-base:18
-msgid "Watch out for the moving spikes."
+#: tutorial/tut20.map:48
+msgid "Now try to go through the portal again."
msgstr ""
-#: tutorial/.svn/text-base/tut11.map.svn-base:1
-msgid "Moving blocks"
+#: tutorial/tut20.map:1
+msgid "One-way portal"
msgstr ""
-#: tutorial/.svn/text-base/tut11.map.svn-base:17
+#: tutorial/tut11.map:17
msgid "Until now the levels were static.\nThere are however moving blocks."
msgstr ""
-#: tutorial/.svn/text-base/tut16.map.svn-base:1
-msgid "The switch"
-msgstr ""
-
-#: tutorial/.svn/text-base/tut16.map.svn-base:14
-msgid "There's another type of trigger: the switch.\nGo and see what happens when you press\nthe switch."
-msgstr ""
-
-#: tutorial/.svn/text-base/tut06.map.svn-base:1
-msgid "Shadow walk"
-msgstr ""
-
-#: tutorial/.svn/text-base/tut06.map.svn-base:23
-msgid "TIP:\nAlthough you can't jump on those blocks\nyou can record the jumps for your shadow."
-msgstr ""
-
-#: tutorial/.svn/text-base/tut06.map.svn-base:27
-msgid "Only your shadow can stand on those shadow\nblocks. Get him up there."
-msgstr ""
-
-#: tutorial/.svn/text-base/tut02.map.svn-base:1
-msgid "First jumps"
-msgstr ""
-
-#: tutorial/.svn/text-base/tut02.map.svn-base:18
-msgid "You can jump using the up key.\nTry jumping over these blocks."
-msgstr ""
-
-#: tutorial/.svn/text-base/tut21.map.svn-base:1
-msgid "Portal mayhem"
-msgstr ""
-
-#: tutorial/.svn/text-base/tut21.map.svn-base:16
-msgid "Portals point to another portal or to nothing.\nTry to reach the exit in this portal mayhem."
-msgstr ""
-
-#: tutorial/.svn/text-base/tut21.map.svn-base:156
-msgid "Now choose one of the two."
-msgstr ""
-
-#: tutorial/.svn/text-base/tut21.map.svn-base:187
-msgid "A dead end, you'd better go back and choose\nthe other portal."
-msgstr ""
-
-#: tutorial/.svn/text-base/tut23.map.svn-base:1
-msgid "Shadow swap"
+#: tutorial/tut14.map:72
+msgid "When standing on conveyor belts you'll\nmove without walking."
msgstr ""
-#: tutorial/.svn/text-base/tut23.map.svn-base:22
-msgid "You need your shadow to reach the exit.\nMake use of the swapper to get him down (or \nto get yourself down)."
+#: tutorial/tut25.map:46
+msgid "TIP:\nTry to get your shadow in front of the shadow\nwall. If he falls down you'd better restart."
msgstr ""
-#: tutorial/.svn/text-base/tut23.map.svn-base:33
+#: tutorial/tut23.map:33
msgid "TIP:\nWhen your shadow is trapped stand on the\nright side of the shadow blocks. Now record \nthe down key and let your shadow mimic."
msgstr ""
-#: tutorial/.svn/text-base/tut10.map.svn-base:1
-msgid "Checkpoints"
-msgstr ""
-
-#: tutorial/.svn/text-base/tut10.map.svn-base:19
-msgid "You can save your progress in a level with\ncheckpoints. You can restore them at any\ntime using the F3 button."
-msgstr ""
-
-#: tutorial/.svn/text-base/tut10.map.svn-base:35
-msgid "TIP:\nTry to get your shadow here as well.\nIf you stand on him you can jump further."
-msgstr ""
-
-#: tutorial/.svn/text-base/tut04.map.svn-base:1
-msgid "First spikes"
-msgstr ""
-
-#: tutorial/.svn/text-base/tut04.map.svn-base:19
-msgid "Spikes are deadly.\nDon't touch them!"
-msgstr ""
-
-#: tutorial/.svn/text-base/tut15.map.svn-base:1
-msgid "Triggering"
-msgstr ""
-
-#: tutorial/.svn/text-base/tut15.map.svn-base:44
-msgid "This looks like a normal row of blocks.\nBut watch what happens when you push the\nbutton in front of you."
-msgstr ""
-
-#: tutorial/.svn/text-base/tut17.map.svn-base:1
-msgid "Toggle trigger"
-msgstr ""
-
-#: tutorial/.svn/text-base/tut17.map.svn-base:14
-msgid "You've only seen triggers that activate other\nblocks, but they can also deactivate or toggle\nthem."
+#: tutorial/tut08.map:1
+msgid "Teamwork"
msgstr ""
-#: tutorial/.svn/text-base/tut05.map.svn-base:1
-msgid "Shadow"
+#: tutorial/tut06.map:23
+msgid "TIP:\nAlthough you can't jump on those blocks\nyou can record the jumps for your shadow."
msgstr ""
-#: tutorial/.svn/text-base/tut05.map.svn-base:29
-msgid "You can't reach the exit, but your shadow can.\nPress space to record your moves.\nPress space once again to let your shadow\nmimic your recording."
+#: tutorial/tut24.map:18
+msgid "That's all there is.\nNow it's time to put your skills to the test.\nEnter the exit to go to the last level.\nGood luck!"
msgstr ""
-#: tutorial/.svn/text-base/tut05.map.svn-base:32
-msgid "TIP:\nThink what moves your shadow has to make.\nThen let your character record those moves.\nYou can break it down into smaller recordings."
+#: tutorial/tut24.map:1
+msgid "Warning"
msgstr ""
-#: tutorial/.svn/text-base/tut25.map.svn-base:1
-msgid "Final"
+#: tutorial/tut03.map:34
+msgid "Good job!"
msgstr ""
-#: tutorial/.svn/text-base/tut25.map.svn-base:13
-msgid "The very best of luck!"
+#: tutorial/tut19.map:42
+msgid "NOTE:\nYou can go back by entering this portal.\nIt is however a bit different, you don't have to\npress the down key, but walk in it."
msgstr ""
-#: tutorial/.svn/text-base/tut25.map.svn-base:46
-msgid "TIP:\nTry to get your shadow in front of the shadow\nwall. If he falls down you'd better restart."
+#: tutorial/tut09.map:1
+msgid "Fragile"
msgstr ""
-#: tutorial/.svn/text-base/tut25.map.svn-base:318
-msgid "You have made it!"
+#: tutorial/tut08.map:21
+msgid "You and your shadow need to work together.\nMove your shadow towards the wall and jump\non him."
msgstr ""
-#: tutorial/.svn/text-base/tut25.map.svn-base:459
+#: tutorial/tut25.map:459
msgid "Where could your shadow be?"
msgstr ""
-#: tutorial/.svn/text-base/tut01.map.svn-base:1
-msgid "Walk in the park"
+#: tutorial/tut14.map:1
+msgid "Conveyor madness"
msgstr ""
-#: tutorial/.svn/text-base/tut01.map.svn-base:18
-msgid "Welcome to Me and My Shadow.\nUse the arrow keys to walk to the exit.\n\nGood luck!"
+#: tutorial/tut03.map:1
+msgid "Jumping around"
msgstr ""
-#: tutorial/.svn/text-base/tut07.map.svn-base:1
-msgid "Shadow challenge"
+#: tutorial/tut10.map:1
+msgid "Checkpoints"
msgstr ""
-#: tutorial/.svn/text-base/tut07.map.svn-base:19
+#: tutorial/tut07.map:19
msgid "Spikes are not only deadly for you,\nbut also for your shadow."
msgstr ""
-#: tutorial/.svn/text-base/tut07.map.svn-base:33
-msgid "If your shadow dies you'll have to restart.\nRestart the game by pressing the 'R' key."
-msgstr ""
-
-#: tutorial/.svn/text-base/tut09.map.svn-base:1
-msgid "Fragile"
-msgstr ""
-
-#: tutorial/.svn/text-base/tut09.map.svn-base:14
-msgid "Those blocks are fragile.\nIf you step on them too often they'll break."
-msgstr ""
-
-#: tutorial/.svn/text-base/tut24.map.svn-base:1
-msgid "Warning"
+#: tutorial/tut21.map:187
+msgid "A dead end, you'd better go back and choose\nthe other portal."
msgstr ""
-#: tutorial/.svn/text-base/tut24.map.svn-base:18
-msgid "That's all there is.\nNow it's time to put your skills to the test.\nEnter the exit to go to the last level.\nGood luck!"
+#: tutorial/tut04.map:19
+msgid "Spikes are deadly.\nDon't touch them!"
msgstr ""
-#: tutorial/.svn/text-base/tut22.map.svn-base:1
-msgid "Swappoints"
+#: tutorial/levels.lst:2
+msgid "Step by step introduction"
msgstr ""
-#: tutorial/.svn/text-base/tut22.map.svn-base:13
-msgid "Now it's time for something completely\ndifferent: swappoints. When you or your\nshadow activate them you'll swap places."
+#: tutorial/tut11.map:1
+msgid "Moving blocks"
msgstr ""
-#: tutorial/.svn/text-base/tut22.map.svn-base:41
+#: tutorial/tut22.map:41
msgid "TIP:\nLet your shadow walk over the shadow bridge.\nThen activate the swappoint."
msgstr ""
-#: tutorial/.svn/text-base/tut03.map.svn-base:1
-msgid "Jumping around"
-msgstr ""
-
-#: tutorial/.svn/text-base/tut03.map.svn-base:13
-msgid "See those gaps over there?\nReach the finish without falling."
+#: tutorial/tut05.map:29
+msgid "You can't reach the exit, but your shadow can.\nPress space to record your moves.\nPress space once again to let your shadow\nmimic your recording."
msgstr ""
-#: tutorial/.svn/text-base/tut03.map.svn-base:34
-msgid "Good job!"
+#: tutorial/levels.lst:1
+msgid "You have finished the tutorial!"
msgstr ""
diff --git a/tools/extract_pot.py b/tools/extract_pot.py
index b1ccd55..732e71f 100644
--- a/tools/extract_pot.py
+++ b/tools/extract_pot.py
@@ -1,108 +1,122 @@
import sys, os, os.path
+from collections import defaultdict
#The path to the levelpack.
levelpackPath = ""
+#The dictionary which will hold all the translatable strings.
+dictionary = defaultdict(list)
+
#The file stream to write to.
potFile = None
#Some vars to keep track of where we are/get stuff from.
curfile = ""
curline = 1
#Method that will create the .pot file and open the file stream.
def openPotFile():
for root, dirs, files in os.walk(levelpackPath):
#Check if the directory 'locale' is present.
fullpath = os.path.join(root, 'locale')
if not os.path.exists(fullpath):
os.makedirs(fullpath)
fullpath = os.path.join(fullpath, 'messages.pot')
global potFile
potFile = open(fullpath,"w")
break
#Method that loops through the files of the levelpack.
def loopfiles():
for root, dirs, files in os.walk(levelpackPath):
- for f in files:
- fullpath = os.path.join(root, f)
- global curfile
- curfile = fullpath
- looplines(fullpath)
+ if root.count(os.sep) < 1:
+ for f in files:
+ fullpath = os.path.join(root, f)
+ global curfile
+ curfile = fullpath
+ looplines(fullpath)
#Method that loops through the lines of a given file.
def looplines(f):
fileInput = open(f,"r")
global curline
curline = 1
for line in fileInput:
lookup(line)
curline += 1
fileInput.close();
#Method that looks up the line to check if it contains a translatable string.
def lookup(line):
signs = 0
#Check for a '=' sign.
for c in line:
if c == '=':
signs += 1
if signs > 1:
print "WARNING: Multiple '=' signs, using first one."
if signs > 0:
key = line.split( "=" )[0].rstrip('\r\n"').lstrip('"').strip()
value = line.split( "=" )[1]
#Check if the key is a translatable one.
if key in ['congratulations', 'description', 'name', 'message']:
- writeEntry('#: ' + curfile + ':' + str(curline), value)
+ #writeEntry('#: ' + curfile + ':' + str(curline), value)
+ dictionary[value].append('#: ' + curfile + ':' + str(curline))
#Method that will write the header.
def writeHeader():
potFile.write('# SOME DESCRIPTIVE TITLE.\n')
potFile.write('# Copyright (C) YEAR THE PACKAGE\'S COPYRIGHT HOLDER\n')
potFile.write('# This file is distributed under the same license as the PACKAGE package.\n')
potFile.write('# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.\n')
potFile.write('#\n')
potFile.write('#, fuzzy\n')
potFile.write('msgid ""\n')
potFile.write('msgstr ""\n')
potFile.write('"Project-Id-Version: PACKAGE VERSION\\n"\n')
potFile.write('"Report-Msgid-Bugs-To: \\n"\n')
potFile.write('"POT-Creation-Date: 2012-04-01 17:56+0300\\n"\n')
potFile.write('"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\\n"\n')
potFile.write('"Last-Translator: FULL NAME <EMAIL@ADDRESS>\\n"\n')
potFile.write('"Language-Team: LANGUAGE <LL@li.org>\\n"\n')
potFile.write('"Language: \\n"\n')
potFile.write('"MIME-Version: 1.0\\n"\n')
potFile.write('"Content-Type: text/plain; charset=CHARSET\\n"\n')
potFile.write('"Content-Transfer-Encoding: 8bit\\n"\n')
potFile.write('\n')
#Method that performs the actual writing.
-def writeEntry(comment, msgid):
- #Remove any trailing or leading '"' or '/n'
- msgid = msgid.rstrip('\r\n"').lstrip('"')
-
- #Write it to the file.
- potFile.write(comment)
- potFile.write('\n')
- potFile.write('msgid "' + msgid + '"\n')
- potFile.write('msgstr ""\n')
- potFile.write('\n')
-
+def writeEntries():
+ for msgid, comments in dictionary.iteritems():
+ #Remove any trailing or leading '"' or '/n'
+ msgid = msgid.rstrip('\r\n"').lstrip('"')
+
+ #Write it to the file.
+ for comment in comments:
+ potFile.write(comment)
+ potFile.write('\n')
+ potFile.write('msgid "' + msgid + '"\n')
+ potFile.write('msgstr ""\n')
+ potFile.write('\n')
+
+
#First check command line arguments.
if len(sys.argv) != 2:
print "Usage: python ./extract_pot.py <path/to/levelpack/>"
sys.exit(0)
#Set the levelpack path
levelpackPath = sys.argv[1]
+#Gather the translatable strings.
+loopfiles()
+
+#Now create the pot file and fill it.
openPotFile()
writeHeader()
-loopfiles()
+writeEntries()
+

File Metadata

Mime Type
text/x-diff
Expires
Wed, Jun 17, 9:09 PM (1 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
71195
Default Alt Text
(32 KB)

Event Timeline