From 0ba072c6dd1a54d7f0cb1a37467f475ce3974df3 Mon Sep 17 00:00:00 2001 From: Davide De Rosa Date: Sat, 6 Apr 2019 22:35:09 +0200 Subject: [PATCH 1/2] Normalize intent localization --- Passepartout.xcodeproj/project.pbxproj | 4 +- .../en.lproj/Intents.intentdefinition | 659 ------------------ .../it.lproj/Intents.intentdefinition | 659 ------------------ 3 files changed, 2 insertions(+), 1320 deletions(-) delete mode 100644 Passepartout/Resources/en.lproj/Intents.intentdefinition delete mode 100644 Passepartout/Resources/it.lproj/Intents.intentdefinition diff --git a/Passepartout.xcodeproj/project.pbxproj b/Passepartout.xcodeproj/project.pbxproj index f2fe6261..10fe312d 100644 --- a/Passepartout.xcodeproj/project.pbxproj +++ b/Passepartout.xcodeproj/project.pbxproj @@ -174,6 +174,7 @@ 0E158AD920E11B0B00C85A82 /* EndpointViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = EndpointViewController.swift; sourceTree = ""; }; 0E1D72B1213BFFCF00BA1586 /* ProviderPresetViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ProviderPresetViewController.swift; sourceTree = ""; }; 0E1D72B3213C118500BA1586 /* ConfigurationViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ConfigurationViewController.swift; sourceTree = ""; }; + 0E242735225944060064A1A3 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/Intents.strings; sourceTree = ""; }; 0E2B493F20FCFF990094784C /* Theme+Titles.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Theme+Titles.swift"; sourceTree = ""; }; 0E2B494120FD16540094784C /* TransientStore.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TransientStore.swift; sourceTree = ""; }; 0E2D11B9217DBEDE0096822C /* ConnectionService+Configurations.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "ConnectionService+Configurations.swift"; sourceTree = ""; }; @@ -195,7 +196,6 @@ 0E4FD7F020D58618002221FF /* Macros.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Macros.swift; sourceTree = ""; }; 0E4FD80420D683A2002221FF /* NetworkExtension.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = NetworkExtension.framework; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/NetworkExtension.framework; sourceTree = DEVELOPER_DIR; }; 0E533B0C2257BAB900EF94FC /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.intentdefinition; name = Base; path = Base.lproj/Intents.intentdefinition; sourceTree = ""; }; - 0E533B0E2257BAC800EF94FC /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/Intents.strings; sourceTree = ""; }; 0E533B102257C0F200EF94FC /* it */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/Intents.strings; sourceTree = ""; }; 0E533B142257C1DC00EF94FC /* it */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/Localizable.strings; sourceTree = ""; }; 0E533B152258E03B00EF94FC /* PoolGroup.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PoolGroup.swift; sourceTree = ""; }; @@ -1130,8 +1130,8 @@ isa = PBXVariantGroup; children = ( 0E533B0C2257BAB900EF94FC /* Base */, - 0E533B0E2257BAC800EF94FC /* en */, 0E533B102257C0F200EF94FC /* it */, + 0E242735225944060064A1A3 /* en */, ); name = Intents.intentdefinition; sourceTree = ""; diff --git a/Passepartout/Resources/en.lproj/Intents.intentdefinition b/Passepartout/Resources/en.lproj/Intents.intentdefinition deleted file mode 100644 index 4e1caed5..00000000 --- a/Passepartout/Resources/en.lproj/Intents.intentdefinition +++ /dev/null @@ -1,659 +0,0 @@ - - - - - INEnums - - INIntentDefinitionModelVersion - 1.0 - INIntentDefinitionSystemVersion - 18D42 - INIntentDefinitionToolsBuildVersion - 10B61 - INIntentDefinitionToolsVersion - 10.1 - INIntents - - - INIntentCategory - generic - INIntentDescriptionID - eXXb2z - INIntentLastParameterTag - 5 - INIntentName - ConnectVPN - INIntentParameterCombinations - - context,profileId - - INIntentParameterCombinationIsPrimary - - INIntentParameterCombinationSubtitle - - INIntentParameterCombinationSubtitleID - uMFvJW - INIntentParameterCombinationSupportsBackgroundExecution - - INIntentParameterCombinationTitle - Connect to ${profileId} - INIntentParameterCombinationTitleID - U6o81V - - - INIntentParameters - - - INIntentParameterDisplayPriority - 1 - INIntentParameterName - context - INIntentParameterSupportsMultipleValues - - INIntentParameterTag - 5 - INIntentParameterType - String - - - INIntentParameterDisplayPriority - 2 - INIntentParameterName - profileId - INIntentParameterSupportsMultipleValues - - INIntentParameterTag - 4 - INIntentParameterType - String - - - INIntentResponse - - INIntentResponseCodes - - - INIntentResponseCodeFormatString - - INIntentResponseCodeFormatStringID - uKU9RD - INIntentResponseCodeName - failure - INIntentResponseCodeSuccess - - - - INIntentResponseCodeFormatString - - INIntentResponseCodeFormatStringID - WNbRl5 - INIntentResponseCodeName - success - INIntentResponseCodeSuccess - - - - INIntentResponseLastParameterTag - 0 - INIntentResponseParameters - - - INIntentRestrictions - 0 - INIntentTitle - Connect to VPN - INIntentTitleID - LA99yM - INIntentType - Custom - INIntentUserConfirmationRequired - - INIntentVerb - Do - - - INIntentCategory - generic - INIntentDescriptionID - BKxs8X - INIntentLastParameterTag - 0 - INIntentName - TrustCurrentNetwork - INIntentParameterCombinations - - - - INIntentParameterCombinationIsPrimary - - INIntentParameterCombinationSubtitle - - INIntentParameterCombinationSubtitleID - AxbXUn - INIntentParameterCombinationSupportsBackgroundExecution - - INIntentParameterCombinationTitle - - INIntentParameterCombinationTitleID - POyDPM - - - INIntentParameters - - INIntentResponse - - INIntentResponseCodes - - - INIntentResponseCodeFormatString - - INIntentResponseCodeFormatStringID - x3pVKZ - INIntentResponseCodeName - failure - INIntentResponseCodeSuccess - - - - INIntentResponseCodeFormatString - - INIntentResponseCodeFormatStringID - qEDn4J - INIntentResponseCodeName - success - INIntentResponseCodeSuccess - - - - INIntentResponseLastParameterTag - 0 - INIntentResponseParameters - - - INIntentRestrictions - 0 - INIntentTitle - Trust current Wi-Fi - INIntentTitleID - m2E7SI - INIntentType - Custom - INIntentUserConfirmationRequired - - INIntentVerb - Do - - - INIntentCategory - generic - INIntentDescriptionID - eQ1yzr - INIntentLastParameterTag - 0 - INIntentName - DisableVPN - INIntentParameterCombinations - - - - INIntentParameterCombinationIsPrimary - - INIntentParameterCombinationSubtitle - - INIntentParameterCombinationSubtitleID - 85kxu8 - INIntentParameterCombinationSupportsBackgroundExecution - - INIntentParameterCombinationTitle - - INIntentParameterCombinationTitleID - IeGsEq - - - INIntentParameters - - INIntentResponse - - INIntentResponseCodes - - - INIntentResponseCodeFormatString - - INIntentResponseCodeFormatStringID - fnSNbT - INIntentResponseCodeName - failure - INIntentResponseCodeSuccess - - - - INIntentResponseCodeFormatString - - INIntentResponseCodeFormatStringID - oKHXZ3 - INIntentResponseCodeName - success - INIntentResponseCodeSuccess - - - - INIntentResponseLastParameterTag - 0 - INIntentResponseParameters - - - INIntentRestrictions - 0 - INIntentTitle - Disable VPN - INIntentTitleID - 1ZRTCZ - INIntentType - Custom - INIntentUserConfirmationRequired - - INIntentVerb - Do - - - INIntentCategory - generic - INIntentDescriptionID - 7eoAss - INIntentLastParameterTag - 0 - INIntentName - UntrustCurrentNetwork - INIntentParameterCombinations - - - - INIntentParameterCombinationIsPrimary - - INIntentParameterCombinationSubtitle - - INIntentParameterCombinationSubtitleID - pb3MGt - INIntentParameterCombinationSupportsBackgroundExecution - - INIntentParameterCombinationTitle - - INIntentParameterCombinationTitleID - 0Wu9nb - - - INIntentParameters - - INIntentResponse - - INIntentResponseCodes - - - INIntentResponseCodeFormatString - - INIntentResponseCodeFormatStringID - r0ZjO4 - INIntentResponseCodeName - failure - INIntentResponseCodeSuccess - - - - INIntentResponseCodeFormatString - - INIntentResponseCodeFormatStringID - rtaAzk - INIntentResponseCodeName - success - INIntentResponseCodeSuccess - - - - INIntentResponseLastParameterTag - 0 - INIntentResponseParameters - - - INIntentRestrictions - 0 - INIntentTitle - Untrust current Wi-Fi - INIntentTitleID - rd1T8p - INIntentType - Custom - INIntentUserConfirmationRequired - - INIntentVerb - Do - - - INIntentCategory - generic - INIntentDescriptionID - 9GpJt5 - INIntentLastParameterTag - 0 - INIntentName - TrustCellularNetwork - INIntentParameterCombinations - - - - INIntentParameterCombinationIsPrimary - - INIntentParameterCombinationSubtitle - - INIntentParameterCombinationSubtitleID - vIPVA5 - INIntentParameterCombinationSupportsBackgroundExecution - - INIntentParameterCombinationTitle - - INIntentParameterCombinationTitleID - NWWgCl - - - INIntentParameters - - INIntentResponse - - INIntentResponseCodes - - - INIntentResponseCodeFormatString - - INIntentResponseCodeFormatStringID - nMRaxS - INIntentResponseCodeName - failure - INIntentResponseCodeSuccess - - - - INIntentResponseCodeFormatString - - INIntentResponseCodeFormatStringID - gSqy7Y - INIntentResponseCodeName - success - INIntentResponseCodeSuccess - - - - INIntentResponseLastParameterTag - 0 - INIntentResponseParameters - - - INIntentRestrictions - 0 - INIntentTitle - Trust cellular network - INIntentTitleID - H4taev - INIntentType - Custom - INIntentUserConfirmationRequired - - INIntentVerb - Do - - - INIntentCategory - generic - INIntentDescriptionID - 0jRWn5 - INIntentLastParameterTag - 0 - INIntentName - UntrustCellularNetwork - INIntentParameterCombinations - - - - INIntentParameterCombinationIsPrimary - - INIntentParameterCombinationSubtitle - - INIntentParameterCombinationSubtitleID - qRkLSU - INIntentParameterCombinationSupportsBackgroundExecution - - INIntentParameterCombinationTitle - - INIntentParameterCombinationTitleID - ggzKA2 - - - INIntentParameters - - INIntentResponse - - INIntentResponseCodes - - - INIntentResponseCodeFormatString - - INIntentResponseCodeFormatStringID - YncGoj - INIntentResponseCodeName - failure - INIntentResponseCodeSuccess - - - - INIntentResponseCodeFormatString - - INIntentResponseCodeFormatStringID - BW8KLX - INIntentResponseCodeName - success - INIntentResponseCodeSuccess - - - - INIntentResponseLastParameterTag - 0 - INIntentResponseParameters - - - INIntentRestrictions - 0 - INIntentTitle - Untrust cellular network - INIntentTitleID - wB1iYX - INIntentType - Custom - INIntentUserConfirmationRequired - - INIntentVerb - Do - - - INIntentCategory - generic - INIntentDescriptionID - KjkCfU - INIntentLastParameterTag - 3 - INIntentName - MoveToLocation - INIntentParameterCombinations - - providerId,poolName,poolId - - INIntentParameterCombinationIsPrimary - - INIntentParameterCombinationSubtitle - With ${providerId} provider - INIntentParameterCombinationSubtitleID - 66bZBE - INIntentParameterCombinationSupportsBackgroundExecution - - INIntentParameterCombinationTitle - Connect to ${poolName} - INIntentParameterCombinationTitleID - WnTPFg - - - INIntentParameters - - - INIntentParameterDisplayPriority - 1 - INIntentParameterName - providerId - INIntentParameterSupportsMultipleValues - - INIntentParameterTag - 2 - INIntentParameterType - String - - - INIntentParameterDisplayPriority - 2 - INIntentParameterName - poolId - INIntentParameterSupportsMultipleValues - - INIntentParameterTag - 3 - INIntentParameterType - String - - - INIntentParameterDisplayPriority - 3 - INIntentParameterName - poolName - INIntentParameterSupportsMultipleValues - - INIntentParameterTag - 1 - INIntentParameterType - String - - - INIntentResponse - - INIntentResponseCodes - - - INIntentResponseCodeFormatString - - INIntentResponseCodeFormatStringID - PmWNkC - INIntentResponseCodeName - failure - INIntentResponseCodeSuccess - - - - INIntentResponseCodeFormatString - - INIntentResponseCodeFormatStringID - O6nCLQ - INIntentResponseCodeName - success - INIntentResponseCodeSuccess - - - - INIntentResponseLastParameterTag - 0 - INIntentResponseParameters - - - INIntentRestrictions - 0 - INIntentTitle - Connect to provider location - INIntentTitleID - qo3Szz - INIntentType - Custom - INIntentUserConfirmationRequired - - INIntentVerb - Go - - - INIntentCategory - generic - INIntentDescription - With currently active profile - INIntentDescriptionID - xY97Vu - INIntentLastParameterTag - 0 - INIntentName - EnableVPN - INIntentParameterCombinations - - - - INIntentParameterCombinationIsPrimary - - INIntentParameterCombinationSubtitle - - INIntentParameterCombinationSubtitleID - NCoK9B - INIntentParameterCombinationSupportsBackgroundExecution - - INIntentParameterCombinationTitle - - INIntentParameterCombinationTitleID - yesvFP - - - INIntentParameters - - INIntentResponse - - INIntentResponseCodes - - - INIntentResponseCodeFormatString - - INIntentResponseCodeFormatStringID - FJp18d - INIntentResponseCodeName - failure - INIntentResponseCodeSuccess - - - - INIntentResponseCodeFormatString - - INIntentResponseCodeFormatStringID - lV5LVw - INIntentResponseCodeName - success - INIntentResponseCodeSuccess - - - - INIntentResponseLastParameterTag - 0 - INIntentResponseParameters - - - INIntentRestrictions - 0 - INIntentTitle - Enable VPN - INIntentTitleID - lQ6ziK - INIntentType - Custom - INIntentUserConfirmationRequired - - INIntentVerb - Do - - - - diff --git a/Passepartout/Resources/it.lproj/Intents.intentdefinition b/Passepartout/Resources/it.lproj/Intents.intentdefinition deleted file mode 100644 index 4e1caed5..00000000 --- a/Passepartout/Resources/it.lproj/Intents.intentdefinition +++ /dev/null @@ -1,659 +0,0 @@ - - - - - INEnums - - INIntentDefinitionModelVersion - 1.0 - INIntentDefinitionSystemVersion - 18D42 - INIntentDefinitionToolsBuildVersion - 10B61 - INIntentDefinitionToolsVersion - 10.1 - INIntents - - - INIntentCategory - generic - INIntentDescriptionID - eXXb2z - INIntentLastParameterTag - 5 - INIntentName - ConnectVPN - INIntentParameterCombinations - - context,profileId - - INIntentParameterCombinationIsPrimary - - INIntentParameterCombinationSubtitle - - INIntentParameterCombinationSubtitleID - uMFvJW - INIntentParameterCombinationSupportsBackgroundExecution - - INIntentParameterCombinationTitle - Connect to ${profileId} - INIntentParameterCombinationTitleID - U6o81V - - - INIntentParameters - - - INIntentParameterDisplayPriority - 1 - INIntentParameterName - context - INIntentParameterSupportsMultipleValues - - INIntentParameterTag - 5 - INIntentParameterType - String - - - INIntentParameterDisplayPriority - 2 - INIntentParameterName - profileId - INIntentParameterSupportsMultipleValues - - INIntentParameterTag - 4 - INIntentParameterType - String - - - INIntentResponse - - INIntentResponseCodes - - - INIntentResponseCodeFormatString - - INIntentResponseCodeFormatStringID - uKU9RD - INIntentResponseCodeName - failure - INIntentResponseCodeSuccess - - - - INIntentResponseCodeFormatString - - INIntentResponseCodeFormatStringID - WNbRl5 - INIntentResponseCodeName - success - INIntentResponseCodeSuccess - - - - INIntentResponseLastParameterTag - 0 - INIntentResponseParameters - - - INIntentRestrictions - 0 - INIntentTitle - Connect to VPN - INIntentTitleID - LA99yM - INIntentType - Custom - INIntentUserConfirmationRequired - - INIntentVerb - Do - - - INIntentCategory - generic - INIntentDescriptionID - BKxs8X - INIntentLastParameterTag - 0 - INIntentName - TrustCurrentNetwork - INIntentParameterCombinations - - - - INIntentParameterCombinationIsPrimary - - INIntentParameterCombinationSubtitle - - INIntentParameterCombinationSubtitleID - AxbXUn - INIntentParameterCombinationSupportsBackgroundExecution - - INIntentParameterCombinationTitle - - INIntentParameterCombinationTitleID - POyDPM - - - INIntentParameters - - INIntentResponse - - INIntentResponseCodes - - - INIntentResponseCodeFormatString - - INIntentResponseCodeFormatStringID - x3pVKZ - INIntentResponseCodeName - failure - INIntentResponseCodeSuccess - - - - INIntentResponseCodeFormatString - - INIntentResponseCodeFormatStringID - qEDn4J - INIntentResponseCodeName - success - INIntentResponseCodeSuccess - - - - INIntentResponseLastParameterTag - 0 - INIntentResponseParameters - - - INIntentRestrictions - 0 - INIntentTitle - Trust current Wi-Fi - INIntentTitleID - m2E7SI - INIntentType - Custom - INIntentUserConfirmationRequired - - INIntentVerb - Do - - - INIntentCategory - generic - INIntentDescriptionID - eQ1yzr - INIntentLastParameterTag - 0 - INIntentName - DisableVPN - INIntentParameterCombinations - - - - INIntentParameterCombinationIsPrimary - - INIntentParameterCombinationSubtitle - - INIntentParameterCombinationSubtitleID - 85kxu8 - INIntentParameterCombinationSupportsBackgroundExecution - - INIntentParameterCombinationTitle - - INIntentParameterCombinationTitleID - IeGsEq - - - INIntentParameters - - INIntentResponse - - INIntentResponseCodes - - - INIntentResponseCodeFormatString - - INIntentResponseCodeFormatStringID - fnSNbT - INIntentResponseCodeName - failure - INIntentResponseCodeSuccess - - - - INIntentResponseCodeFormatString - - INIntentResponseCodeFormatStringID - oKHXZ3 - INIntentResponseCodeName - success - INIntentResponseCodeSuccess - - - - INIntentResponseLastParameterTag - 0 - INIntentResponseParameters - - - INIntentRestrictions - 0 - INIntentTitle - Disable VPN - INIntentTitleID - 1ZRTCZ - INIntentType - Custom - INIntentUserConfirmationRequired - - INIntentVerb - Do - - - INIntentCategory - generic - INIntentDescriptionID - 7eoAss - INIntentLastParameterTag - 0 - INIntentName - UntrustCurrentNetwork - INIntentParameterCombinations - - - - INIntentParameterCombinationIsPrimary - - INIntentParameterCombinationSubtitle - - INIntentParameterCombinationSubtitleID - pb3MGt - INIntentParameterCombinationSupportsBackgroundExecution - - INIntentParameterCombinationTitle - - INIntentParameterCombinationTitleID - 0Wu9nb - - - INIntentParameters - - INIntentResponse - - INIntentResponseCodes - - - INIntentResponseCodeFormatString - - INIntentResponseCodeFormatStringID - r0ZjO4 - INIntentResponseCodeName - failure - INIntentResponseCodeSuccess - - - - INIntentResponseCodeFormatString - - INIntentResponseCodeFormatStringID - rtaAzk - INIntentResponseCodeName - success - INIntentResponseCodeSuccess - - - - INIntentResponseLastParameterTag - 0 - INIntentResponseParameters - - - INIntentRestrictions - 0 - INIntentTitle - Untrust current Wi-Fi - INIntentTitleID - rd1T8p - INIntentType - Custom - INIntentUserConfirmationRequired - - INIntentVerb - Do - - - INIntentCategory - generic - INIntentDescriptionID - 9GpJt5 - INIntentLastParameterTag - 0 - INIntentName - TrustCellularNetwork - INIntentParameterCombinations - - - - INIntentParameterCombinationIsPrimary - - INIntentParameterCombinationSubtitle - - INIntentParameterCombinationSubtitleID - vIPVA5 - INIntentParameterCombinationSupportsBackgroundExecution - - INIntentParameterCombinationTitle - - INIntentParameterCombinationTitleID - NWWgCl - - - INIntentParameters - - INIntentResponse - - INIntentResponseCodes - - - INIntentResponseCodeFormatString - - INIntentResponseCodeFormatStringID - nMRaxS - INIntentResponseCodeName - failure - INIntentResponseCodeSuccess - - - - INIntentResponseCodeFormatString - - INIntentResponseCodeFormatStringID - gSqy7Y - INIntentResponseCodeName - success - INIntentResponseCodeSuccess - - - - INIntentResponseLastParameterTag - 0 - INIntentResponseParameters - - - INIntentRestrictions - 0 - INIntentTitle - Trust cellular network - INIntentTitleID - H4taev - INIntentType - Custom - INIntentUserConfirmationRequired - - INIntentVerb - Do - - - INIntentCategory - generic - INIntentDescriptionID - 0jRWn5 - INIntentLastParameterTag - 0 - INIntentName - UntrustCellularNetwork - INIntentParameterCombinations - - - - INIntentParameterCombinationIsPrimary - - INIntentParameterCombinationSubtitle - - INIntentParameterCombinationSubtitleID - qRkLSU - INIntentParameterCombinationSupportsBackgroundExecution - - INIntentParameterCombinationTitle - - INIntentParameterCombinationTitleID - ggzKA2 - - - INIntentParameters - - INIntentResponse - - INIntentResponseCodes - - - INIntentResponseCodeFormatString - - INIntentResponseCodeFormatStringID - YncGoj - INIntentResponseCodeName - failure - INIntentResponseCodeSuccess - - - - INIntentResponseCodeFormatString - - INIntentResponseCodeFormatStringID - BW8KLX - INIntentResponseCodeName - success - INIntentResponseCodeSuccess - - - - INIntentResponseLastParameterTag - 0 - INIntentResponseParameters - - - INIntentRestrictions - 0 - INIntentTitle - Untrust cellular network - INIntentTitleID - wB1iYX - INIntentType - Custom - INIntentUserConfirmationRequired - - INIntentVerb - Do - - - INIntentCategory - generic - INIntentDescriptionID - KjkCfU - INIntentLastParameterTag - 3 - INIntentName - MoveToLocation - INIntentParameterCombinations - - providerId,poolName,poolId - - INIntentParameterCombinationIsPrimary - - INIntentParameterCombinationSubtitle - With ${providerId} provider - INIntentParameterCombinationSubtitleID - 66bZBE - INIntentParameterCombinationSupportsBackgroundExecution - - INIntentParameterCombinationTitle - Connect to ${poolName} - INIntentParameterCombinationTitleID - WnTPFg - - - INIntentParameters - - - INIntentParameterDisplayPriority - 1 - INIntentParameterName - providerId - INIntentParameterSupportsMultipleValues - - INIntentParameterTag - 2 - INIntentParameterType - String - - - INIntentParameterDisplayPriority - 2 - INIntentParameterName - poolId - INIntentParameterSupportsMultipleValues - - INIntentParameterTag - 3 - INIntentParameterType - String - - - INIntentParameterDisplayPriority - 3 - INIntentParameterName - poolName - INIntentParameterSupportsMultipleValues - - INIntentParameterTag - 1 - INIntentParameterType - String - - - INIntentResponse - - INIntentResponseCodes - - - INIntentResponseCodeFormatString - - INIntentResponseCodeFormatStringID - PmWNkC - INIntentResponseCodeName - failure - INIntentResponseCodeSuccess - - - - INIntentResponseCodeFormatString - - INIntentResponseCodeFormatStringID - O6nCLQ - INIntentResponseCodeName - success - INIntentResponseCodeSuccess - - - - INIntentResponseLastParameterTag - 0 - INIntentResponseParameters - - - INIntentRestrictions - 0 - INIntentTitle - Connect to provider location - INIntentTitleID - qo3Szz - INIntentType - Custom - INIntentUserConfirmationRequired - - INIntentVerb - Go - - - INIntentCategory - generic - INIntentDescription - With currently active profile - INIntentDescriptionID - xY97Vu - INIntentLastParameterTag - 0 - INIntentName - EnableVPN - INIntentParameterCombinations - - - - INIntentParameterCombinationIsPrimary - - INIntentParameterCombinationSubtitle - - INIntentParameterCombinationSubtitleID - NCoK9B - INIntentParameterCombinationSupportsBackgroundExecution - - INIntentParameterCombinationTitle - - INIntentParameterCombinationTitleID - yesvFP - - - INIntentParameters - - INIntentResponse - - INIntentResponseCodes - - - INIntentResponseCodeFormatString - - INIntentResponseCodeFormatStringID - FJp18d - INIntentResponseCodeName - failure - INIntentResponseCodeSuccess - - - - INIntentResponseCodeFormatString - - INIntentResponseCodeFormatStringID - lV5LVw - INIntentResponseCodeName - success - INIntentResponseCodeSuccess - - - - INIntentResponseLastParameterTag - 0 - INIntentResponseParameters - - - INIntentRestrictions - 0 - INIntentTitle - Enable VPN - INIntentTitleID - lQ6ziK - INIntentType - Custom - INIntentUserConfirmationRequired - - INIntentVerb - Do - - - - From 873117adb8ad60a72c17dc5697fc1cbb32c84ea9 Mon Sep 17 00:00:00 2001 From: Davide De Rosa Date: Sat, 6 Apr 2019 22:25:31 +0200 Subject: [PATCH 2/2] Add intent descriptions --- .../Base.lproj/Intents.intentdefinition | 20 ++++++++++++++++--- .../Resources/en.lproj/Intents.strings | 16 ++++++++++++++- .../Resources/it.lproj/Intents.strings | 17 ++++++++++++++-- 3 files changed, 47 insertions(+), 6 deletions(-) diff --git a/Passepartout/Resources/Base.lproj/Intents.intentdefinition b/Passepartout/Resources/Base.lproj/Intents.intentdefinition index 4e1caed5..8548f4b4 100644 --- a/Passepartout/Resources/Base.lproj/Intents.intentdefinition +++ b/Passepartout/Resources/Base.lproj/Intents.intentdefinition @@ -9,14 +9,16 @@ INIntentDefinitionSystemVersion 18D42 INIntentDefinitionToolsBuildVersion - 10B61 + 10E125 INIntentDefinitionToolsVersion - 10.1 + 10.2 INIntents INIntentCategory generic + INIntentDescription + Connects to a host profile INIntentDescriptionID eXXb2z INIntentLastParameterTag @@ -114,6 +116,8 @@ INIntentCategory generic + INIntentDescription + Adds current Wi-Fi to trusted networks INIntentDescriptionID BKxs8X INIntentLastParameterTag @@ -186,6 +190,8 @@ INIntentCategory generic + INIntentDescription + Disables the VPN service INIntentDescriptionID eQ1yzr INIntentLastParameterTag @@ -258,6 +264,8 @@ INIntentCategory generic + INIntentDescription + Removes current Wi-Fi from trusted networks INIntentDescriptionID 7eoAss INIntentLastParameterTag @@ -330,6 +338,8 @@ INIntentCategory generic + INIntentDescription + Adds cellular to trusted networks INIntentDescriptionID 9GpJt5 INIntentLastParameterTag @@ -402,6 +412,8 @@ INIntentCategory generic + INIntentDescription + Removes cellular from trusted networks INIntentDescriptionID 0jRWn5 INIntentLastParameterTag @@ -474,6 +486,8 @@ INIntentCategory generic + INIntentDescription + Connects to a specific location of a provider profile INIntentDescriptionID KjkCfU INIntentLastParameterTag @@ -584,7 +598,7 @@ INIntentCategory generic INIntentDescription - With currently active profile + Enables the VPN service with the profile currently in use INIntentDescriptionID xY97Vu INIntentLastParameterTag diff --git a/Passepartout/Resources/en.lproj/Intents.strings b/Passepartout/Resources/en.lproj/Intents.strings index dc659587..ea74f63d 100644 --- a/Passepartout/Resources/en.lproj/Intents.strings +++ b/Passepartout/Resources/en.lproj/Intents.strings @@ -1,15 +1,29 @@ +"0jRWn5" = "Removes cellular from trusted networks"; + "1ZRTCZ" = "Disable VPN"; "66bZBE" = "With ${providerId} provider"; +"7eoAss" = "Removes current Wi-Fi from trusted networks"; + +"9GpJt5" = "Adds cellular to trusted networks"; + +"BKxs8X" = "Adds current Wi-Fi to trusted networks"; + "H4taev" = "Trust cellular network"; +"KjkCfU" = "Connects to a specific location of a provider profile"; + "LA99yM" = "Connect to VPN"; "U6o81V" = "Connect to ${profileId}"; "WnTPFg" = "Connect to ${poolName}"; +"eQ1yzr" = "Disables the VPN service"; + +"eXXb2z" = "Connects to a host profile"; + "lQ6ziK" = "Enable VPN"; "m2E7SI" = "Trust current Wi-Fi"; @@ -20,5 +34,5 @@ "wB1iYX" = "Untrust cellular network"; -"xY97Vu" = "With currently active profile"; +"xY97Vu" = "Enables the VPN service with the profile currently in use"; diff --git a/Passepartout/Resources/it.lproj/Intents.strings b/Passepartout/Resources/it.lproj/Intents.strings index d92a0bd8..7c8e5afa 100644 --- a/Passepartout/Resources/it.lproj/Intents.strings +++ b/Passepartout/Resources/it.lproj/Intents.strings @@ -1,15 +1,29 @@ +"0jRWn5" = "Rimuove la rete mobile dalle reti sicure"; + "1ZRTCZ" = "Disabilita VPN"; "66bZBE" = "Con il provider ${providerId}"; +"7eoAss" = "Rimuove la Wi-Fi corrente dalle reti sicure"; + +"9GpJt5" = "Aggiunge la rete mobile alle reti sicure"; + +"BKxs8X" = "Aggiunge la Wi-Fi corrente alle reti sicure"; + "H4taev" = "Aggiungi rete mobile sicura"; +"KjkCfU" = "Avvia una connessione ad una regione specifica di un provider"; + "LA99yM" = "Connetti alla VPN"; "U6o81V" = "Connettiti a ${profileId}"; "WnTPFg" = "Connettiti in ${poolName}"; +"eQ1yzr" = "Disabilita il servizio VPN"; + +"eXXb2z" = "Avvia la connessione ad un host"; + "lQ6ziK" = "Abilita VPN"; "m2E7SI" = "Aggiungi Wi-Fi sicura"; @@ -20,5 +34,4 @@ "wB1iYX" = "Rimuovi rete mobile sicura"; -"xY97Vu" = "Con il profilo in uso"; - +"xY97Vu" = "Abilita il servizio VPN con il profilo attualmente in uso";