i18n: Update translated errors for stream to channel rename.

Updates various areas of the backend code that generate
JsonableErrors with translated strings to use channel
instead of stream.

Part of stream to channel rename project.
This commit is contained in:
Lauryn Menard
2024-04-16 15:52:21 +02:00
committed by Tim Abbott
parent df3ab8deea
commit 9be4d07442
16 changed files with 63 additions and 61 deletions

View File

@@ -505,7 +505,7 @@ class ScheduledMessageTest(ZulipTestCase):
}
result = self.client_patch(f"/json/scheduled_messages/{scheduled_message_id}", payload)
self.assert_json_error(
result, "Topic required when updating scheduled message type to stream."
result, "Topic required when updating scheduled message type to channel."
)
# Edit message `type` to stream with valid `to` and `topic` succeeds