'type_phat' string added
This commit is contained in:
parent
bb58e1f3b8
commit
09080ee632
|
@ -28,6 +28,7 @@ Current known contributors are:
|
||||||
* es - @ResonantWave
|
* es - @ResonantWave
|
||||||
* fr - @RogueM
|
* fr - @RogueM
|
||||||
* it - @LizardM4
|
* it - @LizardM4
|
||||||
|
* pt - @Maslor
|
||||||
* tr - @Ardakilic
|
* 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
|
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
|
||||||
|
|
|
@ -52,6 +52,8 @@ def load_overlay(overlay):
|
||||||
pincount = int(loaded['pincount'])
|
pincount = int(loaded['pincount'])
|
||||||
if pincount == 40:
|
if pincount == 40:
|
||||||
details.append(strings['type_hat'])
|
details.append(strings['type_hat'])
|
||||||
|
elif pincount == 38:
|
||||||
|
details.append(strings['type_phat'])
|
||||||
elif pincount == 26:
|
elif pincount == 26:
|
||||||
details.append(strings['type_classic'])
|
details.append(strings['type_classic'])
|
||||||
else:
|
else:
|
||||||
|
|
|
@ -59,6 +59,8 @@ def load_overlay(overlay):
|
||||||
pincount = int(loaded['pincount'])
|
pincount = int(loaded['pincount'])
|
||||||
if pincount == 40:
|
if pincount == 40:
|
||||||
details.append('* HAT form-factor')
|
details.append('* HAT form-factor')
|
||||||
|
elif pincount == 38:
|
||||||
|
details.append('* pHAT form-factor')
|
||||||
elif pincount == 26:
|
elif pincount == 26:
|
||||||
details.append('* Classic 26-pin')
|
details.append('* Classic 26-pin')
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue