Merge lp:~ricsipontaz/indicator-datetime/fixed-comment-for-translators into lp:indicator-datetime/15.10

Proposed by Richard Somlói on 2015-09-21
Status: Merged
Approved by: Charles Kerr on 2015-09-22
Approved revision: 423
Merged at revision: 428
Proposed branch: lp:~ricsipontaz/indicator-datetime/fixed-comment-for-translators
Merge into: lp:indicator-datetime/15.10
Diff against target: 25 lines (+4/-4)
1 file modified
src/utils.c (+4/-4)
To merge this branch: bzr merge lp:~ricsipontaz/indicator-datetime/fixed-comment-for-translators
Reviewer Review Type Date Requested Status
Charles Kerr (community) 2015-09-21 Approve on 2015-09-22
Review via email: mp+271807@code.launchpad.net

Commit Message

Fix translator comment for strftime arguments

Description of the Change

Two variables in the comment for translators are mixed.

The %d and the %b (strftime(3))

To post a comment you must log in.
Charles Kerr (charlesk) wrote :

Thanks for finding this!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/utils.c'
2--- src/utils.c 2014-09-08 14:15:19 +0000
3+++ src/utils.c 2015-09-21 13:14:29 +0000
4@@ -327,8 +327,8 @@
5 This format string is used for showing, on a 12-hour clock, events/appointments that happen over a week from now.
6 (Note: the space between the day and the time is an em space (unicode character 2003), which is
7 slightly wider than a normal space.)
8- en_US example: "%a %d %b %l:%M %p" --> "Fri Oct 31 1:00 PM"
9- en_GB example: "%a %b %d %l:%M %p" --> "Fri 31 Oct 1:00 PM" */
10+ en_US example: "%a %b %d %l:%M %p" --> "Fri Oct 31 1:00 PM"
11+ en_GB example: "%a %d %b %l:%M %p" --> "Fri 31 Oct 1:00 PM" */
12 g_string_assign (ret, T_("%a %d %b %l:%M %p"));
13 break;
14 }
15@@ -367,8 +367,8 @@
16 This format string is used for showing, on a 24-hour clock, events/appointments that happen over a week from now.
17 (Note: the space between the day and the time is an em space (unicode character 2003), which is
18 slightly wider than a normal space.)
19- en_US example: "%a %d %b %H:%M" --> "Fri Oct 31 13:00"
20- en_GB example: "%a %b %d %H:%M" --> "Fri 31 Oct 13:00" */
21+ en_US example: "%a %b %d %H:%M" --> "Fri Oct 31 13:00"
22+ en_GB example: "%a %d %b %H:%M" --> "Fri 31 Oct 13:00" */
23 g_string_assign (ret, T_("%a %d %b %H:%M"));
24 break;
25 }

Subscribers

People subscribed via source and target branches