feat(i18n): localize frontend components and add missing translations
- Replaced hardcoded UI strings with translation keys across frontend files - Added and updated English(en) and Khmer(km) translation files for settings, notifications, and server components - Improved localization and multi-language support throughout the frontend
This commit is contained in:
@@ -0,0 +1,71 @@
|
||||
import { DockerTranslations } from '../types/docker';
|
||||
|
||||
export const dockerTranslations: DockerTranslations = {
|
||||
dockerContainers: "Containers Docker",
|
||||
container: "Containers",
|
||||
status: "ស្ថានភាព",
|
||||
cpuUsage: "ការប្រើប្រាស់ CPU",
|
||||
memory: "អង្គចងចាំ",
|
||||
disk: "ថាស",
|
||||
uptime: "ពេលដំណើរការ",
|
||||
lastChecked: "បានពិនិត្យចុងក្រោយ",
|
||||
actions: "សកម្មភាព",
|
||||
searchContainersPlaceholder: "ស្វែងរកContainers...",
|
||||
refresh: "ធ្វើបច្ចុប្បន្នភាព",
|
||||
openMenu: "បើកម៉ឺនុយ",
|
||||
viewMetrics: "មើលមេត្រីក",
|
||||
viewDetails: "មើលព័ត៌មានលម្អិត",
|
||||
|
||||
running: "ដំណើរការ",
|
||||
stopped: "បានបញ្ឈប់",
|
||||
warning: "ការព្រមាន",
|
||||
unknown: "មិនស្គាល់",
|
||||
totalContainers: "Containers សរុប",
|
||||
containersLabel: "Containers",
|
||||
|
||||
noContainersFound: "រកមិនឃើញContainers",
|
||||
noContainersRunning: "គ្មានContainersកំពុងដំណើរការ",
|
||||
tryAdjustSearch: "សូមព្យាយាមកែសម្រួលពាក្យស្វែងរករបស់អ្នក។",
|
||||
startSomeContainers: "ចាប់ផ្តើមContainersខ្លះៗ ដើម្បីមើលពួកវានៅទីនេះ។",
|
||||
|
||||
containerMetricsTitle: "មេត្រីកContainers: {name}",
|
||||
dockerId: "Docker ID",
|
||||
loadingMetrics: "កំពុងផ្ទុកមេត្រីក...",
|
||||
errorLoadingMetrics: "កំហុសក្នុងការផ្ទុកមេត្រីក",
|
||||
noMetricsAvailable: "គ្មានទិន្នន័យមេត្រីកសម្រាប់Containersនេះ",
|
||||
|
||||
minutes60: "៦០ នាទី",
|
||||
day1: "១ ថ្ងៃ",
|
||||
days7: "៧ ថ្ងៃ",
|
||||
month1: "១ ខែ",
|
||||
months3: "៣ ខែ",
|
||||
|
||||
used: "បានប្រើ:",
|
||||
free: "ទំនេរ:",
|
||||
total: "សរុប:",
|
||||
usage: "ការប្រើប្រាស់:",
|
||||
cpu: "CPU",
|
||||
memoryTitle: "អង្គចងចាំ",
|
||||
diskTitle: "ថាស",
|
||||
network: "បណ្តាញ",
|
||||
|
||||
cpuUsagePct: "ការប្រើប្រាស់ CPU (%)",
|
||||
cpuUsageVsAvailable: "ការប្រើប្រាស់ CPU នឹង អាចប្រើបាន",
|
||||
cpuAvailablePct: "CPU អាចប្រើបាន (%)",
|
||||
ramUsagePct: "ការប្រើប្រាស់ RAM (%)",
|
||||
memoryUsageBytes: "ការប្រើប្រាស់អង្គចងចាំ (បៃ)",
|
||||
usedMemory: "អង្គចងចាំបានប្រើ",
|
||||
totalMemory: "អង្គចងចាំសរុប",
|
||||
diskUsagePct: "ការប្រើប្រាស់ថាស (%)",
|
||||
diskUsageBytes: "ការប្រើប្រាស់ថាស (បៃ)",
|
||||
usedDisk: "ថាសបានប្រើ",
|
||||
totalDisk: "ថាសសរុប",
|
||||
networkTraffic: "ចរាចរបណ្តាញ",
|
||||
networkSpeedKbs: "ល្បឿនបណ្តាញ (KB/s)",
|
||||
rxBytes: "RX បៃ",
|
||||
txBytes: "TX បៃ",
|
||||
rxSpeedKbs: "ល្បឿន RX (KB/s)",
|
||||
txSpeedKbs: "ល្បឿន TX (KB/s)",
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user