Modify ↓
#8081 closed enhancement (fixed)
i18n patches
Reported by: | Owned by: | Remy Blank | |
---|---|---|---|
Priority: | normal | Milestone: | 0.12 |
Component: | i18n | Version: | none |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Hi,There are i18n patches.
Attachments (3)
Change History (11)
by , 16 years ago
Attachment: | i18n_pretty_timedelta.patch added |
---|
by , 16 years ago
Attachment: | i18n_tickethistory.patch added |
---|
by , 16 years ago
Attachment: | i18n_timeline.patch added |
---|
comment:1 by , 16 years ago
Component: | general → i18n |
---|
comment:2 by , 15 years ago
Owner: | set to |
---|
comment:3 by , 15 years ago
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 by , 15 years ago
comment:5 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
follow-up: 8 comment:6 by , 15 years ago
Great job Remy! Thanks for sharing the i18n burden with me ;-)
comment:7 by , 15 years ago
Owner: | changed from | to
---|
comment:8 by , 15 years ago
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.