[gcompris] hangman, minor translator comment update.



commit fc8f9e740d5450e41c058fea027213674199b5f2
Author: GunChleoc <fios foramnagaidhlig net>
Date:   Mon Apr 29 12:15:42 2013 +0100

    hangman, minor translator comment update.

 src/hangman-activity/hangman.py |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/src/hangman-activity/hangman.py b/src/hangman-activity/hangman.py
index bd7926d..9f9247d 100644
--- a/src/hangman-activity/hangman.py
+++ b/src/hangman-activity/hangman.py
@@ -66,17 +66,18 @@ class Gcompris_hangman:
     # Separate with /. You can use digraphs, trigraphs etc. For example, both 's' and 'sch' could be in the 
list for German
     tempconsonants = unicode(_("b/c/d/f/g/h/j/k/l/m/n/p/q/r/s/t/v/w/x/z"), encoding="utf8")
     self.consonants = tempconsonants.split("/")
-    
+
     # Keys to letters equivalence for the hangman activity. It has the
     # form of a space separated list like: "é=e/E è=e/E sch=S"
     # Letters on the left of the = can be multigraphs and represent the letters on the buttons.
     # Letters on the right are single letters pressed on the keyboard.
+
     # If you wish to allow different key presses for the same letter, separate the letters
-    # on the right with /
+    # on the right with the chararcter '/'. Keep the word NONE if not available in your language
     keyequivs = unicode(_("a=a"), encoding="utf8")
     if keyequivs == "a=a":
       keyequivs = None
-    
+
     # Create equivs list
     self.keyequivList = {}
     if keyequivs:
@@ -87,7 +88,6 @@ class Gcompris_hangman:
         except:
           print ("ERROR: Bad key equivalence list '%s' for hangman: " %(keyequivs, ))
 
-
     # Letters equivalence for the hangman activity. It has the
     # form of a space separated list like: "e=éè a=àâ"
     # Keep the word NONE if not available in your language
@@ -309,9 +309,9 @@ class Gcompris_hangman:
         i = i+1+graphlength
     # end parsing the word with multigraphs
 
-    # now construct and display the word for the game    
+    # now construct and display the word for the game
     x = (gcompris.BOARD_WIDTH - (len(parsedword) * w)) / 2
-  
+
     for i in range(0, len(parsedword)):
         # dynamic width of last multigraph in the word
         if(i>0):
@@ -319,7 +319,7 @@ class Gcompris_hangman:
                 xshift=(len(parsedword[i-1])-1)*0.75/len(parsedword[i-1]) #todo factor
         else:
             xshift=0
-    
+
         self.letters.append(Letter(self, x + (i+xshift)*w, 70,
                                  parsedword[i],
                                  self.get_equiv(parsedword[i])))


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]