Skip to content

Commit

Permalink
Update po.
Browse files Browse the repository at this point in the history
  • Loading branch information
milesj committed Dec 4, 2024
1 parent a582a04 commit 5fa6786
Show file tree
Hide file tree
Showing 62 changed files with 2,930 additions and 1,659 deletions.
3 changes: 2 additions & 1 deletion docs/new-major-checklist.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ Guide for updating emojibase to support new Unicode/Emoji major versions.
- Run `yarn generate:types`. Copy the `GroupKey` and `SubgroupKey` types to
`packages/core/src/types.ts`.
- Update `GROUP_KEY_*` constants in `packages/core/src/constants.ts`.
- Update `po/messages.pot` with any new entries.
- Update `po/base/*.po` with any new entries.
- Run `generate:shortcodes` to gather new shortcode entries.
- Apply pot changes to all `po/<locale>/messages.po` files.
- Localize every entry without a message!

Expand Down
1 change: 0 additions & 1 deletion packages/core/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ export type SubgroupKey =
| 'flag'
| 'food-asian'
| 'food-fruit'
| 'food-marine'
| 'food-prepared'
| 'food-sweet'
| 'food-vegetable'
Expand Down
11 changes: 11 additions & 0 deletions packages/data/en/shortcodes/emojibase.raw.json
Original file line number Diff line number Diff line change
Expand Up @@ -3796,6 +3796,8 @@
"1FA86": "nesting_dolls",
"1FA87": "maracas",
"1FA88": "flute",
"1FA89": "harp",
"1FA8F": "shovel",
"1FA90": [
"ringed_planet",
"saturn"
Expand Down Expand Up @@ -3852,6 +3854,7 @@
"1FABB": "hyacinth",
"1FABC": "jellyfish",
"1FABD": "wing",
"1FABE": "leafless_tree",
"1FABF": "goose",
"1FAC0": "anatomical_heart",
"1FAC1": "lungs",
Expand Down Expand Up @@ -3892,6 +3895,7 @@
"person_with_crown_tone5",
"royalty_tone5"
],
"1FAC6": "fingerprint",
"1FACE": "moose",
"1FACF": "donkey",
"1FAD0": "blueberries",
Expand All @@ -3909,6 +3913,8 @@
"1FAD9": "jar",
"1FADA": "ginger",
"1FADB": "pea",
"1FADC": "root_vegetable",
"1FADF": "splatter",
"1FAE0": [
"melt",
"melting_face"
Expand All @@ -3933,6 +3939,7 @@
"shaking",
"shaking_face"
],
"1FAE9": "face_with_eye_bags",
"1FAF0": "hand_with_index_finger_and_thumb_crossed",
"1FAF0-1F3FB": "hand_with_index_finger_and_thumb_crossed_tone1",
"1FAF0-1F3FC": "hand_with_index_finger_and_thumb_crossed_tone2",
Expand Down Expand Up @@ -4206,6 +4213,10 @@
"clipperton_island",
"flag_cp"
],
"1F1E8-1F1F6": [
"flag_cq",
"sark"
],
"1F1E8-1F1F7": [
"costa_rica",
"flag_cr"
Expand Down
2 changes: 1 addition & 1 deletion packages/generator/src/parsers/parseEmojiList.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import cheerio from 'cheerio';
import * as cheerio from 'cheerio';
import { HIDDEN_GROUPS, HIDDEN_SUBGROUPS } from '../constants';
import { readCache } from '../helpers/readCache';
import { slug } from '../helpers/slug';
Expand Down
2 changes: 1 addition & 1 deletion packages/generator/src/parsers/parseEmojiStyles.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import cheerio from 'cheerio';
import * as cheerio from 'cheerio';
import { fromUnicodeToHexcode } from 'emojibase';
import type { EmojiStylesMap } from '../types';

Expand Down
16 changes: 8 additions & 8 deletions packages/generator/src/resources/shortcodes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3957,19 +3957,19 @@ export const shortcodes = {

// VERSION 16
// 🫩 face with bags under eyes
'1FAE9': [],
'1FAE9': ['face_with_eye_bags'],
// 🫆 fingerprint
'1FAC6': [],
'1FAC6': ['fingerprint'],
// 🪾 leafless tree
'1FABE': [],
'1FABE': ['leafless_tree'],
// 🫜 root vegetable
'1FADC': [],
'1FADC': ['root_vegetable'],
// 🪉 harp
'1FA89': [],
'1FA89': ['harp'],
// 🪏 shovel
'1FA8F': [],
'1FA8F': ['shovel'],
// 🫟 splatter
'1FADF': [],
'1FADF': ['splatter'],
// 🇨🇶 flag: Sark
'1F1E8-1F1F6': [],
'1F1E8-1F1F6': ['flag_cq', 'sark'],
};
Loading

0 comments on commit 5fa6786

Please sign in to comment.