Opened 8 years ago

Closed 8 years ago

Last modified 5 years ago

#10691 closed (fixed)

Comments feed not translated

Reported by: Jarek Zgoda Owned by: nobody
Component: contrib.comments Version: master
Severity: Keywords: i18n translation feeds
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: yes
Easy pickings: UI/UX:

Description

django.contrib.comments.feeds.LatestComment has untranslated user-visible strings. Attached patch adds translations for these strings.

Attachments (2)

comments.feed.translation.diff (1.1 KB) - added by Jarek Zgoda 8 years ago.
translated strings
comments.feed.trans-revised.diff (1.2 KB) - added by Jarek Zgoda 8 years ago.
revised patch with named placeholders

Download all attachments as: .zip

Change History (10)

Changed 8 years ago by Jarek Zgoda

translated strings

comment:1 Changed 8 years ago by thatch

milestone: 1.1
Triage Stage: UnreviewedAccepted

comment:2 Changed 8 years ago by Marc Garcia

Patch needs improvement: set

I think that following django's standards is better doing something like:

_("%(site_name)s comments") % dict(site_name=self._site.name)

than

_("%s comments") % self._site.name

Specially that it helps translators understanding better the meaning of the sentence.

Changed 8 years ago by Jarek Zgoda

revised patch with named placeholders

comment:3 Changed 8 years ago by Jarek Zgoda

Right, I just uploaded revised patch that uses named placeholders.

comment:4 Changed 8 years ago by Ramiro Morales

See also #10633

comment:5 Changed 8 years ago by Ramiro Morales

See also #10691

comment:6 Changed 8 years ago by Jacob

Resolution: fixed
Status: newclosed

(In [10427]) Fixed #10633, #10691: marked strings in the comments app for translation. Thanks, zgoda.

comment:7 Changed 8 years ago by Jacob

(In [10430]) [1.0.X] Fixed #10633, #10691: marked strings in the comments app for translation. Thanks, zgoda. Backport of r10427 from trunk.

comment:5 Changed 5 years ago by Jacob

milestone: 1.1

Milestone 1.1 deleted

Note: See TracTickets for help on using tickets.
Back to Top