[kde-edu]: Question about KVocTrain
Dennis Haney
davh at davh.dk
Tue Apr 6 23:45:01 CEST 2004
Thomas Beinicke wrote:
>On Tuesday 06 April 2004 04:06, Peter Hedlund wrote:
>
>
>
>>As far as I know KVocTrain is built around the principle of the first
>>column being the original and additional columns being different
>>translations of the original. Thus it's currently not possible to do what
>>you want. I'm not aware of any other program that has this functionality
>>either. If you want you can file a wishlist item at bugs.kde.org.
>>
>>
>
>Thanks, I will do that. But in the meantime do you know if there is any way to
>complete exchange two columns? That would be like a work around.
>I really don't want to enter everything again :)
>
>
This will switch translation number one with the primary language
perl -i.bak -pe 's|(<o)(.*?)(</o><t)(.*?)(</t>)|$1$4$3$2$5|' yourfile.kvtml
(remember to backup your file beforehand...)
Good luck with your Thai, and please do send the file when you are happy
with it...
It won't be a problem to update the file though, so please send it
sooner than later :-)
--
Dennis
use Inline C => q{void p(char*g){
printf("Just Another %s Hacker\n",g);}};p("Perl");
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-edu/attachments/20040406/bb8079f4/attachment-0001.html
More information about the kde-edu
mailing list