From kde-core-devel Thu Jan 17 06:53:45 2002 From: Waldo Bastian Date: Thu, 17 Jan 2002 06:53:45 +0000 To: kde-core-devel Subject: Re: Word-wrap in message boxes. X-MARC-Message: https://marc.info/?l=kde-core-devel&m=101125043906632 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--------------Boundary-00=_LTL2UTVW88SJ7YBL2XOP" --------------Boundary-00=_LTL2UTVW88SJ7YBL2XOP Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable On Tuesday 15 January 2002 12:36 am, Matthias Elter wrote: > >We also have a bunch of dialogs from 2.2 times that > > still have manual line-breaks and those are really ugly because it ca= n > > happen that they automatically break one-word before the manual break= =2E > > Yes, then lets remove all manual line breaks. Ok, I think I have done most of kdelibs and kdebase. If you find any=20 mid-sentence line-breaks there let me know. I used the attached script. When you go to your cvs directory you can typ= e: =09findmsgs kdelibs and it will create a file /tmp/kdelibs.msgs and /tmp/kdelibs.files. I open all files in kdelibs.files one by one in my editor and have=20 kdelibs.msgs open to see on which line I have to be. Make sure to update all files first: =09cd kdelibs; cvs update `cut -d '/' -f 2- /tmp/kdelibs.files` Also make sure to update once again when you're done, otherwise you commit empty changes. Then you can commit with: =09cd kdelibs; cvs commit `cut -d '/' -f 2- /tmp/kdelibs.files` Please note that only texts that go into a messagebox should be changed. = You=20 tend to get a few wrong hits on WhatsThis stuff and some toher various st= uff.=20 If two sentences are part of the same paragraph there should be two space= s=20 behind the '.' At the end of a paragraph may be one (and only one) linebr= eak.=20 (Multiple linebreaks are ignored anyway). There should be no linebreak at= the=20 end of the text. (linebreaks at the end are ignored anyway) If the text=20 contains richtext tags there should be no linebreaks at all. (again, they= are=20 ignored anyway) If 2 or 3 people can help with this, we can have done all of CVS by tomor= row. Cheers, Waldo --=20 bastian@kde.org | SuSE Labs KDE Developer | bastian@suse.com --------------Boundary-00=_LTL2UTVW88SJ7YBL2XOP Content-Type: text/plain; charset="iso-8859-1"; name="findmsgs" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="findmsgs" CmZ1bmN0aW9uIGdyZXBtc2dzICgpIHsgZWdyZXAgLUggLW4gJ1teXC4/PiFcOl1cXG4iJCcgJDEg fCBlZ3JlcCAtdiAnKFtcLj8+IVw6XVtcIF0rKVxcbicgfCBlZ3JlcCAtdiAnXCJbYS16QS1aXC1d KzonIHwgZWdyZXAgLXYgIlRSQU5TTEFUT1JTIiB8IGVncmVwIC12ICdcIlxcblwiJzt9Cgpmb3Ig YSBpbiBgZmluZCAkMSAtdHlwZSBmIC1uYW1lICcqLmNjJyAtbyAtbmFtZSAnKi5jcHAnYDsgZG8g Z3JlcG1zZ3MgJGE7IGRvbmUgfCBzb3J0ID4gL3RtcC8kMS5tc2dzCgpjdXQgLWQgJzonIC1mIDEg L3RtcC8kMS5tc2dzIHwgc29ydCAtdSA+IC90bXAvJDEuZmlsZXM= --------------Boundary-00=_LTL2UTVW88SJ7YBL2XOP--