diff --git a/Modules/Package.resolved b/Modules/Package.resolved index 854e1f730863..1a4d5689fdc5 100644 --- a/Modules/Package.resolved +++ b/Modules/Package.resolved @@ -1,5 +1,5 @@ { - "originHash" : "84257158eee34b797c4f5c81ad33c2f508fe93818c99642c468f31136376cda1", + "originHash" : "e9beeef5b5a88cb27b7ec9dbfda60de6bb3ba45352c92932b2b086226c94cfc6", "pins" : [ { "identity" : "alamofire", @@ -131,8 +131,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/wordpress-mobile/GutenbergKit", "state" : { - "revision" : "f390848952e98d241075c4e65f1e0f6791a695fa", - "version" : "0.15.0" + "revision" : "b274c08a93677c3c8481094d91f3c2b213ff915a", + "version" : "0.17.1" } }, { diff --git a/Modules/Package.swift b/Modules/Package.swift index d8cc26e89930..a1d8741b42f4 100644 --- a/Modules/Package.swift +++ b/Modules/Package.swift @@ -60,7 +60,7 @@ let package = Package( revision: "b34794c9a3f32312e1593d4a3d120572afa0d010" ), .package(url: "https://github.com/zendesk/support_sdk_ios", from: "8.0.3"), - .package(url: "https://github.com/wordpress-mobile/GutenbergKit", from: "0.15.0"), + .package(url: "https://github.com/wordpress-mobile/GutenbergKit", exact: "0.17.1"), .package( url: "https://github.com/automattic/wordpress-rs", exact: "0.3.0" diff --git a/WordPress/Classes/ViewRelated/NewGutenberg/GBKExtensions.swift b/WordPress/Classes/ViewRelated/NewGutenberg/GBKExtensions.swift index 1c18c01476d7..5872a9e13f43 100644 --- a/WordPress/Classes/ViewRelated/NewGutenberg/GBKExtensions.swift +++ b/WordPress/Classes/ViewRelated/NewGutenberg/GBKExtensions.swift @@ -44,6 +44,11 @@ private func getLocalizedString(for value: GutenbergKit.EditorLocalizableString) case .patternsCategoryAll: NSLocalizedString("editor.patterns.all", value: "All", comment: "Category name for section showing all patterns") case .loadingEditor: NSLocalizedString("editor.loading.title", value: "Loading Editor", comment: "Text shown while the editor is loading") case .editorError: NSLocalizedString("editor.error.title", value: "Editor Error", comment: "Title shown when the editor encounters an error") + case .lockdownModeTitle: NSLocalizedString("editor.lockdownMode.title", value: "Lockdown Mode Detected", comment: "Title shown when the editor detects that Lockdown Mode is enabled") + case .lockdownModeWarning: NSLocalizedString("editor.lockdownMode.warning", value: "Lockdown Mode is enabled. The editor may not work correctly.", comment: "Warning shown when the editor detects that Lockdown Mode is enabled") + case .lockdownModeExcludeHint: NSLocalizedString("editor.lockdownMode.excludeHint", value: "You can exclude this app from Lockdown Mode in Settings, then re-open the editor to restore full functionality.", comment: "Hint explaining how to exclude the app from Lockdown Mode so the editor works") + case .lockdownModeLearnMore: NSLocalizedString("editor.lockdownMode.learnMore", value: "Learn More", comment: "Button title to learn more about Lockdown Mode and the editor") + case .lockdownModeDismiss: NSLocalizedString("editor.lockdownMode.dismiss", value: "Dismiss", comment: "Button title to dismiss the Lockdown Mode warning in the editor") } }