From dab57ab840f11b6457bc2a9e43ca7112cc17bb35 Mon Sep 17 00:00:00 2001 From: Satindar Dhillon Date: Thu, 24 Feb 2022 11:53:20 -0800 Subject: [PATCH] update extension success messages --- .../Sources/Views/Resources/en.lproj/Localizable.strings | 4 ++-- apple/OmnivoreKit/Sources/Views/ShareExtensionView.swift | 2 +- pkg/extension/src/scripts/background.js | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apple/OmnivoreKit/Sources/Views/Resources/en.lproj/Localizable.strings b/apple/OmnivoreKit/Sources/Views/Resources/en.lproj/Localizable.strings index e32c091a5..3c8569321 100644 --- a/apple/OmnivoreKit/Sources/Views/Resources/en.lproj/Localizable.strings +++ b/apple/OmnivoreKit/Sources/Views/Resources/en.lproj/Localizable.strings @@ -11,6 +11,6 @@ "extensionAppUnauthorized" = "Please login to Omnivore from the app before saving your first link."; "loginError.invalidCreds" = "The login credentials provided are invalid."; "saveArticleSavingState" = "Saving..."; -"saveArticleSavedState" = "Link Saved!"; -"saveArticleProcessingState" = "Link saved!"; +"saveArticleSavedState" = "Saved to Omnivore"; +"saveArticleProcessingState" = "Saved to Omnivore"; "dismissButton" = "Dismiss"; diff --git a/apple/OmnivoreKit/Sources/Views/ShareExtensionView.swift b/apple/OmnivoreKit/Sources/Views/ShareExtensionView.swift index a5e7ba0f6..d9d11893b 100644 --- a/apple/OmnivoreKit/Sources/Views/ShareExtensionView.swift +++ b/apple/OmnivoreKit/Sources/Views/ShareExtensionView.swift @@ -164,7 +164,7 @@ public struct ShareExtensionView: View { savedStateView } else { HStack(spacing: 4) { - Text("Link saved and will be available in your inbox shortly.") + Text("Saved to Omnivore") .font(.appTitleThree) .foregroundColor(.appGrayText) .padding(.trailing, 16) diff --git a/pkg/extension/src/scripts/background.js b/pkg/extension/src/scripts/background.js index 9a93ef912..0e9099bef 100644 --- a/pkg/extension/src/scripts/background.js +++ b/pkg/extension/src/scripts/background.js @@ -210,7 +210,7 @@ function saveArticle (tab) { browserApi.tabs.sendMessage(tab.id, { action: ACTIONS.ShowMessage, payload: { - text: 'Page saved!', + text: 'Saved to Omnivore', link: link, linkText: 'View', type: 'success' @@ -232,7 +232,7 @@ function saveArticle (tab) { browserApi.tabs.sendMessage(tab.id, { action: ACTIONS.ShowMessage, payload: { - text: 'Page saved!', + text: 'Saved to Omnivore', link: link, linkText: 'View', type: 'success'