[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-i18n-doc
Subject:    Re: Fwd: Re: plama weather engine data strings
From:       Burkhard =?iso-8859-1?q?L=FCck?= <lueck () hube-lueck ! de>
Date:       2009-07-13 21:06:07
Message-ID: 200907132306.07529.lueck () hube-lueck ! de
[Download RAW message or body]

Am Montag 13 Juli 2009 22:19:28 schrieb Albert Astals Cid:
> A Dilluns, 13 de juliol de 2009, Burkhard Lück va escriure:
> > Am Montag 13 Juli 2009 21:03:18 schrieb Albert Astals Cid:
> > > A Dilluns, 13 de juliol de 2009, Burkhard Lück va escriure:
> > > > Hi tranlators,
> > > >
> > > > for your information:
> > > >
> > > > ----------  Weitergeleitete Nachricht  ----------
> > > >
> > > > Betreff: Re: plama weather engine data strings
> > > > Datum: Sonntag 12 Juli 2009
> > > > Von: Shawn Starr <shawn.starr@rogers.com>
> > > > An: Burkhard Lück <lueck@hube-lueck.de>
> > > >
> > > > On Sunday 12 July 2009 07:12:53 you wrote:
> > > > > Hi Shawn,
> > > > >
> > > > > in the extracted messages i found this:
> > > > > msgctxt "wind direction"
> > > > > msgid "VR"
> > > > > msgstr ""
> > > > >
> > > > > What is "VR"?
> > > > > Abbreviaton for what?
> > > > > Or a typo in the data files?
> > > >
> > > > VR = Variable its 'special' its wind direction is in any direction
> > > > not a specific one and when the wind speed is too low to measure.
> > > >
> > > > -------------------------------------------------------
> > >
> > > Can't we fix the context?
> >
> > Seems i have seen to many weather strings the last days, sorry :-(
> >
> > In this special case yes:
> > - windInfo.insert("windDirection", i18nc("wind direction", "VR"));
> > +windInfo.insert("windDirection", i18nc("wind direction - wind speed is
> > too low to measure", "VR"));
>
> Will that work when the plasmoid or wathever tries do do the substitution?
>
Afaik yes, the weather applets in kdebase-plasma get their data already 
translated via the weather engine. 
And here the context string in the code does not have to match the context 
string in the data files, because it's a special case handled in the data 
engine code.

I'll fix it in trunk and branch now.

-- 
Burkhard Lück


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic