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

List:       kde-frameworks-devel
Subject:    Re: Review Request 122680: kglobalaccel: Remove the runtime's KAboutData
From:       "Luigi Toscano" <luigi.toscano () tiscali ! it>
Date:       2015-03-02 8:39:41
Message-ID: 20150302083941.6756.21816 () probe ! kde ! org
[Download RAW message or body]

--===============2157625940294876496==
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit



On Mar. 2, 2015, 5:21 a.m., Jerome Leclanche wrote:
> > Should we be using ::tr here instead of not translating at all?
> 
> Jerome Leclanche wrote:
> Consensus on IRC six days ago was that dropping translation altogether was fine.
> I can add some ::tr but it's arguable whether some of those values should have been \
> translated in the first place (eg. author names) 
> Martin Gräßlin wrote:
> I think ::tr would be better to keep the functionality and support for the case \
> that it shows up in UI again. (offtopic: there was a reason why names should be \
> translated, though I don't remember it.)

For example, names can be translitterated, or have inflections.

For the future, please also ask i18n and don't just kill translations.


- Luigi


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/122680/#review76855
-----------------------------------------------------------


On Mar. 2, 2015, 9:02 a.m., Jerome Leclanche wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/122680/
> -----------------------------------------------------------
> 
> (Updated Mar. 2, 2015, 9:02 a.m.)
> 
> 
> Review request for KDE Frameworks, Martin Gräßlin and Martin Klapetek.
> 
> 
> Repository: kglobalaccel
> 
> 
> Description
> -------
> 
> Remove the runtime's KAboutData
> 
> The about data was unexposed, but created a dependency on KCoreAddons (for
> KAboutData) and in turn on KI18n for the translations of the aboutData.
> 
> This removes both dependencies as well as the string extraction scripts.
> 
> --
> 
> Author notes: This is a RFC. We don't use kglobalaccel in LXQt but we would
> like to, however it currently has too many dependencies. See
> https://github.com/lxde/lxqt/issues/507 for related discussion.
> I'm unsure myself if the about data is actually exposed somewhere I completely
> missed, but it doesn't look that way.
> 
> 
> Diffs
> -----
> 
> CMakeLists.txt 68ad795 
> src/runtime/CMakeLists.txt e639fa5 
> src/runtime/globalshortcutsregistry.cpp 3e4d720 
> src/runtime/kglobalacceld.cpp 4e7cb9d 
> src/runtime/main.cpp fdf4d62 
> 
> Diff: https://git.reviewboard.kde.org/r/122680/diff/
> 
> 
> Testing
> -------
> 
> Compiles and runs. No further testing done.
> 
> 
> Thanks,
> 
> Jerome Leclanche
> 
> 


--===============2157625940294876496==
MIME-Version: 1.0
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: 8bit




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













<blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: \
10px;">  <p style="margin-top: 0;">On marzo 2nd, 2015, 5:21 a.m. CET, <b>Aleix Pol \
Gonzalez</b> wrote:</p>  <blockquote style="margin-left: 1em; border-left: 2px solid \
#d0d0d0; padding-left: 10px;">  <pre style="white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;"><p style="padding: 0;text-rendering: inherit;margin: 0;line-height: \
inherit;white-space: inherit;">Should we be using ::tr here instead of not \
translating at all?</p></pre>  </blockquote>




 <p>On marzo 2nd, 2015, 5:29 a.m. CET, <b>Jerome Leclanche</b> wrote:</p>
 <blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: \
10px;">  <pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: \
-pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;"><p style="padding: \
0;text-rendering: inherit;margin: 0;line-height: inherit;white-space: \
inherit;">Consensus on IRC six days ago was that dropping translation altogether was \
fine. I can add some ::tr but it's arguable whether some of those values should have \
been translated in the first place (eg. author names)</p></pre>  </blockquote>





 <p>On marzo 2nd, 2015, 7:49 a.m. CET, <b>Martin Gräßlin</b> wrote:</p>
 <blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: \
10px;">  <pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: \
-pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;"><p style="padding: \
0;text-rendering: inherit;margin: 0;line-height: inherit;white-space: inherit;">I \
think ::tr would be better to keep the functionality and support for the case that it \
shows up in UI again. (offtopic: there was a reason why names should be translated, \
though I don't remember it.)</p></pre>  </blockquote>








</blockquote>

<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: \
-pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">For example, names can \
be translitterated, or have inflections.

For the future, please also ask i18n and don&#39;t just kill translations.</pre>
<br />


<p>- Luigi</p>


<br />
<p>On marzo 2nd, 2015, 9:02 a.m. CET, Jerome Leclanche wrote:</p>








<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="12" style="border: \
1px #888a85 solid; border-radius: 6px; -moz-border-radius: 6px; \
-webkit-border-radius: 6px;">  <tr>
  <td>

<div>Review request for KDE Frameworks, Martin Gräßlin and Martin Klapetek.</div>
<div>By Jerome Leclanche.</div>


<p style="color: grey;"><i>Updated Mar. 2, 2015, 9:02 a.m.</i></p>









<div style="margin-top: 1.5em;">
 <b style="color: #575012; font-size: 10pt;">Repository: </b>
kglobalaccel
</div>


<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;">Remove the runtime&#39;s KAboutData  
The about data was unexposed, but created a dependency on KCoreAddons (for
KAboutData) and in turn on KI18n for the translations of the aboutData.
    
This removes both dependencies as well as the string extraction scripts.

--

Author notes: This is a RFC. We don&#39;t use kglobalaccel in LXQt but we would
like to, however it currently has too many dependencies. See
https://github.com/lxde/lxqt/issues/507 for related discussion.
I&#39;m unsure myself if the about data is actually exposed somewhere I completely
missed, but it doesn&#39;t look that way.</pre>
  </td>
 </tr>
</table>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Testing </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;"><p style="padding: 0;text-rendering: inherit;margin: 0;line-height: \
inherit;white-space: inherit;">Compiles and runs. No further testing done.</p></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>CMakeLists.txt <span style="color: grey">(68ad795)</span></li>

 <li>src/runtime/CMakeLists.txt <span style="color: grey">(e639fa5)</span></li>

 <li>src/runtime/globalshortcutsregistry.cpp <span style="color: \
grey">(3e4d720)</span></li>

 <li>src/runtime/kglobalacceld.cpp <span style="color: grey">(4e7cb9d)</span></li>

 <li>src/runtime/main.cpp <span style="color: grey">(fdf4d62)</span></li>

</ul>

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






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







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


--===============2157625940294876496==--


[Attachment #3 (text/plain)]

_______________________________________________
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel


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

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