Skip to content

Conversation

@karliatto
Copy link
Member

Correcting 2 mistakes in the new releases JSONs:

  1. Not all the releases of a devices that support translations had translations
  2. Not all the releases of a devices that support translations had translations for all supported languages
  3. There was a typo in bitcoinonly releases JSONs where the device model was not capitalize as it should firmware/translations/t2b1/translation-T2B1-cs-CZ-2.8.10.bin

I added new check to script scripts/check-firmware-presence-in-releases-json-separated.sh that checks that all the releases JSON contain translations binary that exist in the repository.

Copy link
Contributor

@obrusvit obrusvit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you and sorry for not catching it earlier. I will also create an issue in trezor-suite-firmware-releases repo because the generator is not ready for handling missing translations.

"it-IT": "firmware/translations/t2b1/translation-t2b1-it-IT-2.6.3.bin",
"pt-BR": "firmware/translations/t2b1/translation-t2b1-pt-BR-2.6.3.bin"
},
"translations": {},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So if this field is empty, we will try to find translations with lower version?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think if this field is empty then that version cannot get translated, the user will have to update to latest and then translate it. right?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No.

What it means is that for the version we didn't sign translations because they didn't change. That means that the translations from previous version are valid.

@vdovhanych vdovhanych merged commit 8f2cfa2 into master Aug 5, 2025
4 checks passed
@vdovhanych vdovhanych deleted the fix/some-relesases-did-not-have-translations-of-all-languages branch August 5, 2025 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants