[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-i18n-doc
Subject: Re: kde-i18n-doc Digest, Vol 96, Issue 16
From: Marcos Ghiraldelli <marcos.ghirardelli () gmail ! com>
Date: 2011-03-17 19:19:13
Message-ID: AANLkTimTDaNVAKQdfX0hHuwR8GRXUq1-zGRHFt39aN1j () mail ! gmail ! com
[Download RAW message or body]
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
>
>
[Attachment #3 (text/html)]
unsubscribe<br><br><div class="gmail_quote">On Wed, Mar 16, 2011 at 5:09 PM, <span \
dir="ltr"><<a href="mailto:kde-i18n-doc-request@kde.org">kde-i18n-doc-request@kde.org</a>></span> \
wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex;"> Send kde-i18n-doc mailing list submissions to<br>
<a href="mailto:kde-i18n-doc@kde.org">kde-i18n-doc@kde.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="https://mail.kde.org/mailman/listinfo/kde-i18n-doc" \
target="_blank">https://mail.kde.org/mailman/listinfo/kde-i18n-doc</a><br> or, via \
email, send a message with subject or body 'help' to<br>
<a href="mailto:kde-i18n-doc-request@kde.org">kde-i18n-doc-request@kde.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:kde-i18n-doc-owner@kde.org">kde-i18n-doc-owner@kde.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of kde-i18n-doc digest..."<br>
<br>Today's Topics:<br>
<br>
1. A question in kmail (Dimitrios Glentadakis)<br>
2. Re: A question in kmail (Albert Astals Cid)<br>
<br><br>---------- Forwarded message ----------<br>From: Dimitrios Glentadakis <<a \
href="mailto:dglent@gmail.com">dglent@gmail.com</a>><br>To: "KDE \
i18n-doc" <<a \
href="mailto:kde-i18n-doc@kde.org">kde-i18n-doc@kde.org</a>><br>
Date: Wed, 16 Mar 2011 19:46:39 +0100<br>Subject: A question in kmail<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<br> <br>
I found the part of the code here:<br>
<br>
<br>
/**<br>
* This adds a action to mMailingListActionMenu mapping the identifier item to<br>
* the url. See addMailingListActions above.<br>
*/<br>
void MessageActions::addMailingListAction( const QString &item, const KUrl \
&url )<br> {<br>
QString protocol = url.protocol().toLower();<br>
QString prettyUrl = url.prettyUrl();<br>
if ( protocol == "mailto" ) {<br>
protocol = i18n( "email" );<br>
prettyUrl.remove( 0, 7 ); // length( "mailto:" )<br>
} else if ( protocol.startsWith( QLatin1String( "http" ) ) ) {<br>
protocol = i18n( "web" );<br>
}<br>
// item is a mailing list url description passed from the updateActions method \
above.<br> 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 );<br>
const QVariant v( url.url() );<br>
act-> setData( v );<br>
act-> setHelpText( prettyUrl );<br>
mMailingListActionMenu->addAction( act );<br>
<br>
<br>
<a href="http://quickgit.kde.org/?p=kdepim.git&a=blob&h=8effaa40854b1a01f805e4 \
f92a9887354963c59b&hb=2b170598454fe75c22607a7203f454fb4fb96ff0&f=kmail/messageactions.cpp" \
target="_blank">http://quickgit.kde.org/?p=kdepim.git&a=blob&h=8effaa40854b1a0 \
1f805e4f92a9887354963c59b&hb=2b170598454fe75c22607a7203f454fb4fb96ff0&f=kmail/messageactions.cpp</a><br>
<br>
<br>
<br>
<br>
<br>
--<br>
Dimitrios Glentadakis<br>
<br>
<br><br>---------- Forwarded message ----------<br>From: Albert Astals Cid <<a \
href="mailto:aacid@kde.org">aacid@kde.org</a>><br>To: "KDE i18n-doc" \
<<a \
href="mailto:kde-i18n-doc@kde.org">kde-i18n-doc@kde.org</a>><br>
Date: Wed, 16 Mar 2011 19:18:35 +0000<br>Subject: Re: A question in kmail<br>A \
Dimecres, 16 de març de 2011, Dimitrios Glentadakis va escriure:<br> > In the \
kmail.po in the item 826 email, is it means an action mail to? I<br> > dont \
understand if it is only eg a title of a field or a verb<br> <br>
Screenshot explaining what it is (the submenu).<br>
<br>
Albert<br>
<br>_______________________________________________<br>
kde-i18n-doc mailing list<br>
<a href="mailto:kde-i18n-doc@kde.org">kde-i18n-doc@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kde-i18n-doc" \
target="_blank">https://mail.kde.org/mailman/listinfo/kde-i18n-doc</a><br> \
<br></blockquote></div><br>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic