r16065 by craig - #9539: Allow string translation for an undo gui string

scribus-commit scribus-commit at lists.scribus.net
Sun Dec 5 17:55:55 CET 2010


Author: craig
Date: Sun Dec  5 16:55:55 2010
New Revision: 16065

URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=16065
Log:
#9539: Allow string translation for an undo gui string

Modified:
    trunk/Scribus/scribus/undogui.cpp

Modified: trunk/Scribus/scribus/undogui.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=16065&path=/trunk/Scribus/scribus/undogui.cpp
==============================================================================
--- trunk/Scribus/scribus/undogui.cpp (original)
+++ trunk/Scribus/scribus/undogui.cpp Sun Dec  5 16:55:55 2010
@@ -529,7 +529,7 @@
 		}
 		setIcon(pixmap);
 	}
-	setText(QString("%1 - %2\n%3").arg(targetName).arg(actionName).arg(actionDescription));
+	setText(tr("%1 - %2\n%3").arg(targetName).arg(actionName).arg(actionDescription));
 }
 
 //void UndoPalette::UndoItem::paint(QPainter *painter)




More information about the scribus-commit mailing list