From 67759b7aa3e4be1b90d8244b2337288120a42a4e Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Thu, 23 Jan 2020 20:49:41 -0500 Subject: Add convertHiraganaToKatakana option --- ext/bg/js/settings/main.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ext/bg/js/settings') diff --git a/ext/bg/js/settings/main.js b/ext/bg/js/settings/main.js index 900a0a09..6dccc7e0 100644 --- a/ext/bg/js/settings/main.js +++ b/ext/bg/js/settings/main.js @@ -75,6 +75,7 @@ async function formRead(options) { options.translation.convertHalfWidthCharacters = $('#translation-convert-half-width-characters').val(); options.translation.convertNumericCharacters = $('#translation-convert-numeric-characters').val(); options.translation.convertAlphabeticCharacters = $('#translation-convert-alphabetic-characters').val(); + options.translation.convertHiraganaToKatakana = $('#translation-convert-hiragana-to-katakana').val(); options.translation.convertKatakanaToHiragana = $('#translation-convert-katakana-to-hiragana').val(); options.parsing.enableScanningParser = $('#parsing-scan-enable').prop('checked'); @@ -148,6 +149,7 @@ async function formWrite(options) { $('#translation-convert-half-width-characters').val(options.translation.convertHalfWidthCharacters); $('#translation-convert-numeric-characters').val(options.translation.convertNumericCharacters); $('#translation-convert-alphabetic-characters').val(options.translation.convertAlphabeticCharacters); + $('#translation-convert-hiragana-to-katakana').val(options.translation.convertHiraganaToKatakana); $('#translation-convert-katakana-to-hiragana').val(options.translation.convertKatakanaToHiragana); $('#parsing-scan-enable').prop('checked', options.parsing.enableScanningParser); -- cgit v1.2.3