Summary: | Incorrect format in the file header | ||
---|---|---|---|
Product: | [Unmaintained] kbabel | Reporter: | Antoni Bella <vasten> |
Component: | general | Assignee: | Stanislav Visnovsky <visnovsky> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Antoni Bella
2003-04-24 13:04:27 UTC
OK, will try to improve the macros there. Subject: kdesdk/kbabel/common CVS commit by nanulo: Strip language code from PO filename to setup project/package name. CCMAIL: 57642-done@bugs.kde.org M +5 -4 catalog.cpp 1.117 --- kdesdk/kbabel/common/catalog.cpp #1.116:1.117 @@ -658,5 +658,5 @@ QString Catalog::packageName() const QString package=d->_url.fileName(); - int index=package.findRev(QRegExp("\\.pot?")); + int index=package.find(QRegExp("(\\."+d->_identitySettings.languageCode+")?\\.pot?$")); if(index>0) @@ -681,5 +681,4 @@ void Catalog::setPackage(const QString& d->_packageName = package.right(package.length()-pos); d->_packageName.replace( QRegExp("^/+"),""); - kdDebug(KBABEL) << "package dir " << d->_packageDir << " and package name " << d->_packageName << endl; } } @@ -2997,5 +2996,7 @@ Catalog::DiffResult Catalog::diff(uint e { disconnect( this, SIGNAL( signalStopActivity() ), this, SLOT( stopInternal() )); - kdDebug(KBABEL) << "diffv not active" << endl; + kdDebug + + (KBABEL) << "diffv not active" << endl; d->_active=false; d->_stop=false; |