Add "thanks" and "thank you" to "pray" emoji (#24090)
Этот коммит содержится в:
@@ -223,6 +223,9 @@ var SystemEmojis = map[string]string{
|
|||||||
"palms_up_together": "1f932",
|
"palms_up_together": "1f932",
|
||||||
"handshake": "1f91d",
|
"handshake": "1f91d",
|
||||||
"pray": "1f64f",
|
"pray": "1f64f",
|
||||||
|
"thanks": "1f64f",
|
||||||
|
"thank you": "1f64f",
|
||||||
|
"thank_you": "1f64f",
|
||||||
"writing_hand": "270d-fe0f",
|
"writing_hand": "270d-fe0f",
|
||||||
"nail_care": "1f485",
|
"nail_care": "1f485",
|
||||||
"selfie": "1f933",
|
"selfie": "1f933",
|
||||||
|
|||||||
@@ -2200,6 +2200,11 @@
|
|||||||
"om_symbol":[
|
"om_symbol":[
|
||||||
"om"
|
"om"
|
||||||
],
|
],
|
||||||
|
"pray": [
|
||||||
|
"thanks",
|
||||||
|
"thank you",
|
||||||
|
"thank_you"
|
||||||
|
],
|
||||||
"racing_motorcycle":[
|
"racing_motorcycle":[
|
||||||
"motorcycle"
|
"motorcycle"
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -13,17 +13,17 @@
|
|||||||
* npm run make-emojis -- --help
|
* 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 fs from 'node:fs';
|
||||||
|
import * as fsPromise from 'node:fs/promises';
|
||||||
|
import path from 'node:path';
|
||||||
import * as url from 'node:url';
|
import * as url from 'node:url';
|
||||||
|
|
||||||
import yargs from 'yargs';
|
|
||||||
import chalk from 'chalk';
|
import chalk from 'chalk';
|
||||||
import jsonData from 'emoji-datasource/emoji.json';
|
import jsonCategories from 'emoji-datasource/categories.json' assert { type: 'json' };
|
||||||
import jsonCategories from 'emoji-datasource/categories.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 = 64;
|
||||||
const EMOJI_SIZE_PADDED = EMOJI_SIZE + 2; // 1px per side
|
const EMOJI_SIZE_PADDED = EMOJI_SIZE + 2; // 1px per side
|
||||||
|
|||||||
@@ -73,7 +73,6 @@ describe('getRecentEmojisData', () => {
|
|||||||
{name: 'flag-au', usageCount: 1},
|
{name: 'flag-au', usageCount: 1},
|
||||||
{name: 'kappa', usageCount: 1},
|
{name: 'kappa', usageCount: 1},
|
||||||
{name: 'gitlab', usageCount: 1},
|
{name: 'gitlab', usageCount: 1},
|
||||||
{name: 'thanks', usageCount: 1},
|
|
||||||
];
|
];
|
||||||
const state = mergeObjects(baseState, {
|
const state = mergeObjects(baseState, {
|
||||||
entities: {
|
entities: {
|
||||||
@@ -99,7 +98,7 @@ describe('getRecentEmojisData', () => {
|
|||||||
{name: 'flag-au', usageCount: 1},
|
{name: 'flag-au', usageCount: 1},
|
||||||
{name: 'kappa', usageCount: 1},
|
{name: 'kappa', usageCount: 1},
|
||||||
{name: 'gitlab', usageCount: 1},
|
{name: 'gitlab', usageCount: 1},
|
||||||
{name: 'thanks', usageCount: 1},
|
{name: 'smile', usageCount: 1},
|
||||||
];
|
];
|
||||||
const state = mergeObjects(baseState, {
|
const state = mergeObjects(baseState, {
|
||||||
entities: {
|
entities: {
|
||||||
|
|||||||
@@ -3893,7 +3893,10 @@
|
|||||||
"unified": "1F64F",
|
"unified": "1F64F",
|
||||||
"short_name": "pray",
|
"short_name": "pray",
|
||||||
"short_names": [
|
"short_names": [
|
||||||
"pray"
|
"pray",
|
||||||
|
"thanks",
|
||||||
|
"thank you",
|
||||||
|
"thank_you"
|
||||||
],
|
],
|
||||||
"text": null,
|
"text": null,
|
||||||
"texts": null,
|
"texts": null,
|
||||||
|
|||||||
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Ссылка в новой задаче
Block a user