MM-21552: Adding SaveMultiple to posts (#13766)
* Adding SaveMultiple to posts * Improving tests * fixing i18n * Fixing tests * Improving testing on top of Save and SaveMultiple * Fixing shadow variables * Addressing some PR comments * More clear update post test * Addressing some PR comments * Addressing some PR comments and simplifying the code * Improting replies in bulk too * Fixing reply count and processing last imported replies * Adding OverwriteMultiple to posts aggregating everything in the same transaction * Adding 2 pending tests to implement * Adding tests for overwrite multiple posts * Adding tests for TeamStore.GetByNames method * Fixing shadow variables * Addressing PR comments * Extracting i18n strings * Fixing tests * Fixing tests * Adding more test cases * Using a variable instead of a fake timestamp
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
2bec92a404
Коммит
27d536b212
36
i18n/en.json
36
i18n/en.json
@@ -2958,6 +2958,14 @@
|
||||
"id": "app.import.emoji.bad_file.error",
|
||||
"translation": "Error reading import emoji image file. Emoji with name: \"{{.EmojiName}}\""
|
||||
},
|
||||
{
|
||||
"id": "app.import.get_teams_by_names.some_teams_not_found.error",
|
||||
"translation": "Some teams not found"
|
||||
},
|
||||
{
|
||||
"id": "app.import.get_users_by_username.some_users_not_found.error",
|
||||
"translation": "Some users not found"
|
||||
},
|
||||
{
|
||||
"id": "app.import.import_channel.scheme_deleted.error",
|
||||
"translation": "Unable to set a channel to use a deleted scheme."
|
||||
@@ -2978,18 +2986,10 @@
|
||||
"id": "app.import.import_direct_channel.create_group_channel.error",
|
||||
"translation": "Failed to create group channel"
|
||||
},
|
||||
{
|
||||
"id": "app.import.import_direct_channel.member_not_found.error",
|
||||
"translation": "Could not find channel member when importing direct channel"
|
||||
},
|
||||
{
|
||||
"id": "app.import.import_direct_channel.update_header_failed.error",
|
||||
"translation": "Failed to update direct channel header"
|
||||
},
|
||||
{
|
||||
"id": "app.import.import_direct_post.channel_member_not_found.error",
|
||||
"translation": "Could not find channel member when importing direct channel post"
|
||||
},
|
||||
{
|
||||
"id": "app.import.import_direct_post.create_direct_channel.error",
|
||||
"translation": "Failed to get direct channel"
|
||||
@@ -2998,14 +2998,6 @@
|
||||
"id": "app.import.import_direct_post.create_group_channel.error",
|
||||
"translation": "Failed to get group channel"
|
||||
},
|
||||
{
|
||||
"id": "app.import.import_direct_post.save_preferences.error",
|
||||
"translation": "Error importing direct post. Failed to save preferences."
|
||||
},
|
||||
{
|
||||
"id": "app.import.import_direct_post.user_not_found.error",
|
||||
"translation": "Post user does not exist"
|
||||
},
|
||||
{
|
||||
"id": "app.import.import_line.null_channel.error",
|
||||
"translation": "Import data line has type \"channel\" but the channel object is null."
|
||||
@@ -3050,10 +3042,6 @@
|
||||
"id": "app.import.import_post.save_preferences.error",
|
||||
"translation": "Error importing post. Failed to save preferences."
|
||||
},
|
||||
{
|
||||
"id": "app.import.import_post.team_not_found.error",
|
||||
"translation": "Error importing post. Team with name \"{{.TeamName}}\" could not be found."
|
||||
},
|
||||
{
|
||||
"id": "app.import.import_post.user_not_found.error",
|
||||
"translation": "Error importing post. User with username \"{{.Username}}\" could not be found."
|
||||
@@ -6982,6 +6970,14 @@
|
||||
"id": "store.sql_team.get_by_name.missing.app_error",
|
||||
"translation": "Unable to find the existing team."
|
||||
},
|
||||
{
|
||||
"id": "store.sql_team.get_by_names.app_error",
|
||||
"translation": "Unable to get the teams by names"
|
||||
},
|
||||
{
|
||||
"id": "store.sql_team.get_by_names.missing.app_error",
|
||||
"translation": "Unable to find some of the requested teams"
|
||||
},
|
||||
{
|
||||
"id": "store.sql_team.get_by_scheme.app_error",
|
||||
"translation": "Unable to get the channels for the provided scheme."
|
||||
|
||||
Ссылка в новой задаче
Block a user