SystemStore migration to return plain errors (#14835)

* SystemStore migration to return plain errors

* Fix nilness

* Fix translations

* Fix merge

* Fix layers

* Fix merge errors

* Lint: remove unnecessary use of sprint

* Fix merge errors

* Fix i18n

Co-authored-by: Agniva De Sarker <agnivade@yahoo.co.in>
Этот коммит содержится в:
Rodrigo Villablanca
2020-08-13 11:02:57 -04:00
коммит произвёл GitHub
родитель e8d431ee7c
Коммит 20e44399c7
18 изменённых файлов: 252 добавлений и 173 удалений

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

@@ -4470,6 +4470,22 @@
"id": "app.submit_interactive_dialog.json_error",
"translation": "Encountered an error encoding JSON for the interactive dialog."
},
{
"id": "app.system.get.app_error",
"translation": "We encountered an error finding the system properties."
},
{
"id": "app.system.get_by_name.app_error",
"translation": "Unable to find the system variable."
},
{
"id": "app.system.permanent_delete_by_name.app_error",
"translation": "We could not permanently delete the system table entry."
},
{
"id": "app.system.save.app_error",
"translation": "We encountered an error saving the system property."
},
{
"id": "app.system.warn_metric.bot_description",
"translation": "[Learn more about the Mattermost Advisor](https://about.mattermost.com/default-channel-handle-documentation)"
@@ -5502,6 +5518,10 @@
"id": "mfa.validate_token.authenticate.app_error",
"translation": "Invalid MFA token."
},
{
"id": "migrations.system.save.app_error",
"translation": "We encountered an error saving the system property."
},
{
"id": "migrations.worker.run_advanced_permissions_phase_2_migration.invalid_progress",
"translation": "Migration failed due to invalid progress data."
@@ -7310,30 +7330,6 @@
"id": "store.sql_post.search.disabled",
"translation": "Searching has been disabled on this server. Please contact your System Administrator."
},
{
"id": "store.sql_system.get.app_error",
"translation": "We encountered an error finding the system properties."
},
{
"id": "store.sql_system.get_by_name.app_error",
"translation": "Unable to find the system variable."
},
{
"id": "store.sql_system.permanent_delete_by_name.app_error",
"translation": "We could not permanently delete the system table entry."
},
{
"id": "store.sql_system.save.app_error",
"translation": "We encountered an error saving the system property."
},
{
"id": "store.sql_system.save.commit_transaction.app_error",
"translation": "Failed to commit the database transaction."
},
{
"id": "store.sql_system.update.app_error",
"translation": "We encountered an error updating the system property."
},
{
"id": "store.sql_team.analytics_get_team_count_for_scheme.app_error",
"translation": "Unable to get the channel count for the scheme."