Bug 186867

Summary: kscd tooltips + "Welcome!" text are untranslatable
Product: [Unmaintained] kscd Reporter: Burkhard Lück <lueck>
Component: generalAssignee: Aaron J. Seigo <aseigo>
Status: RESOLVED FIXED    
Severity: normal CC: qiilaq69
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Unspecified   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Burkhard Lück 2009-03-11 15:15:40 UTC
Version:            (using Devel)
Installed from:    Compiled sources

In trunk and 4.2 the button tooltips + the "Welcome!" are untranslatable.

The latter can be fixed in trunk and stable with this patch:
$ svn diff kdemultimedia/kscd
Index: kdemultimedia/kscd/Messages.sh
===================================================================
--- kdemultimedia/kscd/Messages.sh      (Revision 938049)
+++ kdemultimedia/kscd/Messages.sh      (Arbeitskopie)
@@ -1,4 +1,4 @@
 #! /bin/sh
 $EXTRACTRC `find . -name \*.ui` >> rc.cpp || exit 11
-$XGETTEXT *.cpp -o $podir/kscd.pot
+$XGETTEXT *.cpp gui/*.cpp -o $podir/kscd.pot
 rm -f rc.cpp

But this patch does not fix the untranslatable button tooltips like "stop", "play", "volume" etc.
Comment 1 Burkhard Lück 2009-03-14 23:38:48 UTC
SVN commit 939468 by lueck:

add missing files for message extraction
CCBUG:186867

 M  +1 -1      Messages.sh  


WebSVN link: http://websvn.kde.org/?view=rev&revision=939468
Comment 2 Marek Laane 2009-04-27 20:46:51 UTC
Still tooltips are not translated! Same for action in Decive Notifier. See with pictures in https://qa.mandriva.com/show_bug.cgi?id=50345.
Comment 3 Burkhard Lück 2009-06-18 09:08:57 UTC
patch to make the tooltips translatable send to mailing list for comments/review:

http://lists.kde.org/?l=kde-multimedia&m=124530747407745&w=2

device notifier is a different issue, the message is properly extracted from kscd-play-audiocd.desktop, so it should be translated.
what do i have to do to check if the translation is really used at runtime?
Comment 4 Burkhard Lück 2009-06-18 16:23:57 UTC
SVN commit 983601 by lueck:

make the tooltips translatable
BUG:186867

 M  +2 -1      closebutton.cpp  
 M  +1 -1      closebutton.h  
 M  +2 -1      ejectbutton.cpp  
 M  +1 -1      ejectbutton.h  
 M  +2 -2      kscdwidget.cpp  
 M  +2 -1      loopbutton.cpp  
 M  +1 -1      loopbutton.h  
 M  +2 -1      minimizebutton.cpp  
 M  +1 -1      minimizebutton.h  
 M  +2 -1      mutebutton.cpp  
 M  +1 -1      mutebutton.h  
 M  +2 -1      nextbutton.cpp  
 M  +1 -1      nextbutton.h  
 M  +2 -1      playbutton.cpp  
 M  +1 -1      playbutton.h  
 M  +2 -1      previousbutton.cpp  
 M  +1 -1      previousbutton.h  
 M  +3 -2      randombutton.cpp  
 M  +1 -1      randombutton.h  
 M  +2 -1      stopbutton.cpp  
 M  +1 -1      stopbutton.h  
 M  +2 -1      tracklistbutton.cpp  
 M  +1 -1      tracklistbutton.h  
 M  +3 -2      volumebutton.cpp  
 M  +1 -1      volumebutton.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=983601
Comment 5 Marek Laane 2009-06-18 20:53:00 UTC
Is it possible to backport changes to 4.2? Even if there is no more 4.2 subversions, distributions could more easily update their supported versions which use 4.2.
Comment 6 Burkhard Lück 2009-06-18 21:21:48 UTC
(In reply to comment #5)
> Is it possible to backport changes to 4.2? 

shure, that's easy.
but introducing 12 new strings on a deeply frozen branch?

I will not do it without approval from kde-i18n-doc, so please ask there.