[gcompris/gcomprixogoo] Updated translation strings in the new hangman activity.
- From: Bruno Coudoin <bcoudoin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcompris/gcomprixogoo] Updated translation strings in the new hangman activity.
- Date: Thu, 26 Aug 2010 23:48:57 +0000 (UTC)
commit 5c6a797acef4e2f3bb49e5c6cc99f53b48ce7778
Author: Bruno Coudoin <bruno coudoin free fr>
Date: Fri Aug 27 01:00:31 2010 +0200
Updated translation strings in the new hangman activity.
src/hangman-activity/.gitignore | 2 +-
src/hangman-activity/hangman.py | 8 ++++++--
src/hangman-activity/hangman.xml.in | 2 +-
3 files changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/src/hangman-activity/.gitignore b/src/hangman-activity/.gitignore
index e933fe6..74cc0f0 100644
--- a/src/hangman-activity/.gitignore
+++ b/src/hangman-activity/.gitignore
@@ -1 +1 @@
-pythontemplate.xml
+hangman.xml
diff --git a/src/hangman-activity/hangman.py b/src/hangman-activity/hangman.py
index f4a8aab..792c355 100644
--- a/src/hangman-activity/hangman.py
+++ b/src/hangman-activity/hangman.py
@@ -61,9 +61,13 @@ class Gcompris_hangman:
self.vowels = unicode(_("aeiouy"), encoding="utf8")
# All the consonants of your language (keep empty if non applicable)
self.consonants = unicode(_("bcdfghjklmnpqrstvwxz"), encoding="utf8")
- # Letters equivallence for the hangman activity. It is a list of the
+ # Letters equivallence for the hangman activity. It has the
# form of a space separated list like: "e=éè a=à â"
- self.equivs = unicode(_(""), encoding="utf8")
+ # Keep the word NONE if not available in your language
+ self.equivs = unicode(_("NONE"), encoding="utf8")
+
+ if self.equivs == "NONE":
+ self.equivs = ""
# Create equivs list
self.equivList = []
diff --git a/src/hangman-activity/hangman.xml.in b/src/hangman-activity/hangman.xml.in
index 738e28f..fb01654 100644
--- a/src/hangman-activity/hangman.xml.in
+++ b/src/hangman-activity/hangman.xml.in
@@ -13,7 +13,7 @@
<_description>A word is hidden, you must discover it letter by letter</_description>
<_prerequisite>Reading skill</_prerequisite>
<_goal>This is a good exercise to improve reading and spelling skills.</_goal>
- <_manual>You can enter the letters using the virtual keyboard on the screen or with the real keaboard.</_manual>
+ <_manual>You can enter the letters using the virtual keyboard on the screen or with the real keyboard.</_manual>
</Board>
<Data directory=""/>
</GCompris>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]