Use plurals
This commit is contained in:
parent
12d969b2c0
commit
cc80bf986c
@ -40,7 +40,8 @@ class TestAvailableUnifiedPushDistributors @Inject constructor(
|
|||||||
}
|
}
|
||||||
)
|
)
|
||||||
} else {
|
} else {
|
||||||
stringProvider.getString(R.string.settings_troubleshoot_test_distributors_many, distributors.size + 1)
|
val quantity = distributors.size + 1
|
||||||
|
stringProvider.getQuantityString(R.plurals.settings_troubleshoot_test_distributors_many, quantity, quantity)
|
||||||
}
|
}
|
||||||
status = TestStatus.SUCCESS
|
status = TestStatus.SUCCESS
|
||||||
}
|
}
|
||||||
|
@ -3077,7 +3077,10 @@
|
|||||||
<string name="settings_troubleshoot_test_distributors_title">Available methods</string>
|
<string name="settings_troubleshoot_test_distributors_title">Available methods</string>
|
||||||
<string name="settings_troubleshoot_test_distributors_gplay">No other method than Google Play Service found.</string>
|
<string name="settings_troubleshoot_test_distributors_gplay">No other method than Google Play Service found.</string>
|
||||||
<string name="settings_troubleshoot_test_distributors_fdroid">No other method than background synchronization found.</string>
|
<string name="settings_troubleshoot_test_distributors_fdroid">No other method than background synchronization found.</string>
|
||||||
<string name="settings_troubleshoot_test_distributors_many">Found %d methods.</string>
|
<plurals name="settings_troubleshoot_test_distributors_many">
|
||||||
|
<item quantity="one">Found %d method.</item>
|
||||||
|
<item quantity="other">Found %d methods.</item>
|
||||||
|
</plurals>
|
||||||
<string name="settings_troubleshoot_test_current_distributor_title">Method</string>
|
<string name="settings_troubleshoot_test_current_distributor_title">Method</string>
|
||||||
<string name="settings_troubleshoot_test_current_distributor">Currently using %s.</string>
|
<string name="settings_troubleshoot_test_current_distributor">Currently using %s.</string>
|
||||||
<string name="settings_troubleshoot_test_current_endpoint_title">Endpoint</string>
|
<string name="settings_troubleshoot_test_current_endpoint_title">Endpoint</string>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user