diff options
Diffstat (limited to 'localazy.json')
-rw-r--r-- | localazy.json | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/localazy.json b/localazy.json new file mode 100644 index 00000000..eb6b430a --- /dev/null +++ b/localazy.json @@ -0,0 +1,32 @@ +{ + "upload": { + "type": "pot", + "folder": "docs/_build/gettext", + "files": { + "pattern": "**.pot", + "excludes": [ + "changelog/*.pot", + "coverage.pot" + ], + "path": "${path}" + } + }, + + "transformations": [ + { + "name": "trans_path", + "source": "${path}", + "operations": "remove: docs/_build/gettext" + } + ], + + "download": { + "files": "docs/_locale/${lang}/${trans_path}/${fileWithoutExt}.pot" + }, + "conversion": { + "actions": { + "type": "mo", + "output": "docs/_locale/${lang}/LC_MESSAGES/${trans_path}/${fileWithoutExt}.mo" + } + } +}
\ No newline at end of file |