Skip to content

armgit / nota

Public Imported from GitHub
0

Nota — a free DAW for macOS, Windows and Linux. No subscription, no account — just open it and make music.

1.9 KB
Raw Blame

Contract: index.json (nota-translations)

Generated by publish.yml on the published branch after every push to main (main stays under pull requests with no bypass; published holds generated files only); never edited by hand. The app reads <base>/published/index.json, <base> = https://raw.githubusercontent.com/nota-daw/nota-translations (overridable with NOTA_LANGUAGES_URL).

{
  "formatVersion": 1,
  "generated": "2026-11-20T10:00:00Z",
  "references": {
    "0.43.0": "3f9a1c0d7e2b4a51",
    "0.44.0": "3f9a1c0d7e2b4a51",
    "develop": "b81e09f2c4d3a677"
  },
  "languages": [
    {
      "code": "fr",
      "name": "Français",
      "version": 12,
      "commit": "a1b2c3d…(40 hex)",
      "path": "languages/fr.json",
      "size": 214533,
      "sha256": "…64 hex…",
      "coverage": { "3f9a1c0d7e2b4a51": 100, "b81e09f2c4d3a677": 97 }
    }
  ]
}
Field Meaning
formatVersion Index shape. The app ignores an index with a higher major and says "update Nota to see more languages".
references Nota version → key-set hash of its en.json. Versions with the same keys share a hash.
languages[].version Integer, +1 each time the file's content changes on main. Shown as "update available" when greater than the installed one.
commit The commit whose path has exactly size / sha256; the app downloads <base>/<commit>/<path>.
coverage Per key-set hash, percent (see language-file contract). Only languages that pass validation are listed.

App behaviour

  • Own hash in coverage → show that coverage.
  • Own hash absent → use the newest references entry with a version ≤ the app's and show its coverage; none → show the language without coverage.
  • Fetch failure, malformed index → installed languages only, "More languages are available online" (or the error) in the row; no dialog.