Skip to content

Commit

Permalink
Merge pull request Expensify#7125 from mananjadhav/fix/emoji-category…
Browse files Browse the repository at this point in the history
…-translations

Fix: Added emoji category translations
  • Loading branch information
stitesExpensify authored Jan 12, 2022
2 parents 704ba52 + dcf4dde commit c226b8e
Show file tree
Hide file tree
Showing 6 changed files with 63 additions and 249 deletions.
246 changes: 11 additions & 235 deletions assets/emojis.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,30 +50,9 @@ const skinTones = [{

const emojis = [
{
code: 'Smileys & People',
code: 'smileysAndPeople',
header: true,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: '😀',
keywords: [
Expand Down Expand Up @@ -2801,30 +2780,9 @@ const emojis = [
],
},
{
code: 'Animals & Nature',
code: 'animalsAndNature',
header: true,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: '🐵',
keywords: [
Expand Down Expand Up @@ -3615,6 +3573,10 @@ const emojis = [
'wind',
],
},
{
code: 'foodAndDrinks',
header: true,
},
{
code: '🍇',
keywords: [
Expand Down Expand Up @@ -4366,42 +4328,9 @@ const emojis = [
],
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: 'Travel & Places',
code: 'travelAndPlaces',
header: true,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: '🌍',
keywords: [
Expand Down Expand Up @@ -6227,51 +6156,9 @@ const emojis = [
],
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: 'Activities',
code: 'activities',
header: true,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: '🎃',
keywords: [
Expand Down Expand Up @@ -7011,42 +6898,9 @@ const emojis = [
],
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: 'Objects',
code: 'objects',
header: true,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: '🔇',
keywords: [
Expand Down Expand Up @@ -8455,48 +8309,9 @@ const emojis = [
],
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: 'Symbols',
code: 'symbols',
header: true,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: '🏧',
keywords: [
Expand Down Expand Up @@ -10093,48 +9908,9 @@ const emojis = [
],
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: 'Flags',
code: 'flags',
header: true,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: CONST.EMOJI_SPACER,
},
{
code: '🏁',
keywords: [
Expand Down
11 changes: 11 additions & 0 deletions src/languages/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -852,6 +852,17 @@ export default {
},
emojiPicker: {
skinTonePickerLabel: 'Change default skin tone',
headers: {
frequentlyUsed: 'Frequently Used',
smileysAndPeople: 'Smileys & People',
animalsAndNature: 'Animals & Nature',
foodAndDrinks: 'Food & Drinks',
travelAndPlaces: 'Travel & Places',
activities: 'Activities',
objects: 'Objects',
symbols: 'Symbols',
flags: 'Flags',
},
},
newRoomPage: {
newRoom: 'New Room',
Expand Down
11 changes: 11 additions & 0 deletions src/languages/es.js
Original file line number Diff line number Diff line change
Expand Up @@ -854,6 +854,17 @@ export default {
},
emojiPicker: {
skinTonePickerLabel: 'Elige el tono de piel por defecto',
headers: {
frequentlyUsed: 'Usado frecuentemente',
smileysAndPeople: 'Emoticonos y personas',
animalsAndNature: 'Animales y naturaleza',
foodAndDrinks: 'Alimentos y bebidas',
travelAndPlaces: 'Viajes y lugares',
activities: 'Actividades',
objects: 'Objetos',
symbols: 'Símbolos',
flags: 'Banderas',
},
},
newRoomPage: {
newRoom: 'Nueva sala de chat',
Expand Down
Loading

0 comments on commit c226b8e

Please sign in to comment.