Bug 102320 - klettres (English) doesn't recognize letter Z
Summary: klettres (English) doesn't recognize letter Z
Status: RESOLVED FIXED
Alias: None
Product: klettres
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Anne-Marie Mahfouf
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-23 22:38 UTC by Joe Khoobyar
Modified: 2005-04-07 16:40 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Khoobyar 2005-03-23 22:38:39 UTC
Version:            (using KDE 3.4.0, Gentoo)
Compiler:          gcc version 3.3.5 (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)
OS:                Linux (i686) release 2.6.11-gentoo-r4

I was considering using this application w/ my three year old son, who would probably find it fun.  Unfortunately, when testing it out myself, I found that the application doesn't seem to recognize the letter Z.

It displays the Z when I type it, but it just continues to prompt for a Z after I type it.  All the other letters up to that point worked fine, and simply prompted for another letter.  But we're stuck at Z over here. :) Z, Z, Z, Z, Z, Z, Z, Z, Z
Comment 1 Anne-Marie Mahfouf 2005-03-23 22:50:05 UTC
eeeps, you're right! There is a typo in the sounds.xml file where the Z is written lowercase! I did not spot it!
So what you need to do to fix it on your machine: if you still have the sources, see in kdeedu/klettres/klettres/data/ to edit the sounds.xml file. Then find the en alphabet and the last line is:
<sound name="z" file="en/alpha/Z.ogg" />
Change the z to Z so you have:
<sound name="Z" file="en/alpha/Z.ogg" />
Then issue a su 'c 'make install' to reinstall this file.

If you don't have the sources anymore, go to $KDEDIR/share/apps/klettres/data and edit the sounds.xml here to make the change.

I'll fix it for KDE 3.4.1 and in current cvs HEAD, thanks a lot for your report!
Comment 2 Anne-Marie Mahfouf 2005-03-23 22:53:55 UTC
CVS commit by annma: 

fixuifiles and fix #102320
CCBUGS:102320


  M +0 -3      fontsdlg.ui   1.6
  M +0 -3      timerdlg.ui   1.9
  M +1 -1      data/sounds.xml   1.19
  M +1 -1      en/sounds.xml   1.2


--- kdeedu/klettres/klettres/fontsdlg.ui  #1.5:1.6
@@ -13,7 +13,4 @@
         </rect>
     </property>
-    <property name="caption">
-        <string>fontsdlg</string>
-    </property>
     <grid>
         <property name="name">

--- kdeedu/klettres/klettres/timerdlg.ui  #1.8:1.9
@@ -19,7 +19,4 @@
         </size>
     </property>
-    <property name="caption">
-        <string>timerdlg</string>
-    </property>
     <grid>
         <property name="name">

--- kdeedu/klettres/klettres/data/sounds.xml  #1.18:1.19
@@ -178,5 +178,5 @@
         <sound name="X" file="en/alpha/X.ogg" />
         <sound name="Y" file="en/alpha/Y.ogg" />
-        <sound name="z" file="en/alpha/Z.ogg" />
+        <sound name="Z" file="en/alpha/Z.ogg" />
     </alphabet>
 

--- kdeedu/klettres/klettres/en/sounds.xml  #1.1:1.2
@@ -44,5 +44,5 @@
         <sound name="X" file="en/alpha/X.ogg" />
         <sound name="Y" file="en/alpha/Y.ogg" />
-        <sound name="z" file="en/alpha/Z.ogg" />
+        <sound name="Z" file="en/alpha/Z.ogg" />
     </alphabet>
 
Comment 3 Anne-Marie Mahfouf 2005-03-23 22:56:26 UTC
CVS commit by annma: 

fix #102320
BUGS:102320


  M +1 -1      sounds.xml   1.17.2.3


--- kdeedu/klettres/klettres/data/sounds.xml  #1.17.2.2:1.17.2.3
@@ -178,5 +178,5 @@
         <sound name="X" file="en/alpha/X.ogg" />
         <sound name="Y" file="en/alpha/Y.ogg" />
-        <sound name="z" file="en/alpha/Z.ogg" />
+        <sound name="Z" file="en/alpha/Z.ogg" />
     </alphabet>
 
Comment 4 Joe Khoobyar 2005-04-07 16:40:32 UTC
Thanks so much!  I never ended up telling you how impressed I was with the 20 minute response time to this bug.  Even it was a quick fix...

My three-year old son heartily enjoyed the game.  Now he's getting into Mahjongg, too.