Bug #935

Untranslated strings in Privacy Lists

Added by Frederik Schwarzer 585 days ago. Updated 458 days ago.

Status:Closed Start:
Priority:Normal Due date:
Assigned to:Kevin Smith % Done:

100%

Category:Options
Target version:0.13
Operating System:

All

Reported in:

0.13-devel


Description

Hi,

there are untranslatable strings in verbal description in the Privacy Lists dialog, see http://forum.psi-im.org/thread/5191 for details

diff --git a/src/privacy/privacylistitem.cpp b/src/privacy/privacylistitem.cpp

index e054536..78ee459 100644

--- a/src/privacy/privacylistitem.cpp

+++ b/src/privacy/privacylistitem.cpp

@ -44,22 +44,22 @ QString PrivacyListItem::toString() const

{                                                                            
QString act;
if (action() == PrivacyListItem::Deny)

- act = "Deny";

+ act = tr("Deny");

else

- act = "Allow";

+ act = tr("Allow");

QString what;
if (all())

- what = "All";

+ what = tr("All");

else {                                                                
if (message())

- what += "Messages,";

+ what += tr("Messages,");

if (presenceIn())

- what += "Presence-In,";

+ what += tr("Presence-In,");

if (presenceOut())

- what += "Presence-Out,";

+ what += tr("Presence-Out,");

if (iq())

- what += "Queries,";

+ what += tr("Queries,");

what.truncate(what.length()-1);
}

History

Updated by Justin Karneges 458 days ago

  • Status set to Closed

Resolution Reason: Fixed in SVN
8b0993f0bcaf050a60a9c15c767fe009d154efc3

Also available in: Atom PDF