[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdeedu/kvoctrain/kvoctrain
From: Frederik Gladhorn <frederik.gladhorn () gmx ! de>
Date: 2007-08-21 14:39:34
Message-ID: 1187707174.339060.17595.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 702922 by gladhorn:
correct i18n argument for new lesson
M +2 -2 kvtlessonmodel.cpp
--- trunk/KDE/kdeedu/kvoctrain/kvoctrain/kvtlessonmodel.cpp #702921:702922
@@ -224,9 +224,9 @@
int newLessonIndex;
if (lessonName.isNull()) {
// add the lesson
- newLessonIndex = m_doc->addLesson(i18n("New Lesson"));
+ newLessonIndex = m_doc->addLesson(QString());
// then name it according to its index
- m_doc->lesson(newLessonIndex)->setDescription(i18n("New Lesson %1").arg(newLessonIndex));
+ m_doc->lesson(newLessonIndex)->setDescription(i18n("Lesson %1", newLessonIndex));
} else {
newLessonIndex = m_doc->addLesson(lessonName);
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic