Modify ↓
Ticket #8081 (closed enhancement: fixed)
Opened 3 years ago
Last modified 22 months ago
i18n patches
| Reported by: | kabuchan@… | Owned by: | rblank |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.12 |
| Component: | i18n | Version: | none |
| Severity: | normal | Keywords: | |
| Cc: | |||
| Release Notes: | |||
| API Changes: | |||
Description
Hi,There are i18n patches.
Attachments
Change History
Changed 3 years ago by anonymous
- Attachment i18n_pretty_timedelta.patch added
Changed 3 years ago by anonymous
- Attachment i18n_tickethistory.patch added
Changed 3 years ago by anonymous
- Attachment i18n_timeline.patch added
comment:1 Changed 3 years ago by cboos
- Component changed from general to i18n
comment:2 Changed 2 years ago by cboos
- Owner set to cboos
comment:3 Changed 2 years ago by cboos
Multiple little i18n issues noted while working on r9174:
- fragmented sentences in need of a i18n:msg directive:
- source:trunk/trac/templates/error.html#L138 fragmented sentence
- source:trunk/trac/ticket/default_workflow.py#L246
- source:trunk/trac/templates/diff_view.html#L26 lonely "of" (quite an old one)
- source:trunk/trac/versioncontrol/templates/changeset.html#L46 and several others, isolated "in"
- source:trunk/trac/versioncontrol/templates/admin_repositories.html#L45 fragmented sentences
- trac/versioncontrol/admin.py#L78 and many others (see messages.pot), where (default) is marked as translatable: is that really the case?
- source:trunk/trac/versioncontrol/templates/revisionlog.txt#L2 use % instead of $
- too many slight variations on "No repository '%(repo)s' found", "Repository %(repos)s not found", "Unknown repository '%(reponame)s'", "No repository found for '%(reponame)s'"
And others in Changeset:
- "Files: 11 deplacé"
- "cs (moved de trunk/.../cs_CZ)"
comment:4 Changed 22 months ago by rblank
comment:5 Changed 22 months ago by rblank
- Resolution set to fixed
- Status changed from new to closed
comment:6 follow-up: ↓ 8 Changed 22 months ago by cboos
Great job Remy! Thanks for sharing the i18n burden with me ;-)
comment:7 Changed 22 months ago by cboos
- Owner changed from cboos to rblank
comment:8 in reply to: ↑ 6 Changed 22 months ago by rblank
Replying to cboos:
Thanks for sharing the i18n burden with me ;-)
It's not that much of a burden, actually. Rather a small change in mindset. Having now seen what is problematic in code and templates should help doing it correctly right away in the future.
Note: See
TracTickets for help on using
tickets.



Thanks for the patches. They all point out to places where gettext calls are missing, but they "fix" it in a non-optimal way. I myself have a few pending patches fixing this areas, I'll keep you informed about the progress.