3 Commits

Author SHA1 Message Date
Akihiro Motoki
2ce411f7f6 Translation job scripts support multiple python modules
At now, horizon repo has two python modules and we have
special handling in the translation job scripts.
This commit handles multiple python modules per repository
and locale directory will be prepared per python module.

After this we no longer need to have dedicated functions
for horizon.

Change-Id: Id32fbf37489c0056e5d7722fc3e7c71a95213e08
2016-02-22 15:00:17 +09:00
Akihiro Motoki
abcb500a8b get-modulename: Handle no packages entry in setup.cfg
get-modulename.py is used in the translation jobs.
It assumed all setup.cfg has [files] packages entry,
but setup.cfg in some repos do not.
Let's use a project name as a module name in this case.

Change-Id: I134160b9910020a9be46efe17057977a845c8bb9
2016-02-03 17:14:03 +09:00
Andreas Jaeger
8af2b26682 Add new django extraction
- Create a new extract_django function that can be used
  for all django repositories.
- Create a new setup_django function to setup translation server
  for django repositories.
- Create a new propose_django function to propose translations.
- Extra a module name from setup.cfg.

Use these functions for murano-dashboard.

Co-Authored-By: Akihiro Motoki <amotoki@gmail.com>
Change-Id: I75c61ca709e05740c8932218b132752828b90b91
Story: 2000452
2016-01-26 06:22:55 +09:00