Migration of ChannelStore Part 1 (#15235)
* Lint: remove unnecessary use of sprintf * Fix i18n * Returning the right error (InternalServerError) * Doing some suggestions * Fix store layers * Fix missed translation Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
f2a8e10216
Коммит
2cb655ed67
60
i18n/en.json
60
i18n/en.json
@@ -3298,6 +3298,10 @@
|
||||
"id": "app.channel.get_by_name.missing.app_error",
|
||||
"translation": "Channel does not exist."
|
||||
},
|
||||
{
|
||||
"id": "app.channel.get_channel_counts.get.app_error",
|
||||
"translation": "Unable to get the channel counts."
|
||||
},
|
||||
{
|
||||
"id": "app.channel.get_channels.get.app_error",
|
||||
"translation": "Unable to get the channels."
|
||||
@@ -3306,6 +3310,18 @@
|
||||
"id": "app.channel.get_channels.not_found.app_error",
|
||||
"translation": "No channels were found."
|
||||
},
|
||||
{
|
||||
"id": "app.channel.get_channels_by_ids.app_error",
|
||||
"translation": "Unable to get channels by ids."
|
||||
},
|
||||
{
|
||||
"id": "app.channel.get_channels_by_ids.get.app_error",
|
||||
"translation": "Unable to get the channels."
|
||||
},
|
||||
{
|
||||
"id": "app.channel.get_channels_by_ids.not_found.app_error",
|
||||
"translation": "No channel found."
|
||||
},
|
||||
{
|
||||
"id": "app.channel.get_deleted.existing.app_error",
|
||||
"translation": "Unable to find the existing deleted channel."
|
||||
@@ -3314,10 +3330,22 @@
|
||||
"id": "app.channel.get_deleted.missing.app_error",
|
||||
"translation": "No deleted channels exist."
|
||||
},
|
||||
{
|
||||
"id": "app.channel.get_for_post.app_error",
|
||||
"translation": "Unable to get the channel for the given post."
|
||||
},
|
||||
{
|
||||
"id": "app.channel.get_more_channels.get.app_error",
|
||||
"translation": "Unable to get the channels."
|
||||
},
|
||||
{
|
||||
"id": "app.channel.get_private_channels.get.app_error",
|
||||
"translation": "Unable to get private channels."
|
||||
},
|
||||
{
|
||||
"id": "app.channel.get_public_channels.get.app_error",
|
||||
"translation": "Unable to get public channels."
|
||||
},
|
||||
{
|
||||
"id": "app.channel.move_channel.members_do_not_match.error",
|
||||
"translation": "Unable to move a channel unless all its members are already members of the destination team."
|
||||
@@ -3350,6 +3378,10 @@
|
||||
"id": "app.channel.restore.app_error",
|
||||
"translation": "Unable to restore the channel."
|
||||
},
|
||||
{
|
||||
"id": "app.channel.sidebar_categories.app_error",
|
||||
"translation": "Failed to insert record to database."
|
||||
},
|
||||
{
|
||||
"id": "app.channel.update.bad_id",
|
||||
"translation": "Unable to update the channel."
|
||||
@@ -7206,30 +7238,10 @@
|
||||
"id": "store.sql_channel.get_by_scheme.app_error",
|
||||
"translation": "Unable to get the channels for the provided scheme."
|
||||
},
|
||||
{
|
||||
"id": "store.sql_channel.get_channel_counts.get.app_error",
|
||||
"translation": "Unable to get the channel counts."
|
||||
},
|
||||
{
|
||||
"id": "store.sql_channel.get_channels_batch_for_indexing.get.app_error",
|
||||
"translation": "Unable to get the channels batch for indexing."
|
||||
},
|
||||
{
|
||||
"id": "store.sql_channel.get_channels_by_ids.app_error",
|
||||
"translation": "Unable to get channels by ids."
|
||||
},
|
||||
{
|
||||
"id": "store.sql_channel.get_channels_by_ids.get.app_error",
|
||||
"translation": "Unable to get the channels."
|
||||
},
|
||||
{
|
||||
"id": "store.sql_channel.get_channels_by_ids.not_found.app_error",
|
||||
"translation": "No channel found."
|
||||
},
|
||||
{
|
||||
"id": "store.sql_channel.get_for_post.app_error",
|
||||
"translation": "Unable to get the channel for the given post."
|
||||
},
|
||||
{
|
||||
"id": "store.sql_channel.get_member.app_error",
|
||||
"translation": "Unable to get the channel member."
|
||||
@@ -7258,14 +7270,6 @@
|
||||
"id": "store.sql_channel.get_pinnedpost_count.app_error",
|
||||
"translation": "Unable to get the channel pinned post count."
|
||||
},
|
||||
{
|
||||
"id": "store.sql_channel.get_private_channels.get.app_error",
|
||||
"translation": "Unable to get private channels."
|
||||
},
|
||||
{
|
||||
"id": "store.sql_channel.get_public_channels.get.app_error",
|
||||
"translation": "Unable to get public channels."
|
||||
},
|
||||
{
|
||||
"id": "store.sql_channel.get_unread.app_error",
|
||||
"translation": "Unable to get the channel unread messages."
|
||||
|
||||
Ссылка в новой задаче
Block a user