Changeset 337:02ee15b6736a in SMSSender for gateways/common/business/baseaccount_utils.h


Ignore:
Timestamp:
Mar 15, 2014 4:15:16 PM (6 years ago)
Author:
Sämy Zehnder <saemy.zehnder@…>
Branch:
separation-frontend-backend
Message:
  • Adjusts translations to new layout and completes them where possible.
  • Adds translation as a default to every sub-project.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • gateways/common/business/baseaccount_utils.h

    r324 r337  
    2222    int costs = account()->costsForText(message()); \
    2323    if (costs * recipients().size() > account()->freeSMSCount()) { \
    24         EException(tr("You have only %1 free SMS left but you need at least %2 free SMS to send this message.") \
     24        EException(QObject::tr("You have only %1 free SMS left but you need at least %2 free SMS to send this message.") \
    2525                       .arg(account()->freeSMSCount()).arg(costs * recipients().size())) \
    2626                .raise(); \
Note: See TracChangeset for help on using the changeset viewer.