Re: [Django] #29074: makemessages duplicates .po file headers when fed with empty strings

2018-06-26 Thread Django
#29074: makemessages duplicates .po file headers when fed with empty strings
-+-
 Reporter:  instantname  |Owner:  Manthan
 |  Sharma
 Type:  Bug  |   Status:  closed
Component:  Core (Management |  Version:  1.11
  commands)  |
 Severity:  Normal   |   Resolution:  wontfix
 Keywords:  i18n | Triage Stage:  Accepted
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Claude Paroz):

 * status:  assigned => closed
 * resolution:   => wontfix


Comment:

 `gettext` does not like when one tries to translate the empty string, as
 it has a special meaning in the PO file format. See #23196 for another
 case where we had to workaround a similar issue.

 In this case, the header duplication is produced by `msgmerge` itself. I'm
 of the opinion that we should consider translating an empty string as an
 unsupported functionality of the underlying `gettext` library.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/069.0cf7300d434605ff86f3a8f286879336%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #29074: makemessages duplicates .po file headers when fed with empty strings

2018-03-17 Thread Django
#29074: makemessages duplicates .po file headers when fed with empty strings
-+-
 Reporter:  instantname  |Owner:  Manthan
 |  Sharma
 Type:  Bug  |   Status:  assigned
Component:  Core (Management |  Version:  1.11
  commands)  |
 Severity:  Normal   |   Resolution:
 Keywords:  i18n | Triage Stage:  Accepted
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Hasan Ramezani):

 It seems the problem goes from `msgmerge` in `def write_po_file`. I think
 merge process destroy the file structure.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/069.de29a983548c56c22e6c43e823841a6e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #29074: makemessages duplicates .po file headers when fed with empty strings (was: django-admin makemessages messes up .po file when fed with empty strings)

2018-02-03 Thread Django
#29074: makemessages duplicates .po file headers when fed with empty strings
-+-
 Reporter:  instantname  |Owner:  Manthan
 |  Sharma
 Type:  Bug  |   Status:  assigned
Component:  Core (Management |  Version:  1.11
  commands)  |
 Severity:  Normal   |   Resolution:
 Keywords:  i18n | Triage Stage:  Accepted
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Tim Graham):

 * stage:  Unreviewed => Accepted


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/069.8ceeb06b95c3805ae265da2f44b81623%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.