fix(ft8): repair FT8CN locale string resources for AGP9 strictness

FT8CN 0.93 shipped malformed strings that old AGP tolerated but AGP9
rejects: 148 unclosed tags (</string>>), unclosed XML comments,
trailing garbage after tags, and non-positional multi-placeholder
formats. Fixed across all 8 locale files: closed tags/comments,
removed trailing garbage, numbered placeholders in argument order
(%1$s %2$d %.3$1f style). aapt2 compile of every values-* dir now
passes 0 errors; :feature:ft8 + :app compileDebugKotlin SUCCESSFUL.
This commit is contained in:
mckero committed 2026-08-05 05:23:57 +00:00
1 parent fc1bec1915
commit 2c26272e0b
9 files changed
+299 -314

No files matched your search

+39 -39
View File
@@ -76,38 +76,38 @@
<string name="pl_select_bluetooth">Please select an available Bluetooth device</string>
<string name="bluetooth_set">Bluetooth Settings</string>
<string name="spp_device">Bluetooth spp device</string>
<string name="headset_device">Bluetooth headset</string>>
<string name="disconnect_rig">The rig connection is broken</string>>
<string name="connected_rig">Rig connection succeeded.</string>>
<string name="current_frequency">Current frequency :%s</string>>
<string name="radio_communication_error">Communication error with rig:%s</string>>
<string name="does_not_support_recording">Bluetooth device does not support recording</string>>
<string name="bluetooth_headset_mode">Enter Bluetooth headset mode</string>>
<string name="bluetooth_Headset_mode_cancelled">Exit Bluetooth headset mode</string>>
<string name="headset_device">Bluetooth headset</string>
<string name="disconnect_rig">The rig connection is broken</string>
<string name="connected_rig">Rig connection succeeded.</string>
<string name="current_frequency">Current frequency :%s</string>
<string name="radio_communication_error">Communication error with rig:%s</string>
<string name="does_not_support_recording">Bluetooth device does not support recording</string>
<string name="bluetooth_headset_mode">Enter Bluetooth headset mode</string>
<string name="bluetooth_Headset_mode_cancelled">Exit Bluetooth headset mode</string>
<string name="version_info">FT8CN Ver %s\nBG7YOZ\n%s</string>>
<string name="version_info">FT8CN Ver %1$s\nBG7YOZ\n%2$s</string>
<string name="exit">Exit</string>>
<string name="cancel">Cancel</string>>
<string name="exit_confirmation">Are you sure you want to exit ?</string>>
<string name="exit">Exit</string>
<string name="cancel">Cancel</string>
<string name="exit_confirmation">Are you sure you want to exit ?</string>
<!-- FT8Message-->
<string name="std_msg">Std Msg</string>>
<string name="none_std_msg">NonStd Call</string>>
<string name="free_text">Free Text</string>>
<string name="dXpedition">DXpedition</string>>
<string name="field_day">Field Day</string>>
<string name="telemetry">Telemetry</string>>
<string name="rtty_ru_msg">RTTY RU</string>>
<string name="std_msg">Std Msg</string>
<string name="none_std_msg">NonStd Call</string>
<string name="free_text">Free Text</string>
<string name="dXpedition">DXpedition</string>
<string name="field_day">Field Day</string>
<string name="telemetry">Telemetry</string>
<string name="rtty_ru_msg">RTTY RU</string>
<!-- 配置栏-->
<string name="offset_time_sec">%.1f Secs</string>>
<string name="offset_time_sec">%.1f Secs</string>
<!-- 频谱图-->
<string name="decoding_takes_milliseconds">Decoded : %d ms</string>>
<string name="sound_frequency_is_set_to">The sound frequency is %d Hz</string>>
<string name="decoding_takes_milliseconds">Decoded : %d ms</string>
<string name="sound_frequency_is_set_to">The sound frequency is %d Hz</string>
<string name="de_noise">DeNoise</string>
<string name="raw_spectrum_data">Original</string>
<string name="markMessage">Show Msg</string>
@@ -129,7 +129,7 @@
<string name="message_count">Messages(%d)</string>
<!-- 日志导出栏栏-->
<string name="export_info">Please use the web browser of other devices to export from the background under the same LAN as this device.\nEnter the URL in the browser:\nhttp://%s:%d</string>
<string name="export_info">Please use the web browser of other devices to export from the background under the same LAN as this device.\nEnter the URL in the browser:\nhttp://%1$s:%2$d</string>
<!-- 发射监管-->
<string name="minutes">%d Mins</string>
@@ -142,16 +142,16 @@
<string name="do_not_call_the_following_callsign">No call tracked</string>
<!-- 解码栏-->
<string name="message_count_count">Messages(%d/%d)</string>
<string name="message_count_count">Messages(%1$d/%2$d)</string>
<string name="average_offset_seconds">Offset Avg : %.2f Sec</string>
<string name="my_grid">Grid : %s</string>
<!-- 解码列表-->
<string name="tracking_receiver">Tracking receiver %s(%s)</string>
<string name="calling_receiver">Call receiver %s(%s)</string>
<string name="reply_to">Reply %s(%s)</string>
<string name="tracking">Tracking %s(%s)</string>
<string name="calling">Call %s(%s)</string>
<string name="tracking_receiver">Tracking receiver %1$s(%2$s)</string>
<string name="calling_receiver">Call receiver %1$s(%2$s)</string>
<string name="reply_to">Reply %1$s(%2$s)</string>
<string name="tracking">Tracking %1$s(%2$s)</string>
<string name="calling">Call %1$s(%2$s)</string>
<!-- 网格距离计算-->
<string name="distance">%.0f km</string>
@@ -208,7 +208,7 @@
<string name="html_return">Return</string>
<string name="html_import_count">There are %d records in the ADI file and %d imported records . The format of %d logs is incorrect .</string>
<string name="html_import_count">There are %1$d records in the ADI file and %2$d imported records . The format of %3$d logs is incorrect .</string>
<string name="html_import_failed">Import failed! %s</string>
<string name="html_illegal_command">Illegal command, upload failed!</string>
<string name="html_callsign">Callsign</string>
@@ -306,18 +306,18 @@
<string name="itu_completion_statistics">ITU completion statistics</string>
<string name="count_incomplete">Incomplete</string>
<string name="count_completed">Completed</string>
<string name="count_total_itu">Total ITU : %d\nCompleted %d(%.1f%%)</string>
<string name="count_total_itu">Total ITU : %1$d\nCompleted %2$d(%3$.1f%%)</string>
<string name="count_itu_completed_scale">ITU statistics</string>
<string name="count_cqzone_completed">CQ Zone Statistics</string>
<string name="count_total_cqzone">Total CQ Zone : %d \n Completed : %d(%.1f%%)</string>
<string name="count_total_cqzone">Total CQ Zone : %1$d \n Completed : %2$d(%3$.1f%%)</string>
<string name="count_cqzone_proportion">CQ Zone Statistics</string>
<string name="dxcc_completion_statistics">DXCC statistics</string>
<string name="count_total_dxcc">Total DXCC : %d \nCompleted : %d(%.1f%%)</string>
<string name="count_total_dxcc">Total DXCC : %1$d \nCompleted : %2$d(%3$.1f%%)</string>
<string name="count_dxcc_proportion">DXCC statistics</string>
<string name="callsign_info">Callsign:%s\nLocation:%s\nCQ zone:%d\nITU zone:%d\nContinent:%s\nLongitude and latitude:%.2f,%.2f\nTime zone:%.0f\nDxcc prefix:%s</string>
<string name="callsign_info">Callsign:%1$s\nLocation:%2$s\nCQ zone:%3$d\nITU zone:%4$d\nContinent:%5$s\nLongitude and latitude:%7$.2f,%8$.2f\nTime zone:%9$.0f\nDxcc prefix:%6$s</string>
<string name="maximum_distance">Maximum distance\n\n%s</string>
<string name="minimum_distance">Nearest distance\n\n%s</string>
<string name="count_distance_info">Maximum distance:%.0f km (%s)\nNearest distance:%.0f km (%s)</string>
<string name="count_distance_info">Maximum distance:%3$.0f km (%1$s)\nNearest distance:%4$.0f km (%2$s)</string>
<string name="distance_statistics">Distance statistics</string>
<string name="dxcc_image">dxcc</string>
<string name="cqzone">cq zone</string>
@@ -336,7 +336,7 @@
<string name="xiegu_connect_failed">XieguRadio %s connect failed !</string>
<string name="init_flex_operation">%s is initializing the operation .</string>
<string name="html_max_message_cache">Maximum number of cached messages</string>
<string name="instruction_failed">The instruction %s failed to execute . message : %s</string>
<string name="instruction_failed">The instruction %1$s failed to execute . message : %2$s</string>
<string name="instruction_success">The instruction %s was executed successfully .</string>
<string name="flex_ip_addr">Ip</string>
<string name="pl_input_flex_ip">Please input ip address</string>
@@ -354,7 +354,7 @@
<string name="show_password">Password is visibility</string>
<string name="connect_icom_ip">Connect ICom Radio %s …</string>
<string name="connect_xiegu_ip">Connect XIEGU Radio %s …</string>
<string name="network_exception">%s : Network transmission exception : %s</string>
<string name="network_exception">%1$s : Network transmission exception : %2$s</string>
<string name="login_succeed">Login succeeded !</string>
<string name="loging_failed">Login failed, invalid user name or password.</string>
<string name="data_stream">Data stream</string>
@@ -507,7 +507,7 @@
<string name="xiegu_atu_off">ATU Off</string>
<string name="xiegu_band_str">Band : %s</string>
<string name="alc_low_alert">Warning ! ALC is too low .</string>
<string name="xiegu_meter_info">S.Meter: %.1f dBm\nSWR: %s\nALC: %.1f\nVolt: %.1fV\nTX power: %.1f W\nMax tx power: %.1f\nTX volume:%d%%</string>
<string name="xiegu_meter_info">S.Meter: %3$.1f dBm\nSWR: %1$s\nALC: %4$.1f\nVolt: %5$.1fV\nTX power: %6$.1f W\nMax tx power: %7$.1f\nTX volume:%2$d%%</string>
<string name="serial_connect_no_access">Unable to connect to the serial port, please confirm if you have access to the USB device!</string>
<string name="serial_connect_failed">Serial port opening failed !</string>
<string name="serial_no_driver">Unable to connect to serial port, serial port not found!</string>
@@ -553,4 +553,4 @@
<string name="alc_switch_on" translatable="false">ALC On</string>
<string name="alc_switch_off" translatable="false">ALC Off</string>
</resources>
</resources>