Merge lp:~lukas-kde/ubuntu-settings-components/fixCalendarCaption into lp:~registry/ubuntu-settings-components/trunk

Proposed by Lukáš Tinkl
Status: Merged
Approved by: Andrea Cimitan
Approved revision: 94
Merged at revision: 98
Proposed branch: lp:~lukas-kde/ubuntu-settings-components/fixCalendarCaption
Merge into: lp:~registry/ubuntu-settings-components/trunk
Diff against target: 14 lines (+3/-1)
1 file modified
plugins/Ubuntu/Settings/Menus/CalendarMenu.qml (+3/-1)
To merge this branch: bzr merge lp:~lukas-kde/ubuntu-settings-components/fixCalendarCaption
Reviewer Review Type Date Requested Status
Andrea Cimitan (community) Approve
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+266098@code.launchpad.net

Commit message

Use the standalone month name for the calendar caption

Description of the change

Use the standalone month name for the calendar caption

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Andrea Cimitan (cimi) wrote :

 * Did you perform an exploratory manual test run of the code change and any related functionality?
y
 * Did CI run pass? If not, please explain why.
y

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'plugins/Ubuntu/Settings/Menus/CalendarMenu.qml'
2--- plugins/Ubuntu/Settings/Menus/CalendarMenu.qml 2014-09-11 13:30:09 +0000
3+++ plugins/Ubuntu/Settings/Menus/CalendarMenu.qml 2015-07-28 14:13:03 +0000
4@@ -54,7 +54,9 @@
5 right: parent.right
6 }
7 fontSize: "large"
8- text: Qt.formatDate(calendar.currentDate, "MMMM") + " " + calendar.currentDate.getFullYear()
9+ text: i18n.ctr("%1=month name, %2=4-digit year", "%1 %2")
10+ .arg(Qt.locale().standaloneMonthName(calendar.currentDate.getMonth(), Locale.LongFormat))
11+ .arg(calendar.currentDate.getFullYear())
12 }
13
14 Calendar {

Subscribers

People subscribed via source and target branches

to all changes: