Add translations

This commit is contained in:
Mygod
2018-01-21 13:58:20 -08:00
parent 1e97032630
commit 84cf926df1
5 changed files with 15 additions and 12 deletions

View File

@@ -84,7 +84,6 @@ class RepeaterFragment : Fragment(), ServiceConnection, Toolbar.OnMenuItemClickL
val description get() = getString(when (neighbour?.state) {
IpNeighbour.State.INCOMPLETE, null -> R.string.connected_state_incomplete
IpNeighbour.State.VALID -> R.string.connected_state_valid
IpNeighbour.State.VALID_DELAY -> R.string.connected_state_valid_delay
IpNeighbour.State.FAILED -> R.string.connected_state_failed
else -> throw IllegalStateException()
}, iface)