Skip to content

Commit cb1fd31

Browse files
authored
disable language dropdown until i18n fully integrated (RooCodeInc#1489)
1 parent 56a7b53 commit cb1fd31

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

webview-ui/src/components/settings/SettingsView.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { useExtensionState } from "../../context/ExtensionStateContext"
55
import { validateApiConfiguration, validateModelId } from "../../utils/validate"
66
import { vscode } from "../../utils/vscode"
77
import ApiOptions from "./ApiOptions"
8-
import LanguageOptions from "./LanguageOptions"
8+
//import LanguageOptions from "./LanguageOptions"
99
import SettingsButton from "../common/SettingsButton"
1010

1111
const IS_DEV = false // FIXME: use flags when packaging
@@ -117,9 +117,9 @@ const SettingsView = ({ onDone }: SettingsViewProps) => {
117117
{t("customInstructionsDescription")}
118118
</p>
119119
</div>
120-
<div style={{ marginBottom: 5 }}>
120+
{/*<div style={{ marginBottom: 5 }}>
121121
<LanguageOptions />
122-
</div>
122+
</div>*/}
123123

124124
{IS_DEV && (
125125
<>

webview-ui/src/i18n.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ import i18n from "i18next"
22
import { initReactI18next } from "react-i18next"
33

44
import translationEN from "./locales/en/translation.json"
5-
import translationDE from "./locales/de/translation.json"
6-
import translationZHCN from "./locales/zh-cn/translation.json"
7-
import translationZHTW from "./locales/zh-tw/translation.json"
8-
import translationJA from "./locales/ja/translation.json"
5+
//import translationDE from "./locales/de/translation.json"
6+
//import translationZHCN from "./locales/zh-cn/translation.json"
7+
//import translationZHTW from "./locales/zh-tw/translation.json"
8+
//import translationJA from "./locales/ja/translation.json"
99

1010
i18n.use(initReactI18next) // passes i18n down to react-i18next
1111
.init({
@@ -18,10 +18,10 @@ i18n.use(initReactI18next) // passes i18n down to react-i18next
1818
},
1919
})
2020

21-
i18n.addResourceBundle("de", "translation", translationDE)
2221
i18n.addResourceBundle("en", "translation", translationEN)
23-
i18n.addResourceBundle("zh-CN", "translation", translationZHCN)
24-
i18n.addResourceBundle("zh-TW", "translation", translationZHTW)
25-
i18n.addResourceBundle("ja", "translation", translationJA)
22+
//i18n.addResourceBundle("de", "translation", translationDE)
23+
//i18n.addResourceBundle("zh-CN", "translation", translationZHCN)
24+
//i18n.addResourceBundle("zh-TW", "translation", translationZHTW)
25+
//i18n.addResourceBundle("ja", "translation", translationJA)
2626

2727
export default i18n

0 commit comments

Comments
 (0)