[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenonbeta/kmathtool/src/parts/kmathfactor
From: Pino Toscano <toscano.pino () tiscali ! it>
Date: 2005-03-22 13:47:45
Message-ID: 20050322134745.818DC3C6 () office ! kde ! org
[Download RAW message or body]
CVS commit by pino:
Improve i18n.
M +5 -7 factors.cpp 1.6
--- kdenonbeta/kmathtool/src/parts/kmathfactor/factors.cpp #1.5:1.6
@@ -169,5 +169,4 @@ void Factors::slotCalculate()
int iHCF = 1;
QString qsHCF;
- QString qsResult = i18n("The <b>H</b>ighest <b>C</b>ommon <b>F</b>actor \
of %1 and %2 is ").arg(qsNumber1).arg(qsNumber2); while (iHCF != 0)
{
@@ -187,5 +186,5 @@ void Factors::slotCalculate()
}
qsHCF = qsHCF.number(iHCF);
- qsResult += qsHCF + ".";
+ QString qsResult = i18n("The <b>H</b>ighest <b>C</b>ommon <b>F</b>actor \
of %1 and %2 is %3.").arg(qsNumber1,qsNumber2,qsHCF); \
KTextBrowserResult->setText(qsResult); break;
@@ -201,5 +200,4 @@ void Factors::slotCalculate()
int iHCF = 1;
QString qsLCM;
- QString qsResult = i18n("The <b>L</b>owest <b>C</b>ommon <b>M</b>ultiple \
of %1 and %2 is ").arg(qsNumber1).arg(qsNumber2); while (iHCF != 0)
{
@@ -220,5 +218,5 @@ void Factors::slotCalculate()
iLCM /= iHCF;
qsLCM = qsLCM.number(iLCM);
- qsResult += qsLCM + ".";
+ QString qsResult = i18n("The <b>L</b>owest <b>C</b>ommon <b>M</b>ultiple \
of %1 and %2 is %3.").arg(qsNumber1,qsNumber2,qsLCM); \
KTextBrowserResult->setText(qsResult); break;
@@ -271,5 +269,5 @@ void Factors::slotShowFactorsFactorize()
TextLabelInformation->setText(i18n("Factorize a given number"));
- TextLabelFirstInfo->setText(i18n("One number:"));
+ TextLabelFirstInfo->setText(i18n("Number:"));
TextLabelSecondInfo->hide();
spinBox2->hide();
@@ -288,5 +286,5 @@ void Factors::slotShowFactorsFactors()
TextLabelInformation->setText(i18n("Find all factors of a given number"));
- TextLabelFirstInfo->setText(i18n("One number:"));
+ TextLabelFirstInfo->setText(i18n("Number:"));
TextLabelSecondInfo->hide();
spinBox2->hide();
@@ -341,5 +339,5 @@ void Factors::slotShowFactorsProvePrime(
TextLabelInformation->setText(i18n("Prove if given number is prime"));
- TextLabelFirstInfo->setText(i18n("One number:"));
+ TextLabelFirstInfo->setText(i18n("Number:"));
TextLabelSecondInfo->hide();
spinBox2->hide();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic