[prev in list] [next in list] [prev in thread] [next in thread]
List: amarok-bugs-dist
Subject: [Bug 140963] New: magnutune store start page is not i18nable
From: Sven Krohlas <sven () asbest-online ! de>
Date: 2007-01-31 16:19:10
Message-ID: 20070131171909.140963.sven () asbest-online ! de
[Download RAW message or body]
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=140963
Summary: magnutune store start page is not i18nable
Product: amarok
Version: unspecified
Platform: SuSE RPMs
OS/Version: Linux
Status: NEW
Severity: normal
Priority: NOR
Component: Magnatune
AssignedTo: amarok-bugs-dist kde org
ReportedBy: sven asbest-online de
Version: SVN (using KDE KDE 3.5.5)
Installed from: SuSE RPMs
Compiler: - -
OS: Linux
My fist only 98% trivial patch. ;-)
In magnatunebrowser.cpp we show a HTML file which can't be translated. This patch \
fixes that. I suppose amarok/data/magnatune_start_page.html could be deleted after \
applying this patch? Is the coding style ok?
Index: magnatunebrowser.cpp
===================================================================
--- magnatunebrowser.cpp (Revision 628783)
+++ magnatunebrowser.cpp (Arbeitskopie)
@ -500,7 +500,17 @
if (!m_polished) {
m_polished = true;
updateList( );
- m_artistInfobox->openURL( KURL( locate( "data", \
"amarok/data/magnatune_start_page.html" ) ) ); + m_artistInfobox->begin( KURL( \
locate( "data", "amarok/data/" ) ) ); + m_artistInfobox->write( "<table \
align='center' border='0'><tbody align='center' valign='top'>" + "<tr \
align='center'><td><div align='center'>" + "<IMG src='magnatune_logo.png' \
width='200' height='36' align='center' border='0'>" + \
"</div></td></tr><tr><td><BR>" + + i18n( "Welcome to Amarok's integrated \
Magnatune.com store. If this is the " + "first time you run it, you \
must update the database by pressing the " + "'Update' button below." \
) + + "</td></tr></tbody></table>" );
+ m_artistInfobox->end();
+
}
}
_______________________________________________
Amarok-bugs-dist mailing list
Amarok-bugs-dist@kde.org
https://mail.kde.org/mailman/listinfo/amarok-bugs-dist
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic