Merge lp:~ricsipontaz/ubuntu-calendar-app/fix-for-bug-1428501 into lp:ubuntu-calendar-app
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | David Planella on 2015-04-17 | ||||
| Approved revision: | 602 | ||||
| Merged at revision: | 629 | ||||
| Proposed branch: | lp:~ricsipontaz/ubuntu-calendar-app/fix-for-bug-1428501 | ||||
| Merge into: | lp:ubuntu-calendar-app | ||||
| Diff against target: |
115 lines (+18/-15) 2 files modified
TimeLineHeader.qml (+2/-1) po/com.ubuntu.calendar.pot (+16/-14) |
||||
| To merge this branch: | bzr merge lp:~ricsipontaz/ubuntu-calendar-app/fix-for-bug-1428501 | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Ubuntu Phone Apps Jenkins Bot | continuous-integration | Approve on 2015-04-17 | |
| David Planella | 2015-03-05 | Approve on 2015-04-17 | |
| Kunal Parmar | code review | 2015-03-05 | Approve on 2015-03-05 |
|
Review via email:
|
|||
Commit Message
Localization of Week Number string
Description of the Change
In the week view the text which shows the actual week should be more translation friendly
For example:
In english: W9
Actual hungarian translation: h9 (which is not reflect what is it)
Better solution: 9. h or 9. h茅t
FAILED: Autolanding.
No commit message was specified in the merge proposal. Hit 'Add commit message' on the merge proposal web page or follow the link below. You can approve the merge proposal yourself to rerun.
https:/
| David Planella (dpm) wrote : | # |
Thanks for the fix! Looks good to me, I'd just suggest to add a translator comment here. (See inline comment)
| Richard Soml贸i (ricsipontaz) wrote : | # |
And how can I add a translator comment?
| Nekhelesh Ramananthan (nik90) wrote : | # |
@Richard, just before the i18n.tr() line, you add a comment,
// TRANSLATORS: Some random translator comment
When you build and run the app, the pot file should be updated to include the TRANSLATORS comment.
| Nekhelesh Ramananthan (nik90) wrote : | # |
So what david wanted was something like,
// TRANSLATORS: W refers to Week, followed by the actual week number (%1)
text: i18n.tr(
- 601. By Richard Soml贸i on 2015-04-16
-
Localization of Week Number string + Template update
| Richard Soml贸i (ricsipontaz) wrote : | # |
Thanks. I did it. Is there anything I need to do yet?
| David Planella (dpm) wrote : | # |
Thanks Richard, that's all that needs to be done. I.e. applying the fix, committing and pushing it. Then when everything is fine, a core app dev will approve the merge proposal, automated tests will be run against it and when they pass it will be merged to trunk.
That said, there is something that still needs to be fixed: the translator comment line uses tabs where the rest of the file uses spaces. Could you replace the tabs with spaces to be consistent with the rest of the code?
Thanks!
- 602. By Richard Soml贸i on 2015-04-17
-
Localization of Week Number string, updated the po template
| Richard Soml贸i (ricsipontaz) wrote : | # |
I have fixed it, hope everything is good now. :)


Code wise patch seems good