'type_phat' string added

This commit is contained in:
RogueM 2015-12-03 17:31:15 +00:00
parent bb58e1f3b8
commit 09080ee632
3 changed files with 5 additions and 0 deletions

View File

@ -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

View File

@ -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:

View File

@ -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: