Skip to content

Commit

Permalink
docs(output): align output message (#8426)
Browse files Browse the repository at this point in the history
  • Loading branch information
KennethBWSong authored Apr 19, 2023
1 parent a18810e commit 5bdd06a
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
34 changes: 17 additions & 17 deletions packages/fx-core/resource/package.nls.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
"core.migrationV3.abandonedProject": "This project is only for previewing and will not be supported by Teams Toolkit. Please try Teams Toolkit by creating a new project",
"core.migrationV3.notAllowedMigration": "Teams Toolkit's Pre-Release version supports new project configuration and is incompatible with previous versions. Try it by creating a new project or run \"teamsfx upgrade\" to upgrade your project first.",
"core.migrationToArmAndMultiEnv.SuccessMessage": "Upgrade succeeded.",
"core.migrationToArmAndMultiEnv.ErrorMessage": "The upgrade process has failed. To troubleshoot and resolve the issue, please check the error message in the [output channel](command:fx-extension.showOutputChannel).\n If you prefer to upgrade manually, please click on 'Learn More' to view the FAQ section.",
"core.migrationToArmAndMultiEnv.ErrorMessage": "The upgrade process has failed. To troubleshoot and resolve the issue, please check the error message in the [Output panel](command:fx-extension.showOutputChannel).\n If you prefer to upgrade manually, please click on 'Learn More' to view the FAQ section.",
"core.migrationToArmAndMultiEnv.PreCheckErrorMessage": "The upgrade process has failed. The file '%s' either does not exist or is not in JSON format. To proceed with the upgrade, please fix the file and try again by running the command \"Teams: Upgrade project\".\n If you prefer to upgrade manually, please click on \"Learn More\" to access the FAQ section.",
"core.consolidateLocalRemote.Message": "Your project will be upgraded to work with the latest version of Teams Toolkit. The upgrade will only add config.local.json, manifest.template.json files and backup manifest.remote.template.json, manifest.local.template.json files without changing your custom code. If you do not want to upgrade, install an older version of Teams Toolkit (<= 3.7.0)",
"core.consolidateLocalRemoteWithAadManifest.Message": "Your project will be upgraded to work with the latest version of Teams Toolkit. The upgrade will only add config.local.json, manifest.template.json, aad.template.json files, update projectSettings.json file and backup manifest.remote.template.json, manifest.local.template.json, projectSettings.json files without changing your custom code. If you do not want to upgrade, install an older version of Teams Toolkit (<= 3.7.0)",
Expand Down Expand Up @@ -134,7 +134,7 @@
"core.handleConfigFile.FailedToUpdateAzureParameters": "Unable to update Azure parameters for %s environment.",
"core.appSettingsUtil.FailedToResetAppSettingsDevelopment": "Unable to reset values in appsettings.Development.json.",
"core.backupFiles.FailedToBackupFiles": "Unable to backup %s.",
"core.collaboration.ListCollaboratorsSuccess": "'List Microsoft 365 App owners' succeeded, you can view it in [output channel](%s).",
"core.collaboration.ListCollaboratorsSuccess": "'List Microsoft 365 App owners' succeeded, you can view it in [Output panel](%s).",
"core.collaboration.GrantingPermission": "Granting permission",
"core.collaboration.EmailCannotBeEmptyOrSame": "Collaborator's email cannot be null or same as current user",
"core.collaboration.CannotFindUserInCurrentTenant": "Cannot find user in current tenant, check whether your email address is correct",
Expand Down Expand Up @@ -204,7 +204,7 @@
"plugins.spfx.GetTenantFailedError": "Cannot get tenant %s %s",
"plugins.spfx.error.installLatestDependencyError": "Encountered unknown issues when setting up SPFx environment in %s folder. You could follow [Set up your SharePoint Framework development environment | Microsoft Learn](%s) to set up global SPFx environment.",
"_plugins.spfx.error.installLatestDependencyError.comment": "'Microsoft Learn' and 'SharePoint' are the product brand names which should not be localized.",
"plugins.spfx.error.scaffoldError": "Project creation failed. A possible reason could be from Yeoman SharePoint Generator. Check [output window](%s) for details.",
"plugins.spfx.error.scaffoldError": "Project creation failed. A possible reason could be from Yeoman SharePoint Generator. Check [Output panel](%s) for details.",
"plugins.frontend.checkNetworkTip": "Check your network connection.",
"plugins.frontend.checkFsPermissionsTip": "Check if you have Read/Write permissions to your file system.",
"plugins.frontend.checkStoragePermissionsTip": "Check if you have permissions to your Azure Storage Account.",
Expand Down Expand Up @@ -381,7 +381,7 @@
"error.frontend.FailedLoadEnv": "Unable to load environment variables from %s. Your App may not work.",
"error.appstudio.teamsAppCreateFailed": "Unable to create Teams app in Developer Portal, due to %s",
"error.appstudio.teamsAppUpdateFailed": "Unable to update Teams app with ID %s.",
"error.appstudio.apiFailed": "API call to Developer Portal failed. Check [output window](command:fx-extension.showOutputChannel) for details.",
"error.appstudio.apiFailed": "API call to Developer Portal failed. Check [Output panel](command:fx-extension.showOutputChannel) for details.",
"_error.appstudio.apiFailed.comment": " This is to describe API call, no need to translate '(command:fx-extension.showOutputChannel)'. ",
"error.appstudio.apiFailed.telemetry": "API call to Developer Portal failed: %s, %s, API name: %s, X-Correlation-ID: %s. This may come from some intermittent service error. Please wait for a few minutes and retry the current step.",
"_error.appstudio.apiFailed.telemetry.comment": " This is to describe API call, no need to translate 'X-Correlation-ID'.",
Expand Down Expand Up @@ -417,7 +417,7 @@
"error.generator.DownloadSampleApiLimitError": "Unable to download sample due to throttling. Retry later after rate limit reset (This may take up to 1 hour). Alternatively, you can go to %s to git clone the repo manually",
"error.generator.DownloadSampleNetworkError": "Unable to download sample due to network error. Check your network connection and retry. Alternatively, you can go to %s to git clone the repo manually",
"error.generator.ParseUrlError": "Unable to parse url %s",
"error.sql.GetDetail": "Get the detailed error message in [output](command:fx-extension.showOutputChannel).",
"error.sql.GetDetail": "Get the detailed error message in [Output panel](command:fx-extension.showOutputChannel).",
"error.sql.LinkHelpMessage": "You can follow %s to handle it.",
"error.sql.SqlInputError": "SQL admin name or password is empty",
"error.sql.SqlAskInputError": "Unable to get answer for SQL questions",
Expand Down Expand Up @@ -793,7 +793,7 @@
"plugins.bot.RecreateProject": "Please recreate the project.",
"plugins.bot.CheckCommandOutput": "Please check the command output and try to fix it.",
"plugins.bot.RunFailedCommand": "Please run failed command '%s' in the folder: '%s'.",
"plugins.bot.CheckLogAndFix": "Please check log in output channel and try to fix this issue.",
"plugins.bot.CheckLogAndFix": "Please check log in Output panel and try to fix this issue.",
"plugins.bot.CheckPathWriteAccess": "Please check whether the path %s exists and you have write access to it, if no, please move the project to a valid path.",
"plugins.bot.AadApp": "AAD app",
"plugins.bot.AadClientSecret": "AAD client secret",
Expand Down Expand Up @@ -961,9 +961,9 @@
"driver.teamsApp.validate.skip": "%s action is currently skipped, will be updated in the future version.",
"driver.teamsApp.invalidParameter": "Following parameter is missing or invalid for %s action: %s.",
"driver.teamsApp.validate.invalidParameter": "Parameter %s should be provided for action %s",
"driver.teamsApp.validate.result": "Teams Toolkit has completed checking your app package against validation rules. %s failed, %s passed. Check [output window](%s) for details.",
"driver.teamsApp.validate.result": "Teams Toolkit has completed checking your app package against validation rules. %s failed, %s passed. Check [Output panel](%s) for details.",
"error.teamsApp.validate.apiFailed": "Teams app package validation failed due to %s",
"error.teamsApp.validate.apiFailed.display": "Teams app pacakge validation failed. Check [output window](%s) for details.",
"error.teamsApp.validate.apiFailed.display": "Teams app pacakge validation failed. Check [Output panel](%s) for details.",
"error.teamsApp.AppIdNotExistError": "Teams app with ID %s does not exist in Teams Developer Portal.",
"error.teamsApp.InvalidAppIdError": "Teams app ID %s is invalid, must be a GUID.",
"driver.botFramework.description": "creates or updates the bot registration on dev.botframework.com",
Expand Down Expand Up @@ -1002,29 +1002,29 @@
"error.m365.M365TenantIdNotFoundInTokenError": "Unable to obtain Microsoft 365 tenant ID in token JSON object. Ensure that your account is authorized to access the tenant and that the token JSON object is valid.",
"error.m365.M365TenantIdNotMatchError": "Authentication failed. You are currently signed in to Microsoft 365 tenant '%s', which is different from the one specified in the .env file (TEAMS_APP_TENANT_ID='%s'). To resolve this issue and switch to your current signed-in tenant, please remove the values of '%s' from the .env file and try again.",
"error.arm.CompileBicepError": "Unable to compile Bicep files located in path '%s' to JSON ARM templates. The error message returned was: %s. Check the Bicep files for any syntax or configuration errors and try again.",
"error.arm.DeployArmError.Notification": "The ARM templates for deployment name: '%s' could not be deployed in resource group '%s'. Refer to the [output channel](command:fx-extension.showOutputChannel) for more details.",
"error.arm.DeployArmError.Notification": "The ARM templates for deployment name: '%s' could not be deployed in resource group '%s'. Refer to the [Output panel](command:fx-extension.showOutputChannel) for more details.",
"error.arm.DeployArmError": "The ARM templates for deployment name: '%s' could not be deployed in resource group '%s' for reason: %s",
"error.arm.GetArmDeploymentError": "The ARM templates for deployment name: '%s' could not be deployed in resource group '%s' for reason: %s. \nUnable to get detailed error message due to: %s. \nRefer to the resource group %s in portal for deployment error.",
"error.arm.ConvertArmOutputError": "Unable to convert ARM deployment result to action output, there is a duplicated key '%s' in ARM deployment result.",
"error.deploy.DeployEmptyFolderError": "Unable to locate any files in the distribution folder: '%s'. Please ensure that the folder is not empty and that all necessary files have been included.",
"error.deploy.CheckDeploymentStatusTimeoutError": "Unable to check deployment status because the process timed out. Check your internet connection and try again. If the issue persists, please review the deployment logs (Deployment -> Deployment center -> Logs) in Azure portal to identify any issues that may have occurred.",
"error.deploy.GetPublishingCredentialsError.Notification": "Unable to obtain publishing credentials of app '%s' in resource group '%s'. Refer to the [output channel](command:fx-extension.showOutputChannel) for more details.",
"error.deploy.GetPublishingCredentialsError.Notification": "Unable to obtain publishing credentials of app '%s' in resource group '%s'. Refer to the [Output panel](command:fx-extension.showOutputChannel) for more details.",
"error.deploy.GetPublishingCredentialsError": "Unable to obtain publishing credentials of app '%s' in resource group '%s' for reason:\n %s.\n Suggestions:\n 1. Verify that the app name and resource group name are spelled correctly and are valid. \n 2. Verify that your Azure account has the necessary permissions to access the API. You may need to elevate your role or request additional permissions from an administrator. \n 3. If the error message includes a specific reason, such as an authentication failure or a network issue, investigate that issue specifically to resolve the error and try again. \n 4. You can test the API in this page: '%s'",
"error.deploy.DeployZipPackageError.Notification": "Unable to deploy zip package to endpoint: '%s'. Refer to the [output channel](command:fx-extension.showOutputChannel) for more details and try again.",
"error.deploy.DeployZipPackageError.Notification": "Unable to deploy zip package to endpoint: '%s'. Refer to the [Output panel](command:fx-extension.showOutputChannel) for more details and try again.",
"error.deploy.DeployZipPackageError": "Unable to deploy zip package to endpoint '%s' in Azure due to error: %s. \nSuggestions:\n 1. Verify that your Azure account has the necessary permissions to access the API. \n 2. Verify that the endpoint is properly configured in Azure and that the required resources have been provisioned. \n 3. Ensure that the zip package is valid and free of errors. \n 4. If the error message specifies the reason, such as an authentication failure or a network issue, fix the error and try again. \n 5. If the error still persists, you can attempt to deploy the package manually following the guidelines in this link: '%s'",
"error.deploy.CheckDeploymentStatusError": "Unable to check deployment status for location: '%s' due to error: %s. If the issue persists, please review the deployment logs (Deployment -> Deployment center -> Logs) in Azure portal to identify any issues that may have occurred.",
"error.deploy.DeployRemoteStartError.Notification": "The package has been successfully deployed to Azure for location: '%s', but the application is not able to start. Refer to the [output channel](command:fx-extension.showOutputChannel) for more suggestions.",
"error.deploy.DeployRemoteStartError.Notification": "The package has been successfully deployed to Azure for location: '%s', but the application is not able to start. Refer to the [Output panel](command:fx-extension.showOutputChannel) for more suggestions.",
"error.deploy.DeployRemoteStartError": "The package has been successfully deployed to Azure for location: '%s', but the application is not able to start due to error: %s.\n If the reason is not clearly specified, here are some suggestions to troubleshoot:\n 1. Check the application logs: Look for any error messages or stack traces in the application logs to identify the root cause of the problem.\n 2. Check the Azure configuration: Ensure that the Azure configuration is correct, including connection strings and application settings.\n 3. Check the application code: Review the code to see if there are any syntax or logic errors that could be causing the issue.\n 4. Check the dependencies: Verify that all dependencies required by the application are correctly installed and updated.\n 5. Restart the application: Try restarting the application in Azure to see if that resolves the issue.\n 6. Check the resource allocation: Make sure that the resource allocation for the Azure instance is appropriate for the application and its workload.\n 7. Seek help from Azure support: If the issue persists, reach out to Azure support for further assistance.",
"error.script.ScriptTimeoutError": "Script execution timeout: %s. Adjust 'timeout' parameter in yaml or improve your script's efficiency.",
"error.script.ScriptExecutionError": "%s",
"error.deploy.AzureStorageClearBlobsError.Notification": "Unable to clear blob files in Azure Storage Account '%s'. Refer to the [output channel](command:fx-extension.showOutputChannel) for more details.",
"error.deploy.AzureStorageClearBlobsError.Notification": "Unable to clear blob files in Azure Storage Account '%s'. Refer to the [Output panel](command:fx-extension.showOutputChannel) for more details.",
"error.deploy.AzureStorageClearBlobsError": "Unable to clear blob files in Azure Storage Account '%s'. The error responses from Azure are:\n %s. \nIf the error message specifies the reason, fix the error and try again.",
"error.deploy.AzureStorageUploadFilesError.Notification": "Unable to upload local folder '%s' to Azure Storage Account '%s'. Refer to the [output channel](command:fx-extension.showOutputChannel) for more details.",
"error.deploy.AzureStorageUploadFilesError.Notification": "Unable to upload local folder '%s' to Azure Storage Account '%s'. Refer to the [Output panel](command:fx-extension.showOutputChannel) for more details.",
"error.deploy.AzureStorageUploadFilesError": "Unable to upload local folder '%s' to Azure Storage Account '%s'. The error responses from Azure are:\n %s. \nIf the error message specifies the reason, fix the error and try again.",
"error.deploy.AzureStorageGetContainerError.Notification": "Unable to get Azure Storage container '%s' in Azure Storage Account '%s' due to error: %s. Refer to the [output channel](command:fx-extension.showOutputChannel) for more details.",
"error.deploy.AzureStorageGetContainerError.Notification": "Unable to get Azure Storage container '%s' in Azure Storage Account '%s' due to error: %s. Refer to the [Output panel](command:fx-extension.showOutputChannel) for more details.",
"error.deploy.AzureStorageGetContainerError": "Unable to get Azure Storage container '%s' in Azure Storage Account '%s' due to error: %s. The error responses from Azure are:\n %s. \nIf the error message specifies the reason, fix the error and try again.",
"error.deploy.AzureStorageGetContainerPropertiesError.Notification": "Unable to get properties of container '%s' in Azure Storage Account '%s' due to error: %s. Refer to the [output channel](command:fx-extension.showOutputChannel) for more details.",
"error.deploy.AzureStorageGetContainerPropertiesError.Notification": "Unable to get properties of container '%s' in Azure Storage Account '%s' due to error: %s. Refer to the [Output panel](command:fx-extension.showOutputChannel) for more details.",
"error.deploy.AzureStorageGetContainerPropertiesError": "Unable to get properties of container '%s' in Azure Storage Account '%s' due to error: %s. The error responses from Azure are:\n %s. \nIf the error message specifies the reason, fix the error and try again.",
"error.deploy.AzureStorageSetContainerPropertiesError.Notification": "Unable to set properties of container '%s' in Azure Storage Account '%s' due to error: %s. Refer to the [output channel](command:fx-extension.showOutputChannel) for more details.",
"error.deploy.AzureStorageSetContainerPropertiesError.Notification": "Unable to set properties of container '%s' in Azure Storage Account '%s' due to error: %s. Refer to the [Output panel](command:fx-extension.showOutputChannel) for more details.",
"error.deploy.AzureStorageSetContainerPropertiesError": "Unable to set properties of container '%s' in Azure Storage Account '%s' due to error: %s. The error responses from Azure are:\n %s. \nIf the error message specifies the reason, fix the error and try again."
}
Loading

0 comments on commit 5bdd06a

Please sign in to comment.