diff --git a/js/modals/quick-test-modal.js b/js/modals/quick-test-modal.js index 13cdb59..477b817 100644 --- a/js/modals/quick-test-modal.js +++ b/js/modals/quick-test-modal.js @@ -307,6 +307,7 @@ export class QuickTestModal { case 'speaker': const speakerTestDesc = l('This test will play a tone through the controller\'s built-in speaker.'); const speakerInstructions = l('Listen for a tone from the controller speaker.'); + const repeat = l('Repeat'); return `
${speakerTestDesc}
${instructions}: ${speakerInstructions}
@@ -317,6 +318,9 @@ export class QuickTestModal { + `; case 'microphone': @@ -1614,10 +1618,17 @@ function testHeadphoneAudio() { } } +function replaySpeakerTest() { + if (currentQuickTestInstance) { + currentQuickTestInstance._startSpeakerTest(); + } +} + // Legacy compatibility - expose functions to window for HTML onclick handlers window.markTestResult = markTestResult; window.resetAllTests = resetAllTests; window.resetButtonsTest = resetButtonsTest; window.skipTest = skipTest; window.addTestBack = addTestBack; -window.testHeadphoneAudio = testHeadphoneAudio; \ No newline at end of file +window.testHeadphoneAudio = testHeadphoneAudio; +window.replaySpeakerTest = replaySpeakerTest; \ No newline at end of file diff --git a/lang/ar_ar.json b/lang/ar_ar.json index 2d1ba99..bbd8c70 100644 --- a/lang/ar_ar.json +++ b/lang/ar_ar.json @@ -263,6 +263,7 @@ "Quick Test": "", "Quick calibrate": "", "Range calibration appears to have failed. Please try again and make sure you rotate the sticks.": "", + "Repeat": "", "Restart": "", "Right Module Barcode": "", "Right stick": "", diff --git a/lang/bg_bg.json b/lang/bg_bg.json index e9a1a39..c44e3be 100644 --- a/lang/bg_bg.json +++ b/lang/bg_bg.json @@ -253,6 +253,7 @@ "Quick Test": "", "Quick calibrate": "", "Range calibration appears to have failed. Please try again and make sure you rotate the sticks.": "", + "Repeat": "", "Restart": "", "Right Module Barcode": "", "Right stick": "", diff --git a/lang/cz_cz.json b/lang/cz_cz.json index ba0ca8d..0004130 100644 --- a/lang/cz_cz.json +++ b/lang/cz_cz.json @@ -247,6 +247,7 @@ "Quick calibrate": "", "Range calibration appears to have failed. Please try again and make sure you rotate the sticks.": "", "Reboot controller": "", + "Repeat": "", "Restart": "", "Right Module Barcode": "", "Right stick": "", diff --git a/lang/da_dk.json b/lang/da_dk.json index d5a5d92..7401da0 100644 --- a/lang/da_dk.json +++ b/lang/da_dk.json @@ -283,6 +283,7 @@ "Quick Test": "", "Quick calibrate": "", "Range calibration appears to have failed. Please try again and make sure you rotate the sticks.": "", + "Repeat": "", "Restart": "", "Rotate the sticks slowly at least 2 times in one direction and 2 times in the other direction to cover the whole range.": "", "Run through these tests to verify your controller's functionality.": "", diff --git a/lang/de_de.json b/lang/de_de.json index 0b8984e..c02ad6e 100644 --- a/lang/de_de.json +++ b/lang/de_de.json @@ -259,6 +259,7 @@ "Quick Test": "", "Quick calibrate": "", "Range calibration appears to have failed. Please try again and make sure you rotate the sticks.": "", + "Repeat": "", "Restart": "", "Right Module Barcode": "", "Rotate the sticks slowly at least 2 times in one direction and 2 times in the other direction to cover the whole range.": "", diff --git a/lang/es_es.json b/lang/es_es.json index 352ebb9..32c16d0 100644 --- a/lang/es_es.json +++ b/lang/es_es.json @@ -247,6 +247,7 @@ "Quick calibrate": "", "Range calibration appears to have failed. Please try again and make sure you rotate the sticks.": "", "Reboot controller": "", + "Repeat": "", "Restart": "", "Right Module Barcode": "", "Right stick": "", diff --git a/lang/fa_fa.json b/lang/fa_fa.json index 804ce00..8f7538b 100644 --- a/lang/fa_fa.json +++ b/lang/fa_fa.json @@ -132,6 +132,7 @@ "Quick Test": "", "Quick calibrate": "", "Range calibration appears to have failed. Please try again and make sure you rotate the sticks.": "", + "Repeat": "", "Restart": "", "Rotate the sticks slowly at least 2 times in one direction and 2 times in the other direction to cover the whole range.": "", "Run through these tests to verify your controller's functionality.": "", diff --git a/lang/fr_fr.json b/lang/fr_fr.json index a6eef45..024392a 100644 --- a/lang/fr_fr.json +++ b/lang/fr_fr.json @@ -247,6 +247,7 @@ "Quick calibrate": "", "Range calibration appears to have failed. Please try again and make sure you rotate the sticks.": "", "Reboot controller": "", + "Repeat": "", "Restart": "", "Right Module Barcode": "", "Right stick": "", diff --git a/lang/hu_hu.json b/lang/hu_hu.json index 00a3e88..d944fe0 100644 --- a/lang/hu_hu.json +++ b/lang/hu_hu.json @@ -278,6 +278,7 @@ "Quick Test": "", "Quick calibrate": "", "Range calibration appears to have failed. Please try again and make sure you rotate the sticks.": "", + "Repeat": "", "Restart": "", "Rotate the sticks slowly at least 2 times in one direction and 2 times in the other direction to cover the whole range.": "", "Run through these tests to verify your controller's functionality.": "", diff --git a/lang/it_it.json b/lang/it_it.json index f145e5e..d48ed6a 100644 --- a/lang/it_it.json +++ b/lang/it_it.json @@ -281,6 +281,7 @@ "Quick Test": "", "Quick calibrate": "", "Range calibration appears to have failed. Please try again and make sure you rotate the sticks.": "", + "Repeat": "", "Restart": "", "Rotate the sticks slowly at least 2 times in one direction and 2 times in the other direction to cover the whole range.": "", "Run through these tests to verify your controller's functionality.": "", diff --git a/lang/jp_jp.json b/lang/jp_jp.json index 52c34f7..c15b5d8 100644 --- a/lang/jp_jp.json +++ b/lang/jp_jp.json @@ -248,6 +248,7 @@ "Quick calibrate": "", "Range calibration appears to have failed. Please try again and make sure you rotate the sticks.": "", "Reboot controller": "", + "Repeat": "", "Restart": "", "Right Module Barcode": "", "Rotate the sticks slowly at least 2 times in one direction and 2 times in the other direction to cover the whole range.": "", diff --git a/lang/ko_kr.json b/lang/ko_kr.json index a5edf5c..a16bf7c 100644 --- a/lang/ko_kr.json +++ b/lang/ko_kr.json @@ -280,6 +280,7 @@ "Quick Test": "", "Quick calibrate": "", "Range calibration appears to have failed. Please try again and make sure you rotate the sticks.": "", + "Repeat": "", "Restart": "", "Rotate the sticks slowly at least 2 times in one direction and 2 times in the other direction to cover the whole range.": "", "Run through these tests to verify your controller's functionality.": "", diff --git a/lang/nl_nl.json b/lang/nl_nl.json index 205ca7f..22d61ab 100644 --- a/lang/nl_nl.json +++ b/lang/nl_nl.json @@ -247,6 +247,7 @@ "Quick calibrate": "", "Range calibration appears to have failed. Please try again and make sure you rotate the sticks.": "", "Reboot controller": "", + "Repeat": "", "Restart": "", "Right Module Barcode": "", "Right stick": "", diff --git a/lang/pl_pl.json b/lang/pl_pl.json index ada302d..c059957 100644 --- a/lang/pl_pl.json +++ b/lang/pl_pl.json @@ -281,6 +281,7 @@ "Quick Test": "", "Quick calibrate": "", "Range calibration appears to have failed. Please try again and make sure you rotate the sticks.": "", + "Repeat": "", "Restart": "", "Rotate the sticks slowly at least 2 times in one direction and 2 times in the other direction to cover the whole range.": "", "Run through these tests to verify your controller's functionality.": "", diff --git a/lang/pt_br.json b/lang/pt_br.json index 44f4eb5..b883a23 100644 --- a/lang/pt_br.json +++ b/lang/pt_br.json @@ -253,6 +253,7 @@ "Quick Test": "", "Quick calibrate": "", "Range calibration appears to have failed. Please try again and make sure you rotate the sticks.": "", + "Repeat": "", "Restart": "", "Right Module Barcode": "", "Right stick": "", diff --git a/lang/pt_pt.json b/lang/pt_pt.json index 10f549d..af20e2f 100644 --- a/lang/pt_pt.json +++ b/lang/pt_pt.json @@ -274,6 +274,7 @@ "Quick Test": "", "Quick calibrate": "", "Range calibration appears to have failed. Please try again and make sure you rotate the sticks.": "", + "Repeat": "", "Restart": "", "Rotate the sticks slowly at least 2 times in one direction and 2 times in the other direction to cover the whole range.": "", "Run through these tests to verify your controller's functionality.": "", diff --git a/lang/rs_rs.json b/lang/rs_rs.json index 0d8c045..2a0526b 100644 --- a/lang/rs_rs.json +++ b/lang/rs_rs.json @@ -264,6 +264,7 @@ "Quick Test": "", "Quick calibrate": "", "Range calibration appears to have failed. Please try again and make sure you rotate the sticks.": "", + "Repeat": "", "Restart": "", "Right Module Barcode": "", "Rotate the sticks slowly at least 2 times in one direction and 2 times in the other direction to cover the whole range.": "", diff --git a/lang/ru_ru.json b/lang/ru_ru.json index 78c5dc6..1c13c34 100644 --- a/lang/ru_ru.json +++ b/lang/ru_ru.json @@ -274,6 +274,7 @@ "Quick Test": "", "Quick calibrate": "", "Range calibration appears to have failed. Please try again and make sure you rotate the sticks.": "", + "Repeat": "", "Restart": "", "Rotate the sticks slowly at least 2 times in one direction and 2 times in the other direction to cover the whole range.": "", "Run through these tests to verify your controller's functionality.": "", diff --git a/lang/tr_tr.json b/lang/tr_tr.json index a5fa1f4..27ccfaf 100644 --- a/lang/tr_tr.json +++ b/lang/tr_tr.json @@ -283,6 +283,7 @@ "Quick Test": "", "Quick calibrate": "", "Range calibration appears to have failed. Please try again and make sure you rotate the sticks.": "", + "Repeat": "", "Restart": "", "Rotate the sticks slowly at least 2 times in one direction and 2 times in the other direction to cover the whole range.": "", "Run through these tests to verify your controller's functionality.": "", diff --git a/lang/ua_ua.json b/lang/ua_ua.json index 0c2e934..f7d1e6d 100644 --- a/lang/ua_ua.json +++ b/lang/ua_ua.json @@ -283,6 +283,7 @@ "Quick Test": "", "Quick calibrate": "", "Range calibration appears to have failed. Please try again and make sure you rotate the sticks.": "", + "Repeat": "", "Restart": "", "Rotate the sticks slowly at least 2 times in one direction and 2 times in the other direction to cover the whole range.": "", "Run through these tests to verify your controller's functionality.": "", diff --git a/lang/zh_cn.json b/lang/zh_cn.json index ffe3616..77cd1de 100644 --- a/lang/zh_cn.json +++ b/lang/zh_cn.json @@ -280,6 +280,7 @@ "Quick Test": "", "Quick calibrate": "", "Range calibration appears to have failed. Please try again and make sure you rotate the sticks.": "", + "Repeat": "", "Restart": "", "Rotate the sticks slowly at least 2 times in one direction and 2 times in the other direction to cover the whole range.": "", "Run through these tests to verify your controller's functionality.": "", diff --git a/lang/zh_tw.json b/lang/zh_tw.json index d6f7fec..e52569a 100644 --- a/lang/zh_tw.json +++ b/lang/zh_tw.json @@ -280,6 +280,7 @@ "Quick Test": "", "Quick calibrate": "", "Range calibration appears to have failed. Please try again and make sure you rotate the sticks.": "", + "Repeat": "", "Restart": "", "Rotate the sticks slowly at least 2 times in one direction and 2 times in the other direction to cover the whole range.": "", "Run through these tests to verify your controller's functionality.": "",