mirror of https://github.com/zulip/zulip.git
settings: Explain that Google blob emojis are deprecated.
Part of fixing #19371.
This commit is contained in:
parent
5565a5055e
commit
c321f57785
|
@ -6,10 +6,10 @@ document discusses a number of these issues.
|
|||
|
||||
Currently, Zulip supports these four display formats for emoji:
|
||||
|
||||
- Google modern
|
||||
- Google classic
|
||||
- Google
|
||||
- Twitter
|
||||
- Plain text
|
||||
- Google blob (deprecated)
|
||||
|
||||
## Emoji codes
|
||||
|
||||
|
|
|
@ -961,7 +961,7 @@ input[type="checkbox"] {
|
|||
}
|
||||
|
||||
.emojiset_choices {
|
||||
width: 250px;
|
||||
width: 350px;
|
||||
|
||||
.emoji {
|
||||
height: 22px;
|
||||
|
|
|
@ -59,6 +59,10 @@
|
|||
<img class="emoji" src="/static/generated/emoji/images-{{this.key}}-64/1f389.png" />
|
||||
{{/if}}
|
||||
</span>
|
||||
{{#if (eq this.key "google-blob")}}
|
||||
<span>(<em>{{t "deprecated" }}</em>)</span>
|
||||
{{> ../help_link_widget link="/help/emoji-and-emoticons#change-your-emoji-set" }}
|
||||
{{/if}}
|
||||
</label>
|
||||
{{/each}}
|
||||
</div>
|
||||
|
|
|
@ -32,6 +32,7 @@ IGNORED_PHRASES = [
|
|||
r"PM",
|
||||
r"PMs",
|
||||
r"Slack",
|
||||
r"Google",
|
||||
r"Terms of Service",
|
||||
r"Tuesday",
|
||||
r"URL",
|
||||
|
@ -74,6 +75,8 @@ IGNORED_PHRASES = [
|
|||
# SPECIAL CASES
|
||||
# Because topics usually are lower-case, this would look weird if it were capitalized
|
||||
r"more topics",
|
||||
# Used alone in a parenthetical where capitalized looks worse.
|
||||
r"^deprecated$",
|
||||
# Capital 'i' looks weird in reminders popover
|
||||
r"in 1 hour",
|
||||
r"in 20 minutes",
|
||||
|
|
|
@ -15,10 +15,10 @@ class Migration(migrations.Migration):
|
|||
name="emojiset",
|
||||
field=models.CharField(
|
||||
choices=[
|
||||
("google", "Google modern"),
|
||||
("google-blob", "Google classic"),
|
||||
("google", "Google"),
|
||||
("twitter", "Twitter"),
|
||||
("text", "Plain text"),
|
||||
("google-blob", "Google blobs"),
|
||||
],
|
||||
default="google",
|
||||
max_length=20,
|
||||
|
@ -29,10 +29,10 @@ class Migration(migrations.Migration):
|
|||
name="emojiset",
|
||||
field=models.CharField(
|
||||
choices=[
|
||||
("google", "Google modern"),
|
||||
("google-blob", "Google classic"),
|
||||
("google", "Google"),
|
||||
("twitter", "Twitter"),
|
||||
("text", "Plain text"),
|
||||
("google-blob", "Google blobs"),
|
||||
],
|
||||
default="google",
|
||||
max_length=20,
|
||||
|
|
|
@ -1547,10 +1547,10 @@ class UserBaseSettings(models.Model):
|
|||
TEXT_EMOJISET = "text"
|
||||
TWITTER_EMOJISET = "twitter"
|
||||
EMOJISET_CHOICES = (
|
||||
(GOOGLE_EMOJISET, "Google modern"),
|
||||
(GOOGLE_BLOB_EMOJISET, "Google classic"),
|
||||
(GOOGLE_EMOJISET, "Google"),
|
||||
(TWITTER_EMOJISET, "Twitter"),
|
||||
(TEXT_EMOJISET, "Plain text"),
|
||||
(GOOGLE_BLOB_EMOJISET, "Google blobs"),
|
||||
)
|
||||
emojiset: str = models.CharField(
|
||||
default=GOOGLE_EMOJISET, choices=EMOJISET_CHOICES, max_length=20
|
||||
|
|
|
@ -8585,10 +8585,10 @@ paths:
|
|||
The user's configured [emoji set](/help/emoji-and-emoticons#use-emoticons),
|
||||
used to display emoji to the user everywhere they appear in the UI.
|
||||
|
||||
- "google" - Google modern
|
||||
- "google-blob" - Google classic
|
||||
- "google" - Google
|
||||
- "twitter" - Twitter
|
||||
- "text" - Plain text
|
||||
- "google-blob" - Google blobs
|
||||
schema:
|
||||
type: string
|
||||
example: "google"
|
||||
|
|
Loading…
Reference in New Issue