Ticket #2942 (closed defect: fixed)
Only read .xml files from phrases directory
| Reported by: | tmb | Owned by: | |
|---|---|---|---|
| Priority: | Intend to | Milestone: | EPrints 3.0.1 |
| Component: | - | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
*** EPrints technical list - http://software.eprints.org/tech.php/ *** EPrints community wiki - http://wiki.eprints.org/
Tim,
Thanks. That did the trick. Suggest that EP3 source is changes to read only .xml files on directory (and elsewhere where same behaviour is observed, if any).
Regards, Maló
From: owner-eprints-tech@… owner-eprints-tech@… On Behalf Of Timothy Miles-Board Sent: quarta-feira, 7 de Março de 2007 13:10 To: EPrints.org Technical List Subject: Re: [EP-tech] Problems on Changing a user-field
*** EPrints technical list - http://software.eprints.org/tech.php/ *** EPrints community wiki - http://wiki.eprints.org/
EPrints reads every file in the lang/en/phrases dir.
Looks like it is reading your phrase first ("Scope") then reading the backup phrase ("Event Scope") which overrides the first.
Try moving the backup file to another dir and reloading the config.
Tim
Pedro Maló wrote:
Dear Tim, Performed 'grep -iR "Event Scope" *' under eprints directory. archives/OA/cfg/lang/en/phrases/eprint_fields.xml~: <epp:phrase id="eprint_fieldname_scope">Event Scope</epp:phrase> Observation: this is the backup file generated by joe!
