@@ -324,26 +324,26 @@ onMounted(async () => {
324
324
if ([Platform .STEAM , Platform .STEAM_DIRECT ].includes (activeGame .value .activePlatform .storePlatform )) {
325
325
settingsList .push (
326
326
new SettingsRow (
327
- ' Locations ' ,
328
- ' Change Steam folder ' ,
329
- ` Change the location of the Steam folder that ${ appName .value } uses. ` ,
327
+ ' locations ' ,
328
+ t ( ' translations.pages.settings.locations.changeSteamFolder.title ' ) ,
329
+ t ( ' translations.pages.settings.locations.changeSteamFolder.description ' , { appName: appName .value }) ,
330
330
async () => {
331
331
if (settings .value .getContext ().global .steamDirectory !== null ) {
332
332
const directory = await GameDirectoryResolverProvider .instance .getSteamDirectory ();
333
333
if (! (directory instanceof R2Error )) {
334
334
return directory ;
335
335
}
336
336
}
337
- return ' Please set manually ' ;
337
+ return t ( ' translations.pages.settings.locations.changeSteamFolder.state.setManually ' ) ;
338
338
},
339
339
' fa-folder-open' ,
340
340
() => emitInvoke (' ChangeSteamDirectory' )
341
341
),
342
342
new SettingsRow (
343
- ' Debugging ' ,
344
- ` Reset ${ activeGame .value .displayName } installation ` ,
345
- ' Fix problems caused by corrupted files or files left over from manual modding attempts. ' ,
346
- async () => ` This will delete all contents of the ${ activeGame .value .steamFolderName } folder, and verify the files through Steam ` ,
343
+ ' debugging ' ,
344
+ t ( ' translations.pages.settings.debugging.resetGameInstallation.title ' , { gameName: activeGame .value .displayName }) ,
345
+ t ( ' translations.pages.settings.debugging.resetGameInstallation.description ' ) ,
346
+ async () => t ( ' translations.pages.settings.debugging.resetGameInstallation.value ' , { folderName: activeGame .value .steamFolderName }) ,
347
347
' fa-wrench' ,
348
348
() => emitInvoke (' ValidateSteamInstallation' )
349
349
)
@@ -353,13 +353,10 @@ onMounted(async () => {
353
353
if ([' linux' , ' darwin' ].includes (process .platform ) && activeGame .value .activePlatform .storePlatform === Platform .STEAM ) {
354
354
settingsList .push (
355
355
new SettingsRow (
356
- ' Debugging' ,
357
- ' Change launch behaviour' ,
358
- ' Select specific launch behaviour such as forcing Steam to launch with Proton' ,
359
- async () => {
360
- const launchType = await getLaunchType (activeGame .value );
361
- return ` The current launch behaviour is set to: ${launchType } ` ;
362
- },
356
+ ' debugging' ,
357
+ t (' translations.pages.settings.debugging.changeLaunchBehaviour.title' ),
358
+ t (' translations.pages.settings.debugging.changeLaunchBehaviour.description' ),
359
+ async () => t (' translations.pages.settings.debugging.changeLaunchBehaviour.value' , { launchType: await getLaunchType (activeGame .value ) }),
363
360
' fa-gamepad' ,
364
361
() => {
365
362
LaunchTypeModalOpen .value = true ;
0 commit comments