Summary: | welcome msg not translatable | ||
---|---|---|---|
Product: | [Applications] akregator | Reporter: | Wilbert Berendsen <wbsoft> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | LO | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Wilbert Berendsen
2004-07-11 18:28:47 UTC
forgot to say: aKregator really rocks!! Very nice app, just discovered it today and updated the Dutch translation :-) Yes this is known problem and I've been thinking if we should wait for the new welcome page (KMail/Konqi style) until i18nizing it. It depends on Berkus/Sashmit, but if we decide not to wait for that this can be implemented fairly easily... Teemu if you have spare time you could try to implement it the way KMail/Konqy does. Attach the patch here, I don't want it in cvs yet. I think the Konqi/kmail intro screen is a bit heavy, although it looks cool. Hopefully we come up with something that looks as cool, but isn't as heavy, and then filter it back down to konqui and kmail in kde 4.0 :-) CVS commit by sashmit: make welcome msg translatable CCMAIL: 84934-done@bugs.kde.org M +33 -1 articleviewer.cpp 1.42 --- kdenonbeta/akregator/src/articleviewer.cpp #1.41:1.42 @@ -49,5 +49,36 @@ ArticleViewer::ArticleViewer(QWidget *pa void ArticleViewer::openDefault() { - openURL( ::locate( "data", "akregatorpart/welcome.html" ) ); + QString text= QString("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n" + "<html><head><title></title></head><body>\n"); + + text += QString("<h1>%1</h1>\n" + "<p>%2</p><ul>\n" + "<li>%3</li><ul>\n" + "<li><b>%4</b>%5</li>\n" + "<li><b>%6</b>%7</li>\n" + "<li><b>%8</b>%9</li>") + .arg(i18n("Welcome to aKregator")) + .arg(i18n("Use the tree to manage your feeds.")) + .arg(i18n("Right click a folder, such as \"All Feeds\", and choose:")) + .arg(i18n("Add...")) + .arg(i18n(" to add a new feed to your feed list.")) + .arg(i18n("New Folder...")) + .arg(i18n(" to add a new folder to your list.")) + .arg(i18n("Edit")) + .arg(i18n(" to edit an existing feed or folder.")); + + text += QString("<li><b>%1</b>%2</li>\n" + "<li><b>%3</b>%4</li></ul></ul>\n" + "<p>%5</p></body></html>") + .arg(i18n("Delete")) + .arg(i18n(" to remove an existing feed or folder.")) + .arg(i18n("Fetch")) + .arg(i18n(" to update a feed or folder.")) + .arg(i18n("Click \"Fetch All\" to update all feeds.")); + + begin(); + write(text); + end(); + } @@ -265,2 +296,3 @@ void ArticleViewer::slotOpenLinkInternal #include "articleviewer.moc" +// vim: set et ts=4 sts=4 sw=4: |