[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: patch for abbrowser (2nd request)
From: Ferdinand Gassauer <f.gassauer () aon ! at>
Date: 2001-02-11 19:36:50
[Download RAW message or body]
Hi
I found some useful titles and suffixes - some thougths/questions
* this list should be expandable by the user
* dots (and blanks?) in the strings seem to break the match
can I commit this ?
*** entryeditorwidget.cpp Sun Feb 11 19:51:48 2001
--- /home/gass/entryeditorwidget.cpp Sat Feb 10 13:45:04 2001
*************** void ContactDialog::parseName()
*** 543,556 ****
name = name.simplifyWhiteSpace();
if (name.find( i18n( "the" ), 0, false ) != 0) {
QString sTitle[] = {
! i18n( "Doctor" ), i18n( "Dr." ), i18n( "Dr" ), i18n( "Miss" ),
! i18n ( "Mr." ), i18n( "Mr" ), i18n( "Mrs." ), i18n( "Mrs" ),
! i18n( "Ms." ), i18n( "Ms" ), i18n( "Professor" ), i18n( "Prof." ),
""
};
QString sSuffix[] = {
i18n( "IIII" ), i18n( "II" ), i18n( "I" ), i18n( "Junior" ),
i18n( "Jr." ), i18n( "Senior" ), i18n( "Sr." ),
""
};
--- 543,562 ----
name = name.simplifyWhiteSpace();
if (name.find( i18n( "the" ), 0, false ) != 0) {
QString sTitle[] = {
! i18n( "DI." ), i18n( "DIng." ), i18n( "Dipl.Ing." ),
! i18n( "Doctor" ), i18n( "Dr." ), i18n( "Dr" ), i18n( "DDr." ),
! i18n( "Doz." ),i18n( "Dkfm." ),
! i18n( "Ing." ),
! i18n( "Mag." ), i18n( "Mag. Dr." ),
! i18n( "Miss" ), i18n ( "Mr." ), i18n( "Mr" ), i18n( "Mrs." ), i18n(
"Mrs" ),
! i18n( "Ms." ), i18n( "Ms" ),
! i18n( "Professor" ), i18n( "Prof." ),
""
};
QString sSuffix[] = {
i18n( "IIII" ), i18n( "II" ), i18n( "I" ), i18n( "Junior" ),
i18n( "Jr." ), i18n( "Senior" ), i18n( "Sr." ),
+ i18n( "MBA" ), i18n( "LLM" ),
""
};
*************** NameDialog::NameDialog( QWidget *parent,
*** 813,818 ****
--- 819,833 ----
QStringList sSuffix;
sTitle += i18n( "Dr." );
+ sTitle += i18n( "DDr." );
+ sTitle += i18n( "DI." );
+ sTitle += i18n( "DIng." );
+ sTitle += i18n( "Dipl. Ing." );
+ sTitle += i18n( "Doz." );
+ sTitle += i18n( "Dkfm." );
+ sTitle += i18n( "Ing." );
+ sTitle += i18n( "Mag." );
+ sTitle += i18n( "Mag. Dr." );
sTitle += i18n( "Miss" );
sTitle += i18n( "Mr." );
sTitle += i18n( "Mrs." );
*************** NameDialog::NameDialog( QWidget *parent,
*** 825,830 ****
--- 840,847 ----
sSuffix += i18n( "III" );
sSuffix += i18n( "Jr." );
sSuffix += i18n( "Sr." );
+ sSuffix += i18n( "MBA" );
+ sSuffix += i18n( "LLM" );
sSuffix.sort();
setCaption( i18n( "Full Name" ));
--
(KDE 2 on SuSE 7.0, source: cvs max 24 hours old from
anoncvs.kde.org daily rebuild)
mit freundlichen Grüßen / with best regards
Ferdinand Gassauer
PS.
Besuchen Sie doch auch unsere WEB-Seite
please visit our WEB-page
http://www.goesing.at
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic