private-messages: Update frontend strings to use "direct message" or "DM".

Updates frontend user-facing strings with "private message" or "PM" to
use "direct message" or "DM" respectively instead.

Note that this updates translated strings as well as a few that
are not translated like search suggestions.

Updates `tools/lib/capitalization.py` for some specific strings
that are impacted by these changes, and removes "PM" and "PMs"
from checked strings.
This commit is contained in:
Lauryn Menard
2023-01-24 19:49:56 +01:00
committed by Tim Abbott
parent 017b05fd84
commit 42775219b3
31 changed files with 95 additions and 95 deletions

View File

@@ -29,8 +29,6 @@ IGNORED_PHRASES = [
r"Markdown",
r"OTP",
r"Pivotal",
r"PM",
r"PMs",
r"DM",
r"DMs",
r"Slack",
@@ -98,9 +96,9 @@ IGNORED_PHRASES = [
r"\bN\b",
# Capital c feels obtrusive in clear status option
r"clear",
r"group private messages with \{recipient\}",
r"private messages with \{recipient\}",
r"private messages with yourself",
r"group direct messages with \{recipient\}",
r"direct messages with \{recipient\}",
r"direct messages with yourself",
r"GIF",
# Emoji name placeholder
r"leafy green vegetable",