Review Request: Add composer button to wikipedia applet
Matěj Laitl
matej at laitl.cz
Sun Mar 18 10:21:58 UTC 2012
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/104327/#review11530
-----------------------------------------------------------
The patch looks good, thanks for it! There are 2 smaller issues (one with the patch, one witch existing code) that I would love to see addressed before merging this.
src/context/engines/wikipedia/WikipediaEngine.cpp
<http://git.reviewboard.kde.org/r/104327/#comment9160>
Hmm, why don't we use i18nc() for creating the pattern here? Something with a very descriptive context string should do. This applies to all cases in the swich, not just this patch.
src/context/engines/wikipedia/WikipediaEngine.cpp
<http://git.reviewboard.kde.org/r/104327/#comment9159>
Who don't we tell user what exactly has happened? (the tracks has empty composer) That way you could also remove the useless debug() message.
- Matěj Laitl
On March 18, 2012, 6:27 a.m., Ryan McCoskrie wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/104327/
> -----------------------------------------------------------
>
> (Updated March 18, 2012, 6:27 a.m.)
>
>
> Review request for Amarok.
>
>
> Description
> -------
>
> Adds a new composer button for the Wikipedia applet.
>
> Currently only works in English.
>
>
> This addresses bug 272982.
> https://bugs.kde.org/show_bug.cgi?id=272982
>
>
> Diffs
> -----
>
> src/context/applets/wikipedia/WikipediaApplet_p.h b0d6116
> src/context/engines/wikipedia/WikipediaEngine.cpp a4ee870
> src/context/applets/wikipedia/WikipediaApplet.h 897a32c
> src/context/applets/wikipedia/WikipediaApplet.cpp e326804
>
> Diff: http://git.reviewboard.kde.org/r/104327/diff/
>
>
> Testing
> -------
>
> Compiled Amarok, changed a file to have a different musician name to the composer name and pressed button. Everything works as expected.
> This patch is simply a case of copying, pasting, substituteing artist with composer so new bugs are extremely unlikely.
>
>
> Thanks,
>
> Ryan McCoskrie
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/amarok-devel/attachments/20120318/a2503d79/attachment.html>
More information about the Amarok-devel
mailing list