mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-16 09:29:55 +00:00
Translation Enablement + some small changes
...ConfigDialog.cpp - -Increase overall size of window (for NON Mac only so far) - this eases the translation as in non EN languages ... Pages.CCP - Changed 2 fixed button sizes (to allow proper translation) - Correction: if Directoy Browsing was Aborted without selection - the previous value was deleted - Chooses the 2nd column to search for "New" text in case of 2 text colums (short and long) - All the rest Translation enablement ...DiarySidebar.cpp - enable translation of date formats (cherry picked from commit 3bbc68a277e743e610630795bb60dc515ced0355)
This commit is contained in:
@@ -393,9 +393,9 @@ DiarySidebar::setSummary()
|
||||
QString name;
|
||||
|
||||
if (summarySelect->currentIndex() == 0)
|
||||
name = tr("Day of ") + from.toString("dddd MMMM d");
|
||||
name = tr("Day of ") + from.toString(tr("dddd MMMM d"));
|
||||
else if (summarySelect->currentIndex() == 1)
|
||||
name = QString(tr("Week Commencing %1")).arg(from.toString("dddd MMMM d"));
|
||||
name = QString(tr("Week Commencing %1")).arg(from.toString(tr("dddd MMMM d")));
|
||||
else if (summarySelect->currentIndex() == 2)
|
||||
name = from.toString(tr("MMMM yyyy"));
|
||||
|
||||
@@ -779,7 +779,7 @@ GcMiniCalendar::setDate(int _month, int _year)
|
||||
|
||||
// don't refresh the model if we're already showing this month
|
||||
if (month != _month || year != _year) calendarModel->setMonth(_month, _year);
|
||||
monthName->setText(QDate(_year,_month,01).toString("MMMM yyyy"));
|
||||
monthName->setText(QDate(_year,_month,01).toString(tr("MMMM yyyy")));
|
||||
|
||||
// update state
|
||||
month = _month;
|
||||
|
||||
Reference in New Issue
Block a user