Add "thanks" and "thank you" to "pray" emoji (#24090)

This commit is contained in:
Eric Sethna 2023-10-16 03:40:57 -07:00 committed by GitHub
parent d557bd864f
commit 6abaf04a95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 20 additions and 10 deletions

View File

@ -223,6 +223,9 @@ var SystemEmojis = map[string]string{
"palms_up_together": "1f932",
"handshake": "1f91d",
"pray": "1f64f",
"thanks": "1f64f",
"thank you": "1f64f",
"thank_you": "1f64f",
"writing_hand": "270d-fe0f",
"nail_care": "1f485",
"selfie": "1f933",

View File

@ -2200,6 +2200,11 @@
"om_symbol":[
"om"
],
"pray": [
"thanks",
"thank you",
"thank_you"
],
"racing_motorcycle":[
"motorcycle"
],

View File

@ -13,17 +13,17 @@
* npm run make-emojis -- --help
*/
import path from 'node:path';
import * as fsPromise from 'node:fs/promises';
import * as fs from 'node:fs';
import * as fsPromise from 'node:fs/promises';
import path from 'node:path';
import * as url from 'node:url';
import yargs from 'yargs';
import chalk from 'chalk';
import jsonData from 'emoji-datasource/emoji.json';
import jsonCategories from 'emoji-datasource/categories.json';
import jsonCategories from 'emoji-datasource/categories.json' assert { type: 'json' };
import jsonData from 'emoji-datasource/emoji.json' assert { type: 'json' };
import yargs from 'yargs';
import additionalShortnames from './additional_shortnames.json';
import additionalShortnames from './additional_shortnames.json' assert { type: 'json' };
const EMOJI_SIZE = 64;
const EMOJI_SIZE_PADDED = EMOJI_SIZE + 2; // 1px per side

View File

@ -73,7 +73,6 @@ describe('getRecentEmojisData', () => {
{name: 'flag-au', usageCount: 1},
{name: 'kappa', usageCount: 1},
{name: 'gitlab', usageCount: 1},
{name: 'thanks', usageCount: 1},
];
const state = mergeObjects(baseState, {
entities: {
@ -99,7 +98,7 @@ describe('getRecentEmojisData', () => {
{name: 'flag-au', usageCount: 1},
{name: 'kappa', usageCount: 1},
{name: 'gitlab', usageCount: 1},
{name: 'thanks', usageCount: 1},
{name: 'smile', usageCount: 1},
];
const state = mergeObjects(baseState, {
entities: {

View File

@ -3893,7 +3893,10 @@
"unified": "1F64F",
"short_name": "pray",
"short_names": [
"pray"
"pray",
"thanks",
"thank you",
"thank_you"
],
"text": null,
"texts": null,

File diff suppressed because one or more lines are too long