Thanks! Martin --- kde-i18n-doc-request@kde.org wrote: > Send kde-i18n-doc mailing list submissions to > kde-i18n-doc@kde.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://mail.kde.org/mailman/listinfo/kde-i18n-doc > or, via email, send a message with subject or body 'help' to > kde-i18n-doc-request@kde.org > > You can reach the person managing the list at > kde-i18n-doc-owner@kde.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of kde-i18n-doc digest..." > > > Today's Topics: > > 1. Fast translating plasma_applet_clock ( M?ris Narti?s ) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 22 Nov 2007 12:43:57 +0200 > From: " M?ris Narti?s " > Subject: Fast translating plasma_applet_clock > To: "KDE i18n-doc" > Message-ID: > <9a4fa4b70711220243s447b1612s1e92d04c9e073116@mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > Hi all, > > today I noticed, that at 20. November kdebase/plasma_applet_clock.po > file got ~800 new strings. :( > As many of them are quite same (Part_Of_World/Country_code), I wrote > my first Python script, that does find/replace translation (POW/Code > -> localisedPOW/Code). It give me ~250 translations within few > minutes. Maybee other translator teams also may find it usefull. > > I probably have reinvented a wheel and this could be done in different > way (how?). > Use attached script at own risk, make backups, it also eats small > children at dinner etc. > > > Coordinator of Latvian team, > Maris. > > > PS. Here is sample how it works: > ./clock_fasttrans.py -i plasma_applet_clock.po -f Africa -t ?frika -r > Fast translation from "Africa" to "?frika" complete with 50 replacements. > > It results into: > msgid "Africa/DZ" > msgstr "?frika/DZ" > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: clock_fasttrans.py > Type: application/x-python > Size: 3197 bytes > Desc: not available > Url : > http://mail.kde.org/pipermail/kde-i18n-doc/attachments/20071122/7425f40c/attachment.bin > > > ------------------------------ > > _______________________________________________ > kde-i18n-doc mailing list > kde-i18n-doc@kde.org > https://mail.kde.org/mailman/listinfo/kde-i18n-doc > > > End of kde-i18n-doc Digest, Vol 56, Issue 21 > ******************************************** > ____________________________________________________________________________________ Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how. http://overview.mail.yahoo.com/