Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWade Brainerd <wadetb@gmail.com>2008-11-15 04:36:47 (GMT)
committer Wade Brainerd <wadetb@gmail.com>2008-11-15 04:36:47 (GMT)
commit4d98b02e5566e20e23830231bb7c94456934f2b7 (patch)
tree7e6254da509ce5a8d7a8d2dae408a2df2591c4db
parentc0a34c580dd4ce5471f32225598ab0a5601c40f9 (diff)
Added a long lesson. Need to do some work to make it function.
-rw-r--r--MANIFEST11
-rw-r--r--activity/activity.info2
-rw-r--r--lessons/en_US/homerow_intro.lesson16
-rw-r--r--lessons/en_US/long.lesson15
-rw-r--r--po/TypingTurtleApp.pot67
5 files changed, 99 insertions, 12 deletions
diff --git a/MANIFEST b/MANIFEST
index 61ee651..971b69d 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -1,10 +1,15 @@
+TODO
COPYING
NEWS
setup.py
typingturtle.py
keyboard.py
-images/gold-medal.jpg
-lessons/INDEX
activity/Colors-activity.svg
activity/activity.info
-
+images/gold-medal.jpg
+images/no-medal.jpg
+images/bronze-medal.jpg
+images/silver-medal.jpg
+lessons/en_US/homerow_intro.lesson
+lessons/en_US/dummy.lesson
+po/TypingTurtleApp.pot
diff --git a/activity/activity.info b/activity/activity.info
index b6908eb..41a3f3d 100644
--- a/activity/activity.info
+++ b/activity/activity.info
@@ -1,6 +1,6 @@
[Activity]
name = TypingTurtleApp
-activity_version = 8
+activity_version = 1
host_version = 1
service_name = org.laptop.community.TypingTurtleApp
icon = Colors-activity
diff --git a/lessons/en_US/homerow_intro.lesson b/lessons/en_US/homerow_intro.lesson
index 1e3fd9e..4bc5907 100644
--- a/lessons/en_US/homerow_intro.lesson
+++ b/lessons/en_US/homerow_intro.lesson
@@ -8,20 +8,20 @@
},
"steps": [
{
- "instructions": "Welcome to the first Typing Turtle lesson! Please place your fingers on the keyboard as shown below.\n\nWhen you are ready to begin, press the <b>a</b> key with your left index finger.",
- "text": "a"
+ "instructions": "Welcome to the first Typing Turtle lesson! Please place your fingers on the keyboard.\n\nWhen you are ready to begin, press the <b>f</b> key with your left index finger.",
+ "text": "f"
},
{
- "instructions": "Good job! Now press the <b>s</b> key with your left middle finger.",
- "text": "s"
+ "instructions": "Good job! Now press the <b>d</b> key with your left middle finger.",
+ "text": "d"
},
{
- "instructions": "Now the <b>d</b> key with your left ring finger.",
- "text": "d"
+ "instructions": "Now the <b>s</b> key with your left ring finger.",
+ "text": "s"
},
{
- "instructions": "And the <b>f</b> key with your left pinky finger.",
- "text": "f"
+ "instructions": "And the <b>a</b> key with your left pinky finger.",
+ "text": "a"
},
{
"instructions": "Great work! We will now move on to the right hand. As shown in the picture below, press the <b>j</b> key with your right index finger.",
diff --git a/lessons/en_US/long.lesson b/lessons/en_US/long.lesson
new file mode 100644
index 0000000..47e6c59
--- /dev/null
+++ b/lessons/en_US/long.lesson
@@ -0,0 +1,15 @@
+{
+ "name": "Long Lesson",
+ "description": "Testing for lessons involving multiple pages of text.",
+ "medals": {
+ "bronze": { "wpm": 0, "accuracy": 60 },
+ "silver": { "wpm": 0, "accuracy": 60 },
+ "gold": { "wpm": 0, "accuracy": 90 }
+ },
+ "steps": [
+ {
+ "instructions": "Please copy out the following text.",
+ "text": "It is a truth universally acknowledged, that a single man in posession\nof a good fortune, must be in want of a wife.\n\nHowever little known the feelings or views of such a man may be on his\nfirst entering a neighbourhood, this truth is so well fixed in the minds\nof the surrounding families, that he is considered the rightful property\nof some one or other of their daughters.\n\n\"My dear Mr. Bennet,\" said his lady to him one day, \"have you heard that\nNetherfield Park is let at last?\"\n\nMr. Bennet replied that he had not.\n\n\"But it is,\" returned she; \"for Mrs. Long has just been here, and she told me all about it.\"\n\nMr. Bennet made no answer.\n\n\"Do you not want to know who has taken it?\" cried his wife impatiently.\n\n\"You want to tell me, and I have no objection to hearing it.\"\n\nThis was invitation enough."
+ }
+ ]
+ }
diff --git a/po/TypingTurtleApp.pot b/po/TypingTurtleApp.pot
new file mode 100644
index 0000000..07456fd
--- /dev/null
+++ b/po/TypingTurtleApp.pot
@@ -0,0 +1,67 @@
+# 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: 2008-11-15 04:36+0000\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"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: activity/activity.info:2
+msgid "TypingTurtleApp"
+msgstr ""
+
+#: typingturtle.py:52
+msgid ""
+"Certificate of\n"
+"Achievement"
+msgstr ""
+
+#: typingturtle.py:56
+#, python-format
+msgid ""
+"This certifies that on <i><b><u>%(date)s</u></b></i>,\n"
+"<i><b><u>%(nick)s</u></b></i> earned a %(type)s medal\n"
+"in Typing Turtle lesson <i><b><u>%(lesson)s</u></b></i>."
+msgstr ""
+
+#: typingturtle.py:60
+#, python-format
+msgid "<b>Words Per Minute:</b> %(wpm)d"
+msgstr ""
+
+#: typingturtle.py:63 typingturtle.py:185
+#, python-format
+msgid "<b>Accuracy:</b> %(accuracy)d%%"
+msgstr ""
+
+#: typingturtle.py:70 typingturtle.py:106
+msgid "Go Back"
+msgstr ""
+
+#: typingturtle.py:186
+#, python-format
+msgid "<b>WPM:</b> %(wpm)d"
+msgstr ""
+
+#: typingturtle.py:324 typingturtle.py:425
+msgid "Typing Turtle"
+msgstr ""
+
+#: typingturtle.py:327
+msgid ""
+"Welcome to Typing Turtle! To begin, select a lesson from the list below."
+msgstr ""
+
+#: typingturtle.py:335
+msgid "Available Lessons"
+msgstr ""