mirror of
https://github.com/facebook/sapling.git
synced 2024-10-05 14:28:17 +03:00
Remove language setting
Summary: We only support `en` at the moment, so let's remove the "Language" setting from the dropdown. It's taking up room which distracts from settings which actually do something. Eventually I'd love if we supported more languages. All the infra is in place, we'd just need people to translate stuff for us. This matters more for OSS usage than internal usage. Reviewed By: sggutier Differential Revision: D50100534 fbshipit-source-id: f2bd8888d531d570263e084fec1e58f52c2defa2
This commit is contained in:
parent
b1c5e71c04
commit
7def22784e
@ -73,13 +73,14 @@ function SettingsDropdown() {
|
||||
<Setting title={<T>Commits</T>}>
|
||||
<RenderCompactSetting />
|
||||
</Setting>
|
||||
<Setting
|
||||
{/* TODO: enable this setting when there is actually a chocie to be made here. */}
|
||||
{/* <Setting
|
||||
title={<T>Language</T>}
|
||||
description={<T>Locale for translations used in the UI. Currently only en supported.</T>}>
|
||||
<VSCodeDropdown value="en" disabled>
|
||||
<VSCodeOption value="en">en</VSCodeOption>
|
||||
</VSCodeDropdown>
|
||||
</Setting>
|
||||
</Setting> */}
|
||||
{repoInfo?.type !== 'success' ? (
|
||||
<Icon icon="loading" />
|
||||
) : repoInfo?.codeReviewSystem.type === 'github' ? (
|
||||
|
Loading…
Reference in New Issue
Block a user