mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
disable language dropdown until i18n fully integrated (#1489)
This commit is contained in:
parent
56a7b53ed9
commit
cb1fd31e36
2 changed files with 11 additions and 11 deletions
|
|
@ -5,7 +5,7 @@ import { useExtensionState } from "../../context/ExtensionStateContext"
|
|||
import { validateApiConfiguration, validateModelId } from "../../utils/validate"
|
||||
import { vscode } from "../../utils/vscode"
|
||||
import ApiOptions from "./ApiOptions"
|
||||
import LanguageOptions from "./LanguageOptions"
|
||||
//import LanguageOptions from "./LanguageOptions"
|
||||
import SettingsButton from "../common/SettingsButton"
|
||||
|
||||
const IS_DEV = false // FIXME: use flags when packaging
|
||||
|
|
@ -117,9 +117,9 @@ const SettingsView = ({ onDone }: SettingsViewProps) => {
|
|||
{t("customInstructionsDescription")}
|
||||
</p>
|
||||
</div>
|
||||
<div style={{ marginBottom: 5 }}>
|
||||
{/*<div style={{ marginBottom: 5 }}>
|
||||
<LanguageOptions />
|
||||
</div>
|
||||
</div>*/}
|
||||
|
||||
{IS_DEV && (
|
||||
<>
|
||||
|
|
|
|||
|
|
@ -2,10 +2,10 @@ import i18n from "i18next"
|
|||
import { initReactI18next } from "react-i18next"
|
||||
|
||||
import translationEN from "./locales/en/translation.json"
|
||||
import translationDE from "./locales/de/translation.json"
|
||||
import translationZHCN from "./locales/zh-cn/translation.json"
|
||||
import translationZHTW from "./locales/zh-tw/translation.json"
|
||||
import translationJA from "./locales/ja/translation.json"
|
||||
//import translationDE from "./locales/de/translation.json"
|
||||
//import translationZHCN from "./locales/zh-cn/translation.json"
|
||||
//import translationZHTW from "./locales/zh-tw/translation.json"
|
||||
//import translationJA from "./locales/ja/translation.json"
|
||||
|
||||
i18n.use(initReactI18next) // passes i18n down to react-i18next
|
||||
.init({
|
||||
|
|
@ -18,10 +18,10 @@ i18n.use(initReactI18next) // passes i18n down to react-i18next
|
|||
},
|
||||
})
|
||||
|
||||
i18n.addResourceBundle("de", "translation", translationDE)
|
||||
i18n.addResourceBundle("en", "translation", translationEN)
|
||||
i18n.addResourceBundle("zh-CN", "translation", translationZHCN)
|
||||
i18n.addResourceBundle("zh-TW", "translation", translationZHTW)
|
||||
i18n.addResourceBundle("ja", "translation", translationJA)
|
||||
//i18n.addResourceBundle("de", "translation", translationDE)
|
||||
//i18n.addResourceBundle("zh-CN", "translation", translationZHCN)
|
||||
//i18n.addResourceBundle("zh-TW", "translation", translationZHTW)
|
||||
//i18n.addResourceBundle("ja", "translation", translationJA)
|
||||
|
||||
export default i18n
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue