Closed Bug 409805 Opened 17 years ago Closed 17 years ago

ChatZilla langpack file install.rdf is not generated properly

Categories

(Mozilla Localizations :: sk / Slovak, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wladow, Assigned: rozbora)

Details

Install.rdf file in ChatZilla langpacks included in localized SeaMonkey versions is not created properly - it contains several newlines at the beginning of the file. When starting SeaMonkey for the first time, this error message fires:  

"SeaMonkey could not install this item because "install.rdf" (provided by the item) is not well-formed or does not exist. Please contact the author about this problem."

After clicking OK SeaMonkey loads, but without ChatZilla installed.

When I delete those newlines in langpack file and start SeaMonkey with new profile, it loads correctly with both ChatZilla and langpack installed.

Tested with Mozilla/5.0 (Windows; U; Windows NT 6.0; sk; rv:1.9b3pre) Gecko/2007122502 SeaMonkey/2.0a1pre

This probably affects install.js file too, it contains several newlines at the beginning too.
The newlines won't matter to install.js, but install.rdf definately needs fixing.
Somehow, the Python preprocessor seems to ignore the
|#filter emptyLines| statement (I thought I filed that bug but can't find it
atm) and you need to remove all empty lines from
http://mxr.mozilla.org/l10n/source/sk/extensions/irc/defines.inc as those are
exactly the empty lines you see imported in the install.rdf - this is a
language-specific problem until the python preprocessor is fixed.
Assignee: rginda → rozbora
Component: ChatZilla → Slovak/sk-SK
Product: Other Applications → Mozilla Localizations
QA Contact: chatzilla → rado
Version: Trunk → unspecified
Preprocessor problem is now filed as bug 409956
Workaround for sk locale checked in.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
No longer blocks: 397246
OS: Windows Vista → All
Hardware: PC → All
You need to log in before you can comment on or make changes to this bug.