r17947 by jghali - fix string unsuited for translation
scribus-commit
scribus-commit at lists.scribus.net
Sun Dec 9 23:43:52 UTC 2012
Author: jghali
Date: Sun Dec 9 23:43:52 2012
New Revision: 17947
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17947
Log:
fix string unsuited for translation
Modified:
trunk/Scribus/scribus/scribusdoc.cpp
Modified: trunk/Scribus/scribus/scribusdoc.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17947&path=/trunk/Scribus/scribus/scribusdoc.cpp
==============================================================================
--- trunk/Scribus/scribus/scribusdoc.cpp (original)
+++ trunk/Scribus/scribus/scribusdoc.cpp Sun Dec 9 23:43:52 2012
@@ -17907,14 +17907,14 @@
continue;
if (NS.range() == NS2->range())
{
- if ((NS.getType() == NS2->getType()) && (NS.prefix() == NS2->prefix()) && (NS.suffix() == NS2->suffix()))
- errStr.append(NS.name() + tr("Notes style has document as range and provide same numbering style as set ") + NS2->name() + "\n");
+ if ((NS.getType() == NS2->getType()) && (NS.prefix() == NS2->prefix()) && (NS.suffix() == NS2->suffix()))
+ errStr.append(tr("%1 note style has document as range and provide same numbering style as set %2").arg(NS.name()).arg(NS2->name()) + "\n");
}
}
if (!errStr.isEmpty() && ScCore->usingGUI())
{
- QMessageBox::warning(this->scMW(), QObject::tr("Unaceptable settings for Notes Style"), "<qt>"+ errStr +"</qt>", QMessageBox::Ok, QMessageBox::Abort | QMessageBox::Default);
+ QMessageBox::warning(this->scMW(), QObject::tr("Unaceptable settings for note style"), "<qt>"+ errStr +"</qt>", QMessageBox::Ok, QMessageBox::Abort | QMessageBox::Default);
return false;
}
return true;
More information about the scribus-commit
mailing list