https://bugs.kde.org/show_bug.cgi?id=327729

--- Comment #5 from Thomas Baumgart <ipwiz...@users.sourceforge.net> ---
The come from KMyMoney:

void kMyMoneyScheduledDateTbl::addDayPostfix(QString& text)
{
  int d = text.toInt();

  if (d >= 1 && d <= 31) {
    QStringList postfixList =
      i18nc("These are the suffix strings of the days in the calendar view;
please make sure that you keep all the 30 separators (the '-' character) when
translating",
           
"st-nd-rd-th-th-th-th-th-th-th-th-th-th-th-th-th-th-th-th-th-st-nd-rd-th-th-th-th-th-th-th-st").split('-',
QString::KeepEmptyParts);
    if (d <= postfixList.size()) // make sure that an improper translation will
not cause a crash
      text += postfixList[d-1];
  }
}

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
KMyMoney-devel mailing list
KMyMoney-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmymoney-devel

Reply via email to