using singular for the policy copy name to match content

This commit is contained in:
Adam Brown 2021-10-07 17:45:30 +01:00
parent d00858f83b
commit 259b6d56d7
2 changed files with 4 additions and 4 deletions

View file

@ -126,8 +126,8 @@ class DiscoverySettingsController @Inject constructor(
formAdvancedToggleItem {
id("policy-urls")
val titleRes = if (data.isIdentityPolicyUrlsExpanded) {
R.string.settings_discovery_hide_identity_server_policies_title
} else R.string.settings_discovery_show_identity_server_policies_title
R.string.settings_discovery_hide_identity_server_policy_title
} else R.string.settings_discovery_show_identity_server_policy_title
title(host.stringProvider.getString(titleRes))
expanded(data.isIdentityPolicyUrlsExpanded)
listener { host.listener?.onPolicyUrlsExpandedStateToggled(!data.isIdentityPolicyUrlsExpanded) }

View file

@ -2349,8 +2349,8 @@
<string name="add_identity_server">Configure identity server</string>
<string name="open_discovery_settings">Open Discovery Settings</string>
<string name="change_identity_server">Change identity server</string>
<string name="settings_discovery_show_identity_server_policies_title">Show identity server policy</string>
<string name="settings_discovery_hide_identity_server_policies_title">Hide identity server policy</string>
<string name="settings_discovery_show_identity_server_policy_title">Show identity server policy</string>
<string name="settings_discovery_hide_identity_server_policy_title">Hide identity server policy</string>
<string name="settings_discovery_no_policy_provided">No policy provided by the identity server</string>
<string name="settings_discovery_identity_server_info">You are currently using %1$s to discover and be discoverable by existing contacts you know.</string>
<string name="settings_discovery_identity_server_info_none">You are not currently using an identity server. To discover and be discoverable by existing contacts you know, configure one below.</string>