summaryrefslogtreecommitdiffstats
path: root/klatin/klatin/klatingrammar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'klatin/klatin/klatingrammar.cpp')
-rw-r--r--klatin/klatin/klatingrammar.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/klatin/klatin/klatingrammar.cpp b/klatin/klatin/klatingrammar.cpp
index 8e666cab..0598547f 100644
--- a/klatin/klatin/klatingrammar.cpp
+++ b/klatin/klatin/klatingrammar.cpp
@@ -153,40 +153,40 @@ void KLatinGrammar::nextQuestion()
// Question string...
switch (m_grammarNumber) {
case 1:
- questionString = i18n("What is the nominative singular of %1?").tqarg(m_noun[0]);
+ questionString = i18n("What is the nominative singular of %1?").arg(m_noun[0]);
break;
case 2:
- questionString = i18n("What is the vocative singular of %1?").tqarg(m_noun[0]);
+ questionString = i18n("What is the vocative singular of %1?").arg(m_noun[0]);
break;
case 3:
- questionString = i18n("What is the accusative singular of %1?").tqarg(m_noun[0]);
+ questionString = i18n("What is the accusative singular of %1?").arg(m_noun[0]);
break;
case 4:
- questionString = i18n("What is the genitive singular of %1?").tqarg(m_noun[0]);
+ questionString = i18n("What is the genitive singular of %1?").arg(m_noun[0]);
break;
case 5:
- questionString = i18n("What is the dative singular of %1?").tqarg(m_noun[0]);
+ questionString = i18n("What is the dative singular of %1?").arg(m_noun[0]);
break;
case 6:
- questionString = i18n("What is the ablative singular of %1?").tqarg(m_noun[0]);
+ questionString = i18n("What is the ablative singular of %1?").arg(m_noun[0]);
break;
case 7:
- questionString = i18n("What is the nominative plural of %1?").tqarg(m_noun[0]);
+ questionString = i18n("What is the nominative plural of %1?").arg(m_noun[0]);
break;
case 8:
- questionString = i18n("What is the vocative plural of %1?").tqarg(m_noun[0]);
+ questionString = i18n("What is the vocative plural of %1?").arg(m_noun[0]);
break;
case 9:
- questionString = i18n("What is the accusative plural of %1?").tqarg(m_noun[0]);
+ questionString = i18n("What is the accusative plural of %1?").arg(m_noun[0]);
break;
case 10:
- questionString = i18n("What is the genitive plural of %1?").tqarg(m_noun[0]);
+ questionString = i18n("What is the genitive plural of %1?").arg(m_noun[0]);
break;
case 11:
- questionString = i18n("What is the dative plural of %1?").tqarg(m_noun[0]);
+ questionString = i18n("What is the dative plural of %1?").arg(m_noun[0]);
break;
case 12:
- questionString = i18n("What is the ablative plural of %1?").tqarg(m_noun[0]);
+ questionString = i18n("What is the ablative plural of %1?").arg(m_noun[0]);
break;
}
@@ -202,7 +202,7 @@ void KLatinGrammar::checkAnswer()
// Allow a tolerance of 1 retry
if (m_numWrong == 2) {
m_numWrong = 0;
- KMessageBox::information(this, i18n("The correct answer was %1.").tqarg(m_noun[m_grammarNumber - 1]), i18n("Wrong"));
+ KMessageBox::information(this, i18n("The correct answer was %1.").arg(m_noun[m_grammarNumber - 1]), i18n("Wrong"));
if (ChooseSection->currentItem()==0)
loadDatabase();
else