diff --git a/packages/fx-core/resource/package.nls.json b/packages/fx-core/resource/package.nls.json index 9b4d7a05f5..fd3fe3c370 100644 --- a/packages/fx-core/resource/package.nls.json +++ b/packages/fx-core/resource/package.nls.json @@ -544,28 +544,28 @@ "error.aad.manifest.OptionalClaimsIsMissing": "optionalClaims is missing\n", "error.aad.manifest.OptionalClaimsMissingIdtypClaim": "optionalClaims access token doesn't contain idtyp claim\n", "error.aad.manifest.AADManifestIssues": "Microsoft Entra manifest has following issues that may potentially break the Teams App:\n", - "error.aad.manifest.DeleteOrUpdatePermissionFailed": "Unable to update or delete an existing permission when it's enabled. One possible reason is that the ACCESS_AS_USER_PERMISSION_ID environment variable is changed for selected environment. Ensure your permission id(s) are identical with the actual Microsoft Entra application and try again.\n", + "error.aad.manifest.DeleteOrUpdatePermissionFailed": "Unable to update or delete an enabled permission. It may be because the ACCESS_AS_USER_PERMISSION_ID environment variable is changed for selected environment. Make sure your permission id(s) match the actual Microsoft Entra application and try again.\n", "error.aad.manifest.HostNameNotOnVerifiedDomain": "Unable to set identifierUri because the value is not on verified domain: %s", "error.aad.manifest.UnknownResourceAppId": "Unknown resourceAppId %s", "error.aad.manifest.UnknownResourceAccessType": "Unknown resourceAccess: %s", - "error.aad.manifest.UnknownResourceAccessId": "Unknown resourceAccess id: %s, if you're using permission as resourceAccess id, please try to use permission id instead.", + "error.aad.manifest.UnknownResourceAccessId": "Unknown resourceAccess id: %s, try to use permission id instead of resourceAccess id.", "core.addSsoFiles.emptyProjectPath": "Project path is empty", "core.addSsoFiles.FailedToCreateAuthFiles": "Unable to create files for add sso. Detail error: %s.", - "core.getUserEmailQuestion.validation3": "Email address is not valid", + "core.getUserEmailQuestion.validation3": "Email address is invalid", "plugins.bot.ErrorSuggestions": "Suggestions: %s", "plugins.bot.InvalidValue": "%s is invalid with value: %s", - "plugins.bot.SomethingIsMissing": "%s is missing.", + "plugins.bot.SomethingIsMissing": "%s is not available.", "plugins.bot.FailedToProvision": "Unable to provision %s.", "plugins.bot.FailedToUpdateConfigs": "Unable to update configs for %s", "plugins.bot.BotRegistrationNotFoundWith": "Bot registration was not found with botId %s. Click 'Get Help' button to get more info about how to check bot registrations.", "plugins.bot.BotResourceExists": "Bot resource already existed on %s, skip creating Bot resource.", "plugins.bot.FailRetrieveAzureCredentials": "Unable to retrieve Azure credentials.", - "plugins.bot.ProvisionBotRegistration": "Provisioning bot registration.", - "plugins.bot.ProvisionBotRegistrationSuccess": "Successfully provisioned bot registration.", - "plugins.bot.CheckLogAndFix": "Please check log in Output panel and try to fix this issue.", + "plugins.bot.ProvisionBotRegistration": "Bot registration provisioning in progress...", + "plugins.bot.ProvisionBotRegistrationSuccess": "Bot registration provisioned successfully.", + "plugins.bot.CheckLogAndFix": "Please check log-in Output panel and try to fix this issue.", "plugins.bot.AppStudioBotRegistration": "Developer Portal bot registration", - "plugins.function.getTemplateFromLocal": "Unable to get newest template from github, trying to use the local template.", - "error.depChecker.DefaultErrorMessage": "Install the required dependencies manually.", + "plugins.function.getTemplateFromLocal": "Unable to get latest template from github, trying to use the local template.", + "error.depChecker.DefaultErrorMessage": "Install required dependencies manually.", "depChecker.learnMoreButtonText": "Get more info", "depChecker.needInstallNpm": "You must have NPM installed to debug your local functions.", "depChecker.failToValidateFuncCoreTool": "Unable to validate Azure Functions Core Tools after installation.", diff --git a/packages/fx-core/tests/component/driver/aad/aadAppClient.test.ts b/packages/fx-core/tests/component/driver/aad/aadAppClient.test.ts index 0dc5567465..9cde0568c3 100644 --- a/packages/fx-core/tests/component/driver/aad/aadAppClient.test.ts +++ b/packages/fx-core/tests/component/driver/aad/aadAppClient.test.ts @@ -492,7 +492,7 @@ describe("AadAppClient", async () => { expect(err.source).equals("AadAppClient"); expect(err.name).equals("DeleteOrUpdatePermissionFailed"); expect(err.message).equals( - "Unable to update or delete an existing permission when it's enabled. One possible reason is that the ACCESS_AS_USER_PERMISSION_ID environment variable is changed for selected environment. Ensure your permission id(s) are identical with the actual Microsoft Entra application and try again.\n" + "Unable to update or delete an enabled permission. It may be because the ACCESS_AS_USER_PERMISSION_ID environment variable is changed for selected environment. Make sure your permission id(s) match the actual Microsoft Entra application and try again.\n" ); } ); diff --git a/packages/fx-core/tests/component/driver/aad/aadManifestHelper.test.ts b/packages/fx-core/tests/component/driver/aad/aadManifestHelper.test.ts index 5f87ea368c..239754fea9 100644 --- a/packages/fx-core/tests/component/driver/aad/aadManifestHelper.test.ts +++ b/packages/fx-core/tests/component/driver/aad/aadManifestHelper.test.ts @@ -242,7 +242,7 @@ describe("Microsoft Entra manifest helper Test", () => { AadManifestHelper.processRequiredResourceAccessInManifest(manifest); }) .to.throw( - "Unknown resourceAccess id: User.Read, if you're using permission as resourceAccess id, please try to use permission id instead." + "Unknown resourceAccess id: User.Read, try to use permission id instead of resourceAccess id." ); manifest = { @@ -264,7 +264,7 @@ describe("Microsoft Entra manifest helper Test", () => { AadManifestHelper.processRequiredResourceAccessInManifest(manifest); }) .to.throw( - "Unknown resourceAccess id: Sites.Read.All, if you're using permission as resourceAccess id, please try to use permission id instead." + "Unknown resourceAccess id: Sites.Read.All, try to use permission id instead of resourceAccess id." ); });