Patch: replaced plain text with i18n in settings

Change-type: patch
This commit is contained in:
builder555 2022-12-16 14:42:28 -05:00 committed by GitHub
parent 8d46ee4c22
commit 11cea7c926
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',