Loading res/values/strings.xml +5 −0 Original line number Diff line number Diff line Loading @@ -6562,6 +6562,11 @@ <string name="certificate_management_app_description">Certificates installed by this app identify you to the apps and URLs below</string> <!-- Label for button to remove the credential management app [CHAR LIMIT=30] --> <string name="remove_credential_management_app">Remove</string> <!-- List item found in the credential management app's authentication policy [CHAR LIMIT=NONE] --> <plurals name="number_of_urls"> <item quantity="one"><xliff:g id="number">%d</xliff:g> URL</item> <item quantity="other"><xliff:g id="number">%d</xliff:g> URLs</item> </plurals> <!-- Sound settings screen, setting check box label --> <string name="emergency_tone_title">Emergency dialing signal</string> src/com/android/settings/security/CredentialManagementAppAdapter.java +2 −2 Original line number Diff line number Diff line Loading @@ -190,8 +190,8 @@ public class CredentialManagementAppAdapter extends RecyclerView.Adapter<Recycle } private String getNumberOfUrlsText(Map<Uri, String> urisToAliases) { String url = urisToAliases.size() > 1 ? " URLs" : " URL"; return urisToAliases.size() + url; return mContext.getResources().getQuantityString(R.plurals.number_of_urls, urisToAliases.size(), urisToAliases.size()); } } Loading Loading
res/values/strings.xml +5 −0 Original line number Diff line number Diff line Loading @@ -6562,6 +6562,11 @@ <string name="certificate_management_app_description">Certificates installed by this app identify you to the apps and URLs below</string> <!-- Label for button to remove the credential management app [CHAR LIMIT=30] --> <string name="remove_credential_management_app">Remove</string> <!-- List item found in the credential management app's authentication policy [CHAR LIMIT=NONE] --> <plurals name="number_of_urls"> <item quantity="one"><xliff:g id="number">%d</xliff:g> URL</item> <item quantity="other"><xliff:g id="number">%d</xliff:g> URLs</item> </plurals> <!-- Sound settings screen, setting check box label --> <string name="emergency_tone_title">Emergency dialing signal</string>
src/com/android/settings/security/CredentialManagementAppAdapter.java +2 −2 Original line number Diff line number Diff line Loading @@ -190,8 +190,8 @@ public class CredentialManagementAppAdapter extends RecyclerView.Adapter<Recycle } private String getNumberOfUrlsText(Map<Uri, String> urisToAliases) { String url = urisToAliases.size() > 1 ? " URLs" : " URL"; return urisToAliases.size() + url; return mContext.getResources().getQuantityString(R.plurals.number_of_urls, urisToAliases.size(), urisToAliases.size()); } } Loading