Skip to content

Commit 99e7d76

Browse files
committed
chore(suite-common): add t3b1 to message-system
1 parent e65dab9 commit 99e7d76

File tree

3 files changed

+59
-1
lines changed

3 files changed

+59
-1
lines changed

suite-common/message-system/config/config.v1.json

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -814,6 +814,63 @@
814814
}
815815
}
816816
}
817+
},
818+
{
819+
"conditions": [
820+
{
821+
"environment": {
822+
"desktop": "<24.8.1",
823+
"mobile": "!",
824+
"web": "!"
825+
},
826+
"devices": [
827+
{
828+
"model": "T3B1",
829+
"firmware": "*",
830+
"bootloader": "*",
831+
"variant": "*",
832+
"firmwareRevision": "*",
833+
"vendor": "*"
834+
}
835+
]
836+
}
837+
],
838+
"message": {
839+
"id": "59b19ffe-c2f3-42bb-978a-e1d62275dfad",
840+
"priority": 99,
841+
"dismissible": false,
842+
"variant": "critical",
843+
"category": "banner",
844+
"content": {
845+
"en-GB": "Update required! This version of Trezor Suite isn’t compatible with your device. Update to continue.",
846+
"en": "Update required! This version of Trezor Suite isn’t compatible with your device. Update to continue.",
847+
"es": "Es necesaria una actualización. Esta versión de Trezor Suite no es compatible con tu dispositivo. Instala la actualización para continuar.",
848+
"cs": "Nutná aktualizace! Tato verze Trezor Suite není kompatibilní s vaším zařízením. Chcete-li pokračovat, proveďte aktualizaci.",
849+
"ru": "Требуется обновление! Данная версия Trezor Suite несовместима с вашим устройством. Обновите программу, чтобы продолжить.",
850+
"ja": "アップデートが必要です!このバージョンのTrezor Suiteは、お使いのデバイスと互換性がありません。続行するには、アップデートしてください。",
851+
"hu": "Frissítés szükséges! A Trezor Suite ezen verziója nem kompatibilis az Ön készülékével. A folytatáshoz frissítsen.",
852+
"it": "È necessario un aggiornamento! Questa versione di Trezor Suite non è compatibile con il vostro dispositivo. Aggiornare per continuare.",
853+
"fr": "Mise à jour requise ! Cette version de Trezor Suite n’est pas compatible avec votre dispositif. Procédez à la mise à jour pour continuer.",
854+
"de": "Update erforderlich! Diese Version von Trezor Suite ist nicht mit deinem Gerät kompatibel. Aktualisiere, um fortzufahren."
855+
},
856+
"cta": {
857+
"action": "internal-link",
858+
"link": "settings-index",
859+
"anchor": "@general-settings/version-with-update",
860+
"label": {
861+
"en-GB": "Update Suite",
862+
"en": "Update Suite",
863+
"es": "Actualizar Suite",
864+
"cs": "Aktualizovat Suite",
865+
"ru": "Обновить Suite",
866+
"ja": "Suiteのアップデート",
867+
"hu": "Frissítés Suite",
868+
"it": "Suite di aggiornamento",
869+
"fr": "Mettre à jour Suite",
870+
"de": "Suite aktualisieren"
871+
}
872+
}
873+
}
817874
}
818875
]
819876
}

suite-common/message-system/schema/config.schema.v1.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@
177177
"T2T1",
178178
"T2B1",
179179
"Safe 3",
180+
"T3B1",
180181
"T3T1",
181182
""
182183
]

suite-common/suite-types/src/messageSystem.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*/
99
export type DateTime = string;
1010
export type Version = string | string[];
11-
export type Model = '1' | 'T' | 'T1B1' | 'T2T1' | 'T2B1' | 'Safe 3' | 'T3T1' | '';
11+
export type Model = '1' | 'T' | 'T1B1' | 'T2T1' | 'T2B1' | 'Safe 3' | 'T3B1' | 'T3T1' | '';
1212
export type FirmwareRevision = string;
1313
export type FirmwareVariant = '*' | 'bitcoin-only' | 'regular';
1414
/**

0 commit comments

Comments
 (0)