bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gettext] [bug #52395] msguniq 0.19.8.1 for Windows sometimes proces


From: Hendy Irawan
Subject: [bug-gettext] [bug #52395] msguniq 0.19.8.1 for Windows sometimes processes .pot file with CRLF EOL incorrectly
Date: Sat, 11 Nov 2017 12:36:44 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.89 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?52395>

                 Summary: msguniq 0.19.8.1 for Windows sometimes processes
.pot file with CRLF EOL incorrectly
                 Project: GNU gettext
            Submitted by: ceefour
            Submitted on: Sat 11 Nov 2017 05:36:43 PM UTC
                Category: Build
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

eolbug.pot file : (save it as CRLF EOL)

#: .\edu\templates\edu\home.html:69
#: .\edu\templates\edu\music_country.html:34
#, python-format
msgid "Hi"
msgstr ""

then run:

msguniq --to-code=utf-8 eolbug.pot

Expected:

#: .\edu\templates\edu\home.html:69
#: .\edu\templates\edu\music_country.html:34
#, python-format
msgid "Hi"
msgstr ""

Actual:

warning: Could not open file /usr/share/gettext/styles/po-default.css

 .\edu\templates\edu\music_country.html:34
#, python-format
msgid "Hi"
msgstr ""

(the warning is ok, but resulting output has incorrect syntax and lost
information)

But if the file is using LF EOL, file is processed fine.

Original bug report: https://code.djangoproject.com/ticket/28773




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?52395>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]