From ca3bac9324b9d24beda3c5f384688a65e0e85a2c Mon Sep 17 00:00:00 2001 From: Pelsin Date: Tue, 17 Sep 2024 03:23:17 +0200 Subject: [PATCH] Minor fixes (#1137) * Copy for pin viewer * Change turbo validation in ui to be the same as TURBO_SHOT_MIN in turbo addon --- www/src/Addons/Turbo.tsx | 2 +- www/src/Locales/en/PinMapping.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/www/src/Addons/Turbo.tsx b/www/src/Addons/Turbo.tsx index 56dd8d51e..1c596e981 100644 --- a/www/src/Addons/Turbo.tsx +++ b/www/src/Addons/Turbo.tsx @@ -58,7 +58,7 @@ export const turboScheme = { turboShotCount: yup .number() .label('Turbo Shot Count') - .validateRangeWhenValue('TurboInputEnabled', 5, 30), + .validateRangeWhenValue('TurboInputEnabled', 2, 30), shmupMode: yup .number() .label('Shmup Mode Enabled') diff --git a/www/src/Locales/en/PinMapping.jsx b/www/src/Locales/en/PinMapping.jsx index bd85b1f9b..2d27bdb69 100644 --- a/www/src/Locales/en/PinMapping.jsx +++ b/www/src/Locales/en/PinMapping.jsx @@ -1,6 +1,6 @@ export default { 'header-text': 'Pin Mapping', - 'sub-header-text': `If you're unsure what button is connect to what pin, try out the pin viewer.`, + 'sub-header-text': `Use Pin Viewer to see button to pin connection.`, 'alert-text': "Mapping buttons to pins that aren't connected or available can leave the device in non-functional state. To clear the invalid configuration go to the <2>Reset Settings page.", 'pin-viewer': 'Pin viewer',