Bug 206374 - fedora-install-guide.pot is in DOS format
Summary: fedora-install-guide.pot is in DOS format
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora Documentation
Classification: Retired
Component: install-guide
Version: devel
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Paul W. Frields
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-09-13 22:16 UTC by Magnus Larsson
Modified: 2007-04-18 17:49 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-09-13 23:12:41 UTC
Embargoed:


Attachments (Terms of Use)
Converted and unconverted(DOS) pot file (87.26 KB, application/x-compressed-tar)
2006-09-14 14:19 UTC, Magnus Larsson
no flags Details

Description Magnus Larsson 2006-09-13 22:16:19 UTC
Description of problem:
translate/install-guide/fedora-install-guide.pot is in DOS format.
The problem is that when you do msgmerge you get Windows CRLF copied into the
PO-file as well, and then you get parse errors when you try to check it in...

Version-Release number of selected component (if applicable):
latest

How reproducible:
always

Steps to Reproduce:
1. Open the POT file in Emacs or vi and see the ^M chars...
2. 
3.
  
Actual results:
Contains a DOS CR+LF on every msgstr line.

Expected results:
Should not contain any DOS CR LF...


Additional info:

Comment 1 Paul W. Frields 2006-09-13 23:12:41 UTC
The POT file was sent out in standard UNIX format (LF only).  If there is a
problem with it, it must have happened before or during import.  I am cc'ing the
Translation Project chair so he can look at the problem, but it's definitely not
on this end.

Comment 2 Magnus Larsson 2006-09-14 04:08:40 UTC
It seems it is only that file. It's like someone opened it Windows Notepad and
then checked it in with CVS on a UNIX platform...
Usually CVS automatically translates the files correctly on the platform it is
running.

I can fix this problem in 1 min, but I'm not sure if I am allowed to fiddle
around with the POT files. So I wait...

Comment 3 A S Alam 2006-09-14 05:15:27 UTC
Magnus Larsson
can you please attached updated file in bugzilla after upating?

thanks

Comment 4 Magnus Larsson 2006-09-14 14:19:41 UTC
Created attachment 136263 [details]
Converted and unconverted(DOS) pot file

Comment 5 Magnus Larsson 2006-09-14 14:24:25 UTC
I added a tar file with 2 files so you can compare:
fedora-install-guide.pot.fromcvs
fedora-install-guide.pot

The first one is the one directly from CVS (v1.2).
The second one is the corrected one with no DOS newlines.

To get the translated file I simply did:
cvs checkout fedora-install-guide.pot
dos2unix fedora-install-guide.pot

diff fedora-install-guide.pot.fromcvs  fedora-install-guide.pot


Comment 6 A S Alam 2006-09-15 04:36:10 UTC
Thanks Magnus for your finding.
I find no reason to commit this to CVS, so commiting update file to CVS


Note You need to log in before you can comment on or make changes to this bug.