Am Sonntag, 7. November 2010, um 01:39:19 schrieb Milian Wolff:
> On Saturday 06 November 2010 23:37:27 Burkhard Lück wrote:
> > Am Samstag, 6. November 2010, um 23:22:30 schrieb Milian Wolff:
> > > On Saturday 06 November 2010 16:23:47 Burkhard Lück wrote:
> > > > Am Samstag, 6. November 2010, um 16:04:13 schrieb Milian Wolff:
> > > > > Hey all,
> > > > > 
> > > > > I'm not sure on what the procedure is to have a project on
> > > > > git.kde.org be review (am I supposed to move it somehow to a
> > > > > "kdereview" module?). So I just shoot at the dark and announce it
> > > > > here directly:
> > > > > 
> > > > > Please review Massif Visualizer for inclusion in KDE Extra Gear
> > > > > SDK: https://projects.kde.org/massif-visualizer
> > > > > 
> > > > > It works rather well for me and apparently other people. It's
> > > > > (since yesterday) possible to use it on Mac OSX as well, a ports
> > > > > file was posted by a user for inclusion in MacPorts.
> > > > > 
> > > > > Any kind of code review would be appreciated, parts that I know
> > > > > could be improved (just not sure how):
> > > > > 
> > > > > - i18n: Albert, I think you said that I have some strange strings,
> > > > > could you tell me which?
> > > > 
> > > > Maybe the issue that you can't start it in locale !=en_US?
> > > > 
> > > > $ KDE_LANG=x-test massif-visualizer
> > > > KGlobal::locale::Warning your global KLocale is being recreated with
> > > > a valid main component instead of a fake component, this usually
> > > > means you tried to call i18n related functions before your main
> > > > component was created. You should not do that since it most likely
> > > > will not work QMutex::lock: Deadlock detected in thread
> > > > 139839996163936
> > > 
> > > This works just fine for me...
> > 
> > Sure, but only because you don't have the language x-test installed.
> > 
> > Please read
> > http://techbase.kde.org/Development/Tutorials/Localization/Building_KDE's
> > _l 10n_Module#Step_3:_Test_An_Application, install x-test and try again,
> > you'll fail...
> 
> Can you explain this tutorial a bit more? Esp. the part about poxml /
> kdesdk - what do I need it for? 

No need to explain that further, you don't need that any more. I'll remove 
that.
It is a leftover from the times where you had to generate the translations of 
the language x-test locally. 
But this is now done once a day on the l10n server, you simply have to 
checkout l10n-kde4/x-test and install it.

> I've followed the steps below and
> installed x-test language, the files reside in:
> 
> /home/milian/projects/compiled/kde4/share/locale/x-test/LC_MESSAGES/
> 
Looks ok.

> I still cannot trigger your behavior - do I need to set some paths to make
> my env aware of the i18n stuff there?
> 
No, simply use "KDE_LANG=x-test foo", that will run the application foo with 
the translations from catalog x-test/LC_MESSAGES/foo.

-- 
Burkhard Lück
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Reply via email to