mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
fix missing strings reported by @Mango-sauce
This commit is contained in:
parent
45a5d47d21
commit
ee34a7a370
2 changed files with 9 additions and 3 deletions
|
|
@ -330,9 +330,12 @@ class MeshService : Service(), Logging {
|
|||
|
||||
private val summaryString
|
||||
get() = when (connectionState) {
|
||||
ConnectionState.CONNECTED -> "Connected: $numOnlineNodes of $numNodes online"
|
||||
ConnectionState.DISCONNECTED -> "Disconnected"
|
||||
ConnectionState.DEVICE_SLEEP -> "Device sleeping"
|
||||
ConnectionState.CONNECTED -> getString(R.string.connected_count).format(
|
||||
numOnlineNodes,
|
||||
numNodes
|
||||
)
|
||||
ConnectionState.DISCONNECTED -> getString(R.string.disconnected)
|
||||
ConnectionState.DEVICE_SLEEP -> getString(R.string.device_sleeping)
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -50,4 +50,7 @@
|
|||
<string name="pairing_failed_try_again">Pairing failed, please select again</string>
|
||||
<string name="location_disabled">Location access is disabled, can not provide position to the mesh.</string>
|
||||
<string name="share">Share</string>
|
||||
<string name="disconnected">Disconnected</string>
|
||||
<string name="device_sleeping">Device sleeping</string>
|
||||
<string name="connected_count">Connected: %s of %s online</string>
|
||||
</resources>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue