summaryrefslogtreecommitdiff
path: root/localazy.json
blob: 03191f490484355e3bb4c41f83cc81dbc6d69237 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
  "upload": {
    "type": "pot",
    "folder": "docs/_build/gettext",
    "files": {
      "pattern": "**.pot",
      "excludes": [
        "changelog/*.pot",
        "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"
      }
    }
}