Bus Pirate firmware auto build: main branch

Here’s a fresh compile from ‘main’: "en-us.h

  • Translation selection should be in language it represents

json2h.py

  • Prevent accidental translation of language selection text using regex (to avoid constant need to update this script).
  • Explicitly require Python 3.7 or higher
  • Warn about non-compliant identifiers
  • Tabs to spaces in generated .h files
  • Use functions to logically separate code portions
  • Provide progress output
  • output fixed-width key (also helps highlight overlong identifiers)

*.json

  • Remove unused key/value pairs. Generated .h files were unchanged, confirming non-use"

ci-buspirate-main-67afc30.zip

Build time: 114.05 seconds

Git pull log @67afc30:
Updating dd378d1…67afc30
Fast-forward
translation/base.h | 898 +++++++++++++++++++++++±------------------------
translation/bs-ba.h | 890 +++++++++++++++++++++++±-----------------------
translation/bs-ba.json | 14 -
translation/en-us.h | 14 ±
translation/en-us.json | 878 ++++++++++++++++++++++±-----------------------
translation/it-it.h | 890 +++++++++++++++++++++++±-----------------------
translation/it-it.json | 5 -
translation/json2h.py | 260 +++++++±-----
translation/pl-pl.h | 890 +++++++++++++++++++++++±-----------------------
translation/pl-pl.json | 14 -
translation/zh-cn.h | 890 +++++++++++++++++++++++±-----------------------
translation/zh-cn.json | 14 -
12 files changed, 2840 insertions(+), 2817 deletions(-)