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

List:       kde-i18n-doc
Subject:    Re: <label>, <tooltip>, <whatsthis> strings from .kcfg files needlessly translated?
From:       Burkhard =?ISO-8859-1?Q?L=FCck?= <lueck () hube-lueck ! de>
Date:       2013-05-27 20:12:11
Message-ID: 1819603.aY5ITRPKVZ () parodia
[Download RAW message or body]

Am Montag, 27. Mai 2013, 19:40:29 schrieb Albert Astals Cid:
> El Dilluns, 27 de maig de 2013, a les 13:15:12, Matěj Laitl va escriure:
> > Hi folks, mainly Albert,
> 
> Hi
> 
> > together with Vít Pelčák we've found that strings from <label>, <tooltip>
> > and <whatsthis> entries in amarokconfig.kcfg XML file go into Amarok .pot
> > file even though we have no SetUserTexts=true in associated
> > amarokconfig.kcfgc file.
> > 
> > [1] says: SetUserTexts - specifies whether <label>, <tooltip> and
> > <whatsthis> tags should be processed. This allows tools like KConfigDialog
> > make use of these tags. By default this tags are ignored.
> > 
> > So these strings aren't used anywhere in UI and are perhaps translated
> > needlessly? Perhaps scripty extractor should be enhanced in a way that it
> > only processes .kcfg files when there is SetUserTexts=true in associated
> > .kcfgc?
> 
> Well, the stuff is still translated becuase someone had the mythical idea
> that you could create a would open the installed .kcfg files and let you
> edit the settings visually and those fields would be used to give the user
> a description of what each setting was.
> 
> Obviously that editor never happened but we decided it did not hurt that
> much to translate a few strings more.
> 
This editor was moved by aacid with commit  
http://websvn.kde.org/?view=revision&revision=1291275 (13 months ago) to 
tags/unmaintained/4/

> That's the rationale behind it, obviously if the most people think it
> doesn't make sense I'll accept patches to scripty to do what you suggested.
> 
Patches for scripty to ignore translations from these files would therefore 
really make sense.

> 
> > Note that we wouldn't like to remove the tags, they serve as a
> > documentation and at least the <label> tag ends up in generated C++ class
> > as a docstring, which is extremely useful when developing.
> > 
> > [1] http://techbase.kde.org/Development/Tutorials/Using_KConfig_XT
> > 
> > 	Matěj
-- 
Burkhard Lück

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

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