Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo


Diff of /trunk/rosegarden/src/gui/general/ActionFileParser.h [r11317] .. [r11318] Maximize Restore

  Switch to side-by-side view

--- a/trunk/rosegarden/src/gui/general/ActionFileParser.h
+++ b/trunk/rosegarden/src/gui/general/ActionFileParser.h
@@ -104,7 +104,12 @@
     bool enableMenuInState(QString stateName, QString menuName);
     bool disableMenuInState(QString stateName, QString menuName);
-    QString translate(QString actionName, QString text, QString purpose);
+    /** Translate a string with QObject::tr() and an optional disambiguation
+     *  \param text            The text to translate
+     *  \param disambiguation  Context disambiguation, if required
+     *  \return A translated QString
+     */
+    QString translate(QString text, QString disambiguation = "");
     QString findRcFile(QString name);