mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
stats: Update translated strings for stream to channel rename.
Updates the labels for the "Messages sent by recipient type" chart to use "channel", and updates the error message that would be sent for the "messages_sent_by_stream" chart (that has not yet been implemented) for a missing channel/stream. Part of the stream to channel rename project.
This commit is contained in:
committed by
Tim Abbott
parent
abc6f5b8a2
commit
d0a62020ff
@@ -192,21 +192,21 @@ class TestGetChartData(ZulipTestCase):
|
||||
"end_times": [datetime_to_timestamp(dt) for dt in self.end_times_day],
|
||||
"frequency": CountStat.DAY,
|
||||
"everyone": {
|
||||
"Public streams": self.data(100),
|
||||
"Private streams": self.data(0),
|
||||
"Public channels": self.data(100),
|
||||
"Private channels": self.data(0),
|
||||
"Direct messages": self.data(101),
|
||||
"Group direct messages": self.data(0),
|
||||
},
|
||||
"user": {
|
||||
"Public streams": self.data(200),
|
||||
"Private streams": self.data(201),
|
||||
"Public channels": self.data(200),
|
||||
"Private channels": self.data(201),
|
||||
"Direct messages": self.data(0),
|
||||
"Group direct messages": self.data(0),
|
||||
},
|
||||
"display_order": [
|
||||
"Direct messages",
|
||||
"Public streams",
|
||||
"Private streams",
|
||||
"Public channels",
|
||||
"Private channels",
|
||||
"Group direct messages",
|
||||
],
|
||||
"result": "success",
|
||||
@@ -343,8 +343,8 @@ class TestGetChartData(ZulipTestCase):
|
||||
self.assertEqual(
|
||||
data["everyone"],
|
||||
{
|
||||
"Public streams": [0],
|
||||
"Private streams": [0],
|
||||
"Public channels": [0],
|
||||
"Private channels": [0],
|
||||
"Direct messages": [0],
|
||||
"Group direct messages": [0],
|
||||
},
|
||||
@@ -352,8 +352,8 @@ class TestGetChartData(ZulipTestCase):
|
||||
self.assertEqual(
|
||||
data["user"],
|
||||
{
|
||||
"Public streams": [0],
|
||||
"Private streams": [0],
|
||||
"Public channels": [0],
|
||||
"Private channels": [0],
|
||||
"Direct messages": [0],
|
||||
"Group direct messages": [0],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user