Review Request: Do not use i18n() in global C-like variables

Commit Hook null at kde.org
Mon Jul 2 09:13:26 UTC 2012


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


This review has been submitted with commit 6f6161417c83c3841b2814742cf72ca0443d6edf by Albert Astals Cid to branch master.

- Commit Hook


On July 2, 2012, 9:05 a.m., Albert Astals Cid wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/105408/
> -----------------------------------------------------------
> 
> (Updated July 2, 2012, 9:05 a.m.)
> 
> 
> Review request for Amarok.
> 
> 
> Description
> -------
> 
> If you use i18n() in stuff that gets called before the main KComponentData is created bad stuff happens [1] (and you were getting a warning about it for ages). This fixes it by using I18N_NOOP and then using i18n over it.
> 
> [1] http://comments.gmane.org/gmane.comp.kde.devel.internationalization-and-documentation/24240
> 
> 
> Diffs
> -----
> 
>   shared/FileType.cpp 3ec66de 
> 
> Diff: http://git.reviewboard.kde.org/r/105408/diff/
> 
> 
> Testing
> -------
> 
> Stuff properly shows as translated now
> 
> 
> Thanks,
> 
> Albert Astals Cid
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/amarok-devel/attachments/20120702/f27cff23/attachment.html>


More information about the Amarok-devel mailing list