From 9aa1633ae2ac5bac8ae8035eab4696d507b73a82 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Mon, 6 Feb 2012 10:17:01 +0100 Subject: Translation fix --- src/useragent/useragentinfo.cpp | 8 +++----- src/useragent/useragentinfo.h | 2 +- src/useragent/useragentmanager.cpp | 2 +- src/useragent/useragentmanager.h | 2 +- 4 files changed, 6 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/useragent/useragentinfo.cpp b/src/useragent/useragentinfo.cpp index 6ac411ba..00f0a9db 100644 --- a/src/useragent/useragentinfo.cpp +++ b/src/useragent/useragentinfo.cpp @@ -3,7 +3,7 @@ * This file is a part of the rekonq project * * Copyright (c) 2001 by Dawit Alemayehu -* Copyright (C) 2010-2011 by Andrea Diamantini +* Copyright (C) 2010-2012 by Andrea Diamantini * * * This program is free software; you can redistribute it and/or @@ -127,12 +127,11 @@ QString UserAgentInfo::userAgentDescription(int i) QString systemName = m_providers.at(i)->property("X-KDE-UA-SYSNAME").toString(); QString systemRelease = m_providers.at(i)->property("X-KDE-UA-SYSRELEASE").toString(); - QString systemSummary = QL1S(""); + QString systemSummary; if (!systemName.isEmpty() && !systemRelease.isEmpty()) { - // FIXME: needs a proper translation after stable release - systemSummary = QL1C(' ') % QL1S("on") % QL1C(' ') % systemName % QL1C(' ') % systemRelease; + systemSummary = i18nc("describe UA platform, eg: firefox 3.1 \"on Windows XP\"", " on %1 %2", systemName, systemRelease); } return userAgentName(i) % QL1C(' ') % userAgentVersion(i) % systemSummary; @@ -197,7 +196,6 @@ bool UserAgentInfo::providerExists(int i) KService::Ptr s = m_providers.at(i); if (s.isNull()) { - //FIXME Add me when string freeze has been reopened: KMessageBox::error(...) return false; } return true; diff --git a/src/useragent/useragentinfo.h b/src/useragent/useragentinfo.h index 86319d9e..3162fa82 100644 --- a/src/useragent/useragentinfo.h +++ b/src/useragent/useragentinfo.h @@ -3,7 +3,7 @@ * This file is a part of the rekonq project * * Copyright (c) 2001 by Dawit Alemayehu -* Copyright (C) 2010-2011 by Andrea Diamantini +* Copyright (C) 2010-2012 by Andrea Diamantini * * * This program is free software; you can redistribute it and/or diff --git a/src/useragent/useragentmanager.cpp b/src/useragent/useragentmanager.cpp index 20043549..37bc496a 100644 --- a/src/useragent/useragentmanager.cpp +++ b/src/useragent/useragentmanager.cpp @@ -2,7 +2,7 @@ * * This file is a part of the rekonq project * -* Copyright (C) 2011 by Andrea Diamantini +* Copyright (C) 2011-2012 by Andrea Diamantini * * * This program is free software; you can redistribute it and/or diff --git a/src/useragent/useragentmanager.h b/src/useragent/useragentmanager.h index 0592e55c..84042cf6 100644 --- a/src/useragent/useragentmanager.h +++ b/src/useragent/useragentmanager.h @@ -2,7 +2,7 @@ * * This file is a part of the rekonq project * -* Copyright (C) 2011 by Andrea Diamantini +* Copyright (C) 2011-2012 by Andrea Diamantini * * * This program is free software; you can redistribute it and/or -- cgit v1.2.1