Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Update package.nls.json #11283

Open
wants to merge 6 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 19 additions & 17 deletions packages/fx-core/resource/package.nls.json
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,9 @@
"core.common.NoServerInformation": "No server information is found in the OpenAPI description document.",
"core.common.RemoteRefNotSupported": "Remote reference is not supported: %s.",
"core.common.MissingOperationId": "Missing operationIds: %s.",
"core.common.UrlProtocolNotSupported": "Server url is incorrect: protocol %s is not supported, use https protocol.",
"core.common.RelativeServerUrlNotSupported": "Server url is incorrect: relative server url is not supported.",
"core.common.ErrorFetchApiSpec": "Your OpenAPI description document should be accessible without authentication. If not, download and use a local copy.",
"core.common.NoSupportedApi": "No supported API found in the OpenAPI document.\nFor more information visit: \"https://aka.ms/build-api-based-message-extension\". \nReasons for API incompatibility are listed below:\n%s",
"core.common.NoSupportedApiCopilot": "No supported API is found in the OpenAPI description document. \nReasons for API incompatibility are listed below:\n%s",
"core.common.invalidReason.AuthTypeIsNotSupported": "authorization type is not supported",
Expand All @@ -530,47 +533,46 @@
"core.common.invalidReason.MethodNotAllowed": "method not allowed",
"core.common.invalidReason.UrlPathNotExist": "url path does not exist",
"core.common.invalidReason.NoAPIs": "No APIs were found in the OpenAPI description document.",

"core.common.UrlProtocolNotSupported": "Server url is not correct: protocol %s is not supported, you should use https protocol instead.",
"core.common.RelativeServerUrlNotSupported": "Server url is not correct: relative server url is not supported.",
"core.common.ErrorFetchApiSpec": "Your OpenAPI description document should be accessible without authentication, otherwise download and start from a local copy.",
"core.common.SendingApiRequest": "Sending API request: %s. Request body: %s",
"core.common.ReceiveApiResponse": "Received API response: %s.",
"core.importAddin.label": "Import an Existing Outlook Add-ins",
"core.importAddin.detail": "Upgrade an Add-ins project to the latest app manifest and project structure",
"core.importOfficeAddin.label": "Import an Existing Office Add-ins",
"core.officeContentAddin.label": "Content Add-in",
"core.importAddin.label": "Import Existing Outlook Add-ins",
"core.importAddin.detail": "Upgrade Add-ins project to the latest app manifest and project structure",
"core.importOfficeAddin.label": "Import Existing Office Add-ins",
"core.officeContentAddin.label": "Content Add-ins",
"core.officeContentAddin.detail": "Create new objects for Excel or PowerPoint",
"core.newTaskpaneAddin.label": "Taskpane",
"core.newTaskpaneAddin.detail": "Customize the Ribbon with a button and embed content in the Taskpane",
"core.summary.actionDescription": "Action %s%s",
"core.summary.lifecycleDescription": "Lifecycle stage: %s(%s step(s) in total). The following actions will be executed: %s",
"core.summary.lifecycleNotExecuted": "%s Lifecycle stage %s was not executed.",
"core.summary.lifecycleSucceeded": "%s Lifecycle stage %s was executed successfully.",
"core.summary.lifecycleFailed": "%s Lifecycle stage %s failed.",
"core.summary.actionNotExecuted": "%s was not executed.",
"core.summary.actionFailed": "%s failed.",
"core.summary.actionSucceeded": "%s was executed successfully.",
"core.summary.lifecycleNotExecuted": "%s Lifecycle stage %s not executed.",
"core.summary.lifecycleSucceeded": "%s Lifecycle stage %s executed successfully.",
"core.summary.lifecycleFailed": "%s Lifecycle stage %s didn't complete successfully.",
"core.summary.actionNotExecuted": "%s wasn't executed.",
"core.summary.actionFailed": "%s didn't complete successfully.",
"core.summary.actionSucceeded": "%s executed successfully.",
"core.summary.createdEnvFile": "Environment file was created at",
"core.copilot.addAPI.success": "%s have(has) been successfully added to %s",
"core.copilot.addAPI.InjectAPIKeyActionFailed": "Inject API key action to teamsapp.yaml file failed, please make sure that file contains teamsApp/create action in provision section.",
"core.copilot.addAPI.success": "%s successfully added to %s",
"core.copilot.addAPI.InjectAPIKeyActionFailed": "Unable to inject API key action to teamsapp.yaml file. Make sure the file contains teamsApp/create action in provision section.",
"ui.select.LoadingOptionsPlaceholder": "Loading options ...",
"ui.select.LoadingDefaultPlaceholder": "Loading default value ...",
"error.aad.manifest.NameIsMissing": "name is missing\n",
"error.aad.manifest.SignInAudienceIsMissing": "signInAudience is missing\n",
"error.aad.manifest.RequiredResourceAccessIsMissing": "requiredResourceAccess is missing\n",
"error.aad.manifest.Oauth2PermissionsIsMissing": "oauth2Permissions is missing\n",
"error.aad.manifest.PreAuthorizedApplicationsIsMissing": "preAuthorizedApplications is missing\n",
"error.aad.manifest.ResourceAppIdIsMissing": "Some item(s) in requiredResourceAccess misses resourceAppId property.",
"error.aad.manifest.ResourceAccessIdIsMissing": "Some item(s) in resourceAccess misses id property.",
"error.aad.manifest.ResourceAppIdIsMissing": "Some requiredResourceAccess item(s) are missing the resourceAppId property.",
"error.aad.manifest.ResourceAccessIdIsMissing": "Some resourceAccess item(s) are missing id property.",
"error.aad.manifest.ResourceAccessShouldBeArray": "resourceAccess should be an array.",
"error.aad.manifest.RequiredResourceAccessShouldBeArray": "requiredResourceAccess should be an array.",
"error.aad.manifest.AccessTokenAcceptedVersionIs1": "accessTokenAcceptedVersion is 1\n",
"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.HostNameNotOnVerifiedDomain": "Unable to set identifierUri because the value is not on verified domain: %s",
"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 has changed for selected environment. Ensure your permission id(s) match the actual Microsoft Entra application and try again.\n",
"error.aad.manifest.HostNameNotOnVerifiedDomain": "Unable to set identifierUri as 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.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 existing permission when it's enabled. One possible reason is that the ACCESS_AS_USER_PERMISSION_ID environment variable has changed for selected environment. Ensure your permission id(s) match the actual Microsoft Entra application and try again.\n"
);
}
);
Expand All @@ -519,7 +519,7 @@ describe("AadAppClient", async () => {
expect(err.source).equals("AadAppClient");
expect(err.name).equals("HostNameNotOnVerifiedDomain");
expect(err.message).equals(
"Unable to set identifierUri because the value is not on verified domain: Mocked error message"
"Unable to set identifierUri as the value is not on verified domain: Mocked error message"
);
expect(err.helpLink).equals("https://aka.ms/teamsfx-multi-tenant");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ describe("Microsoft Entra manifest helper Test", () => {
.expect(() => {
AadManifestHelper.processRequiredResourceAccessInManifest(manifestWithInvalidSting);
})
.to.throw("Some item(s) in requiredResourceAccess misses resourceAppId property.");
.to.throw("Some requiredResourceAccess item(s) are missing the resourceAppId property.");
});

it("processRequiredResourceAccessInManifest with no resourceAccess id", async () => {
Expand All @@ -193,7 +193,7 @@ describe("Microsoft Entra manifest helper Test", () => {
.expect(() => {
AadManifestHelper.processRequiredResourceAccessInManifest(manifestWithInvalidSting);
})
.to.throw("Some item(s) in resourceAccess misses id property.");
.to.throw("Some resourceAccess item(s) are missing id property.");
});

it("processRequiredResourceAccessInManifest with no requiredResourceAccess", async () => {
Expand Down
Loading