diff --git a/README.md b/README.md index 8896728..3466103 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,7 @@ Current known contributors are: * es - @ResonantWave * fr - @RogueM * it - @LizardM4 +* pt - @Maslor * tr - @Ardakilic If you would like to provide support for a language not yet in the repository you should start by duplicating the `src/en` directory to the diff --git a/generate-html.py b/generate-html.py index 983e907..05fe1ed 100755 --- a/generate-html.py +++ b/generate-html.py @@ -52,6 +52,8 @@ def load_overlay(overlay): pincount = int(loaded['pincount']) if pincount == 40: details.append(strings['type_hat']) + elif pincount == 38: + details.append(strings['type_phat']) elif pincount == 26: details.append(strings['type_classic']) else: diff --git a/generate-json.py b/generate-json.py index d91f41d..7784baf 100755 --- a/generate-json.py +++ b/generate-json.py @@ -59,6 +59,8 @@ def load_overlay(overlay): pincount = int(loaded['pincount']) if pincount == 40: details.append('* HAT form-factor') + elif pincount == 38: + details.append('* pHAT form-factor') elif pincount == 26: details.append('* Classic 26-pin') else: