From 868f250a453c54fe90256996a1d623d3b0c3af75 Mon Sep 17 00:00:00 2001 From: Philipp Heckel Date: Fri, 9 Jan 2026 19:36:25 -0500 Subject: [PATCH] Strings --- .../main/java/io/heckel/ntfy/ui/TrustedCertificateFragment.kt | 3 ++- app/src/main/res/values/strings.xml | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/io/heckel/ntfy/ui/TrustedCertificateFragment.kt b/app/src/main/java/io/heckel/ntfy/ui/TrustedCertificateFragment.kt index 8d203a6e..d19dd9da 100644 --- a/app/src/main/java/io/heckel/ntfy/ui/TrustedCertificateFragment.kt +++ b/app/src/main/java/io/heckel/ntfy/ui/TrustedCertificateFragment.kt @@ -232,7 +232,8 @@ class TrustedCertificateFragment : DialogFragment() { trustMenuItem.isVisible = false deleteMenuItem.isVisible = true - descriptionText.isVisible = false + descriptionText.setText(R.string.trusted_certificate_dialog_description_view) + descriptionText.isVisible = true baseUrlValueLabel.isVisible = true baseUrlValueText.isVisible = true baseUrlValueText.text = baseUrl diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 378d7c01..c2c1a986 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -513,6 +513,7 @@ Your connection is not private The server certificate is not trusted. Attackers might be trying to steal your information. Do not proceed unless you know why this certificate is not trusted. You\'ve selected a certificate file. Review the details below before adding it to your trusted certificates. + This certificate is used for connections to the service URL below. You manually added this exception. Enter the service URL that this certificate should be pinned to. The certificate will only be trusted for this URL. Warning: This certificate has expired. Warning: This certificate is not yet valid.