[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [skrooge] skgbasegui: Typo quater->quarter
From: Stephane Mankowski <stephane () mankowski ! fr>
Date: 2015-07-31 20:12:37
Message-ID: E1ZLGfV-0005vM-0V () scm ! kde ! org
[Download RAW message or body]
Git commit 962b3adc46047fb7de2561d704764949be74d3b9 by Stephane Mankowski.
Committed on 31/07/2015 at 20:12.
Pushed by smankowski into branch 'master'.
Typo quater->quarter
M +7 -7 skgbasegui/skgsimpleperiodedit.cpp
http://commits.kde.org/skrooge/962b3adc46047fb7de2561d704764949be74d3b9
diff --git a/skgbasegui/skgsimpleperiodedit.cpp b/skgbasegui/skgsimpleperiodedit.cpp
index 7c3640c..2b85644 100644
--- a/skgbasegui/skgsimpleperiodedit.cpp
+++ b/skgbasegui/skgsimpleperiodedit.cpp
@@ -72,7 +72,7 @@ void SKGSimplePeriodEdit::refreshList()
c = c.addDays(1 - c.day());
QString smonth = SKGServices::dateToPeriod(today, "M");
- QString squater = SKGServices::dateToPeriod(today, "Q");
+ QString squarter = SKGServices::dateToPeriod(today, "Q");
QString ssemester = SKGServices::dateToPeriod(today, "S");
QString syear = SKGServices::dateToPeriod(today, "Y");
@@ -80,15 +80,15 @@ void SKGSimplePeriodEdit::refreshList()
list.clear();
do {
QString cmonth = SKGServices::dateToPeriod(c, "M");
- QString cquater = SKGServices::dateToPeriod(c, "Q");
+ QString cquarter = SKGServices::dateToPeriod(c, "Q");
QString csemester = SKGServices::dateToPeriod(c, "S");
QString cyear = SKGServices::dateToPeriod(c, "Y");
if (cmonth != smonth || (m_Mode == PREVIOUS_AND_CURRENT_MONTHS || m_Mode == \
PREVIOUS_AND_CURRENT_PERIODS)) { list.insert(0, cmonth);
}
- if ((c.month() % 3 == 0 && cquater != squater && m_Mode == PREVIOUS_MONTHS) \
|| (cmonth == smonth && m_Mode == PREVIOUS_AND_CURRENT_PERIODS)) {
- list.insert(0, cquater);
+ if ((c.month() % 3 == 0 && cquarter != squarter && m_Mode == \
PREVIOUS_MONTHS) || (cmonth == smonth && m_Mode == PREVIOUS_AND_CURRENT_PERIODS)) { + \
list.insert(0, cquarter); }
if ((c.month() % 6 == 0 && csemester != ssemester && m_Mode == \
PREVIOUS_MONTHS) || (cmonth == smonth && m_Mode == PREVIOUS_AND_CURRENT_PERIODS)) { \
list.insert(0, csemester); @@ -115,8 +115,8 @@ void \
SKGSimplePeriodEdit::refreshList() addItem(i18nc("The current month", "Current \
month"), smonth); }
- if (list.contains(squater)) {
- addItem(i18nc("The current quarter", "Current quarter"), squater);
+ if (list.contains(squarter)) {
+ addItem(i18nc("The current quarter", "Current quarter"), squarter);
}
if (list.contains(ssemester)) {
@@ -133,7 +133,7 @@ void SKGSimplePeriodEdit::refreshList()
addItem(i18nc("The month before the current month", "Last month"), period);
}
- period = SKGServices::getPerviousPeriod(squater);
+ period = SKGServices::getPerviousPeriod(squarter);
if (list.contains(period)) {
addItem(i18nc("The quarter before the current quarter", "Last quarter"), \
period); }
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic