Merge pull request #3948 from balena-io/fix-i18n-settings

Patch: replaced plain text with i18n in settings
This commit is contained in:
Balena CI 2022-12-19 04:50:25 -05:00 committed by GitHub
commit 72142be0de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -39,7 +39,7 @@ async function getSettingsList(): Promise<Setting[]> {
},
{
name: 'autoBlockmapping',
label: 'Trim ext{2,3,4} partitions before writing (raw images only)',
label: i18next.t('settings.trimExtPartitions'),
},
];
if (['appimage', 'nsis', 'dmg'].includes(packageType)) {

View File

@ -138,6 +138,7 @@ const translation = {
autoUpdate: 'Auto-updates enabled',
settings: 'Settings',
systemInformation: 'System Information',
trimExtPartitions: 'Trim ext{2,3,4} partitions before writing (raw images only)',
},
menu: {
edit: 'Edit',