mirror of
https://github.com/rt-bishop/Look4Sat.git
synced 2026-10-02 03:15:37 +00:00
Extracted hardcoded UI strings to resources (en/zh) (#247)
This commit is contained in:
1 parent
9cac33dae7
commit
796056a582
7 files changed
+73
-18
No files matched your search
+2
-2
@@ -980,7 +980,7 @@ fun RadioControlDialog(
|
||||
modifier = Modifier.fillMaxWidth()
|
||||
) {
|
||||
Text(
|
||||
text = "Split mode (IC-705 only)",
|
||||
text = stringResource(R.string.settings_split_mode),
|
||||
fontWeight = FontWeight.Medium,
|
||||
color = splitModeLabelColor
|
||||
)
|
||||
@@ -1020,7 +1020,7 @@ fun RadioControlDialog(
|
||||
|
||||
if (selectingFor.value.isNotBlank()) {
|
||||
Text(
|
||||
text = "Paired Bluetooth Devices:",
|
||||
text = stringResource(R.string.settings_paired_devices),
|
||||
fontWeight = FontWeight.Medium,
|
||||
color = MaterialTheme.colorScheme.primary
|
||||
)
|
||||
|
||||
+3
-3
@@ -342,9 +342,9 @@ private fun LocationCard(
|
||||
Text(text = formatUpdateTime(updateTime = settings.stationPos.timestamp))
|
||||
Spacer(modifier = Modifier.height(2.dp))
|
||||
Row(horizontalArrangement = Arrangement.SpaceBetween, modifier = Modifier.fillMaxWidth()) {
|
||||
Text(text = "Lat: ${settings.stationPos.latitude}°")
|
||||
Text(text = "Lon: ${settings.stationPos.longitude}°")
|
||||
Text(text = "Qth: ${settings.stationPos.qthLocator}")
|
||||
Text(text = stringResource(R.string.prefs_lat_prefix, settings.stationPos.latitude))
|
||||
Text(text = stringResource(R.string.prefs_lon_prefix, settings.stationPos.longitude))
|
||||
Text(text = stringResource(R.string.prefs_qth_prefix, settings.stationPos.qthLocator))
|
||||
}
|
||||
Spacer(modifier = Modifier.height(1.dp))
|
||||
Row(horizontalArrangement = Arrangement.SpaceEvenly) {
|
||||
|
||||
Reference in new issue
Block a user