fix: Use string template for hops away (#2184)

This commit is contained in:
James Rich 2025-06-20 14:20:40 +00:00 committed by GitHub
parent 15ba57bb3a
commit 46332c95a4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -221,7 +221,7 @@ internal fun MessageItem(
}
} else {
Text(
text = stringResource(R.string.hops_away, message.hopsAway),
text = stringResource(R.string.hops_away_template, message.hopsAway),
style = MaterialTheme.typography.labelSmall,
)
}

View file

@ -299,6 +299,7 @@
<string name="humidity">Humidity</string>
<string name="logs">Logs</string>
<string name="hops_away">Hops Away</string>
<string name="hops_away_template">Hops Away: %$1d</string>
<string name="info">Information</string>
<string name="ch_util_definition">Utilization for the current channel, including well formed TX, RX and malformed RX (aka noise).</string>
<string name="air_util_definition">Percent of airtime for transmission used within the last hour.</string>