mirror of
https://github.com/zjs81/meshcore-open.git
synced 2026-07-08 17:53:25 +10:00
Refactor radio settings and localization updates
fixes #72 - Removed preset configurations for 915 MHz, 868 MHz, and 433 MHz from the RadioSettings model. - Introduced a new list of regional preset configurations for various countries. - Updated the settings screen to use a dropdown for selecting presets instead of chips. - Added a switch for enabling client repeat functionality with appropriate warnings for frequency usage. - Updated localization files for multiple languages to reflect changes in settings related to client repeat functionality.
This commit is contained in:
@@ -331,15 +331,6 @@ class AppLocalizationsZh extends AppLocalizations {
|
||||
@override
|
||||
String get settings_presets => '预设';
|
||||
|
||||
@override
|
||||
String get settings_preset915Mhz => '915 兆赫';
|
||||
|
||||
@override
|
||||
String get settings_preset868Mhz => '868 兆赫';
|
||||
|
||||
@override
|
||||
String get settings_preset433Mhz => '433 兆赫';
|
||||
|
||||
@override
|
||||
String get settings_frequency => '频率 (MHz)';
|
||||
|
||||
@@ -368,10 +359,14 @@ class AppLocalizationsZh extends AppLocalizations {
|
||||
String get settings_txPowerInvalid => '无效的发射功率(0-22 dBm)';
|
||||
|
||||
@override
|
||||
String get settings_longRange => '远距离';
|
||||
String get settings_clientRepeat => '离网重复';
|
||||
|
||||
@override
|
||||
String get settings_fastSpeed => '高速';
|
||||
String get settings_clientRepeatSubtitle => '允许此设备重复发送网状数据包给其他设备';
|
||||
|
||||
@override
|
||||
String get settings_clientRepeatFreqWarning =>
|
||||
'离网重复通信需要使用 433、869 或 918 兆赫兹的频率。';
|
||||
|
||||
@override
|
||||
String settings_error(String message) {
|
||||
|
||||
Reference in New Issue
Block a user