[Kst] [Kst-plot/kst] f68953: add missing tr() call

Peter Kümmel syntheticpp at gmx.net
Wed Mar 19 19:28:01 UTC 2014


On 16.01.2014 15:45, Burkhard Lück wrote:
>    Branch: refs/heads/master
>    Home:   https://github.com/Kst-plot/kst
>    Commit: f689536cef591f9d21ea8f76162fb6ebea474f24
>        https://github.com/Kst-plot/kst/commit/f689536cef591f9d21ea8f76162fb6ebea474f24
>    Author: Burkhard Lück <lueck at hube-lueck.de>
>    Date:   2014-01-16 (Thu, 16 Jan 2014)
>
>    Changed paths:
>      M src/libkstapp/mainwindow.cpp
>
>    Log Message:
>    -----------
>    add missing tr() call
>

If you wanna catch all forgotten tr() calls you could add

     add_definitions(-DQT_NO_CAST_FROM_ASCII)

in the master cmake file. Then the compiler will stop at all placed where no tr() is used.
If it makes no sens to translate a string you have to wrap the string with QLatin1Strin().

>
>
>
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst
>



More information about the Kst mailing list