Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
documentation: Revise uses of "e.g.," followed by a colon.
Lauryn Menard04e2728cb031
diff --git a/docs/contributing/how-we-communicate.md b/docs/contributing/how-we-communicate.mdindex 1b02ca304fd..285c3618aa2 100644--- a/docs/contributing/how-we-communicate.md+++ b/docs/contributing/how-we-communicate.md@@ -60,7 +60,7 @@ better decisions as a group, and learn and have fun along the way.where they are coming from.- If you think someone is factually mistaken, consider how they might have reached- their conclusion, and aim to get to a shared understanding. E.g.,:+ their conclusion, and aim to get to a shared understanding. For example:- “I wasn't able to replicate this -- is it possible you are on an old Zulipserver?”, rather than “This bug report is wrong.”@@ -86,7 +86,8 @@ question in the development community, or suggesting a new feature. It'sespecially important to thank and encourage folks who are stretching themselvesto try something new.-- Remember to say “thanks” when responding to a question or suggestion. E.g.,:+- Remember to say “thanks” when responding to a question or suggestion. For+ example:- “Thanks for the report! ... ” when someone reports a bug.- “Thanks for reviewing my PR! ... ”@@ -101,7 +102,7 @@ to try something new.- You can use a variety of channels to express your appreciation. A commentdirectly in a Zulip thread or on a pull request is often best, but in some- cases you may also want to send a friendly direct message. E.g.,:+ cases you may also want to send a friendly direct message. For example:- “I've noticed that you've been answering lots of questions in #**developmenthelp** lately. Thanks so much for doing that!”diff --git a/docs/development/setup-recommended.md b/docs/development/setup-recommended.mdindex ce32b42040f..14e5f49d075 100644--- a/docs/development/setup-recommended.md+++ b/docs/development/setup-recommended.md@@ -132,7 +132,7 @@ installation method described here. We require version 0.67.6+ of WSL 2.$ sudo apt install rabbitmq-server memcached redis-server postgresql```-1. Open `/etc/rabbitmq/rabbitmq-env.conf` using e.g.,:+1. Open `/etc/rabbitmq/rabbitmq-env.conf` using, for example:```console$ sudo nano /etc/rabbitmq/rabbitmq-env.conf@@ -1094,7 +1094,7 @@ NO_PROXY localhost,127.0.0.1,.example.com,.zulipdev.com```For proxies that require authentication, the config will be a bit more-complex, e.g.,:+complex, for example:```textHTTP_PROXY http://userName:[email protected]:8080diff --git a/docs/documentation/api.md b/docs/documentation/api.mdindex fc5718fc6c1..bdafc0662b4 100644--- a/docs/documentation/api.md+++ b/docs/documentation/api.md@@ -393,7 +393,7 @@ documentation for the REST API endpoint for uploading a file,There are no parameters for this endpoint, and only one return valuespecific to this endpoint, `uri`, which is the URL of the uploaded file.If we comment out that return value and example from the existing API-documentation in `zerver/openapi/zulip.yaml`, e.g.,:+documentation in `zerver/openapi/zulip.yaml`, for example:```yaml/user_uploads:diff --git a/docs/production/export-and-import.md b/docs/production/export-and-import.mdindex 9b80bfc826b..c475fa97bc2 100644--- a/docs/production/export-and-import.md+++ b/docs/production/export-and-import.md@@ -468,7 +468,7 @@ If you're hosting multiple organizations and would like to removeuploads from a single organization, you'll need to access `realm.id`in the management shell before deleting the organization from thedatabase (this will be `2` for the first organization created on a-Zulip server, shown in the example below), e.g.,:+Zulip server, shown in the example below), for example:```bashrm -rf /home/zulip/uploads/*/2/diff --git a/docs/production/management-commands.md b/docs/production/management-commands.mdindex 1c914fbd569..4e5e8ca635a 100644--- a/docs/production/management-commands.md+++ b/docs/production/management-commands.md@@ -54,7 +54,7 @@ unlikely to ever need to interact with that realm.)Unless you are[hosting multiple organizations on your Zulip server](multiple-organizations.md),your single Zulip organization on the root domain will have the empty-string (`''`) as its `string_id`. So you can run e.g.,:+string (`''`) as its `string_id`. So you can run, for example:```consolezulip@zulip:~$ /home/zulip/deployments/current/manage.py show_admins -r ''diff --git a/docs/subsystems/settings.md b/docs/subsystems/settings.mdindex 392e53a0a17..faa42484bf2 100644--- a/docs/subsystems/settings.md+++ b/docs/subsystems/settings.md@@ -29,7 +29,7 @@ Zulip uses the [Django settingssystem](https://docs.djangoproject.com/en/5.0/topics/settings/), whichmeans that the settings files are Python programs that set a lot ofvariables with all-capital names like `EMAIL_GATEWAY_PATTERN`. You can-access these anywhere in the Zulip Django code using e.g.,:+access these anywhere in the Zulip Django code using, for example:```pythonfrom django.conf import settings@@ -37,7 +37,8 @@ print(settings.EMAIL_GATEWAY_PATTERN)```Additionally, if you need to access a Django setting in a shell-script (or just on the command line for debugging), you can use e.g.,:+script (or just on the command line for debugging), you can use, for+example:```console$ ./scripts/get-django-setting EMAIL_GATEWAY_PATTERNdiff --git a/docs/testing/typescript.md b/docs/testing/typescript.mdindex fe425600a00..3b777cbb329 100644--- a/docs/testing/typescript.md+++ b/docs/testing/typescript.md@@ -82,7 +82,7 @@ those that:When migrating a module, we want to be especially thoughtful aboutputting together a commit structure that makes mistakes unlikely and-the changes easy to verify. E.g.,:+the changes easy to verify. For example:- First a commit that just converts the language to TypeScript addingtypes. The result may potentially have some violations of thediff --git a/docs/translating/internationalization.md b/docs/translating/internationalization.mdindex d6ed52df733..8e28dc6054c 100644--- a/docs/translating/internationalization.md+++ b/docs/translating/internationalization.md@@ -172,7 +172,7 @@ from django.utils.translation import gettext as _Zulip expects all the error messages to be translatable as well. Toensure this, the error message passed to `JsonableError`should always be a literal string enclosed by `_()`-function, e.g.,:+function, for example:```pythonJsonableError(_('English text'))@@ -180,7 +180,7 @@ JsonableError(_('English text'))If you're declaring a user-facing string at top level or in a class, you need touse `gettext_lazy` instead, to ensure that the translation happens at-request-processing time when Django knows what language to use, e.g.,:+request-processing time when Django knows what language to use, for example:```pythonfrom zproject.backends import check_password_strength, email_belongs_to_ldapdiff --git a/help/include/when-to-start-a-new-topic.md b/help/include/when-to-start-a-new-topic.mdindex 2dc0aa5f3db..531e36553a5 100644--- a/help/include/when-to-start-a-new-topic.md+++ b/help/include/when-to-start-a-new-topic.md@@ -2,7 +2,7 @@ To get the full benefits of Zulip's topic model, when starting a newconversation, you should start a new topic!Starting a topic is like a lighter weight version of giving your email a subject.-Topic names should be brief but specific, e.g.,:+Topic names should be brief but specific, for example:* **Good topic names:** "question about topics", "welcome Anna Smith!", "issue #1234"* **Not so good topic names:** "question", "hi", "help", "this topic is aboutdiff --git a/help/setting-up-zulip-for-a-class.md b/help/setting-up-zulip-for-a-class.mdindex dc979ed3ed9..6f27edab594 100644--- a/help/setting-up-zulip-for-a-class.md+++ b/help/setting-up-zulip-for-a-class.md@@ -329,7 +329,8 @@ product.If you plan to use the same Zulip organization in future terms (eitherfor your own classes or for your department), you will likely want to:-- Rename all channels to indicate the class and term in which they were used, e.g.,:+- Rename all channels to indicate the class and term in which they were used, for+ example:- **#announcements** → **#FA21 - CS101 - announcements**- **#CS101 > Lecture 1: Course intro** → **#FA21 - CS101 > Lecture 1: Courseintro**diff --git a/help/using-zulip-for-a-class.md b/help/using-zulip-for-a-class.mdindex 661625d0153..152b21274db 100644--- a/help/using-zulip-for-a-class.md+++ b/help/using-zulip-for-a-class.md@@ -20,14 +20,14 @@ single place for:[Subscribe to email notifications](/help/channel-notifications) forchannels such as **#announcements** to make sure you never miss an important message.-Many classes use a dedicated channel to post general announcements, e.g.,:+Many classes use a dedicated channel to post general announcements, for example:* **\#announcements** > **office hours**: My office hours this weekwill be rescheduled from `Mon, Oct 11 2021, 1:00 PM` to `Thu, Oct 14 2021, 3:30 PM`.Share lecture notes and reading materials with [drag-and-drop file-uploads](/help/share-and-upload-files), e.g.,:+uploads](/help/share-and-upload-files), for example:* **\#Unit 3: Sorting algorithms** > **lecture notes**: Here are the notesfrom today’s lecture. [lecture notes 10/2.pdf]() You can view a recording of the lecture [here]().@@ -70,7 +70,7 @@ staff to see which conversations still require their attention.## Coordination among teaching staff-Use private channels to coordinate among course staff, e.g.,:+Use private channels to coordinate among course staff, for example:* **\#staff** > **homework 2 exercise 3b**: How many points should Itake off for this? The assignment says clearly to use Python 3 syntax.