| Summary: | add "Search in Google for this lyric" message when finding no lyrics | ||
|---|---|---|---|
| Product: | [Applications] amarok | Reporter: | Sven Krohlas <sven> |
| Component: | Context View | Assignee: | Amarok Bugs <amarok-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | wishlist | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Sven Krohlas
2006-10-26 20:35:08 UTC
SVN commit 599604 by aoliveira:
When the script can't find lyrics, provide a link for a web search.
BUG: 136355
M +2 -0 contextbrowser.cpp
--- trunk/extragear/multimedia/amarok/src/contextbrowser.cpp #599603:599604
@@ -3049,6 +3049,8 @@
lyrics += "</a><br/>\n";
}
}
+ lyrics += i18n( "<p>You can <a href=\"%1\">search for the lyrics</a> on the Web.</p>" )
+ .arg( QString( m_lyricSearchUrl ).replace( QRegExp( "^http:" ), "externalurl:" ) );
}
else {
lyrics = el.text();
|