MM-25476: Migrate AppError from command_store.go (#14643)

Automatic Merge
Этот коммит содержится в:
Joshua Bezaleel Abednego
2020-07-16 20:26:07 +07:00
коммит произвёл GitHub
родитель 5ddf8d4099
Коммит 48f0b7fd76
13 изменённых файлов: 353 добавлений и 257 удалений

Просмотреть файл

@@ -2978,6 +2978,10 @@
"id": "app.admin.test_site_url.failure",
"translation": "This is not a valid live URL"
},
{
"id": "app.analytics.getanalytics.internal_error",
"translation": "Unable to get the analytics."
},
{
"id": "app.audit.get.finding.app_error",
"translation": "We encountered an error finding the audits."
@@ -3138,6 +3142,46 @@
"id": "app.cluster.404.app_error",
"translation": "Cluster API endpoint not found."
},
{
"id": "app.command.createcommand.internal_error",
"translation": "Unable to save the command."
},
{
"id": "app.command.deletecommand.internal_error",
"translation": "Unable to delete the command."
},
{
"id": "app.command.getcommand.internal_error",
"translation": "Unable to get the command."
},
{
"id": "app.command.listallcommands.internal_error",
"translation": "Unable to list the commands."
},
{
"id": "app.command.listautocompletecommands.internal_error",
"translation": "Unable to list the autocomplete commands."
},
{
"id": "app.command.listteamcommands.internal_error",
"translation": "Unable to list the team commands."
},
{
"id": "app.command.movecommand.internal_error",
"translation": "Unable to move the command."
},
{
"id": "app.command.regencommandtoken.internal_error",
"translation": "Unable to regenerate the command token."
},
{
"id": "app.command.tryexecutecustomcommand.internal_error",
"translation": "Unable to execute the custom command."
},
{
"id": "app.command.updatecommand.internal_error",
"translation": "Unable to update the command."
},
{
"id": "app.emoji.create.internal_error",
"translation": "Unable to save emoji."
@@ -4078,6 +4122,10 @@
"id": "app.team.join_user_to_team.max_accounts.app_error",
"translation": "This team has reached the maximum number of allowed accounts. Contact your System Administrator to set a higher limit."
},
{
"id": "app.team.permanentdeleteteam.internal_error",
"translation": "Unable to delete team."
},
{
"id": "app.team.rename_team.name_occupied",
"translation": "Unable to rename the team, the name is already in use."
@@ -4102,6 +4150,10 @@
"id": "app.user.complete_switch_with_oauth.blank_email.app_error",
"translation": "Unable to complete SAML login with an empty email address."
},
{
"id": "app.user.permanentdeleteuser.internal_error",
"translation": "Unable to delete user."
},
{
"id": "app.user_access_token.disabled",
"translation": "Personal access tokens are disabled on this server. Please contact your system administrator for details."
@@ -6523,40 +6575,16 @@
"translation": "Unable to determine if the user belongs to a list of channels."
},
{
"id": "store.sql_command.analytics_command_count.app_error",
"translation": "Unable to count the commands."
},
{
"id": "store.sql_command.get_by_trigger.app_error",
"translation": "Unable to get the command."
},
{
"id": "store.sql_command.save.delete.app_error",
"translation": "Unable to delete the command."
},
{
"id": "store.sql_command.save.delete_perm.app_error",
"translation": "Unable to delete the command."
"id": "store.sql_command.get.missing.app_error",
"translation": "Command does not exist."
},
{
"id": "store.sql_command.save.get.app_error",
"translation": "Unable to get the command."
},
{
"id": "store.sql_command.save.get_team.app_error",
"translation": "Unable to get the commands."
},
{
"id": "store.sql_command.save.saving.app_error",
"translation": "Unable to save the Command."
},
{
"id": "store.sql_command.save.saving_overwrite.app_error",
"translation": "You cannot overwrite an existing Command."
},
{
"id": "store.sql_command.save.update.app_error",
"translation": "Unable to update the command."
"id": "store.sql_command.update.missing.app_error",
"translation": "Command does not exist."
},
{
"id": "store.sql_command_webhooks.get.app_error",