mirror of https://github.com/zulip/zulip.git
default data: Add non ASCII and non BMP characters to stream names.
Added emojis and Non ASCII characters to default stream names and descriptions. Added raw_emojis array under streams so that we can pass --extra-streams argument without --extra-users as it should be.
This commit is contained in:
parent
12a439b8bd
commit
93c88705cf
|
@ -755,9 +755,15 @@ class Command(BaseCommand):
|
||||||
# suite fast, don't add these users and subscriptions
|
# suite fast, don't add these users and subscriptions
|
||||||
# when running populate_db for the test suite
|
# when running populate_db for the test suite
|
||||||
|
|
||||||
|
# to imitate emoji insertions in stream names
|
||||||
|
raw_emojis = ["😎", "😂", "🐱👤"]
|
||||||
|
|
||||||
zulip_stream_dict: Dict[str, Dict[str, Any]] = {
|
zulip_stream_dict: Dict[str, Dict[str, Any]] = {
|
||||||
"devel": {"description": "For developing"},
|
"devel": {"description": "For developing"},
|
||||||
"all": {"description": "For **everything**"},
|
# ビデオゲーム - VideoGames (japanese)
|
||||||
|
"ビデオゲーム": {
|
||||||
|
"description": "Share your favorite video games! {}".format(raw_emojis[2])
|
||||||
|
},
|
||||||
"announce": {
|
"announce": {
|
||||||
"description": "For announcements",
|
"description": "For announcements",
|
||||||
"stream_post_policy": Stream.STREAM_POST_POLICY_ADMINS,
|
"stream_post_policy": Stream.STREAM_POST_POLICY_ADMINS,
|
||||||
|
@ -767,7 +773,9 @@ class Command(BaseCommand):
|
||||||
"social": {"description": "For socializing"},
|
"social": {"description": "For socializing"},
|
||||||
"test": {"description": "For testing `code`"},
|
"test": {"description": "For testing `code`"},
|
||||||
"errors": {"description": "For errors"},
|
"errors": {"description": "For errors"},
|
||||||
"sales": {"description": "For sales discussion"},
|
# 조리법 - Recipes (Korean) , Пельмени - Dumplings (Russian)
|
||||||
|
"조리법 "
|
||||||
|
+ raw_emojis[0]: {"description": "Everything cooking, from pasta to Пельмени"},
|
||||||
}
|
}
|
||||||
|
|
||||||
extra_stream_names = [
|
extra_stream_names = [
|
||||||
|
|
Loading…
Reference in New Issue