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
8 changes: 6 additions & 2 deletions src/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -241,13 +241,15 @@
"addDevice": "Add Device",
"device": "Device",
"media": "Media Type",
"driverIndex": "Driver Index",
"driverIndex": "Type",
"capacity": "Capacity",
"capacityHint": "Supports numbers, hexadecimal (0x...) or with units (16M)",
"manufacturerId": "Manufacturer ID",
"deviceType": "Device Type",
"densityId": "Density ID",
"flags": "Flags",
"deviceInvalid": "Invalid",
"sectionInvalid": "Invalid",
"noDevices": "No FLASH devices added",
"invalidCapacity": "Invalid capacity format",
"invalidHexValue": "Invalid hexadecimal value (0x00-0xFF)",
Expand All @@ -269,7 +271,9 @@
"conflictDetected": "Configuration conflict detected",
"disabled": "Please enable SDIO configuration to start setting",
"invalidAddress": "Invalid address format",
"addressTooLarge": "Address value too large"
"addressTooLarge": "Address value too large",
"addressRequired": "Please enter base address",
"sectionInvalid": "Invalid"
},
"pin": {
"title": "GPIO Pin Configuration",
Expand Down
10 changes: 7 additions & 3 deletions src/i18n/locales/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -241,13 +241,15 @@
"addDevice": "添加设备",
"device": "设备",
"media": "介质类型",
"driverIndex": "驱动索引",
"driverIndex": "Type",
"capacity": "容量",
"capacityHint": "支持数字、十六进制 (0x...) 或带单位 (16M)",
"manufacturerId": "制造商 ID",
"deviceType": "设备类型",
"densityId": "容量 ID",
"densityId": "颗粒 ID",
"flags": "标志",
"deviceInvalid": "配置有误",
"sectionInvalid": "配置有误",
"noDevices": "尚未添加 FLASH 设备",
"invalidCapacity": "无效的容量格式",
"invalidHexValue": "无效的十六进制值 (0x00-0xFF)",
Expand All @@ -269,7 +271,9 @@
"conflictDetected": "检测到配置冲突",
"disabled": "请启用 SDIO 配置以开始设置",
"invalidAddress": "无效的地址格式",
"addressTooLarge": "地址值过大"
"addressTooLarge": "地址值过大",
"addressRequired": "请输入基地址",
"sectionInvalid": "配置有误"
},
"pin": {
"title": "GPIO 默认状态",
Expand Down
2 changes: 2 additions & 0 deletions src/stores/stubConfigStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { defineStore } from 'pinia';
import { ref, computed } from 'vue';

export interface FlashDevice {
id: string;
media: 'nor' | 'nand';
driver_index: number;
manufacturer_id: string;
Expand All @@ -18,6 +19,7 @@ export interface FlashDevice {
}

export interface PinItem {
id: string;
port: 'PA' | 'PB' | 'PBR';
number: number;
level: 'low' | 'high';
Expand Down
Loading