diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-04-09 23:53:45 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-04-09 23:53:45 +0200 |
commit | a5c6439163104ecb67a3bc9c8a2ae9eecaad8934 (patch) | |
tree | bc9a1c382c60c2124e52cdd8e20fe38210d6b3ae | |
parent | Merge commit 'refs/merge-requests/118' of git://gitorious.org/rekonq/mainline... (diff) | |
parent | Better datetime for downloads page (diff) | |
download | rekonq-a5c6439163104ecb67a3bc9c8a2ae9eecaad8934.tar.xz |
Merge commit 'refs/merge-requests/119' of git://gitorious.org/rekonq/mainline into m119
-rw-r--r-- | src/data/rekonq.desktop | 2 | ||||
-rw-r--r-- | src/newtabpage.cpp | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/data/rekonq.desktop b/src/data/rekonq.desktop index fc42e1dd..a1cdf988 100644 --- a/src/data/rekonq.desktop +++ b/src/data/rekonq.desktop @@ -6,6 +6,7 @@ Name[de]=rekonq Name[en_GB]=rekonq Name[ga]=rekonq Name[nds]=Rekonq +Name[pl]=rekonq Name[pt]=rekonq Name[pt_BR]=rekonq Name[sv]=Rekonq @@ -18,6 +19,7 @@ GenericName[de]=WebKit-basierter Webbrowser für KDE GenericName[en_GB]=Webkit KDE Browser GenericName[ga]=Brabhsálaí Webkit KDE GenericName[nds]=Webkit-KDE-Kieker +GenericName[pl]=Przeglądarka Webkit dla KDE GenericName[pt]=Navegador do KDE usando o WebKit GenericName[pt_BR]=Navegador Webkit do KDE GenericName[sv]=Webkit webbläsare för KDE diff --git a/src/newtabpage.cpp b/src/newtabpage.cpp index e2837f94..043648e7 100644 --- a/src/newtabpage.cpp +++ b/src/newtabpage.cpp @@ -49,6 +49,7 @@ #include <KConfig> #include <KConfigGroup> #include <KDialog> +#include <KCalendarSystem> // Qt Includes #include <QFile> @@ -539,7 +540,8 @@ void NewTabPage::downloadsPage() div.appendInside("<strong>" + fName + "</strong>"); div.appendInside(" - "); - div.appendInside( item.dateTime.toString("'<em>'dd MMMM yyyy hh:mm'</em>'") ); + QString date = KGlobal::locale()->formatDateTime(item.dateTime, KLocale::FancyLongDate); + div.appendInside("<em>" + date + "</em>"); div.appendInside("<br/>"); div.appendInside(item.srcUrlString); |