From a3a5afe1198266e7c4a1bc6dd8f65062426b24c4 Mon Sep 17 00:00:00 2001 From: Jan Dalheimer Date: Sun, 2 Nov 2014 19:24:28 +0100 Subject: Fix #231: Enable translation for more strings --- logic/ModList.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'logic/ModList.cpp') diff --git a/logic/ModList.cpp b/logic/ModList.cpp index a1605506..9f2fc742 100644 --- a/logic/ModList.cpp +++ b/logic/ModList.cpp @@ -467,9 +467,9 @@ QVariant ModList::headerData(int section, Qt::Orientation orientation, int role) case ActiveColumn: return QString(); case NameColumn: - return QString("Name"); + return tr("Name"); case VersionColumn: - return QString("Version"); + return tr("Version"); default: return QVariant(); } @@ -478,11 +478,11 @@ QVariant ModList::headerData(int section, Qt::Orientation orientation, int role) switch (section) { case ActiveColumn: - return "Is the mod enabled?"; + return tr("Is the mod enabled?"); case NameColumn: - return "The name of the mod."; + return tr("The name of the mod."); case VersionColumn: - return "The version of the mod."; + return tr("The version of the mod."); default: return QVariant(); } -- cgit v1.2.3