Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 26 additions & 12 deletions react/src/components/SettingList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {
Button,
Checkbox,
Divider,
Empty,
Input,
Tabs,
Typography,
Expand Down Expand Up @@ -206,13 +207,23 @@ const SettingList: React.FC<SettingPageProps> = ({
),
children: (
<Flex direction="column" align="stretch" gap={'xl'}>
{_.map(filteredSettingGroups, (group) => (
<GroupSettingItems
key={group.title}
group={group}
hideEmpty
{_.sumBy(
filteredSettingGroups,
(group) => group.settingItems.length,
) > 0 ? (
_.map(filteredSettingGroups, (group) => (
<GroupSettingItems
key={group.title}
group={group}
hideEmpty
/>
))
) : (
<Empty
image={Empty.PRESENTED_IMAGE_SIMPLE}
description={t('settings.NoChangesToDisplay')}
/>
))}
)}
</Flex>
),
},
Expand All @@ -224,12 +235,15 @@ const SettingList: React.FC<SettingPageProps> = ({
count={group.settingItems.length}
/>
),
children: (
<GroupSettingItems
group={filteredSettingGroups[idx]}
hideEmpty
/>
),
children:
group.settingItems.length > 0 ? (
<GroupSettingItems group={group} hideEmpty />
) : (
<Empty
image={Empty.PRESENTED_IMAGE_SIMPLE}
description={t('settings.NoChangesToDisplay')}
/>
),
})),
]}
/>
Expand Down
1 change: 1 addition & 0 deletions resources/i18n/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -1469,6 +1469,7 @@
"InputRequired": "Dieses Feld wird benötigt.",
"InvalidValue": "Bitte geben Sie den richtigen Eingabewert ein.",
"MTUDescription": "Maximale Übertragungseinheit, die Größe des größten Pakets, das ein Netzprotokoll übertragen kann.",
"NoChangesToDisplay": "Es gibt keine Änderungen zu Anzeigen",
"NoteAboutFixedSetup": "Die folgenden Einstellungen werden je nach Installationsumgebung und Status automatisch angewendet.",
"OpenSourceCudaGPUSupport": "Open Source CUDA GPU Unterstützung",
"OutOfRange": "Außerhalb der Reichweite.",
Expand Down
1 change: 1 addition & 0 deletions resources/i18n/el.json
Original file line number Diff line number Diff line change
Expand Up @@ -1465,6 +1465,7 @@
"InputRequired": "Αυτό το πεδίο είναι υποχρεωτικό.",
"InvalidValue": "Εισαγάγετε τη σωστή τιμή εισαγωγής.",
"MTUDescription": "Μέγιστη μονάδα μετάδοσης, το μέγεθος του μεγαλύτερου πακέτου που μπορεί να μεταδώσει ένα πρωτόκολλο δικτύου.",
"NoChangesToDisplay": "Δεν υπάρχουν αλλαγές στην προβολή",
"NoteAboutFixedSetup": "Οι παρακάτω ρυθμίσεις εφαρμόζονται αυτόματα ανάλογα με το περιβάλλον και την κατάσταση εγκατάστασης.",
"OpenSourceCudaGPUSupport": "Υποστήριξη ανοιχτού κώδικα CUDA GPU",
"OutOfRange": "Εκτός εμβέλειας.",
Expand Down
1 change: 1 addition & 0 deletions resources/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1476,6 +1476,7 @@
"InputRequired": "This field is required.",
"InvalidValue": "Please put the correct input value.",
"MTUDescription": "Maximum transmission unit, the size of the largest packet that a network protocol can transmit.",
"NoChangesToDisplay": "There are no changes to display",
"NoteAboutFixedSetup": "The settings below are automatically applied depending on the installation environment and status.",
"OpenSourceCudaGPUSupport": "Open Source CUDA GPU support",
"OutOfRange": "Out of range.",
Expand Down
1 change: 1 addition & 0 deletions resources/i18n/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -1469,6 +1469,7 @@
"InputRequired": "Este campo es obligatorio.",
"InvalidValue": "Por favor, ponga el valor de entrada correcto.",
"MTUDescription": "Unidad máxima de transmisión, el tamaño del paquete más grande que puede transmitir un protocolo de red.",
"NoChangesToDisplay": "No hay cambios que mostrar",
"NoteAboutFixedSetup": "Las configuraciones a continuación se aplican automáticamente según el entorno y el estado de instalación.",
"OpenSourceCudaGPUSupport": "Compatibilidad con GPU CUDA de código abierto",
"OutOfRange": "Fuera de alcance.",
Expand Down
1 change: 1 addition & 0 deletions resources/i18n/fi.json
Original file line number Diff line number Diff line change
Expand Up @@ -1467,6 +1467,7 @@
"InputRequired": "Tämä kenttä on pakollinen.",
"InvalidValue": "Laita oikea syöttöarvo.",
"MTUDescription": "Suurin lähetysyksikkö, suurimman paketin koko, jonka verkkoprotokolla voi lähettää.",
"NoChangesToDisplay": "Näyttöön ei ole muutoksia",
"NoteAboutFixedSetup": "Alla olevia asetuksia sovelletaan automaattisesti asennusympäristöstä ja tilasta riippuen.",
"OpenSourceCudaGPUSupport": "Avoimen lähdekoodin CUDA GPU-tuki",
"OutOfRange": "Alueen ulkopuolella.",
Expand Down
1 change: 1 addition & 0 deletions resources/i18n/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -1469,6 +1469,7 @@
"InputRequired": "Ce champ est requis.",
"InvalidValue": "Veuillez mettre la valeur d'entrée correcte.",
"MTUDescription": "Unité de transmission maximale, la taille du plus grand paquet qu'un protocole de réseau peut transmettre.",
"NoChangesToDisplay": "Il n'y a aucun changement à afficher",
"NoteAboutFixedSetup": "Les paramètres ci-dessous sont automatiquement appliqués en fonction de l'environnement d'installation et de l'état.",
"OpenSourceCudaGPUSupport": "Prise en charge des GPU CUDA Open Source",
"OutOfRange": "Hors de portée.",
Expand Down
1 change: 1 addition & 0 deletions resources/i18n/id.json
Original file line number Diff line number Diff line change
Expand Up @@ -1468,6 +1468,7 @@
"InputRequired": "Bagian ini diperlukan.",
"InvalidValue": "Harap masukkan nilai input yang benar.",
"MTUDescription": "Unit transmisi maksimum, ukuran paket terbesar yang dapat ditransmisikan oleh protokol jaringan.",
"NoChangesToDisplay": "Tidak ada perubahan untuk ditampilkan",
"NoteAboutFixedSetup": "Pengaturan di bawah ini diterapkan secara otomatis tergantung pada lingkungan dan status pemasangan.",
"OpenSourceCudaGPUSupport": "Dukungan GPU CUDA Sumber Terbuka",
"OutOfRange": "Di luar jangkauan.",
Expand Down
1 change: 1 addition & 0 deletions resources/i18n/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -1466,6 +1466,7 @@
"InputRequired": "Questo campo è obbligatorio.",
"InvalidValue": "Si prega di inserire il valore di input corretto.",
"MTUDescription": "Unità di trasmissione massima, la dimensione del pacchetto più grande che un protocollo di rete può trasmettere.",
"NoChangesToDisplay": "Non ci sono modifiche da visualizzare",
"NoteAboutFixedSetup": "Le impostazioni seguenti vengono applicate automaticamente a seconda dell'ambiente di installazione e dello stato.",
"OpenSourceCudaGPUSupport": "Supporto GPU CUDA open source",
"OutOfRange": "Fuori portata.",
Expand Down
1 change: 1 addition & 0 deletions resources/i18n/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -1468,6 +1468,7 @@
"InputRequired": "この項目は必須です。",
"InvalidValue": "正しい入力値を入力してください。",
"MTUDescription": "最大送信単位 - 当該レイヤーが送信できる最大プロトコルデータ単位のサイズです。",
"NoChangesToDisplay": "表示する変更はありません",
"NoteAboutFixedSetup": "以下の設定は、インストール環境とステータスに応じて自動的に適用されます。",
"OpenSourceCudaGPUSupport": "オープンソースのCUDA GPUのサポート",
"OutOfRange": "入力範囲外です。",
Expand Down
1 change: 1 addition & 0 deletions resources/i18n/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -1473,6 +1473,7 @@
"InputRequired": "필수 입력입니다.",
"InvalidValue": "올바른 입력값을 넣어주세요.",
"MTUDescription": "최대 전송 단위 - 해당 레이어가 전송할 수 있는 최대 프로토콜 데이터 단위의 크기입니다.",
"NoChangesToDisplay": "표시 할 수정 사항이 없습니다",
"NoteAboutFixedSetup": "아래의 설정들은 설치 환경 및 상태에 따라 자동으로 지정된 값입니다.",
"OpenSourceCudaGPUSupport": "오픈소스 CUDA GPU 지원",
"OutOfRange": "입력 범위를 벗어났습니다.",
Expand Down
1 change: 1 addition & 0 deletions resources/i18n/mn.json
Original file line number Diff line number Diff line change
Expand Up @@ -1466,6 +1466,7 @@
"InputRequired": "Энэ талбарыг заавал оруулах шаардлагатай.",
"InvalidValue": "Оролтын зөв утгыг оруулна уу.",
"MTUDescription": "Хамгийн их дамжуулах нэгж, сүлжээний протокол дамжуулж чадах хамгийн том пакетийн хэмжээ.",
"NoChangesToDisplay": "Дэлгэцийн өөрчлөлт байхгүй байна",
"NoteAboutFixedSetup": "Доорх тохиргоо нь суурилуулах орчин, статусаас хамааран автоматаар хэрэглэгддэг.",
"OpenSourceCudaGPUSupport": "Нээлттэй эхийн CUDA GPU дэмжлэг",
"OutOfRange": "Хязгаараас гарсан.",
Expand Down
1 change: 1 addition & 0 deletions resources/i18n/ms.json
Original file line number Diff line number Diff line change
Expand Up @@ -1468,6 +1468,7 @@
"InputRequired": "Bidang ini diperlukan.",
"InvalidValue": "Sila masukkan nilai input yang betul.",
"MTUDescription": "Unit penghantaran maksimum, saiz paket terbesar yang boleh dihantar oleh protokol rangkaian.",
"NoChangesToDisplay": "Tidak ada perubahan yang dipaparkan",
"NoteAboutFixedSetup": "Tetapan di bawah digunakan secara automatik bergantung kepada persekitaran dan status pemasangan.",
"OpenSourceCudaGPUSupport": "Sokongan GPU CUDA Sumber Terbuka",
"OutOfRange": "Luar kawasan.",
Expand Down
1 change: 1 addition & 0 deletions resources/i18n/pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -1469,6 +1469,7 @@
"InputRequired": "To pole jest wymagane.",
"InvalidValue": "Podaj poprawną wartość wejściową.",
"MTUDescription": "Maksymalna jednostka transmisji, rozmiar największego pakietu, jaki może przesłać protokół sieciowy.",
"NoChangesToDisplay": "Nie ma żadnych zmian do wyświetlania",
"NoteAboutFixedSetup": "Poniższe ustawienia są automatycznie stosowane w zależności od środowiska instalacji i statusu.",
"OpenSourceCudaGPUSupport": "Obsługa procesorów graficznych Open Source CUDA",
"OutOfRange": "Poza zasięgiem.",
Expand Down
1 change: 1 addition & 0 deletions resources/i18n/pt-BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -1469,6 +1469,7 @@
"InputRequired": "Este campo é obrigatório.",
"InvalidValue": "Por favor, coloque o valor de entrada correto.",
"MTUDescription": "Unidade máxima de transmissão, o tamanho do maior pacote que um protocolo de rede pode transmitir.",
"NoChangesToDisplay": "Não há alterações para exibir",
"NoteAboutFixedSetup": "As configurações abaixo são aplicadas automaticamente, dependendo do ambiente e do status de instalação.",
"OpenSourceCudaGPUSupport": "Suporte para GPU CUDA de código aberto",
"OutOfRange": "Fora de alcance.",
Expand Down
1 change: 1 addition & 0 deletions resources/i18n/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -1469,6 +1469,7 @@
"InputRequired": "Este campo é obrigatório.",
"InvalidValue": "Por favor, coloque o valor de entrada correto.",
"MTUDescription": "Unidade máxima de transmissão, o tamanho do maior pacote que um protocolo de rede pode transmitir.",
"NoChangesToDisplay": "Não há alterações para exibir",
"NoteAboutFixedSetup": "As configurações abaixo são aplicadas automaticamente, dependendo do ambiente e do status de instalação.",
"OpenSourceCudaGPUSupport": "Suporte para GPU CUDA de código aberto",
"OutOfRange": "Fora de alcance.",
Expand Down
1 change: 1 addition & 0 deletions resources/i18n/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -1469,6 +1469,7 @@
"InputRequired": "Это поле обязательно к заполнению.",
"InvalidValue": "Пожалуйста, введите правильное вводное значение.",
"MTUDescription": "Максимальная единица передачи, размер самого большого пакета, который может передать сетевой протокол.",
"NoChangesToDisplay": "Нет изменений для отображения",
"NoteAboutFixedSetup": "Настройки ниже применяются автоматически в зависимости от среды установки и статуса.",
"OpenSourceCudaGPUSupport": "Поддержка графического процессора CUDA с открытым исходным кодом",
"OutOfRange": "Вне зоны действия.",
Expand Down
1 change: 1 addition & 0 deletions resources/i18n/th.json
Original file line number Diff line number Diff line change
Expand Up @@ -1452,6 +1452,7 @@
"InputRequired": "ต้องกรอกข้อมูลในช่องนี้",
"InvalidValue": "กรุณาใส่ค่าที่ถูกต้อง",
"MTUDescription": "หน่วยการส่งสูงสุด คือขนาดของแพ็คเก็ตที่ใหญ่ที่สุดที่โปรโตคอลเครือข่ายสามารถส่งได้",
"NoChangesToDisplay": "ไม่มีการเปลี่ยนแปลงที่จะแสดง",
"NoteAboutFixedSetup": "การตั้งค่าด้านล่างจะถูกนำไปใช้โดยอัตโนมัติขึ้นอยู่กับสภาพแวดล้อมการติดตั้งและสถานะ",
"OpenSourceCudaGPUSupport": "การสนับสนุน GPU CUDA แบบโอเพนซอร์ส",
"OutOfRange": "นอกช่วงที่กำหนด",
Expand Down
1 change: 1 addition & 0 deletions resources/i18n/tr.json
Original file line number Diff line number Diff line change
Expand Up @@ -1468,6 +1468,7 @@
"InputRequired": "Bu alan gereklidir.",
"InvalidValue": "Lütfen doğru giriş değerini girin.",
"MTUDescription": "Maksimum iletim birimi, bir ağ protokolünün iletebileceği en büyük paketin boyutu.",
"NoChangesToDisplay": "Görüntülenecek değişiklik yok",
"NoteAboutFixedSetup": "Aşağıdaki ayarlar, kurulum ortamına ve durumuna bağlı olarak otomatik olarak uygulanır.",
"OpenSourceCudaGPUSupport": "Açık Kaynak CUDA GPU desteği",
"OutOfRange": "Menzil dışında.",
Expand Down
1 change: 1 addition & 0 deletions resources/i18n/vi.json
Original file line number Diff line number Diff line change
Expand Up @@ -1469,6 +1469,7 @@
"InputRequired": "Trường này là bắt buộc.",
"InvalidValue": "Vui lòng nhập giá trị đầu vào chính xác.",
"MTUDescription": "Đơn vị truyền tối đa, kích thước của gói lớn nhất mà giao thức mạng có thể truyền.",
"NoChangesToDisplay": "Không có thay đổi nào để hiển thị",
"NoteAboutFixedSetup": "Các cài đặt bên dưới được tự động áp dụng tùy thuộc vào môi trường và trạng thái cài đặt.",
"OpenSourceCudaGPUSupport": "Hỗ trợ GPU CUDA mã nguồn mở",
"OutOfRange": "Ngoài phạm vi.",
Expand Down
1 change: 1 addition & 0 deletions resources/i18n/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -1469,6 +1469,7 @@
"InputRequired": "此字段是必需的。",
"InvalidValue": "请输入正确的输入值。",
"MTUDescription": "最大传输单位,网络协议可传输的最大数据包的大小。",
"NoChangesToDisplay": "没有更改可以显示",
"NoteAboutFixedSetup": "下面的设置将根据安装环境和状态自动应用。",
"OpenSourceCudaGPUSupport": "开源 CUDA GPU 支持",
"OutOfRange": "超出范围。",
Expand Down
1 change: 1 addition & 0 deletions resources/i18n/zh-TW.json
Original file line number Diff line number Diff line change
Expand Up @@ -1468,6 +1468,7 @@
"InputRequired": "此字段是必需的。",
"InvalidValue": "請輸入正確的輸入值。",
"MTUDescription": "最大传输单位,网络协议可传输的最大数据包的大小。",
"NoChangesToDisplay": "沒有更改可以顯示",
"NoteAboutFixedSetup": "下面的設置將根據安裝環境和狀態自動應用。",
"OpenSourceCudaGPUSupport": "開源 CUDA GPU 支援",
"OutOfRange": "超出范围。",
Expand Down