diff --git a/src/components/ReadButton/index.jsx b/src/components/ReadButton/index.jsx index e468990f..5ca051c2 100644 --- a/src/components/ReadButton/index.jsx +++ b/src/components/ReadButton/index.jsx @@ -29,6 +29,8 @@ function ReadButton({ className, contentFn, size }) { voice = voices.find((v) => v.name.toLowerCase().includes('microsoft aria')) else if (config.preferredLanguage.includes('zh') || navigator.language.includes('zh')) voice = voices.find((v) => v.name.toLowerCase().includes('xiaoyi')) + else if (config.preferredLanguage.includes('ja') || navigator.language.includes('ja')) + voice = voices.find((v) => v.name.toLowerCase().includes('nanami')) if (!voice) voice = voices.find((v) => v.lang.substring(0, 2) === config.preferredLanguage) if (!voice) voice = voices.find((v) => v.lang === navigator.language) diff --git a/src/config/index.mjs b/src/config/index.mjs index 7d56e78e..d677d043 100644 --- a/src/config/index.mjs +++ b/src/config/index.mjs @@ -180,8 +180,8 @@ export const defaultConfig = { activeApiModes: [ // 'claude2Api', 'chatgptFree35', - 'chatgptFree35Mobile', - // 'chatgptPlus4', + //'chatgptFree35Mobile', + 'chatgptPlus4', // 'chatgptPlus4Mobile', 'chatgptApi35', 'chatgptApi35_16k',