From df34959dab177afa76150dbb520743cae556f054 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Igor=20=C5=A0=C4=87eki=C4=87?= <4062236+iscekic@users.noreply.github.com> Date: Mon, 19 Oct 2026 07:51:01 +0000 Subject: [PATCH] fix(mobile): clarify security agent permission and trusted hosts empty copy Rewrite securityAgent.scopeEntry.reauthorizeDescription so it describes the needed capability (reading Dependabot alerts) instead of quoting the raw GitHub permission identifier, and reword trustedHosts.emptyDescription so it covers both trusted link hosts and trusted image hosts; the screen shows that empty state only when both lists are empty. Both strings live in en.json; other catalogs follow the translation flow. --- apps/mobile/src/i18n/locales/en.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/mobile/src/i18n/locales/en.json b/apps/mobile/src/i18n/locales/en.json index bfee02a658f..fa2057ded44 100644 --- a/apps/mobile/src/i18n/locales/en.json +++ b/apps/mobile/src/i18n/locales/en.json @@ -1904,7 +1904,7 @@ "couldNotLoad": "Could not load Security Agent", "installApp": "Install GitHub App", "reauthorizeButton": "Re-authorize GitHub App", - "reauthorizeDescription": "Security Agent requires the vulnerability_alerts permission to access Dependabot alerts. Re-authorize the GitHub App to grant this permission.", + "reauthorizeDescription": "Security Agent needs permission to read Dependabot alerts. Re-authorize the GitHub App to grant this permission.", "reauthorizeFailed": "Could not start re-authorization. Please try again.", "reauthorizeTitle": "Additional permissions required", "setupFailed": "Could not start GitHub setup. Please try again." @@ -2747,7 +2747,7 @@ "title": "Trusted hosts", "subtitle": "Hosts you trust to open without asking", "emptyTitle": "No trusted hosts", - "emptyDescription": "When you trust a link's host, it opens without asking again.", + "emptyDescription": "When you trust a link's host or an image host, it opens without asking again.", "imagesSectionTitle": "Trusted image hosts", "imagesSectionDescription": "Images from these hosts load without asking again.", "imagesSectionEmpty": "No trusted image hosts",