ctrochalakis / tx-submissions (http://transifex.org/)

fork of transifex

GSoC '08: Introducing a new transifex submission system, an api and a command line client
Clone URL : http://bitbucket.org/ctrochalakis/tx-submissions/ (size: 1.4 MB)
commit 450: 982abebda8ef
parent 449: 35bf06228316
branch: default
Redirect to module info when a msgfmt error is raised
Diego Búrigo Zacarão
4 months ago

Changed (Δ47 bytes):

raw changeset »

transifex/module.py (1 lines added, 0 lines removed)

Up to file-list transifex/module.py:

@@ -421,6 +421,7 @@ class Module(controllers.Controller):
421
421
            flash(_("Warning: The PO file you submitted doesn't pass the"
422
422
            " checks for correctness. Please run `msgfmt -c` on it and"
423
423
            " correct the errors before submitting."))
424
            return self.info(name=module_name)
424
425
        except ChangelogNotFound:
425
426
            log.error("The module's changelog file doesn't exist.")
426
427
            flash(_("There is a technical error with this module's Changelog"