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
       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 <dglent@gmail.com>
To: "KDE i18n-doc" <kde-i18n-doc@kde.org>
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 item to
 * the url. See addMailingListActions above.
 */
void MessageActions::addMailingListAction( const QString &item, const KUrl &url )
{
 QString protocol = url.protocol().toLower();
 QString prettyUrl = url.prettyUrl();
 if ( protocol == "mailto" ) {
   protocol = i18n( "email" );
   prettyUrl.remove( 0, 7 ); // length( "mailto:" )
 } else if ( protocol.startsWith( QLatin1String( "http" ) ) ) {
   protocol = i18n( "web" );
 }
 // item is a mailing list url description passed from the updateActions method above.
 KAction *act = 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=kdepim.git&a=blob&h=8effaa40854b1a01f805e4f92a9887354963c59b&hb=2b170598454fe75c22607a7203f454fb4fb96ff0&f=kmail/messageactions.cpp





--
Dimitrios Glentadakis



---------- Forwarded message ----------
From: Albert Astals Cid <aacid@kde.org>
To: "KDE i18n-doc" <kde-i18n-doc@kde.org>
Date: Wed, 16 Mar 2011 19:18:35 +0000
Subject: Re: A question in kmail
A Dimecres, 16 de març 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