Skip to content

Commit 205deeb

Browse files
committed
feat(locales): 为 GPU 信息提示补充多语言翻译
1 parent 0cc89c9 commit 205deeb

10 files changed

Lines changed: 50 additions & 0 deletions

File tree

‎frontend/locales/de-DE.js‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ window.LANGUAGE_DATA['de-DE'] = {
4646
processHint: "Nach CPU-Auslastung sortiert, nur Top 20 (nur lesen)",
4747
procName: "Name",
4848
procNet: "NETZ ↓↑",
49+
gpuFreq: "Takt",
50+
gpuHint: "Warum fehlen viele Infos? Manche Hardwarewerte brauchen Systembefehle oder Treiber:",
51+
gpuHintIntel: "Intel-iGPU Auslastung/Takt/Leistung: root + intel-gpu-tools (intel_gpu_top) nötig, mit sudo starten",
52+
gpuHintNvidia: "NVIDIA Speicher/Temp/Leistung: nvidia-ml-py (NVML) nötig",
53+
gpuHintReadme: "Mehr zu Rechten & Abhängigkeiten im README-Abschnitt «Linux-Rechte»",
4954
settingLang: "Sprache",
5055
settingTheme: "Thema",
5156
themeAuto: "System folgen",

‎frontend/locales/en-US.js‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ window.LANGUAGE_DATA['en-US'] = {
4646
processHint: "Sorted by CPU usage, top 20 only (read-only)",
4747
procName: "Name",
4848
procNet: "NET ↓↑",
49+
gpuFreq: "Frequency",
50+
gpuHint: "Why is so much info missing? Some hardware data depends on low-level commands or drivers:",
51+
gpuHintIntel: "Intel iGPU usage/frequency/power: requires root and intel-gpu-tools (intel_gpu_top); run with sudo",
52+
gpuHintNvidia: "NVIDIA memory/temp/power: requires nvidia-ml-py (NVML)",
53+
gpuHintReadme: "See README 'Linux Permissions' section for more on permissions and dependencies",
4954
settingLang: "Language",
5055
settingTheme: "Theme",
5156
themeAuto: "Follow system",

‎frontend/locales/es-ES.js‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ window.LANGUAGE_DATA['es-ES'] = {
4545
processHint: "Ordenado por uso de CPU, solo los 20 primeros (solo lectura)",
4646
procName: "Nombre",
4747
procNet: "RED ↓↑",
48+
gpuFreq: "Frecuencia",
49+
gpuHint: "¿Por qué faltan tantos datos? Algunos dependen de comandos de bajo nivel o controladores:",
50+
gpuHintIntel: "Uso/frecuencia/potencia de GPU Intel: requiere root e intel-gpu-tools (intel_gpu_top), ejecuta con sudo",
51+
gpuHintNvidia: "Memoria/temp/potencia NVIDIA: requiere nvidia-ml-py (NVML)",
52+
gpuHintReadme: "Ver sección «Permisos Linux» del README para permisos y dependencias",
4853
settingLang: "Idioma",
4954
settingTheme: "Tema",
5055
themeAuto: "Seguir sistema",

‎frontend/locales/fr-FR.js‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ window.LANGUAGE_DATA['fr-FR'] = {
4545
processHint: "Triés par usage CPU, top 20 uniquement (lecture seule)",
4646
procName: "Nom",
4747
procNet: "Réseau ↓↑",
48+
gpuFreq: "Fréquence",
49+
gpuHint: "Pourquoi tant d'infos manquent ? Certaines données dépendent de commandes bas niveau ou de pilotes :",
50+
gpuHintIntel: "Utilisation/fréquence/puissance GPU Intel : root + intel-gpu-tools (intel_gpu_top) requis, lancez avec sudo",
51+
gpuHintNvidia: "Mémoire/temp/puissance NVIDIA : nvidia-ml-py (NVML) requis",
52+
gpuHintReadme: "Voir la section « Droits Linux » du README pour les permissions et dépendances",
4853
settingLang: "Langue",
4954
settingTheme: "Thème",
5055
themeAuto: "Selon le système",

‎frontend/locales/id-ID.js‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ window.LANGUAGE_DATA['id-ID'] = {
4545
processHint: "Diurutkan berdasarkan CPU, 20 teratas saja (baca saja)",
4646
procName: "Nama",
4747
procNet: "NET ↓↑",
48+
gpuFreq: "Frekuensi",
49+
gpuHint: "Kenapa banyak info tidak muncul? Sebagian data membutuhkan perintah sistem atau driver:",
50+
gpuHintIntel: "Penggunaan/frekuensi/daya GPU Intel: butuh root & intel-gpu-tools (intel_gpu_top), jalankan dengan sudo",
51+
gpuHintNvidia: "Memori/suhu/daya NVIDIA: butuh nvidia-ml-py (NVML)",
52+
gpuHintReadme: "Lihat bagian «Hak Linux» di README untuk hak akses & dependensi",
4853
settingLang: "Bahasa",
4954
settingTheme: "Tema",
5055
themeAuto: "Ikuti sistem",

‎frontend/locales/ja-JP.js‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ window.LANGUAGE_DATA['ja-JP'] = {
4545
processHint: "CPU 使用率順、上位 20 のみ(読み取り専用)",
4646
procName: "名前",
4747
procNet: "通信 ↓↑",
48+
gpuFreq: "周波数",
49+
gpuHint: "なぜ多くの情報が取れないのか?一部のハードウェア情報は低レベルコマンドやドライバに依存します:",
50+
gpuHintIntel: "Intel 内蔵GPUの使用率/周波数/消費電力:root権限とintel-gpu-tools(intel_gpu_top)が必要、sudoで実行してください",
51+
gpuHintNvidia: "NVIDIAのメモリ/温度/消費電力:nvidia-ml-py(NVML)が必要",
52+
gpuHintReadme: "権限と依存関係の詳細はREADMEの「Linux権限について」を参照",
4853
settingLang: "言語",
4954
settingTheme: "テーマ",
5055
themeAuto: "システムに従う",

‎frontend/locales/ko-KR.js‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ window.LANGUAGE_DATA['ko-KR'] = {
4545
processHint: "CPU 사용률 순, 상위 20개만 (읽기 전용)",
4646
procName: "이름",
4747
procNet: "네트워크 ↓↑",
48+
gpuFreq: "주파수",
49+
gpuHint: "왜 많은 정보를 가져올 수 없나요? 일부 하드웨어 데이터는 하위 명령이나 드라이버에 의존합니다:",
50+
gpuHintIntel: "Intel 내장GPU 사용량/주파수/전력: root 권한과 intel-gpu-tools(intel_gpu_top) 필요, sudo로 실행하세요",
51+
gpuHintNvidia: "NVIDIA 메모리/온도/전력: nvidia-ml-py(NVML) 필요",
52+
gpuHintReadme: "권한 및 의존성 자세한 내용은 README 'Linux 권한' 섹션 참조",
4853
settingLang: "언어",
4954
settingTheme: "테마",
5055
themeAuto: "시스템 따르기",

‎frontend/locales/ru-RU.js‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ window.LANGUAGE_DATA['ru-RU'] = {
4545
processHint: "По загрузке CPU, только топ-20 (только чтение)",
4646
procName: "Имя",
4747
procNet: "Сеть ↓↑",
48+
gpuFreq: "Частота",
49+
gpuHint: "Почему нет многих данных? Часть сведений зависит от системных команд или драйверов:",
50+
gpuHintIntel: "Загрузка/частота/мощность Intel GPU: нужен root и intel-gpu-tools (intel_gpu_top), запускайте с sudo",
51+
gpuHintNvidia: "Память/темп/мощность NVIDIA: нужен nvidia-ml-py (NVML)",
52+
gpuHintReadme: "Подробнее о правах и зависимостях в разделе README «Права Linux»",
4853
settingLang: "Язык",
4954
settingTheme: "Тема",
5055
themeAuto: "Как в системе",

‎frontend/locales/th-TH.js‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ window.LANGUAGE_DATA['th-TH'] = {
4545
processHint: "เรียงตามการใช้ CPU แสดง 20 อันดับแรก (อ่านอย่างเดียว)",
4646
procName: "ชื่อ",
4747
procNet: "เน็ต ↓↑",
48+
gpuFreq: "ความถี่",
49+
gpuHint: "ทำไมข้อมูลหลายอย่างถึงไม่แสดง? บางข้อมูลฮาร์ดแวร์ต้องใช้คำสั่งระดับลึกหรือไดรเวอร์:",
50+
gpuHintIntel: "การใช้/ความถี่/กำลังไฟ GPU Intel: ต้องใช้ root และ intel-gpu-tools (intel_gpu_top) ให้รันด้วย sudo",
51+
gpuHintNvidia: "หน่วยความจำ/อุณหภูมิ/กำลังไฟ NVIDIA: ต้องใช้ nvidia-ml-py (NVML)",
52+
gpuHintReadme: "ดูหัวข้อ «สิทธิ Linux» ใน README สำหรับสิทธิและการติดตั้ง",
4853
settingLang: "ภาษา",
4954
settingTheme: "ธีม",
5055
themeAuto: "ตามระบบ",

‎frontend/locales/zh-CN.js‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@ window.LANGUAGE_DATA['zh-CN'] = {
4848
processHint: "按 CPU 占用降序,仅显示前 20 个(只读)",
4949
procName: "进程名",
5050
procNet: "网络 ↓↑",
51+
gpuFreq: "频率",
52+
gpuHint: "为什么很多信息无法获取?部分硬件数据依赖底层命令或驱动:",
53+
gpuHintIntel: "Intel 核显使用率/频率/功耗:需 root 权限并安装 intel-gpu-tools(intel_gpu_top),请用 sudo 运行本程序",
54+
gpuHintNvidia: "NVIDIA 显存/温度/功耗:需安装 nvidia-ml-py(NVML)",
55+
gpuHintReadme: "更多权限与依赖说明请对照 README「Linux 权限说明」章节",
5156
settingLang: "语言",
5257
settingTheme: "主题",
5358
themeAuto: "跟随系统",

0 commit comments

Comments
 (0)