Skip to content

Commit 93bb04e

Browse files
committed
feat: message headers redesign
1 parent 1435036 commit 93bb04e

14 files changed

Lines changed: 6 additions & 16 deletions

File tree

โ€Žpackage/src/components/Message/MessageSimple/Headers/MessageReminderHeader.tsxโ€Ž

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,8 @@ const MessageReminderHeaderWithContext = (props: MessageReminderHeaderPropsWithC
4040
</Text>
4141
<Text style={styles.dot}>ยท</Text>
4242
<Text style={styles.time}>
43-
{t('{{ timeLeft }}', {
44-
timeLeft: t('duration/Message reminder', {
45-
milliseconds: timeLeftMs,
46-
}),
43+
{t('duration/Message reminder', {
44+
milliseconds: timeLeftMs,
4745
})}
4846
</Text>
4947
</View>

โ€Žpackage/src/components/Thread/__tests__/__snapshots__/Thread.test.js.snapโ€Ž

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,7 @@ exports[`Thread should match thread snapshot 1`] = `
458458
}
459459
testID="message-components"
460460
>
461+
<View />
461462
<View
462463
collapsable={false}
463464
hitSlop={
@@ -825,6 +826,7 @@ exports[`Thread should match thread snapshot 1`] = `
825826
}
826827
testID="message-components"
827828
>
829+
<View />
828830
<View
829831
collapsable={false}
830832
hitSlop={
@@ -1228,6 +1230,7 @@ exports[`Thread should match thread snapshot 1`] = `
12281230
}
12291231
testID="message-components"
12301232
>
1233+
<View />
12311234
<View
12321235
collapsable={false}
12331236
hitSlop={
@@ -1597,6 +1600,7 @@ exports[`Thread should match thread snapshot 1`] = `
15971600
}
15981601
testID="message-components"
15991602
>
1603+
<View />
16001604
<View
16011605
collapsable={false}
16021606
hitSlop={

โ€Žpackage/src/i18n/en.jsonโ€Ž

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
"Device gallery permissions is used to take photos or videos.": "Device gallery permissions is used to take photos or videos.",
2929
"Do you want to send a copy of this message to a moderator for further investigation?": "Do you want to send a copy of this message to a moderator for further investigation?",
3030
"Due since {{ dueSince }}": "Due since {{ dueSince }}",
31-
"{{ timeLeft }}": "{{ timeLeft }}",
3231
"Edit Message": "Edit Message",
3332
"Edited": "Edited",
3433
"Editing Message": "Editing Message",

โ€Žpackage/src/i18n/es.jsonโ€Ž

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
"Device gallery permissions is used to take photos or videos.": "Los permisos de la galerรญa del dispositivo se utilizan para tomar fotos o videos.",
2929
"Do you want to send a copy of this message to a moderator for further investigation?": "ยฟDeseas enviar una copia de este mensaje a un moderador para una investigaciรณn adicional?",
3030
"Due since {{ dueSince }}": "Debido desde {{ dueSince }}",
31-
"Due {{ timeLeft }}": "Debido {{ timeLeft }}",
3231
"Edit Message": "Editar mensaje",
3332
"Edited": "Editado",
3433
"Editing Message": "Editando mensaje",

โ€Žpackage/src/i18n/fr.jsonโ€Ž

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
"Device gallery permissions is used to take photos or videos.": "Les autorisations de la galerie de l'appareil sont utilisรฉes pour prendre des photos ou des vidรฉos.",
2929
"Do you want to send a copy of this message to a moderator for further investigation?": "Voulez-vous envoyer une copie de ce message ร  un modรฉrateur pour une enquรชte plus approfondie?",
3030
"Due since {{ dueSince }}": "ร‰chรฉance depuis {{ dueSince }}",
31-
"Due {{ timeLeft }}": "ร‰chรฉance {{ timeLeft }}",
3231
"Edit Message": "ร‰diter un message",
3332
"Edited": "ร‰ditรฉ",
3433
"Editing Message": "ร‰dite un message",

โ€Žpackage/src/i18n/he.jsonโ€Ž

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
"Device gallery permissions is used to take photos or videos.": "ื”ืจืฉืื•ืช ื’ืœืจื™ื™ืช ื”ืžื›ืฉื™ืจ ืžืฉืžืฉื•ืช ืœืฆื™ืœื•ื ืชืžื•ื ื•ืช ืื• ืกืจื˜ื•ื ื™ื.",
2929
"Do you want to send a copy of this message to a moderator for further investigation?": "ื”ืื ืืช/ื” ืจื•ืฆื” ืœืฉืœื•ื— ืขื•ืชืง ืฉืœ ื”ื•ื“ืขื” ื–ื• ืœืžื ื—ื” ืœื”ืžืฉืš ื—ืงื™ืจื”?",
3030
"Due since {{ dueSince }}": "ืžื•ืขื“ ืื—ืจื•ืŸ ืžืื– {{ dueSince }}",
31-
"Due {{ timeLeft }}": "ืžื•ืขื“ ืื—ืจื•ืŸ {{ timeLeft }}",
3231
"Edit Message": "ืขืจื•ืš ื”ื•ื“ืขื”",
3332
"Edited": "ื ืขืจืš",
3433
"Editing Message": "ื”ื•ื“ืขื” ื‘ืขืจื™ื›ื”",

โ€Žpackage/src/i18n/hi.jsonโ€Ž

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
"Device gallery permissions is used to take photos or videos.": "เคกเคฟเคตเคพเค‡เคธ เค—เฅˆเคฒเคฐเฅ€ เค•เฅ€ เค…เคจเฅเคฎเคคเคฟเคฏเฅ‹เค‚ เค•เคพ เค‰เคชเคฏเฅ‹เค— เคซเฅ‹เคŸเฅ‹ เคฏเคพ เคตเฅ€เคกเคฟเคฏเฅ‹ เคฒเฅ‡เคจเฅ‡ เค•เฅ‡ เคฒเคฟเค เค•เคฟเคฏเคพ เคœเคพเคคเคพ เคนเฅˆเฅค",
2929
"Do you want to send a copy of this message to a moderator for further investigation?": "เค•เฅเคฏเคพ เค†เคช เค‡เคธ เคธเค‚เคฆเฅ‡เคถ เค•เฅ€ เคเค• เคชเฅเคฐเคคเคฟ เค†เค—เฅ‡ เค•เฅ€ เคœเคพเคเคš เค•เฅ‡ เคฒเคฟเค เค•เคฟเคธเฅ€ เคฎเฅ‰เคกเคฐเฅ‡เคŸเคฐ เค•เฅ‹ เคญเฅ‡เคœเคจเคพ เคšเคพเคนเคคเฅ‡ เคนเฅˆเค‚?",
3030
"Due since {{ dueSince }}": "{{ dueSince }} เคธเฅ‡ เคฆเฅ‡เคฏ เคนเฅˆ",
31-
"Due {{ timeLeft }}": "{{ timeLeft }} เคฌเคšเคพ เคนเฅˆ",
3231
"Edit Message": "เคฎเฅˆเคธเฅ‡เคœ เคฎเฅ‡เค‚ เคฌเคฆเคฒเคพเคต เค•เคฐเฅ‡",
3332
"Edited": "เคฎเฅˆเคธเฅ‡เคœ เคฌเคฆเคฒเคพ เค—เคฏเคพ เคนเฅˆ",
3433
"Editing Message": "เคฎเฅˆเคธเฅ‡เคœ เคฌเคฆเคฒเคพ เคœเคพ เคฐเคนเคพ เคนเฅˆ",

โ€Žpackage/src/i18n/it.jsonโ€Ž

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
"Device gallery permissions is used to take photos or videos.": "Le autorizzazioni della galleria del dispositivo vengono utilizzate per scattare foto o video.",
2929
"Do you want to send a copy of this message to a moderator for further investigation?": "Vuoi inviare una copia di questo messaggio a un moderatore per ulteriori indagini?",
3030
"Due since {{ dueSince }}": "Scadenza dal {{ dueSince }}",
31-
"Due {{ timeLeft }}": "Scadenza {{ timeLeft }}",
3231
"Edit Message": "Modifica Messaggio",
3332
"Edited": "Modificato",
3433
"Editing Message": "Modificando il Messaggio",

โ€Žpackage/src/i18n/ja.jsonโ€Ž

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
"Device gallery permissions is used to take photos or videos.": "ใƒ‡ใƒใ‚คใ‚นใ‚ฎใƒฃใƒฉใƒชใƒผใฎๆจฉ้™ใฏๅ†™็œŸใ‚„ใƒ“ใƒ‡ใ‚ชใ‚’ๆ’ฎใ‚‹ใŸใ‚ใซไฝฟ็”จใ•ใ‚Œใพใ™ใ€‚",
2929
"Do you want to send a copy of this message to a moderator for further investigation?": "ใ“ใฎใƒกใƒƒใ‚ปใƒผใ‚ธใฎใ‚ณใƒ”ใƒผใ‚’ใƒขใƒ‡ใƒฌใƒผใ‚ฟใƒผใซ้€ไฟกใ—ใฆใ€ใ•ใ‚‰ใซ่ชฟๆŸปใ—ใพใ™ใ‹๏ผŸ",
3030
"Due since {{ dueSince }}": "ๆœŸ้™ใฏ {{ dueSince }} ใ‹ใ‚‰ใงใ™",
31-
"Due {{ timeLeft }}": "ๆœŸ้™ใฏ {{ timeLeft }} ใงใ™",
3231
"Edit Message": "ใƒกใƒƒใ‚ปใƒผใ‚ธใ‚’็ทจ้›†",
3332
"Edited": "็ทจ้›†ๆธˆใฟ",
3433
"Editing Message": "ใƒกใƒƒใ‚ปใƒผใ‚ธใ‚’็ทจ้›†ไธญ",

โ€Žpackage/src/i18n/ko.jsonโ€Ž

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
"Device gallery permissions is used to take photos or videos.": "์žฅ์น˜ ๊ฐค๋Ÿฌ๋ฆฌ ๊ถŒํ•œ์€ ์‚ฌ์ง„ ๋˜๋Š” ๋น„๋””์˜ค๋ฅผ ์ดฌ์˜ํ•˜๋Š” ๋ฐ ์‚ฌ์šฉ๋ฉ๋‹ˆ๋‹ค.",
2929
"Do you want to send a copy of this message to a moderator for further investigation?": "์ด ๋ฉ”์‹œ์ง€์˜ ๋ณต์‚ฌ๋ณธ์„ ์šด์˜์ž์—๊ฒŒ ๋ณด๋‚ด ์ถ”๊ฐ€ ์กฐ์‚ฌ๋ฅผํ•ฉ๋‹ˆ๊นŒ?",
3030
"Due since {{ dueSince }}": "๊ธฐํ•œ์€ {{ dueSince }}๋ถ€ํ„ฐ์ž…๋‹ˆ๋‹ค.",
31-
"Due {{ timeLeft }}": "๊ธฐํ•œ์€ {{ timeLeft }}์ž…๋‹ˆ๋‹ค.",
3231
"Edit Message": "๋ฉ”์‹œ์ง€ ์ˆ˜์ •",
3332
"Edited": "ํŽธ์ง‘๋จ",
3433
"Editing Message": "๋ฉ”์‹œ์ง€ ํŽธ์ง‘์ค‘",

0 commit comments

Comments
ย (0)