Modify

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#7220 closed defect (invalid)

locale not found error because of (wrong: typo in setup.py) missing compilation before egg build

Reported by: anonymous Owned by: Steffen Hoffmann
Priority: high Component: WikiTicketCalendarMacro
Severity: major Keywords: locale compile_catalog
Cc: Ryan J Ollos Trac Release: 0.12

Description

in setup.py

I had to change: 'locale/*/LC_MESSAGS/*.mo'

in: 'locale/*/LC_MESSAGS/*.po'

else I got an error complaining about missing wikiticketcalendar/locale

the ticket system was complaining about keyword "MESSAG3", so i could not post this BUG. is that another bug?

Attachments (0)

Change History (5)

comment:1 Changed 14 years ago by Ryan J Ollos

Owner: changed from Ryan J Ollos to Steffen Hoffmann

Reassigning to hasienda, who has been doing the development.

comment:2 Changed 14 years ago by Steffen Hoffmann

Cc: Ryan J Ollos added; anonymous removed
Keywords: compile_catalog added; wikiticketcalendar/locale removed
Resolution: invalid
Severity: normalmajor
Status: newclosed
Summary: locale not found error because of typo in setup.pylocale not found error because of (wrong: typo in setup.py) missing compilation before egg build

This is not a bug, this is the feature.

Did you try with you modification? Certainly not. Think twice, please: PO files are verbatim translations for development, but MO are what gettext will use in the end. If you get an error complaining about missing locale dir, this is only for the fact, that you missed to actually compile any catalog with

python ./setup.py compile_catalog

before you make the egg. With a PO in your egg you'd never see any translated text. So the error is correct, your complaint and proposed solution is invalid.

However I'll happily accept a documentation bug against the wiki page, because I did give no pointer for novice in the field of i18n/l10n.

Sorry for the inconvenience, documentation will be improved instantly.

comment:3 Changed 14 years ago by Steffen Hoffmann

Done, see current wiki page for WikiTicketCalendarMacro.

comment:4 Changed 14 years ago by CuriousCurmudgeon

(In [9370]) refs #7220

  • For consistency I handled this in the same way queries do. The dropdown will still show $USER, but it will be replaced with the current user when actually modifying the ticket.

comment:5 Changed 14 years ago by CuriousCurmudgeon

Please ignore the above. I put the wrong ticket number in my commit message. Should have been #7720. :(

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Steffen Hoffmann.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.