From c185c4f9788a1e3882711efa1b1c11b17fb7ef1d Mon Sep 17 00:00:00 2001 From: cniehaus Date: Fri, 22 Nov 2002 11:29:36 +0000 Subject: This is the way tr() should be used. Now even RTL-languages and such are supported @@ -53,7 +53,7 @@ void DateBookWeekLstHeader::setDate(cons int year,week; calcWeek(d,week,year,onMonday); - labelWeek->setText("W: " + QString::number(week)); + labelWeek->setText(tr( "W: %1" ).arg( ( QString::number(week)) ) ); QDate start=date; QDate stop=start.addDays(6); --- (limited to 'pics/inline/TodoList.png') -- cgit v0.9.0.2