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

List:       kwrite-devel
Subject:    Re: kate.git plugins/addons cleanup
From:       Shaheed Haque <srhaque () theiet ! org>
Date:       2013-04-14 22:58:51
Message-ID: CAHAc2jdC43w1pqX5SufkbjDPLagbqBWHVPR9X-yk4OLAJ9q5Ug () mail ! gmail ! com
[Download RAW message or body]

On 14 April 2013 23:16, Albert Astals Cid <aacid@kde.org> wrote:
> El Diumenge, 14 d'abril de 2013, a les 23:05:15, Shaheed Haque va escriure:
>> On 14 April 2013 22:36, Albert Astals Cid <aacid@kde.org> wrote:
>> > El Diumenge, 14 d'abril de 2013, a les 18:56:14, Christoph Cullmann va
>> >
>> > escriure:
>> >> Hi,
>> >>
>> >> out of SVN times, the plugins of kate/ktexteditor were located inside the
>> >> part/kate/... dirs. And the Messages.sh stuff did workaround that a lot.
>> >>
>> >> I just moved all addons to a toplevel addons/ directory.
>> >>
>> >> the ktexteditor dir should be ok, it generates like before a
>> >> ktexteditor_plugins.pot same for plasma dir.
>> >>
>> >> But for the kate dir, I am not that sure :/
>> >>
>> >> Plugins that are required to auto-load to have a usable kate, like atm
>> >> the
>> >> filetree is now in kate itself and shall be handled in kate.pot, and I
>> >> guess that works.
>> >>
>> >> The plugins in addons/kate could have some issues, as it seems for the
>> >> pate
>> >> plugin never a .pot file was created, could that be?
>>
>> The Pate thing probably fell through the cracks as it got committed in
>> a somewhat unusual manner.
>>
>> On the subject of i18n, there is another question I have though: how
>> are Python scripts (as opposed to Pate itself) supposed to be
>> translated? I've marked all all the strings in my plugins with i18n,
>> but I've no idea how that might actually work.
>
> Like it works on C++ files? What would be the difference?


I guess I'm not terribly clear on how translations are loaded for C++
code, and how the Python code gets to the loaded strings. Maybe PyQt
does it all...in which case I wonder how JS does it.

Sorry to be so ignorant!

> Cheers,
>   Albert
>
>
>> Presumably JS plugins
>> have a similar issue?
>>
>> > Doesn't have a Messages.sh so yes no .pot file was ever created. Did you
>> > go to kdereview with pate? I don't remember it. Since having correct i18n
>> > is one of the things either Burkhard or me always check.
>> >
>> >> If somebody with more i18n knowledge could look over the Messages.sh in
>> >> addons/ and kate/ I would be very happy.
>> >
>> > And why don't you try to understand theu i18n system? It's really easy.
>> > Which questions do you have?
>> >
>> > Cheers,
>> >
>> >   Albert
>> >>
>> >> At least with this setup there shall be no need for any "ignore this" and
>> >> "ignore that" subdir magic any more.
>> >>
>> >> The unit tests are moved out of i18n way, too, to toplevel tests/
>> >>
>> >> Greetings
>> >> Christoph
>> >
>> > _______________________________________________
>> > KWrite-Devel mailing list
>> > KWrite-Devel@kde.org
>> > https://mail.kde.org/mailman/listinfo/kwrite-devel
>>
>> _______________________________________________
>> KWrite-Devel mailing list
>> KWrite-Devel@kde.org
>> https://mail.kde.org/mailman/listinfo/kwrite-devel
> _______________________________________________
> KWrite-Devel mailing list
> KWrite-Devel@kde.org
> https://mail.kde.org/mailman/listinfo/kwrite-devel
_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@kde.org
https://mail.kde.org/mailman/listinfo/kwrite-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

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