[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: Review Request 109773: New runner that translates words and sentences via Google Translate.
From:       Martin_Gräßlin <mgraesslin () kde ! org>
Date:       2013-03-28 13:47:32
Message-ID: 20130328134732.4722.43718 () vidsolbach ! de
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/109773/#review30004
-----------------------------------------------------------


I'm looking forward to use this runner.

Have you thought about adding another keyword to query all supported languages?


runners/translator/translator.cpp
<http://git.reviewboard.kde.org/r/109773/#comment22369>

    you are missing the > after the email address (also in the other copyright \
header)



runners/translator/translator.cpp
<http://git.reviewboard.kde.org/r/109773/#comment22370>

    I would suggest to turn the logic around:
    if (!ok) {
        return;
    }
    
    the code following has many indentation levels and that's just one level which is \
not really needed.



runners/translator/translator.cpp
<http://git.reviewboard.kde.org/r/109773/#comment22376>

    here you could do the same:
    if (list0.isEmpty()) {
        continue;
    }



runners/translator/translator.cpp
<http://git.reviewboard.kde.org/r/109773/#comment22374>

    using or is rather uncommon in KDE code. I would suggest to use ||



runners/translator/translator.cpp
<http://git.reviewboard.kde.org/r/109773/#comment22375>

    same for and



runners/translator/translator.cpp
<http://git.reviewboard.kde.org/r/109773/#comment22371>

    nitpick: QList<int>



runners/translator/translator.cpp
<http://git.reviewboard.kde.org/r/109773/#comment22372>

    nitpick: trailing whitespaces



runners/translator/translatorjob.cpp
<http://git.reviewboard.kde.org/r/109773/#comment22373>

    isn't that a rather generic user agent?


- Martin Gräßlin


On March 28, 2013, 12:14 p.m., David Baum wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/109773/
> -----------------------------------------------------------
> 
> (Updated March 28, 2013, 12:14 p.m.)
> 
> 
> Review request for Plasma.
> 
> 
> Description
> -------
> 
> The Runner uses the Google Translate Homepage and supports all languages provided \
> by Google. It doesn't use the API, because it's not free of charge.  
> 
> Diffs
> -----
> 
> runners/CMakeLists.txt bb4b491b10e6fef8183a66f55f5d5832dd7bc41a 
> runners/translator/CMakeLists.txt PRE-CREATION 
> runners/translator/plasma-runner-translator.desktop PRE-CREATION 
> runners/translator/translator.h PRE-CREATION 
> runners/translator/translator.cpp PRE-CREATION 
> runners/translator/translatorjob.h PRE-CREATION 
> runners/translator/translatorjob.cpp PRE-CREATION 
> 
> Diff: http://git.reviewboard.kde.org/r/109773/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> David Baum
> 
> 


[Attachment #5 (text/html)]

<html>
 <body>
  <div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
   <table bgcolor="#f9f3c9" width="100%" cellpadding="8" style="border: 1px #c9c399 \
solid;">  <tr>
     <td>
      This is an automatically generated e-mail. To reply, visit:
      <a href="http://git.reviewboard.kde.org/r/109773/">http://git.reviewboard.kde.org/r/109773/</a>
  </td>
    </tr>
   </table>
   <br />





 <pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: \
-pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">I&#39;m looking forward \
to use this runner.

Have you thought about adding another keyword to query all supported languages?</pre>
 <br />







<div>




<table width="100%" border="0" bgcolor="white" style="border: 1px solid #C0C0C0; \
border-collapse: collapse; margin: 2px padding: 2px;">  <thead>
  <tr>
   <th colspan="4" bgcolor="#F0F0F0" style="border-bottom: 1px solid #C0C0C0; \
font-size: 9pt; padding: 4px 8px; text-align: left;">  <a \
href="http://git.reviewboard.kde.org/r/109773/diff/3/?file=125697#file125697line2" \
style="color: black; font-weight: bold; text-decoration: \
underline;">runners/translator/translator.cpp</a>  <span style="font-weight: \
normal;">

     (Diff revision 3)

    </span>
   </th>
  </tr>
 </thead>



 
 

 <tbody>

  <tr>
    <th bgcolor="#b1ebb0" style="border-right: 1px solid #C0C0C0;" \
align="right"><font size="2"></font></th>  <td bgcolor="#c5ffc4" width="50%"><pre \
style="font-size: 8pt; line-height: 140%; margin: 0; "></pre></td>  <th \
bgcolor="#b1ebb0" style="border-left: 1px solid #C0C0C0; border-right: 1px solid \
#C0C0C0;" align="right"><font size="2">2</font></th>  <td bgcolor="#c5ffc4" \
width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; "><span \
class="cm"> *  Copyright (C) 2013 by David Baum &lt;david.baum@naraesk.eu             \
*</span></pre></td>  </tr>

 </tbody>

</table>

<pre style="margin-left: 2em; white-space: pre-wrap; white-space: -moz-pre-wrap; \
white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">you are \
missing the &gt; after the email address (also in the other copyright header)</pre> \
</div> <br />

<div>




<table width="100%" border="0" bgcolor="white" style="border: 1px solid #C0C0C0; \
border-collapse: collapse; margin: 2px padding: 2px;">  <thead>
  <tr>
   <th colspan="4" bgcolor="#F0F0F0" style="border-bottom: 1px solid #C0C0C0; \
font-size: 9pt; padding: 4px 8px; text-align: left;">  <a \
href="http://git.reviewboard.kde.org/r/109773/diff/3/?file=125697#file125697line121" \
style="color: black; font-weight: bold; text-decoration: \
underline;">runners/translator/translator.cpp</a>  <span style="font-weight: \
normal;">

     (Diff revision 3)

    </span>
   </th>
  </tr>
 </thead>



 
 

 <tbody>

  <tr>
    <th bgcolor="#b1ebb0" style="border-right: 1px solid #C0C0C0;" \
align="right"><font size="2"></font></th>  <td bgcolor="#c5ffc4" width="50%"><pre \
style="font-size: 8pt; line-height: 140%; margin: 0; "></pre></td>  <th \
bgcolor="#b1ebb0" style="border-left: 1px solid #C0C0C0; border-right: 1px solid \
#C0C0C0;" align="right"><font size="2">121</font></th>  <td bgcolor="#c5ffc4" \
width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; ">    <span \
class="k">if</span> <span class="p">(</span><span class="n">ok</span><span \
class="p">)</span> <span class="p">{</span></pre></td>  </tr>

 </tbody>

</table>

<pre style="margin-left: 2em; white-space: pre-wrap; white-space: -moz-pre-wrap; \
white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">I would \
suggest to turn the logic around: if (!ok) {
    return;
}

the code following has many indentation levels and that&#39;s just one level which is \
not really needed.</pre> </div>
<br />

<div>




<table width="100%" border="0" bgcolor="white" style="border: 1px solid #C0C0C0; \
border-collapse: collapse; margin: 2px padding: 2px;">  <thead>
  <tr>
   <th colspan="4" bgcolor="#F0F0F0" style="border-bottom: 1px solid #C0C0C0; \
font-size: 9pt; padding: 4px 8px; text-align: left;">  <a \
href="http://git.reviewboard.kde.org/r/109773/diff/3/?file=125697#file125697line128" \
style="color: black; font-weight: bold; text-decoration: \
underline;">runners/translator/translator.cpp</a>  <span style="font-weight: \
normal;">

     (Diff revision 3)

    </span>
   </th>
  </tr>
 </thead>



 
 

 <tbody>

  <tr>
    <th bgcolor="#b1ebb0" style="border-right: 1px solid #C0C0C0;" \
align="right"><font size="2"></font></th>  <td bgcolor="#c5ffc4" width="50%"><pre \
style="font-size: 8pt; line-height: 140%; margin: 0; "></pre></td>  <th \
bgcolor="#b1ebb0" style="border-left: 1px solid #C0C0C0; border-right: 1px solid \
#C0C0C0;" align="right"><font size="2">128</font></th>  <td bgcolor="#c5ffc4" \
width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; ">            \
<span class="k">if</span> <span class="p">(</span><span class="n">list0</span><span \
class="p">.</span><span class="n">size</span><span class="p">()</span> <span \
class="o">&gt;</span> <span class="mi">0</span><span class="p">)</span> <span \
class="p">{</span></pre></td>  </tr>

 </tbody>

</table>

<pre style="margin-left: 2em; white-space: pre-wrap; white-space: -moz-pre-wrap; \
white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">here you \
could do the same: if (list0.isEmpty()) {
    continue;
}</pre>
</div>
<br />

<div>




<table width="100%" border="0" bgcolor="white" style="border: 1px solid #C0C0C0; \
border-collapse: collapse; margin: 2px padding: 2px;">  <thead>
  <tr>
   <th colspan="4" bgcolor="#F0F0F0" style="border-bottom: 1px solid #C0C0C0; \
font-size: 9pt; padding: 4px 8px; text-align: left;">  <a \
href="http://git.reviewboard.kde.org/r/109773/diff/3/?file=125697#file125697line138" \
style="color: black; font-weight: bold; text-decoration: \
underline;">runners/translator/translator.cpp</a>  <span style="font-weight: \
normal;">

     (Diff revision 3)

    </span>
   </th>
  </tr>
 </thead>



 
 

 <tbody>

  <tr>
    <th bgcolor="#b1ebb0" style="border-right: 1px solid #C0C0C0;" \
align="right"><font size="2"></font></th>  <td bgcolor="#c5ffc4" width="50%"><pre \
style="font-size: 8pt; line-height: 140%; margin: 0; "></pre></td>  <th \
bgcolor="#b1ebb0" style="border-left: 1px solid #C0C0C0; border-right: 1px solid \
#C0C0C0;" align="right"><font size="2">138</font></th>  <td bgcolor="#c5ffc4" \
width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; ">              \
<span class="k">if</span> <span class="p">(</span><span class="n">foundWordNew</span> \
<span class="n">or</span> <span class="n">foundWordOld</span><span class="p">)</span> \
<span class="p">{</span></pre></td>  </tr>

 </tbody>

</table>

<pre style="margin-left: 2em; white-space: pre-wrap; white-space: -moz-pre-wrap; \
white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">using or is \
rather uncommon in KDE code. I would suggest to use ||</pre> </div>
<br />

<div>




<table width="100%" border="0" bgcolor="white" style="border: 1px solid #C0C0C0; \
border-collapse: collapse; margin: 2px padding: 2px;">  <thead>
  <tr>
   <th colspan="4" bgcolor="#F0F0F0" style="border-bottom: 1px solid #C0C0C0; \
font-size: 9pt; padding: 4px 8px; text-align: left;">  <a \
href="http://git.reviewboard.kde.org/r/109773/diff/3/?file=125697#file125697line139" \
style="color: black; font-weight: bold; text-decoration: \
underline;">runners/translator/translator.cpp</a>  <span style="font-weight: \
normal;">

     (Diff revision 3)

    </span>
   </th>
  </tr>
 </thead>



 
 

 <tbody>

  <tr>
    <th bgcolor="#b1ebb0" style="border-right: 1px solid #C0C0C0;" \
align="right"><font size="2"></font></th>  <td bgcolor="#c5ffc4" width="50%"><pre \
style="font-size: 8pt; line-height: 140%; margin: 0; "></pre></td>  <th \
bgcolor="#b1ebb0" style="border-left: 1px solid #C0C0C0; border-right: 1px solid \
#C0C0C0;" align="right"><font size="2">139</font></th>  <td bgcolor="#c5ffc4" \
width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; ">              \
<span class="k">if</span> <span class="p">(</span><span class="n">l1</span><span \
class="p">.</span><span class="n">toList</span><span class="p">().</span><span \
class="n">at</span><span class="p">(</span><span class="mi">0</span><span \
class="p">).</span><span class="n">toString</span><span class="p">()</span> <span \
class="o">!=</span> <span class="n">text</span> <span class="n">and</span> <span \
class="n">foundWordOld</span><span class="p">)</span> <span \
class="p">{</span></pre></td>  </tr>

 </tbody>

</table>

<pre style="margin-left: 2em; white-space: pre-wrap; white-space: -moz-pre-wrap; \
white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">same for \
and</pre> </div>
<br />

<div>




<table width="100%" border="0" bgcolor="white" style="border: 1px solid #C0C0C0; \
border-collapse: collapse; margin: 2px padding: 2px;">  <thead>
  <tr>
   <th colspan="4" bgcolor="#F0F0F0" style="border-bottom: 1px solid #C0C0C0; \
font-size: 9pt; padding: 4px 8px; text-align: left;">  <a \
href="http://git.reviewboard.kde.org/r/109773/diff/3/?file=125697#file125697line164" \
style="color: black; font-weight: bold; text-decoration: \
underline;">runners/translator/translator.cpp</a>  <span style="font-weight: \
normal;">

     (Diff revision 3)

    </span>
   </th>
  </tr>
 </thead>



 
 

 <tbody>

  <tr>
    <th bgcolor="#b1ebb0" style="border-right: 1px solid #C0C0C0;" \
align="right"><font size="2"></font></th>  <td bgcolor="#c5ffc4" width="50%"><pre \
style="font-size: 8pt; line-height: 140%; margin: 0; "></pre></td>  <th \
bgcolor="#b1ebb0" style="border-left: 1px solid #C0C0C0; border-right: 1px solid \
#C0C0C0;" align="right"><font size="2">164</font></th>  <td bgcolor="#c5ffc4" \
width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; ">            \
<span class="n">QList</span> <span class="o">&lt;</span><span \
class="kt">int</span><span class="o">&gt;</span> <span class="n">keys</span> <span \
class="o">=</span> <span class="n">sentences</span><span class="p">.</span><span \
class="n">uniqueKeys</span><span class="p">();</span></pre></td>  </tr>

 </tbody>

</table>

<pre style="margin-left: 2em; white-space: pre-wrap; white-space: -moz-pre-wrap; \
white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">nitpick: \
QList&lt;int&gt;</pre> </div>
<br />

<div>




<table width="100%" border="0" bgcolor="white" style="border: 1px solid #C0C0C0; \
border-collapse: collapse; margin: 2px padding: 2px;">  <thead>
  <tr>
   <th colspan="4" bgcolor="#F0F0F0" style="border-bottom: 1px solid #C0C0C0; \
font-size: 9pt; padding: 4px 8px; text-align: left;">  <a \
href="http://git.reviewboard.kde.org/r/109773/diff/3/?file=125697#file125697line204" \
style="color: black; font-weight: bold; text-decoration: \
underline;">runners/translator/translator.cpp</a>  <span style="font-weight: \
normal;">

     (Diff revision 3)

    </span>
   </th>
  </tr>
 </thead>



 
 

 <tbody>

  <tr>
    <th bgcolor="#b1ebb0" style="border-right: 1px solid #C0C0C0;" \
align="right"><font size="2"></font></th>  <td bgcolor="#c5ffc4" width="50%"><pre \
style="font-size: 8pt; line-height: 140%; margin: 0; "></pre></td>  <th \
bgcolor="#b1ebb0" style="border-left: 1px solid #C0C0C0; border-right: 1px solid \
#C0C0C0;" align="right"><font size="2">204</font></th>  <td bgcolor="#c5ffc4" \
width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; "><span \
class="k">const</span> <span class="n">QStringList</span> <span \
class="n">Translator</span><span class="o">::</span><span \
class="n">supportedLanguages</span> <span class="o">=</span> <span \
class="n">QStringList</span><span class="p">()</span> <span class="o">&lt;&lt;</span> \
<span class="s">&quot;af&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;sq&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;ar&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;az&quot;</span><span class="ew"> </span></pre></td>  </tr>

  <tr>
    <th bgcolor="#b1ebb0" style="border-right: 1px solid #C0C0C0;" \
align="right"><font size="2"></font></th>  <td bgcolor="#c5ffc4" width="50%"><pre \
style="font-size: 8pt; line-height: 140%; margin: 0; "></pre></td>  <th \
bgcolor="#b1ebb0" style="border-left: 1px solid #C0C0C0; border-right: 1px solid \
#C0C0C0;" align="right"><font size="2">205</font></th>  <td bgcolor="#c5ffc4" \
width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; "><span \
class="tb">	</span><span class="tb">	</span><span class="tb">	</span><span \
class="tb">	</span><span class="tb">	</span><span class="o">&lt;&lt;</span> <span \
class="s">&quot;eu&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;bn&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;be&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;bg&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;ca&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;zh-CN&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;zh-TW&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;hr&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;cs&quot;</span></pre></td>  </tr>

  <tr>
    <th bgcolor="#b1ebb0" style="border-right: 1px solid #C0C0C0;" \
align="right"><font size="2"></font></th>  <td bgcolor="#c5ffc4" width="50%"><pre \
style="font-size: 8pt; line-height: 140%; margin: 0; "></pre></td>  <th \
bgcolor="#b1ebb0" style="border-left: 1px solid #C0C0C0; border-right: 1px solid \
#C0C0C0;" align="right"><font size="2">206</font></th>  <td bgcolor="#c5ffc4" \
width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; "><span \
class="tb">	</span><span class="tb">	</span><span class="tb">	</span><span \
class="tb">	</span><span class="tb">	</span><span class="o">&lt;&lt;</span> <span \
class="s">&quot;da&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;nl&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;en&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;eo&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;et&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;tl&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;fi&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;fr&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;gl&quot;</span></pre></td>  </tr>

  <tr>
    <th bgcolor="#b1ebb0" style="border-right: 1px solid #C0C0C0;" \
align="right"><font size="2"></font></th>  <td bgcolor="#c5ffc4" width="50%"><pre \
style="font-size: 8pt; line-height: 140%; margin: 0; "></pre></td>  <th \
bgcolor="#b1ebb0" style="border-left: 1px solid #C0C0C0; border-right: 1px solid \
#C0C0C0;" align="right"><font size="2">207</font></th>  <td bgcolor="#c5ffc4" \
width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; "><span \
class="tb">	</span><span class="tb">	</span><span class="tb">	</span><span \
class="tb">	</span><span class="tb">	</span><span class="o">&lt;&lt;</span> <span \
class="s">&quot;ka&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;de&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;el&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;gu&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;ht&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;iw&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;hi&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;hu&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;is&quot;</span><span class="ew"> </span></pre></td>  </tr>

  <tr>
    <th bgcolor="#b1ebb0" style="border-right: 1px solid #C0C0C0;" \
align="right"><font size="2"></font></th>  <td bgcolor="#c5ffc4" width="50%"><pre \
style="font-size: 8pt; line-height: 140%; margin: 0; "></pre></td>  <th \
bgcolor="#b1ebb0" style="border-left: 1px solid #C0C0C0; border-right: 1px solid \
#C0C0C0;" align="right"><font size="2">208</font></th>  <td bgcolor="#c5ffc4" \
width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; "><span \
class="tb">	</span><span class="tb">	</span><span class="tb">	</span><span \
class="tb">	</span><span class="tb">	</span><span class="o">&lt;&lt;</span> <span \
class="s">&quot;id&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;ga&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;it&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;ja&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;kn&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;ko&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;la&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;lv&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;lt&quot;</span><span class="ew"> </span></pre></td>  </tr>

  <tr>
    <th bgcolor="#b1ebb0" style="border-right: 1px solid #C0C0C0;" \
align="right"><font size="2"></font></th>  <td bgcolor="#c5ffc4" width="50%"><pre \
style="font-size: 8pt; line-height: 140%; margin: 0; "></pre></td>  <th \
bgcolor="#b1ebb0" style="border-left: 1px solid #C0C0C0; border-right: 1px solid \
#C0C0C0;" align="right"><font size="2">209</font></th>  <td bgcolor="#c5ffc4" \
width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; "><span \
class="tb">	</span><span class="tb">	</span><span class="tb">	</span><span \
class="tb">	</span><span class="tb">	</span><span class="o">&lt;&lt;</span> <span \
class="s">&quot;mk&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;ms&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;mt&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;no&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;fa&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;pl&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;pt&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;ro&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;ru&quot;</span><span class="ew"> </span></pre></td>  </tr>

  <tr>
    <th bgcolor="#b1ebb0" style="border-right: 1px solid #C0C0C0;" \
align="right"><font size="2"></font></th>  <td bgcolor="#c5ffc4" width="50%"><pre \
style="font-size: 8pt; line-height: 140%; margin: 0; "></pre></td>  <th \
bgcolor="#b1ebb0" style="border-left: 1px solid #C0C0C0; border-right: 1px solid \
#C0C0C0;" align="right"><font size="2">210</font></th>  <td bgcolor="#c5ffc4" \
width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; "><span \
class="tb">	</span><span class="tb">	</span><span class="tb">	</span><span \
class="tb">	</span><span class="tb">	</span><span class="o">&lt;&lt;</span> <span \
class="s">&quot;sr&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;sk&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;sl&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;es&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;sw&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;sv&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;ta&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;te&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;th&quot;</span><span class="ew"> </span></pre></td>  </tr>

  <tr>
    <th bgcolor="#b1ebb0" style="border-right: 1px solid #C0C0C0;" \
align="right"><font size="2"></font></th>  <td bgcolor="#c5ffc4" width="50%"><pre \
style="font-size: 8pt; line-height: 140%; margin: 0; "></pre></td>  <th \
bgcolor="#b1ebb0" style="border-left: 1px solid #C0C0C0; border-right: 1px solid \
#C0C0C0;" align="right"><font size="2">211</font></th>  <td bgcolor="#c5ffc4" \
width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; "><span \
class="tb">	</span><span class="tb">	</span><span class="tb">	</span><span \
class="tb">	</span><span class="tb">	</span><span class="o">&lt;&lt;</span> <span \
class="s">&quot;tr&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;uk&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;ur&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;vi&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;cy&quot;</span> <span class="o">&lt;&lt;</span> <span \
class="s">&quot;yi&quot;</span><span class="p">;</span></pre></td>  </tr>

  <tr>
    <th bgcolor="#b1ebb0" style="border-right: 1px solid #C0C0C0;" \
align="right"><font size="2"></font></th>  <td bgcolor="#c5ffc4" width="50%"><pre \
style="font-size: 8pt; line-height: 140%; margin: 0; "></pre></td>  <th \
bgcolor="#b1ebb0" style="border-left: 1px solid #C0C0C0; border-right: 1px solid \
#C0C0C0;" align="right"><font size="2">212</font></th>  <td bgcolor="#c5ffc4" \
width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; "><span \
class="ew"><span class="tb">	</span><span class="tb">	</span></span></pre></td>  \
</tr>

 </tbody>

</table>

<pre style="margin-left: 2em; white-space: pre-wrap; white-space: -moz-pre-wrap; \
white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">nitpick: \
trailing whitespaces</pre> </div>
<br />

<div>




<table width="100%" border="0" bgcolor="white" style="border: 1px solid #C0C0C0; \
border-collapse: collapse; margin: 2px padding: 2px;">  <thead>
  <tr>
   <th colspan="4" bgcolor="#F0F0F0" style="border-bottom: 1px solid #C0C0C0; \
font-size: 9pt; padding: 4px 8px; text-align: left;">  <a \
href="http://git.reviewboard.kde.org/r/109773/diff/3/?file=125699#file125699line27" \
style="color: black; font-weight: bold; text-decoration: \
underline;">runners/translator/translatorjob.cpp</a>  <span style="font-weight: \
normal;">

     (Diff revision 3)

    </span>
   </th>
  </tr>
 </thead>



 
 

 <tbody>

  <tr>
    <th bgcolor="#b1ebb0" style="border-right: 1px solid #C0C0C0;" \
align="right"><font size="2"></font></th>  <td bgcolor="#c5ffc4" width="50%"><pre \
style="font-size: 8pt; line-height: 140%; margin: 0; "></pre></td>  <th \
bgcolor="#b1ebb0" style="border-left: 1px solid #C0C0C0; border-right: 1px solid \
#C0C0C0;" align="right"><font size="2">27</font></th>  <td bgcolor="#c5ffc4" \
width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; "><span \
class="tb">	</span><span class="n">request</span><span class="p">.</span><span \
class="n">setRawHeader</span><span class="p">(</span> <span \
class="s">&quot;User-Agent&quot;</span> <span class="p">,</span> <span \
class="s">&quot;Mozilla/5.0&quot;</span><span class="p">);</span></pre></td>  </tr>

 </tbody>

</table>

<pre style="margin-left: 2em; white-space: pre-wrap; white-space: -moz-pre-wrap; \
white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">isn&#39;t \
that a rather generic user agent?</pre> </div>
<br />



<p>- Martin</p>


<br />
<p>On March 28th, 2013, 12:14 p.m. CET, David Baum wrote:</p>








<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" \
style="background-image: \
url('http://git.reviewboard.kde.org/static/rb/images/review_request_box_top_bg.ab6f3b1072c9.png'); \
background-position: left top; background-repeat: repeat-x; border: 1px black \
solid;">  <tr>
  <td>

<div>Review request for Plasma.</div>
<div>By David Baum.</div>


<p style="color: grey;"><i>Updated March 28, 2013, 12:14 p.m.</i></p>






<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
 <table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" \
style="border: 1px solid #b8b5a0">  <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;">The Runner uses the Google Translate Homepage and supports all languages \
provided by Google. It doesn&#39;t use the API, because it&#39;s not free of charge. \
</pre>  </td>
 </tr>
</table>





<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> </h1>
<ul style="margin-left: 3em; padding-left: 0;">

 <li>runners/CMakeLists.txt <span style="color: \
grey">(bb4b491b10e6fef8183a66f55f5d5832dd7bc41a)</span></li>

 <li>runners/translator/CMakeLists.txt <span style="color: \
grey">(PRE-CREATION)</span></li>

 <li>runners/translator/plasma-runner-translator.desktop <span style="color: \
grey">(PRE-CREATION)</span></li>

 <li>runners/translator/translator.h <span style="color: \
grey">(PRE-CREATION)</span></li>

 <li>runners/translator/translator.cpp <span style="color: \
grey">(PRE-CREATION)</span></li>

 <li>runners/translator/translatorjob.h <span style="color: \
grey">(PRE-CREATION)</span></li>

 <li>runners/translator/translatorjob.cpp <span style="color: \
grey">(PRE-CREATION)</span></li>

</ul>

<p><a href="http://git.reviewboard.kde.org/r/109773/diff/" style="margin-left: \
3em;">View Diff</a></p>







  </td>
 </tr>
</table>








  </div>
 </body>
</html>



_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic