Code

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#15047 closed (invalid)

missing the "%(sel)s of %(cnt)s selected" str on translate

Reported by: zodman Owned by: nobody
Component: Internationalization Version: 1.2
Severity: Keywords: translate, gettext, plural
Cc: jezdez Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

when i run

xgettext -d djangojs -L Perl --keyword=gettext_noop --keyword=gettext_lazy --keyword=ngettext_lazy:1,2 --from-code UTF-8 -o - <virtual_env>/lib/python2.6/site-packages/django/contrib/admin/media/js/actions.js

and
xgettext -d djangojs -L Perl --keyword=gettext_noop --keyword=gettext_lazy --keyword=ngettext_lazy:1,2 --from-code UTF-8 -o - <virtual_env>/lib/python2.6/site-packages/django/contrib/admin/media/js/actions.min.js

It did not have same output the "%(sel)s of %(cnt)s selected" string plural missing. on the file actions.min.js so this consecuence on the admin not apply the translate for that string. Attach image.

i take the command from django/core/management/commands/makemessages.py

andres-vargas $ python manage.py --version
1.2.3

Attachments (1)

notranslate.png (57.8 KB) - added by zodman 3 years ago.
no translating apply

Download all attachments as: .zip

Change History (3)

Changed 3 years ago by zodman

no translating apply

comment:1 Changed 3 years ago by zodman

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

chatting with cramm ( es-AR translator) show the point the str not missing ... sorry for the ticket.

comment:2 Changed 3 years ago by jacob

  • milestone 1.3 deleted

Milestone 1.3 deleted

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.