[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-frameworks-devel
Subject: Re: Custom translated fields
From: Jaroslaw Staniek <staniek () kde ! org>
Date: 2015-07-05 6:48:20
Message-ID: CAOj7QQ1UBmEm5+Tx-AozNSfB2-McncoSwssvFO6mf6sVRYm5Fw () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
On Sunday, 5 July 2015, Albert Astals Cid <aacid@kde.org> wrote:
> El Dimecres, 10 de juny de 2015, a les 13:24:57, Jaroslaw Staniek va
escriure:
>> On 10 June 2015 at 12:26, Alexander Potashev <aspotashev@gmail.com>
wrote:
>> > (CCing kde-i18n-doc)
>> > Hi Jaroslaw,
>> >
>> > The list of fields to extract is hardcoded in [1].
>> >
>> > How many fields do you want to add? Can they be useful in other
projects?
>> >
>> > [1]
>> >
http://websvn.kde.org/trunk/l10n-kf5/scripts/createdesktopcontext.pl?view
>> > =markup
>> Thanks so much for the info, Alexander.
>> I need one field at the moment, it's a plural noun explaining a
>> "folder" name, that is for example:
>> for a Table plugin, the the folder could be called "Tables".
>
> How does this work for languages with multiple plurals?
>
For the need I presented it's out of scope. The 'tables' here refers to a
set, just that.
> Cheers,
> Albert
>
>>
>> It's quite custom as you see. Perhaps we can have a hint for the
>> createdesktopcontext.pl in a "# comment" line that some field is up
>> for translation?
>>
>> > --
>> > Alexander Potashev
>> >
>> > 2015-06-10 12:41 GMT+03:00 Jaroslaw Staniek <staniek@kde.org>:
>> >> Hi,
>> >> KPluginMetaData::readTranslatedValue() is cool as it supports custom
>> >> translated fields, i.e. something more than Name[...] or Comment[...].
>> >> A question: How is make our scripty infrastructure know that a custom
>> >> field such as Foo[...] should be translated as well?
>> >
>> > 2015-06-10 12:41 GMT+03:00 Jaroslaw Staniek <staniek@kde.org>:
>> >> Hi,
>> >> KPluginMetaData::readTranslatedValue() is cool as it supports custom
>> >> translated fields, i.e. something more than Name[...] or Comment[...].
>> >> A question: How is make our scripty infrastructure know that a custom
>> >> field such as Foo[...] should be translated as well?
>> >>
>> >> --
>> >> regards, Jaroslaw Staniek
>> >>
>> >> KDE:
>> >> : A world-wide network of software engineers, artists, writers,
>> >> : translators
>> >> : and facilitators committed to Free Software development -
>> >> : http://kde.org
>> >>
>> >> Calligra Suite:
>> >> : A graphic art and office suite - http://calligra.org
>> >>
>> >> Kexi:
>> >> : A visual database apps builder - http://calligra.org/kexi
>> >>
>> >> Qt Certified Specialist:
>> >> : http://www.linkedin.com/in/jstaniek
>> >>
>> >> _______________________________________________
>> >> Kde-frameworks-devel mailing list
>> >> Kde-frameworks-devel@kde.org
>> >> https://mail.kde.org/mailman/listinfo/kde-frameworks-devel
>> >
>> > --
>> > Alexander Potashev
>> > _______________________________________________
>> > Kde-frameworks-devel mailing list
>> > Kde-frameworks-devel@kde.org
>> > https://mail.kde.org/mailman/listinfo/kde-frameworks-devel
>
>
--
regards, Jaroslaw Staniek
KDE:
: A world-wide network of software engineers, artists, writers, translators
: and facilitators committed to Free Software development - http://kde.org
Calligra Suite:
: A graphic art and office suite - http://calligra.org
Kexi:
: A visual database apps builder - http://calligra.org/kexi
Qt Certified Specialist:
: http://www.linkedin.com/in/jstaniek
[Attachment #5 (text/html)]
<br><br>On Sunday, 5 July 2015, Albert Astals Cid <<a \
href="mailto:aacid@kde.org">aacid@kde.org</a>> wrote:<br>> El Dimecres, 10 de \
juny de 2015, a les 13:24:57, Jaroslaw Staniek va escriure:<br>>> On 10 June \
2015 at 12:26, Alexander Potashev <<a \
href="mailto:aspotashev@gmail.com">aspotashev@gmail.com</a>> wrote:<br>>> \
> (CCing kde-i18n-doc)<br>>> > Hi Jaroslaw,<br>>> ><br>>> \
> The list of fields to extract is hardcoded in [1].<br>>> ><br>>> \
> How many fields do you want to add? Can they be useful in other \
projects?<br>>> ><br>>> > [1]<br>>> > <a \
href="http://websvn.kde.org/trunk/l10n-kf5/scripts/createdesktopcontext.pl?view">http: \
//websvn.kde.org/trunk/l10n-kf5/scripts/createdesktopcontext.pl?view</a><br>>> \
> =markup<br>>> Thanks so much for the info, Alexander.<br>>> I need \
one field at the moment, it's a plural noun explaining a<br>>> \
"folder" name, that is for example:<br>>> for a Table plugin, the the \
folder could be called "Tables".<br>><br>> How does this work for \
languages with multiple plurals?<br>><br><br>For the need I presented it's out \
of scope. The 'tables' here refers to a set, just that.<br><br>> \
Cheers,<br>> Albert<br>><br>>><br>>> It's quite custom as \
you see. Perhaps we can have a hint for the<br>>> <a \
href="http://createdesktopcontext.pl">createdesktopcontext.pl</a> in a "# \
comment" line that some field is up<br>>> for \
translation?<br>>><br>>> > --<br>>> > Alexander \
Potashev<br>>> ><br>>> > 2015-06-10 12:41 GMT+03:00 Jaroslaw \
Staniek <<a href="mailto:staniek@kde.org">staniek@kde.org</a>>:<br>>> \
>> Hi,<br>>> >> KPluginMetaData::readTranslatedValue() is cool as \
it supports custom<br>>> >> translated fields, i.e. something more than \
Name[...] or Comment[...].<br>>> >> A question: How is make our scripty \
infrastructure know that a custom<br>>> >> field such as Foo[...] should \
be translated as well?<br>>> ><br>>> > 2015-06-10 12:41 GMT+03:00 \
Jaroslaw Staniek <<a \
href="mailto:staniek@kde.org">staniek@kde.org</a>>:<br>>> >> \
Hi,<br>>> >> KPluginMetaData::readTranslatedValue() is cool as it \
supports custom<br>>> >> translated fields, i.e. something more than \
Name[...] or Comment[...].<br>>> >> A question: How is make our scripty \
infrastructure know that a custom<br>>> >> field such as Foo[...] should \
be translated as well?<br>>> >><br>>> >> --<br>>> \
>> regards, Jaroslaw Staniek<br>>> >><br>>> >> \
KDE:<br>>> >> : A world-wide network of software engineers, artists, \
writers,<br>>> >> : translators<br>>> >> : and facilitators \
committed to Free Software development -<br>>> >> : <a \
href="http://kde.org">http://kde.org</a><br>>> >><br>>> >> \
Calligra Suite:<br>>> >> : A graphic art and office suite - <a \
href="http://calligra.org">http://calligra.org</a><br>>> >><br>>> \
>> Kexi:<br>>> >> : A visual database apps builder - <a \
href="http://calligra.org/kexi">http://calligra.org/kexi</a><br>>> \
>><br>>> >> Qt Certified Specialist:<br>>> >> : <a \
href="http://www.linkedin.com/in/jstaniek">http://www.linkedin.com/in/jstaniek</a><br>>> \
>><br>>> >> \
_______________________________________________<br>>> >> \
Kde-frameworks-devel mailing list<br>>> >> <a \
href="mailto:Kde-frameworks-devel@kde.org">Kde-frameworks-devel@kde.org</a><br>>> \
>> <a href="https://mail.kde.org/mailman/listinfo/kde-frameworks-devel">https://mail.kde.org/mailman/listinfo/kde-frameworks-devel</a><br>>> \
><br>>> > --<br>>> > Alexander Potashev<br>>> > \
_______________________________________________<br>>> > Kde-frameworks-devel \
mailing list<br>>> > <a \
href="mailto:Kde-frameworks-devel@kde.org">Kde-frameworks-devel@kde.org</a><br>>> \
> <a href="https://mail.kde.org/mailman/listinfo/kde-frameworks-devel">https://mail.kde.org/mailman/listinfo/kde-frameworks-devel</a><br>><br>><br><br>-- \
<br>regards, Jaroslaw Staniek<br><br>KDE:<br>: A world-wide network of software \
engineers, artists, writers, translators<br>: and facilitators committed to Free \
Software development - <a href="http://kde.org" \
target="_blank">http://kde.org</a><br>Calligra Suite:<br>: A graphic art and office \
suite - <a href="http://calligra.org" \
target="_blank">http://calligra.org</a><br>Kexi:<br>: A visual database apps builder \
- <a href="http://calligra.org/kexi" \
target="_blank">http://calligra.org/kexi</a><br>Qt Certified Specialist:<br>: <a \
href="http://www.linkedin.com/in/jstaniek" \
target="_blank">http://www.linkedin.com/in/jstaniek</a><br>
[Attachment #6 (text/plain)]
_______________________________________________
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic