[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: "Yuri Chornoivan" <yurchor () ukr ! net>
Date: 2013-05-27 17:56:45
Message-ID: op.wxq74vv7l2zvei () localhost
[Download RAW message or body]
написане Mon, 27 May 2013 20:40:29 +0300, Albert Astals Cid
<aacid@kde.org>:
> 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.
>
> 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.
>
> Cheers,
> Albert
These translations can be useful because someone will read your kcfg tips
once more and fix the typos in them. ;)
Just my 2 cents.
>
>>
>> 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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic