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

List:       kde-i18n-doc
Subject:    Re: How to fix wrong catalog name for 4.9?
From:       Frederik Schwarzer <schwarzer () kde ! org>
Date:       2012-06-16 19:23:49
Message-ID: 201206162123.50044.schwarzer () kde ! org
[Download RAW message or body]

Am Samstag, 16. Juni 2012, 21:04:57 schrieb Friedrich W. H. Kossebau:
> Am Samstag, 16. Juni 2012, 18:55:30 schrieb Albert Astals Cid:
> > El Divendres, 15 de juny de 2012, a les 15:19:48, Friedrich W. H.
> > Kossebau va
> > 
> > escriure:
> > > Hi,
> > > 
> > > I just found out that I once made a misnomer in the Messages.sh
> > > of the Marble Plasma runner plugin
> > > (kdeedu/marble/src/plasmarunner) which extracts
> > > to
> > > 
> > >  	"plasma_runner_marblerunner.pot"
> > > 
> > > while it should have been
> > > 
> > > 	"plasma_runner_marble.pot"
> > > 	
> > > :/
> > > 
> > > For 4.8 I will commit a fix which simply enforces loading of
> > > that other catalog (if there ever will be a 4.8.5).
> > > 
> > > But what is the proper fix now for 4.9? Can I just fix the
> > > Messages.sh and change the pot name to
> > > "plasma_runner_marble.pot"? Can you catch the rename
> > > in the translation system without losing the translators' work?
> > > Or what should I ideally do?
> > 
> > Fix your code so plasma_runner_marblerunner.pot is the correct
> > one?
> 
> You mean, I should simply instead rename the plugin, so the catalog
> name matches? :)
> 
> Can do of course. Just, I would prefer to have the plugin name as
> it is now.
> 
> Okay, what about doing your proposed fix for now/4.9, but changing
> the plugin and catalog name (back) to "plasma_runner_marble" in
> master somewhere before 4.10-alpha, when translator activity is
> low?
> 
> Cheers
> Friedrich

http://api.kde.org/4.8-api/kdelibs-
apidocs/kdecore/html/classKAboutData.html#a95684a6725a286095710923c3fe8cdf8

The second argument is the catalog name. If it is the same as the app 
name, then you can say 0 there but you cat actually set the catalog 
name in case both names do not match.

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

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