Many minor improvements

This commit is contained in:
2026-02-01 20:09:54 +07:00
parent 99344a82e6
commit 639a8417e6
20 changed files with 540 additions and 157 deletions
+10 -1
View File
@@ -3,6 +3,11 @@
"noDevices": "It seems that you have no devices! You can register one with the big plus button.",
"setupNewDevice": "Setup new device",
"addExistingDevice": "Add existing device",
"nfcDisabled": "NFC is disabled on your device!",
"nfcRequired": "This app requires NFC as part of the core functionality.",
"nfcUnsupported": "Your device does not support NFC",
"nfcReady": "NFC is ready!",
"nfcReadyDescription": "You can tap the device with the NFC scanner now.",
"registerDevice": "Register Device",
"deviceName": "Name",
@@ -24,6 +29,9 @@
"deletion": "Deletion",
"deviceDeleteConfirm": "Are you sure you want to delete this device forever?",
"reconfigureNetwork": "Reconfigure Network",
"factoryReset": "Factory Reset",
"resetConfirm": "Are you sure you want to proceed with the factory reset? Your data will be lost and unrecoverable, and you must setup the device again.",
"reset": "Reset",
"status": "Status: ",
"online": "Online",
"offline": "Offline",
@@ -45,5 +53,6 @@
"example": "ABC_WiFi"
}
}
}
},
"activityLogs": "Activity Logs"
}
+54
View File
@@ -122,6 +122,36 @@ abstract class AppLocalizations {
/// **'Add existing device'**
String get addExistingDevice;
/// No description provided for @nfcDisabled.
///
/// In en, this message translates to:
/// **'NFC is disabled on your device!'**
String get nfcDisabled;
/// No description provided for @nfcRequired.
///
/// In en, this message translates to:
/// **'This app requires NFC as part of the core functionality.'**
String get nfcRequired;
/// No description provided for @nfcUnsupported.
///
/// In en, this message translates to:
/// **'Your device does not support NFC'**
String get nfcUnsupported;
/// No description provided for @nfcReady.
///
/// In en, this message translates to:
/// **'NFC is ready!'**
String get nfcReady;
/// No description provided for @nfcReadyDescription.
///
/// In en, this message translates to:
/// **'You can tap the device with the NFC scanner now.'**
String get nfcReadyDescription;
/// No description provided for @registerDevice.
///
/// In en, this message translates to:
@@ -230,6 +260,24 @@ abstract class AppLocalizations {
/// **'Reconfigure Network'**
String get reconfigureNetwork;
/// No description provided for @factoryReset.
///
/// In en, this message translates to:
/// **'Factory Reset'**
String get factoryReset;
/// No description provided for @resetConfirm.
///
/// In en, this message translates to:
/// **'Are you sure you want to proceed with the factory reset? Your data will be lost and unrecoverable, and you must setup the device again.'**
String get resetConfirm;
/// No description provided for @reset.
///
/// In en, this message translates to:
/// **'Reset'**
String get reset;
/// No description provided for @status.
///
/// In en, this message translates to:
@@ -265,6 +313,12 @@ abstract class AppLocalizations {
/// In en, this message translates to:
/// **'Router SSID: {ssid}'**
String routerSsid(String ssid);
/// No description provided for @activityLogs.
///
/// In en, this message translates to:
/// **'Activity Logs'**
String get activityLogs;
}
class _AppLocalizationsDelegate
+30
View File
@@ -21,6 +21,23 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get addExistingDevice => 'Add existing device';
@override
String get nfcDisabled => 'NFC is disabled on your device!';
@override
String get nfcRequired =>
'This app requires NFC as part of the core functionality.';
@override
String get nfcUnsupported => 'Your device does not support NFC';
@override
String get nfcReady => 'NFC is ready!';
@override
String get nfcReadyDescription =>
'You can tap the device with the NFC scanner now.';
@override
String get registerDevice => 'Register Device';
@@ -79,6 +96,16 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get reconfigureNetwork => 'Reconfigure Network';
@override
String get factoryReset => 'Factory Reset';
@override
String get resetConfirm =>
'Are you sure you want to proceed with the factory reset? Your data will be lost and unrecoverable, and you must setup the device again.';
@override
String get reset => 'Reset';
@override
String get status => 'Status: ';
@@ -100,4 +127,7 @@ class AppLocalizationsEn extends AppLocalizations {
String routerSsid(String ssid) {
return 'Router SSID: $ssid';
}
@override
String get activityLogs => 'Activity Logs';
}
+30
View File
@@ -21,6 +21,23 @@ class AppLocalizationsTh extends AppLocalizations {
@override
String get addExistingDevice => 'เพิ่มอุปกรณ์ที่ตั้งค่าแล้ว';
@override
String get nfcDisabled => 'NFC ถูกปิดอยู่บนอุปกรณ์ของคุณ';
@override
String get nfcRequired =>
'ส่วนหนึ่งของฟังก์ชันหลักในแอพลิเคชันจำเป็นต้องใช้ NFC';
@override
String get nfcUnsupported => 'อุปกรณ์ของคุณไม่รองรับ NFC';
@override
String get nfcReady => 'NFC พร้อมแล้ว';
@override
String get nfcReadyDescription =>
'คุณสามารถแตะโทรศัพท์กับเซนเซอร์ NFC ได้เลย';
@override
String get registerDevice => 'ลงทะเบียนอุปกรณ์';
@@ -78,6 +95,16 @@ class AppLocalizationsTh extends AppLocalizations {
@override
String get reconfigureNetwork => 'ตั้งค่าเครือข่ายใหม่';
@override
String get factoryReset => 'คืนค่าโรงงาน';
@override
String get resetConfirm =>
'คุณแน่ใจหรือไม่ว่าต้องการคืนค่าจากโรงงาน ข้อมูลของคุณจะหายไปและไม่สามารถกู้คืนได้ และคุณจำเป็นต้องตั้งค่าอุปกรณ์ใหม่';
@override
String get reset => 'คืนค่า';
@override
String get status => 'สถานะ: ';
@@ -99,4 +126,7 @@ class AppLocalizationsTh extends AppLocalizations {
String routerSsid(String ssid) {
return 'SSID เราเตอร์: $ssid';
}
@override
String get activityLogs => 'รายการกิจกรรม';
}
+10 -1
View File
@@ -3,6 +3,11 @@
"noDevices": "ดูเหมือนว่าคุณจะไม่มีอุปกรณ์ที่ลงทะเบียนไว้นะ! คุณสามารถลงทะเบียนอุปกรณ์ใหม่ได้ที่ปุ่มบวกด้านล่าง",
"setupNewDevice": "ตั้งค่าอุปกรณ์ใหม่",
"addExistingDevice": "เพิ่มอุปกรณ์ที่ตั้งค่าแล้ว",
"nfcDisabled": "NFC ถูกปิดอยู่บนอุปกรณ์ของคุณ",
"nfcRequired": "ส่วนหนึ่งของฟังก์ชันหลักในแอพลิเคชันจำเป็นต้องใช้ NFC",
"nfcUnsupported": "อุปกรณ์ของคุณไม่รองรับ NFC",
"nfcReady": "NFC พร้อมแล้ว",
"nfcReadyDescription": "คุณสามารถแตะโทรศัพท์กับเซนเซอร์ NFC ได้เลย",
"registerDevice": "ลงทะเบียนอุปกรณ์",
"deviceName": "ชื่อ",
@@ -24,10 +29,14 @@
"deletion": "การลบ",
"deviceDeleteConfirm": "คุณแน่ใจหรือไม่ที่จะลบอุปกรณ์นี้อย่างถาวร",
"reconfigureNetwork": "ตั้งค่าเครือข่ายใหม่",
"factoryReset": "คืนค่าโรงงาน",
"resetConfirm": "คุณแน่ใจหรือไม่ว่าต้องการคืนค่าจากโรงงาน ข้อมูลของคุณจะหายไปและไม่สามารถกู้คืนได้ และคุณจำเป็นต้องตั้งค่าอุปกรณ์ใหม่",
"reset": "คืนค่า",
"status": "สถานะ: ",
"online": "ออนไลน์",
"offline": "ออฟไลน์",
"refresh": "รีเฟรช",
"lastKnownIP": "ที่อยู่ IP ที่ทราบล่าสุด: {ip}",
"routerSsid": "SSID เราเตอร์: {ssid}"
"routerSsid": "SSID เราเตอร์: {ssid}",
"activityLogs": "รายการกิจกรรม"
}