diff --git a/mobile/src/main/java/be/mygod/vpnhotspot/manage/TetherManager.kt b/mobile/src/main/java/be/mygod/vpnhotspot/manage/TetherManager.kt index 1e47c928..92beeeef 100644 --- a/mobile/src/main/java/be/mygod/vpnhotspot/manage/TetherManager.kt +++ b/mobile/src/main/java/be/mygod/vpnhotspot/manage/TetherManager.kt @@ -183,8 +183,8 @@ sealed class TetherManager(protected val parent: TetheringFragment) : Manager(), WifiApManager.channelWidthLookup(bandwidth, true)) } else null, capability?.let { (maxSupportedClients, supportedFeatures) -> - app.getString(R.string.tethering_manage_wifi_capabilities, numClients ?: "?", - maxSupportedClients, sequence { + app.resources.getQuantityString(R.plurals.tethering_manage_wifi_capabilities, maxSupportedClients, + numClients ?: "?", maxSupportedClients, sequence { var features = supportedFeatures if (features == 0L) yield(parent.getString(R.string.tethering_manage_wifi_no_features)) else while (features != 0L) { diff --git a/mobile/src/main/res/values-zh-rCN/strings.xml b/mobile/src/main/res/values-zh-rCN/strings.xml index 9aa20a14..51a51ca8 100644 --- a/mobile/src/main/res/values-zh-rCN/strings.xml +++ b/mobile/src/main/res/values-zh-rCN/strings.xml @@ -58,7 +58,9 @@ USB 网络共享 (NCM) WiGig 热点 %1$d MHz, 频道 %2$d, 频宽 %3$s - 已连接 %1$s/%2$d 个设备\n支持功能:%3$s + + 已连接 %1$s/%2$d 个设备\n支持功能:%3$s + 已屏蔽 %1$s:%2$s 复制 MAC diff --git a/mobile/src/main/res/values/strings.xml b/mobile/src/main/res/values/strings.xml index 5f1bccaf..0043149f 100644 --- a/mobile/src/main/res/values/strings.xml +++ b/mobile/src/main/res/values/strings.xml @@ -68,7 +68,10 @@ USB tethering (NCM) WiGig hotspot %1$d MHz, channel %2$d, width %3$s - %1$s/%2$d clients connected\nSupported features: %3$s + + %1$s/%2$d client connected\nSupported features: %3$s + %1$s/%2$d clients connected\nSupported features: %3$s + None Blocked %1$s: %2$s Copy MAC