From dbaaf7998beceea39e8e6fcf9376ee3c2f2edfb6 Mon Sep 17 00:00:00 2001 From: Lauren Mills Date: Thu, 20 Dec 2018 14:17:23 -0600 Subject: [PATCH] updated ent bot to work with az publish --- .../Dialogs/Main/MainResponses.cs | 2 +- .../Dialogs/Main/Resources/Intro.de.json | 6 ++--- .../Dialogs/Main/Resources/Intro.es.json | 6 ++--- .../Dialogs/Main/Resources/Intro.fr.json | 10 ++++----- .../Dialogs/Main/Resources/Intro.it.json | 2 +- .../Dialogs/Main/Resources/Intro.json | 2 +- .../Main/Resources/MainStrings.Designer.cs | 18 +++------------ .../Main/Resources/MainStrings.de.resx | 5 ++--- .../Main/Resources/MainStrings.es.resx | 5 ++--- .../Main/Resources/MainStrings.fr.resx | 5 ++--- .../Main/Resources/MainStrings.it.resx | 5 ++--- .../Dialogs/Main/Resources/MainStrings.resx | 5 ++--- .../Main/Resources/MainStrings.zh.resx | 5 ++--- .../EnterpriseBotSample.sln | 12 +++++----- .../Dialogs/Main/MainResponses.cs | 2 +- .../Dialogs/Main/Resources/Intro.de.json | 6 ++--- .../Dialogs/Main/Resources/Intro.es.json | 6 ++--- .../Dialogs/Main/Resources/Intro.fr.json | 10 ++++----- .../Dialogs/Main/Resources/Intro.it.json | 2 +- .../Dialogs/Main/Resources/Intro.json | 2 +- .../Main/Resources/MainStrings.Designer.cs | 22 +++++-------------- .../Main/Resources/MainStrings.de.resx | 5 ++--- .../Main/Resources/MainStrings.es.resx | 5 ++--- .../Main/Resources/MainStrings.fr.resx | 5 ++--- .../Main/Resources/MainStrings.it.resx | 5 ++--- .../Dialogs/Main/Resources/MainStrings.resx | 5 ++--- .../Main/Resources/MainStrings.zh.resx | 5 ++--- 27 files changed, 66 insertions(+), 102 deletions(-) diff --git a/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/Dialogs/Main/MainResponses.cs b/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/Dialogs/Main/MainResponses.cs index d59606f3cd..15deea9802 100644 --- a/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/Dialogs/Main/MainResponses.cs +++ b/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/Dialogs/Main/MainResponses.cs @@ -57,7 +57,7 @@ public MainResponses() public static IMessageActivity BuildIntroCard(ITurnContext turnContext, dynamic data) { - var introCard = MainStrings.ResourceManager.GetObject("Intro").ToString(); + var introCard = File.ReadAllText(MainStrings.INTRO_PATH); var card = AdaptiveCard.FromJson(introCard).Card; var attachment = new Attachment(AdaptiveCard.ContentType, content: card); diff --git a/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/Dialogs/Main/Resources/Intro.de.json b/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/Dialogs/Main/Resources/Intro.de.json index 3280802b59..cbc8ab3688 100644 --- a/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/Dialogs/Main/Resources/Intro.de.json +++ b/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/Dialogs/Main/Resources/Intro.de.json @@ -1,4 +1,4 @@ -{ +{ "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "type": "AdaptiveCard", "version": "1.0", @@ -21,7 +21,7 @@ "type": "TextBlock", "size": "default", "isSubtle": true, - "text": "Jetzt, wo Sie Ihren bot erfolgreich laufen lassen, folgen Sie den Links in dieser Adaptive Card, um Ihr Wissen über Bot Framework zu erweitern.", + "text": "Jetzt, wo Sie Ihren bot erfolgreich laufen lassen, folgen Sie den Links in dieser Adaptive Card, um Ihr Wissen über Bot Framework zu erweitern.", "wrap": true, "maxLines": 0 } @@ -36,7 +36,7 @@ }, { "type": "Action.OpenUrl", - "title": "Übersicht", + "title": "Übersicht", "url": "https://docs.microsoft.com/en-us/azure/bot-service/?view=azure-bot-service-4.0" }, { diff --git a/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/Dialogs/Main/Resources/Intro.es.json b/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/Dialogs/Main/Resources/Intro.es.json index 177dfb7852..0904e29f19 100644 --- a/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/Dialogs/Main/Resources/Intro.es.json +++ b/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/Dialogs/Main/Resources/Intro.es.json @@ -1,4 +1,4 @@ -{ +{ "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "type": "AdaptiveCard", "version": "1.0", @@ -13,7 +13,7 @@ "spacing": "medium", "size": "default", "weight": "bolder", - "text": "¡Bienvenido a Bot Framework!", + "text": "¡Bienvenido a Bot Framework!", "wrap": true, "maxLines": 0 }, @@ -36,7 +36,7 @@ }, { "type": "Action.OpenUrl", - "title": "Visión general", + "title": "Visión general", "url": "https://docs.microsoft.com/en-us/azure/bot-service/?view=azure-bot-service-4.0" }, { diff --git a/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/Dialogs/Main/Resources/Intro.fr.json b/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/Dialogs/Main/Resources/Intro.fr.json index b062d35321..a2b71ff3cb 100644 --- a/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/Dialogs/Main/Resources/Intro.fr.json +++ b/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/Dialogs/Main/Resources/Intro.fr.json @@ -1,4 +1,4 @@ -{ +{ "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "type": "AdaptiveCard", "version": "1.0", @@ -13,7 +13,7 @@ "spacing": "medium", "size": "default", "weight": "bolder", - "text": "Bienvenue à Bot Framework!", + "text": "Bienvenue à Bot Framework!", "wrap": true, "maxLines": 0 }, @@ -21,7 +21,7 @@ "type": "TextBlock", "size": "default", "isSubtle": true, - "text": "Maintenant que vous avez réussi à exécuter votre bot, suivez les liens dans cette carte Adaptive pour développer vos connaissances du Bot Framework.", + "text": "Maintenant que vous avez réussi à exécuter votre bot, suivez les liens dans cette carte Adaptive pour développer vos connaissances du Bot Framework.", "wrap": true, "maxLines": 0 } @@ -36,7 +36,7 @@ }, { "type": "Action.OpenUrl", - "title": "Aperçu", + "title": "Aperçu", "url": "https://docs.microsoft.com/en-us/azure/bot-service/?view=azure-bot-service-4.0" }, { @@ -46,7 +46,7 @@ }, { "type": "Action.OpenUrl", - "title": "Apprenez à déployer", + "title": "Apprenez à déployer", "url": "https://docs.microsoft.com/en-us/azure/bot-service/bot-builder-howto-deploy-azure?view=azure-bot-service-4.0" } ] diff --git a/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/Dialogs/Main/Resources/Intro.it.json b/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/Dialogs/Main/Resources/Intro.it.json index 1667267364..d554f41eb5 100644 --- a/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/Dialogs/Main/Resources/Intro.it.json +++ b/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/Dialogs/Main/Resources/Intro.it.json @@ -1,4 +1,4 @@ -{ +{ "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "type": "AdaptiveCard", "version": "1.0", diff --git a/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/Dialogs/Main/Resources/Intro.json b/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/Dialogs/Main/Resources/Intro.json index a1f1676585..3a3714f93b 100644 --- a/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/Dialogs/Main/Resources/Intro.json +++ b/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/Dialogs/Main/Resources/Intro.json @@ -1,4 +1,4 @@ -{ +{ "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "type": "AdaptiveCard", "version": "1.0", diff --git a/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/Dialogs/Main/Resources/MainStrings.Designer.cs b/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/Dialogs/Main/Resources/MainStrings.Designer.cs index ffc43970f8..c34d29777e 100644 --- a/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/Dialogs/Main/Resources/MainStrings.Designer.cs +++ b/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/Dialogs/Main/Resources/MainStrings.Designer.cs @@ -224,25 +224,13 @@ public static string HELP_TITLE } /// - /// Looks up a localized string similar to { - /// "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", - /// "type": "AdaptiveCard", - /// "version": "1.0", - /// "speak": "<speak><s>Now that you have successfully run your bot, follow the links in this Adaptive Card to expand your knowledge of Bot Framework.</s></speak>", - /// "body": [ - /// { - /// "type": "Image", - /// "url": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQtB3AwMUeNoq4gUBGe6Ocj8kyh3bXa9ZbV7u1fVKQoyKFHdkqU", - /// "size": "stretch" - /// }, - /// { - /// "type": "TextBloc [rest of string was truncated]";. + /// Looks up a localized string similar to .\Dialogs\Main\Resources\Intro.json. /// - public static string Intro + public static string INTRO_PATH { get { - return ResourceManager.GetString("Intro", resourceCulture); + return ResourceManager.GetString("INTRO_PATH", resourceCulture); } } } diff --git a/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/Dialogs/Main/Resources/MainStrings.de.resx b/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/Dialogs/Main/Resources/MainStrings.de.resx index 43055bbb97..bd00f2ecd3 100644 --- a/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/Dialogs/Main/Resources/MainStrings.de.resx +++ b/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/Dialogs/Main/Resources/MainStrings.de.resx @@ -159,8 +159,7 @@ Hilfe für Enterprise Bot - - - Intro.de.json;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252 + + .\Dialogs\Main\Resources\Intro.de.json \ No newline at end of file diff --git a/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/Dialogs/Main/Resources/MainStrings.es.resx b/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/Dialogs/Main/Resources/MainStrings.es.resx index 6868281cc7..1c455d782a 100644 --- a/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/Dialogs/Main/Resources/MainStrings.es.resx +++ b/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/Dialogs/Main/Resources/MainStrings.es.resx @@ -159,8 +159,7 @@ Ayuda para el asistente virtual - - - Intro.es.json;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252 + + .\Dialogs\Main\Resources\Intro.es.json \ No newline at end of file diff --git a/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/Dialogs/Main/Resources/MainStrings.fr.resx b/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/Dialogs/Main/Resources/MainStrings.fr.resx index 6c8f225f33..7fdec7d37e 100644 --- a/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/Dialogs/Main/Resources/MainStrings.fr.resx +++ b/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/Dialogs/Main/Resources/MainStrings.fr.resx @@ -159,8 +159,7 @@ Aide pour Virtual Assistant - - - Intro.fr.json;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + .\Dialogs\Main\Resources\Intro.fr.json \ No newline at end of file diff --git a/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/Dialogs/Main/Resources/MainStrings.it.resx b/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/Dialogs/Main/Resources/MainStrings.it.resx index d958107bbe..010eccc717 100644 --- a/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/Dialogs/Main/Resources/MainStrings.it.resx +++ b/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/Dialogs/Main/Resources/MainStrings.it.resx @@ -159,8 +159,7 @@ Aiuto per assistente virtuale - - - Intro.it.json;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252 + + .\Dialogs\Main\Resources\Intro.it.json \ No newline at end of file diff --git a/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/Dialogs/Main/Resources/MainStrings.resx b/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/Dialogs/Main/Resources/MainStrings.resx index 3996af621b..1d62af8c61 100644 --- a/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/Dialogs/Main/Resources/MainStrings.resx +++ b/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/Dialogs/Main/Resources/MainStrings.resx @@ -159,8 +159,7 @@ HELP - - - Intro.json;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252 + + .\Dialogs\Main\Resources\Intro.json \ No newline at end of file diff --git a/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/Dialogs/Main/Resources/MainStrings.zh.resx b/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/Dialogs/Main/Resources/MainStrings.zh.resx index dc8f162739..24f94ceb8e 100644 --- a/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/Dialogs/Main/Resources/MainStrings.zh.resx +++ b/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/Dialogs/Main/Resources/MainStrings.zh.resx @@ -159,8 +159,7 @@ 智能助手的帮助 - - - Intro.zh.json;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8 + + .\Dialogs\Main\Resources\Intro.zh.json \ No newline at end of file diff --git a/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/EnterpriseBotSample.sln b/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/EnterpriseBotSample.sln index 7b03c88087..71e50f6238 100644 --- a/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/EnterpriseBotSample.sln +++ b/templates/Enterprise-Template/src/csharp/EnterpriseBotSample/EnterpriseBotSample.sln @@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 15 VisualStudioVersion = 15.0.28010.2046 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EnterpriseBotSample", "EnterpriseBotSample.csproj", "{EE3D1DCA-06B1-47D1-AB32-D097FD96742F}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EnterpriseBotSample", "EnterpriseBotSample.csproj", "{5061ED52-DE55-4076-B4BF-54F4C792B656}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -11,15 +11,15 @@ Global Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {EE3D1DCA-06B1-47D1-AB32-D097FD96742F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {EE3D1DCA-06B1-47D1-AB32-D097FD96742F}.Debug|Any CPU.Build.0 = Debug|Any CPU - {EE3D1DCA-06B1-47D1-AB32-D097FD96742F}.Release|Any CPU.ActiveCfg = Release|Any CPU - {EE3D1DCA-06B1-47D1-AB32-D097FD96742F}.Release|Any CPU.Build.0 = Release|Any CPU + {5061ED52-DE55-4076-B4BF-54F4C792B656}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {5061ED52-DE55-4076-B4BF-54F4C792B656}.Debug|Any CPU.Build.0 = Debug|Any CPU + {5061ED52-DE55-4076-B4BF-54F4C792B656}.Release|Any CPU.ActiveCfg = Release|Any CPU + {5061ED52-DE55-4076-B4BF-54F4C792B656}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {BCDDB818-2CF4-4DEF-B921-9B70FF37173E} + SolutionGuid = {25DB81BB-3549-4CD2-9B9F-F586EC7FE1F1} EndGlobalSection EndGlobal diff --git a/templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/Dialogs/Main/MainResponses.cs b/templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/Dialogs/Main/MainResponses.cs index b0fe2df71f..96eb38909f 100644 --- a/templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/Dialogs/Main/MainResponses.cs +++ b/templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/Dialogs/Main/MainResponses.cs @@ -57,7 +57,7 @@ public MainResponses() public static IMessageActivity BuildIntroCard(ITurnContext turnContext, dynamic data) { - var introCard = MainStrings.ResourceManager.GetObject("Intro").ToString(); + var introCard = File.ReadAllText(MainStrings.INTRO_PATH); var card = AdaptiveCard.FromJson(introCard).Card; var attachment = new Attachment(AdaptiveCard.ContentType, content: card); diff --git a/templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/Dialogs/Main/Resources/Intro.de.json b/templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/Dialogs/Main/Resources/Intro.de.json index 3280802b59..cbc8ab3688 100644 --- a/templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/Dialogs/Main/Resources/Intro.de.json +++ b/templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/Dialogs/Main/Resources/Intro.de.json @@ -1,4 +1,4 @@ -{ +{ "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "type": "AdaptiveCard", "version": "1.0", @@ -21,7 +21,7 @@ "type": "TextBlock", "size": "default", "isSubtle": true, - "text": "Jetzt, wo Sie Ihren bot erfolgreich laufen lassen, folgen Sie den Links in dieser Adaptive Card, um Ihr Wissen über Bot Framework zu erweitern.", + "text": "Jetzt, wo Sie Ihren bot erfolgreich laufen lassen, folgen Sie den Links in dieser Adaptive Card, um Ihr Wissen über Bot Framework zu erweitern.", "wrap": true, "maxLines": 0 } @@ -36,7 +36,7 @@ }, { "type": "Action.OpenUrl", - "title": "Übersicht", + "title": "Übersicht", "url": "https://docs.microsoft.com/en-us/azure/bot-service/?view=azure-bot-service-4.0" }, { diff --git a/templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/Dialogs/Main/Resources/Intro.es.json b/templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/Dialogs/Main/Resources/Intro.es.json index 177dfb7852..0904e29f19 100644 --- a/templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/Dialogs/Main/Resources/Intro.es.json +++ b/templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/Dialogs/Main/Resources/Intro.es.json @@ -1,4 +1,4 @@ -{ +{ "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "type": "AdaptiveCard", "version": "1.0", @@ -13,7 +13,7 @@ "spacing": "medium", "size": "default", "weight": "bolder", - "text": "¡Bienvenido a Bot Framework!", + "text": "¡Bienvenido a Bot Framework!", "wrap": true, "maxLines": 0 }, @@ -36,7 +36,7 @@ }, { "type": "Action.OpenUrl", - "title": "Visión general", + "title": "Visión general", "url": "https://docs.microsoft.com/en-us/azure/bot-service/?view=azure-bot-service-4.0" }, { diff --git a/templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/Dialogs/Main/Resources/Intro.fr.json b/templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/Dialogs/Main/Resources/Intro.fr.json index b062d35321..a2b71ff3cb 100644 --- a/templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/Dialogs/Main/Resources/Intro.fr.json +++ b/templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/Dialogs/Main/Resources/Intro.fr.json @@ -1,4 +1,4 @@ -{ +{ "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "type": "AdaptiveCard", "version": "1.0", @@ -13,7 +13,7 @@ "spacing": "medium", "size": "default", "weight": "bolder", - "text": "Bienvenue à Bot Framework!", + "text": "Bienvenue à Bot Framework!", "wrap": true, "maxLines": 0 }, @@ -21,7 +21,7 @@ "type": "TextBlock", "size": "default", "isSubtle": true, - "text": "Maintenant que vous avez réussi à exécuter votre bot, suivez les liens dans cette carte Adaptive pour développer vos connaissances du Bot Framework.", + "text": "Maintenant que vous avez réussi à exécuter votre bot, suivez les liens dans cette carte Adaptive pour développer vos connaissances du Bot Framework.", "wrap": true, "maxLines": 0 } @@ -36,7 +36,7 @@ }, { "type": "Action.OpenUrl", - "title": "Aperçu", + "title": "Aperçu", "url": "https://docs.microsoft.com/en-us/azure/bot-service/?view=azure-bot-service-4.0" }, { @@ -46,7 +46,7 @@ }, { "type": "Action.OpenUrl", - "title": "Apprenez à déployer", + "title": "Apprenez à déployer", "url": "https://docs.microsoft.com/en-us/azure/bot-service/bot-builder-howto-deploy-azure?view=azure-bot-service-4.0" } ] diff --git a/templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/Dialogs/Main/Resources/Intro.it.json b/templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/Dialogs/Main/Resources/Intro.it.json index 1667267364..d554f41eb5 100644 --- a/templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/Dialogs/Main/Resources/Intro.it.json +++ b/templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/Dialogs/Main/Resources/Intro.it.json @@ -1,4 +1,4 @@ -{ +{ "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "type": "AdaptiveCard", "version": "1.0", diff --git a/templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/Dialogs/Main/Resources/Intro.json b/templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/Dialogs/Main/Resources/Intro.json index a1f1676585..3a3714f93b 100644 --- a/templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/Dialogs/Main/Resources/Intro.json +++ b/templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/Dialogs/Main/Resources/Intro.json @@ -1,4 +1,4 @@ -{ +{ "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "type": "AdaptiveCard", "version": "1.0", diff --git a/templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/Dialogs/Main/Resources/MainStrings.Designer.cs b/templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/Dialogs/Main/Resources/MainStrings.Designer.cs index dd6603c806..664e88276e 100644 --- a/templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/Dialogs/Main/Resources/MainStrings.Designer.cs +++ b/templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/Dialogs/Main/Resources/MainStrings.Designer.cs @@ -187,23 +187,11 @@ public static string HELP_TITLE { } /// - /// Looks up a localized string similar to { - /// "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", - /// "type": "AdaptiveCard", - /// "version": "1.0", - /// "speak": "<speak><s>Now that you have successfully run your bot, follow the links in this Adaptive Card to expand your knowledge of Bot Framework.</s></speak>", - /// "body": [ - /// { - /// "type": "Image", - /// "url": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQtB3AwMUeNoq4gUBGe6Ocj8kyh3bXa9ZbV7u1fVKQoyKFHdkqU", - /// "size": "stretch" - /// }, - /// { - /// "type": "TextBloc [rest of string was truncated]";. - /// - public static string Intro { - get { - return ResourceManager.GetString("Intro", resourceCulture); + /// Looks up a localized string similar to .\Dialogs\Main\Resources\Intro.json. + /// + public static string INTRO_PATH { + get { + return ResourceManager.GetString("INTRO_PATH", resourceCulture); } } } diff --git a/templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/Dialogs/Main/Resources/MainStrings.de.resx b/templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/Dialogs/Main/Resources/MainStrings.de.resx index 43055bbb97..bd00f2ecd3 100644 --- a/templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/Dialogs/Main/Resources/MainStrings.de.resx +++ b/templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/Dialogs/Main/Resources/MainStrings.de.resx @@ -159,8 +159,7 @@ Hilfe für Enterprise Bot - - - Intro.de.json;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252 + + .\Dialogs\Main\Resources\Intro.de.json \ No newline at end of file diff --git a/templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/Dialogs/Main/Resources/MainStrings.es.resx b/templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/Dialogs/Main/Resources/MainStrings.es.resx index 6868281cc7..1c455d782a 100644 --- a/templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/Dialogs/Main/Resources/MainStrings.es.resx +++ b/templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/Dialogs/Main/Resources/MainStrings.es.resx @@ -159,8 +159,7 @@ Ayuda para el asistente virtual - - - Intro.es.json;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252 + + .\Dialogs\Main\Resources\Intro.es.json \ No newline at end of file diff --git a/templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/Dialogs/Main/Resources/MainStrings.fr.resx b/templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/Dialogs/Main/Resources/MainStrings.fr.resx index 6c8f225f33..7fdec7d37e 100644 --- a/templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/Dialogs/Main/Resources/MainStrings.fr.resx +++ b/templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/Dialogs/Main/Resources/MainStrings.fr.resx @@ -159,8 +159,7 @@ Aide pour Virtual Assistant - - - Intro.fr.json;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + .\Dialogs\Main\Resources\Intro.fr.json \ No newline at end of file diff --git a/templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/Dialogs/Main/Resources/MainStrings.it.resx b/templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/Dialogs/Main/Resources/MainStrings.it.resx index d958107bbe..010eccc717 100644 --- a/templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/Dialogs/Main/Resources/MainStrings.it.resx +++ b/templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/Dialogs/Main/Resources/MainStrings.it.resx @@ -159,8 +159,7 @@ Aiuto per assistente virtuale - - - Intro.it.json;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252 + + .\Dialogs\Main\Resources\Intro.it.json \ No newline at end of file diff --git a/templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/Dialogs/Main/Resources/MainStrings.resx b/templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/Dialogs/Main/Resources/MainStrings.resx index 3996af621b..1d62af8c61 100644 --- a/templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/Dialogs/Main/Resources/MainStrings.resx +++ b/templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/Dialogs/Main/Resources/MainStrings.resx @@ -159,8 +159,7 @@ HELP - - - Intro.json;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252 + + .\Dialogs\Main\Resources\Intro.json \ No newline at end of file diff --git a/templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/Dialogs/Main/Resources/MainStrings.zh.resx b/templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/Dialogs/Main/Resources/MainStrings.zh.resx index dc8f162739..24f94ceb8e 100644 --- a/templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/Dialogs/Main/Resources/MainStrings.zh.resx +++ b/templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/Dialogs/Main/Resources/MainStrings.zh.resx @@ -159,8 +159,7 @@ 智能助手的帮助 - - - Intro.zh.json;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8 + + .\Dialogs\Main\Resources\Intro.zh.json \ No newline at end of file