MM-26031: Migrate reaction store to plain errors (#14931)

* ReactionStore migration to return plain errors

* Fix translations

* FixImports

* Rollback fix imports

* Fix merge conflict

* add ent translation

Co-authored-by: Rodrigo Villablanca <villa061004@gmail.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
Agniva De Sarker
2020-07-02 09:43:28 +05:30
коммит произвёл GitHub
родитель 00aeca0e5c
Коммит 71925ea224
12 изменённых файлов: 150 добавлений и 167 удалений

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

@@ -3954,6 +3954,22 @@
"id": "app.plugin.write_file.saving.app_error",
"translation": "An error occurred while saving the file."
},
{
"id": "app.reaction.bulk_get_for_post_ids.app_error",
"translation": "Unable to get reactions for post."
},
{
"id": "app.reaction.delete_all_with_emoji_name.get_reactions.app_error",
"translation": "Unable to get all reactions with this emoji name."
},
{
"id": "app.reaction.get_for_post.app_error",
"translation": "Unable to get reactions for post."
},
{
"id": "app.reaction.save.save.app_error",
"translation": "Unable to save reaction."
},
{
"id": "app.role.check_roles_exist.role_not_found",
"translation": "The provided role does not exist"
@@ -4310,6 +4326,10 @@
"id": "ent.data_retention.generic.license.error",
"translation": "Your license does not support Data Retention."
},
{
"id": "ent.data_retention.reactions_batch.internal_error",
"translation": "We encountered an error permanently deleting the batch of reactions."
},
{
"id": "ent.elasticsearch.aggregator_worker.create_index_job.error",
"translation": "Elasticsearch aggregator worker failed to create the indexing job"
@@ -6906,42 +6926,6 @@
"id": "store.sql_preference.update.app_error",
"translation": "Unable to update the preference."
},
{
"id": "store.sql_reaction.bulk_get_for_post_ids.app_error",
"translation": "Unable to get reactions for post."
},
{
"id": "store.sql_reaction.delete.app_error",
"translation": "Unable to delete reaction."
},
{
"id": "store.sql_reaction.delete_all_with_emoji_name.delete_reactions.app_error",
"translation": "Unable to delete all reactions with this emoji name."
},
{
"id": "store.sql_reaction.delete_all_with_emoji_name.get_reactions.app_error",
"translation": "Unable to get all reactions with this emoji name."
},
{
"id": "store.sql_reaction.get_for_post.app_error",
"translation": "Unable to get reactions for post."
},
{
"id": "store.sql_reaction.permanent_delete_batch.app_error",
"translation": "We encountered an error permanently deleting the batch of reactions."
},
{
"id": "store.sql_reaction.save.begin.app_error",
"translation": "Unable to open transaction while saving reaction."
},
{
"id": "store.sql_reaction.save.commit.app_error",
"translation": "Unable to commit transaction while saving reaction."
},
{
"id": "store.sql_reaction.save.save.app_error",
"translation": "Unable to save reaction."
},
{
"id": "store.sql_recover.delete.app_error",
"translation": "Unable to delete token."