--0016e6d279f863949b049eb28963 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable unsubscribe On Wed, Mar 16, 2011 at 5:09 PM, 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. A question in kmail (Dimitrios Glentadakis) > 2. Re: A question in kmail (Albert Astals Cid) > > > ---------- Forwarded message ---------- > From: Dimitrios Glentadakis > To: "KDE i18n-doc" > Date: Wed, 16 Mar 2011 19:46:39 +0100 > Subject: A question in kmail > In the kmail.po in the item 826 email, is it means an action mail to? I > dont understand if it is only eg a title of a field or a verb > > I found the part of the code here: > > > /** > * This adds a action to mMailingListActionMenu mapping the identifier it= em > to > * the url. See addMailingListActions above. > */ > void MessageActions::addMailingListAction( const QString &item, const KUr= l > &url ) > { > QString protocol =3D url.protocol().toLower(); > QString prettyUrl =3D url.prettyUrl(); > if ( protocol =3D=3D "mailto" ) { > protocol =3D i18n( "email" ); > prettyUrl.remove( 0, 7 ); // length( "mailto:" ) > } else if ( protocol.startsWith( QLatin1String( "http" ) ) ) { > protocol =3D i18n( "web" ); > } > // item is a mailing list url description passed from the updateActions > method above. > KAction *act =3D new KAction( i18nc( "%1 is a 'Contact Owner' or similar > action. %2 is a protocol normally web or email though could be irc/ftp or > other url variant", "%1 (%2)", item, protocol ) , this ); > const QVariant v( url.url() ); > act-> setData( v ); > act-> setHelpText( prettyUrl ); > mMailingListActionMenu->addAction( act ); > > > > http://quickgit.kde.org/?p=3Dkdepim.git&a=3Dblob&h=3D8effaa40854b1a01f805= e4f92a9887354963c59b&hb=3D2b170598454fe75c22607a7203f454fb4fb96ff0&f=3Dkmai= l/messageactions.cpp > > > > > > -- > Dimitrios Glentadakis > > > > ---------- Forwarded message ---------- > From: Albert Astals Cid > To: "KDE i18n-doc" > Date: Wed, 16 Mar 2011 19:18:35 +0000 > Subject: Re: A question in kmail > A Dimecres, 16 de mar=E7 de 2011, Dimitrios Glentadakis va escriure: > > In the kmail.po in the item 826 email, is it means an action mail to? I > > dont understand if it is only eg a title of a field or a verb > > Screenshot explaining what it is (the submenu). > > Albert > > _______________________________________________ > kde-i18n-doc mailing list > kde-i18n-doc@kde.org > https://mail.kde.org/mailman/listinfo/kde-i18n-doc > > --0016e6d279f863949b049eb28963 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable unsubscribe

On Wed, Mar 16, 2011 at 5:09 = PM, <= kde-i18n-doc-request@kde.org> wrote:
Send kde-i18n-doc mailing list submissions to
=A0 =A0 =A0 =A0kde-i18n-doc@kde.or= g

To subscribe or unsubscribe via the World Wide Web, visit
=A0 =A0 =A0 =A0https://mail.kde.org/mailman/listinfo/kde-i18n-doc
or, via email, send a message with subject or body 'help' to
=A0 =A0 =A0 =A0
kde-i18n-do= c-request@kde.org

You can reach the person managing the list at
=A0 =A0 =A0 =A0kde-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:

=A0 1. A question in kmail (Dimitrios Glentadakis)
=A0 2. Re: A question in kmail (Albert Astals Cid)


---------- Forwarded message ----------
From:=A0Dimitrios Glenta= dakis <dglent@gmail.com>
T= o:=A0"KDE i18n-doc" <k= de-i18n-doc@kde.org>
Date:=A0Wed, 16 Mar 2011 19:46:39 +0100
Subject:=A0A question in kmailIn the kmail.po in the item 826 email, is it means an action mail to? I d= ont understand if it is only eg a title of a field or a verb

I found the part of the code here:


/**
=A0* This adds a action to mMailingListActionMenu mapping the identifier it= em to
=A0* the url. See addMailingListActions above.
=A0*/
void MessageActions::addMailingListAction( const QString &item, const K= Url &url )
{
=A0QString protocol =3D url.protocol().toLower();
=A0QString prettyUrl =3D url.prettyUrl();
=A0if ( protocol =3D=3D "mailto" ) {
=A0 =A0protocol =3D i18n( "email" );
=A0 =A0prettyUrl.remove( 0, 7 ); // length( "mailto:" )
=A0} else if ( protocol.startsWith( QLatin1String( "http" ) ) ) = {
=A0 =A0protocol =3D i18n( "web" );
=A0}
=A0// item is a mailing list url description passed from the updateActions= method above.
=A0KAction *act =3D new KAction( i18nc( "%1 is a 'Contact Owner&#= 39; or similar action. %2 is a protocol normally web or email though could = be irc/ftp or other url variant", "%1 (%2)", =A0item, protoc= ol ) , this );
=A0const QVariant v( =A0url.url() );
=A0act-> setData( v );
=A0act-> setHelpText( prettyUrl );
=A0mMailingListActionMenu->addAction( act );


http://qui= ckgit.kde.org/?p=3Dkdepim.git&a=3Dblob&h=3D8effaa40854b1a01f805e4f9= 2a9887354963c59b&hb=3D2b170598454fe75c22607a7203f454fb4fb96ff0&f=3D= kmail/messageactions.cpp





--
Dimitrios Glentadakis



---------- Forwarded message ----------
From:=A0Albert Astals Ci= d <aacid@kde.org>
To:=A0"= ;KDE i18n-doc" <kde-i18n-do= c@kde.org>
Date:=A0Wed, 16 Mar 2011 19:18:35 +0000
Subject:=A0Re: A question in kma= il
A Dimecres, 16 de mar=E7 de 2011, Dimitrios Glentadakis va escriure:<= br> > In the kmail.po in the item 826 email, is it means an action mail to? = I
> dont understand if it is only eg a title of a field or a verb

Screenshot explaining what it is (the submenu).

Albert

_______________________________________________
kde-i18n-doc mailing list
kde-i18n-doc@kde.org
https://mail.kde.org/mailman/listinfo/kde-i18n-doc


--0016e6d279f863949b049eb28963--