author | zautrix <zautrix> | 2004-12-04 22:01:08 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-12-04 22:01:08 (UTC) |
commit | 9c7f3267a1d7db2dbc3bd6384e75cf8ffea1c3df (patch) (unidiff) | |
tree | 0b1707f003049d6c86b001d87e2c3e2525ac471e /korganizer | |
parent | 33a7e96870517ccf4b1daf5bfcbac4755ee535b4 (diff) | |
download | kdepimpi-9c7f3267a1d7db2dbc3bd6384e75cf8ffea1c3df.zip kdepimpi-9c7f3267a1d7db2dbc3bd6384e75cf8ffea1c3df.tar.gz kdepimpi-9c7f3267a1d7db2dbc3bd6384e75cf8ffea1c3df.tar.bz2 |
translation fixes
-rw-r--r-- | korganizer/kowhatsnextview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/korganizer/kowhatsnextview.cpp b/korganizer/kowhatsnextview.cpp index 3801ed4..5f14bfa 100644 --- a/korganizer/kowhatsnextview.cpp +++ b/korganizer/kowhatsnextview.cpp | |||
@@ -223,49 +223,49 @@ void KOWhatsNextView::updateView() | |||
223 | itemAdded = true; | 223 | itemAdded = true; |
224 | } | 224 | } |
225 | ev = events.next(); | 225 | ev = events.next(); |
226 | } | 226 | } |
227 | 227 | ||
228 | //mText += "</table>\n"; | 228 | //mText += "</table>\n"; |
229 | } | 229 | } |
230 | 230 | ||
231 | todo = todos.first(); | 231 | todo = todos.first(); |
232 | while(todo) { | 232 | while(todo) { |
233 | if ( !todo->isCompleted() &&todo->hasDueDate() && todo->dtDue().date() == mEventDate ) { | 233 | if ( !todo->isCompleted() &&todo->hasDueDate() && todo->dtDue().date() == mEventDate ) { |
234 | if ( ! itemAdded ) { | 234 | if ( ! itemAdded ) { |
235 | appendDay ( iii, mEventDate ); | 235 | appendDay ( iii, mEventDate ); |
236 | //itemAdded = true; | 236 | //itemAdded = true; |
237 | } | 237 | } |
238 | appendEvent(todo, false , iii!= 0,!itemAdded); | 238 | appendEvent(todo, false , iii!= 0,!itemAdded); |
239 | itemAdded = true; | 239 | itemAdded = true; |
240 | } | 240 | } |
241 | todo = todos.next(); | 241 | todo = todos.next(); |
242 | } | 242 | } |
243 | if ( !itemAdded && iii == 0 ) { | 243 | if ( !itemAdded && iii == 0 ) { |
244 | // appendDay ( iii, mEventDate ); | 244 | // appendDay ( iii, mEventDate ); |
245 | //mText += "<table>"; | 245 | //mText += "<table>"; |
246 | // mText += "<b><font color=\"#000080\"><em>"+i18n("No event, nothing to do.") +"</em></font></b>\n"; | 246 | // mText += "<b><font color=\"#000080\"><em>"+i18n("No event, nothing to do.") +"</em></font></b>\n"; |
247 | mText += "<h3 align=\"center\"><font color=\"#008000\"><em>"+i18n("No event, nothing to do. ") +"</em></font></h3>\n"; | 247 | mText += "<h3 align=\"center\"><font color=\"#008000\"><em>"+i18n("No event, nothing to do.") +"</em></font></h3>\n"; |
248 | //mText +="</table>"; | 248 | //mText +="</table>"; |
249 | } | 249 | } |
250 | if ( itemAdded ) | 250 | if ( itemAdded ) |
251 | mText += "</table>\n"; | 251 | mText += "</table>\n"; |
252 | mEventDate = mEventDate.addDays( 1 ); | 252 | mEventDate = mEventDate.addDays( 1 ); |
253 | } | 253 | } |
254 | 254 | ||
255 | int topmostPrios = KOPrefs::instance()->mWhatsNextPrios; | 255 | int topmostPrios = KOPrefs::instance()->mWhatsNextPrios; |
256 | if (todos.count() > 0 && topmostPrios > 0 ) { | 256 | if (todos.count() > 0 && topmostPrios > 0 ) { |
257 | // kil.loadIcon("todo",KIcon::NoGroup,22,KIcon::DefaultState,&ipath); | 257 | // kil.loadIcon("todo",KIcon::NoGroup,22,KIcon::DefaultState,&ipath); |
258 | // mText += "<h2>"; | 258 | // mText += "<h2>"; |
259 | //<img src=\""; | 259 | //<img src=\""; |
260 | // mText += ipath; | 260 | // mText += ipath; |
261 | // mText += "\">"; | 261 | // mText += "\">"; |
262 | // mText += i18n("Overdue To-Do:") + "</h2>\n"; | 262 | // mText += i18n("Overdue To-Do:") + "</h2>\n"; |
263 | 263 | ||
264 | //mText += "<ul>\n"; | 264 | //mText += "<ul>\n"; |
265 | bool gotone = false; | 265 | bool gotone = false; |
266 | int priority = 1; | 266 | int priority = 1; |
267 | int priosFound = 0; | 267 | int priosFound = 0; |
268 | #ifdef DESKTOP_VERSION | 268 | #ifdef DESKTOP_VERSION |
269 | mText +="<p></p>"; | 269 | mText +="<p></p>"; |
270 | #endif | 270 | #endif |
271 | 271 | ||